1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/utils.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
common-install-arch::
find $(DEB_DESTDIR) -name "*.la" | xargs rm -f
common-binary-post-install-arch:: list-missing
update-patch-series:
git rm -r -f $(CURDIR)/debian/patches
mkdir -p $(CURDIR)/debian/patches
git format-patch -o $(CURDIR)/debian/patches patches ^upstream | \
xargs -n 1 basename > $(CURDIR)/debian/patches/series
git add $(CURDIR)/debian/patches
DEB_CONFIGURE_EXTRA_FLAGS = \
--enable-pulse \
--enable-gstreamer \
--enable-gtk \
--enable-gtk-doc \
--enable-tdb \
--with-builtin=dso
# Linux-specific flags:
ifeq ($(DEB_HOST_ARCH_OS), linux)
DEB_CONFIGURE_EXTRA_FLAGS += --enable-alsa --disable-oss
else
DEB_CONFIGURE_EXTRA_FLAGS += --disable-alsa --enable-oss
endif
DEB_DH_MAKESHLIBS_ARGS_ALL = --exclude=usr/lib/gtk-2.0/modules
DEB_DH_MAKESHLIBS_ARGS_ALL += --exclude=usr/lib/libcanberra-0.24
DEB_DH_MAKESHLIBS_ARGS_libcanberra0 += -V "libcanberra0 (>= 0.20)" -- -c4
DEB_DH_MAKESHLIBS_ARGS_libcanberra-gtk0 += -V "libcanberra-gtk0 (>= 0.20)" -- -c4
|