diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-02-18 04:23:15 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-02-18 04:23:15 +0100 |
commit | 12813cf7b090eb04a6a7d5dec3a6128564a41acc (patch) | |
tree | 8db8824f17c16261fe2e1a488c09f8a93cda478f /ubuntu/maverick/dependencies/akode/debian/rules | |
parent | 923bdb4257d2eec3c567ac86c500c8ba88c50d79 (diff) | |
download | tde-packaging-12813cf7b090eb04a6a7d5dec3a6128564a41acc.tar.gz tde-packaging-12813cf7b090eb04a6a7d5dec3a6128564a41acc.zip |
Add packaging files for akode on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/dependencies/akode/debian/rules')
-rwxr-xr-x | ubuntu/maverick/dependencies/akode/debian/rules | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/ubuntu/maverick/dependencies/akode/debian/rules b/ubuntu/maverick/dependencies/akode/debian/rules new file mode 100755 index 000000000..fd415f3f4 --- /dev/null +++ b/ubuntu/maverick/dependencies/akode/debian/rules @@ -0,0 +1,41 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk +include debian/cdbs/debian-qt-kde.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +ifeq (linux,$(DEB_HOST_ARCH_OS)) +DEB_DH_GENCONTROL_ARGS=-- -Valsa-dev=libasound2-dev +endif + +DEB_CONFIGURE_EXTRA_FLAGS := --without-libltdl --without-polypaudio --with-extra-includes=/usr/include/speex/ + +DEB_DH_STRIP_ARGS := --dbg-package=akode-dbg + +PACKAGES_WITH_LIBS := libakode2 + +DEB_DH_MAKESHLIBS_ARGS_libakode2 := -V'libakode2 (>= 2-rc1-1)' + +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + +# Build options +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DWITH_ALL_OPTIONS="ON" \ + -DWITH_LIBLTDL="OFF" \ + -DWITH_JACK_SINK="OFF" \ + -DWITH_FFMPEG_DECODER="OFF" + +common-install-prehook-arch:: + grep -v libakode_alsa_sink debian/libakode2.install > debian/libakode2.install.kfreebsd-i386 + grep -v libakode_alsa_sink debian/libakode2.install > debian/libakode2.install.kfreebsd-amd64 + grep -v libakode_alsa_sink debian/libakode-dev.install > debian/libakode-dev.install.kfreebsd-i386 + grep -v libakode_alsa_sink debian/libakode-dev.install > debian/libakode-dev.install.kfreebsd-amd64 + +clean:: + rm -f debian/libakode2.install.kfreebsd* debian/libakode-dev.install.kfreebsd* |