Commit 2de6fe95 authored by IOhannes zmölnig's avatar IOhannes zmölnig

Switched buildsystem from dh to cdbs

parent 1b355824
......@@ -5,7 +5,6 @@ Uploaders:
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>,
Jonas Smedegaard <dr@jones.dk>,
Build-Depends:
cdbs (>= 0.4.91~),
debhelper (>=11~),
dh-buildinfo,
devscripts,
......
Source: pd-iemambi
Priority: optional
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Uploaders: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>,
Jonas Smedegaard <dr@jones.dk>
Build-Depends: @cdbs@,
kfreebsd-kernel-headers (>= 9.2~3) [kfreebsd-any],
puredata-dev | puredata (<< 0.43)
Standards-Version: 3.9.7
Section: sound
Homepage: https://git.iem.at/pd/iem_ambi
Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/pd-iem_ambi.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/pd-iem_ambi.git
Package: pd-iemambi
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
puredata | pd
Recommends: pd-iemmatrix
Suggests: pd-zexy,
pd-iemlib
Description: Pd-objects for Ambisonics sound spatialization
This library contains 3 objects, for calculating Ambisonics encoder
matrices, rotation matrices and decoder matrices from 1st to 4th order
in 3D, or from 1st to 12th order in 2D.
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2011 IOhannes m zmölnig <zmoelnig@iem.at>
# Description: Main Debian packaging script for pd-iemmatrix
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Copyright © 2010 Hans-Christoph Steiner <hans@eds.org>
# Copyright © 2018 IOhannes m zmölnig <umlaeute@debian.org>
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/class/pd.mk
include /usr/share/cdbs/1/rules/utils.mk
pkglibdir = /usr/lib/pd/extra
# where sources are
DEB_SRCDIR = src
%:
dh $@ -Dsrc
override_dh_auto_build:
dh_auto_build -- \
arch.flags="" \
CPPFLAGS="$(CPPFLAGS)" \
CFLAGS="$(CFLAGS)" \
LDFLAGS="$(LDFLAGS) -Wl,-as-needed" \
$(empty)
override_dh_auto_install:
dh_install
# fix permissions
find $(CURDIR)/debian/*/$(pkglibdir) -name "*.pd_linux" -exec \
chmod 0664 {} +
# remove license file so we can replace it with link to the Debian license file
rm -f -- $(CURDIR)/debian/*/$(pkglibdir)/*/LICENSE.txt
licensecheck:
licensecheck --deb-machine -r * \
> debian/copyright_newhints
cmp debian/copyright_hints debian/copyright_newhints \
&& rm debian/copyright_newhints
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment