From 1852d6905ce376ae9b4a770b4ebdc3cc3ae298f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 15 Oct 2015 09:43:26 +0200 Subject: Enable build akode with PulseAudio support on Debian and Ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ubuntu/maverick/dependencies/akode/debian/control | 21 +++++++++++++++++++-- .../dependencies/akode/debian/libakode-dev.install | 2 ++ .../akode/debian/libakode2-pulse.install | 1 + ubuntu/maverick/dependencies/akode/debian/rules | 3 ++- 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 ubuntu/maverick/dependencies/akode/debian/libakode2-pulse.install (limited to 'ubuntu/maverick') diff --git a/ubuntu/maverick/dependencies/akode/debian/control b/ubuntu/maverick/dependencies/akode/debian/control index ae13d013d..fb6a5a2d4 100644 --- a/ubuntu/maverick/dependencies/akode/debian/control +++ b/ubuntu/maverick/dependencies/akode/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Debian Qt/KDE Maintainers Uploaders: Isaac Clerencia , Christopher Martin , Adeodato Simó -Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, gawk, libflac-dev (>= 1.1.1-3), libflac-dev, libmad0-dev, libogg-dev, libvorbis-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsamplerate0-dev, libspeex-dev +Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, gawk, libflac-dev (>= 1.1.1-3), libflac-dev, libmad0-dev, libogg-dev, libvorbis-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsamplerate0-dev, libspeex-dev, libpulse-dev Standards-Version: 3.7.3 Package: libakode2 @@ -39,10 +39,27 @@ Description: mpeg plugins for akode . Homepage: http://www.carewolf.com/akode +Package: libakode2-pulse +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: akode +Replaces: akode +Enhances: libarts1c2, libarts1c2a-trinity +Description: pulseaudio sink for akode + aKode is a new multithreaded audio library that provides aRts with + plugins to play a variety of formats: Ogg Vorbis, Musepack (MPC), + FLAC and Speex. aKode also focuses on performance, and so it means a + big enhancement for users runing aRts in non-realtime mode. + . + This package provides PulseAudio sink for akode. + . + Homepage: http://www.carewolf.com/akode + Package: libakode-dev Section: libdevel Architecture: any -Depends: libakode2 (= ${binary:Version}), libflac-dev (>= 1.1.1-3), libflac-dev, libmad0-dev, libogg-dev, libvorbis-dev, ${alsa-dev}, libsamplerate0-dev, libspeex-dev +Depends: libakode2 (= ${binary:Version}), pkg-config, libflac-dev (>= 1.1.1-3), libflac-dev, libmad0-dev, libogg-dev, libvorbis-dev, ${alsa-dev}, libsamplerate0-dev, libspeex-dev Replaces: kdemultimedia-dev (<< 4:3.5-rc1), libakode2 (<< 2.0-4) Description: development files for akode aKode is a new multithreaded audio library that provides aRts with diff --git a/ubuntu/maverick/dependencies/akode/debian/libakode-dev.install b/ubuntu/maverick/dependencies/akode/debian/libakode-dev.install index e9f3bf852..573b9c451 100644 --- a/ubuntu/maverick/dependencies/akode/debian/libakode-dev.install +++ b/ubuntu/maverick/dependencies/akode/debian/libakode-dev.install @@ -5,8 +5,10 @@ debian/tmp/usr/lib/libakode_alsa_sink.la debian/tmp/usr/lib/libakode_mpc_decoder.la debian/tmp/usr/lib/libakode_mpeg_decoder.la debian/tmp/usr/lib/libakode_oss_sink.la +debian/tmp/usr/lib/libakode_pulse_sink.la debian/tmp/usr/lib/libakode_src_resampler.la debian/tmp/usr/lib/libakode_xiph_decoder.la +debian/tmp/usr/lib/pkgconfig/akode.pc debian/tmp/usr/include/akode/akode_export.h debian/tmp/usr/include/akode/fast_resampler.h debian/tmp/usr/include/akode/bytebuffer.h diff --git a/ubuntu/maverick/dependencies/akode/debian/libakode2-pulse.install b/ubuntu/maverick/dependencies/akode/debian/libakode2-pulse.install new file mode 100644 index 000000000..5dc1311de --- /dev/null +++ b/ubuntu/maverick/dependencies/akode/debian/libakode2-pulse.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libakode_pulse_sink.so diff --git a/ubuntu/maverick/dependencies/akode/debian/rules b/ubuntu/maverick/dependencies/akode/debian/rules index fd415f3f4..7d457930b 100755 --- a/ubuntu/maverick/dependencies/akode/debian/rules +++ b/ubuntu/maverick/dependencies/akode/debian/rules @@ -10,7 +10,7 @@ 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_CONFIGURE_EXTRA_FLAGS := --without-libltdl --with-extra-includes=/usr/include/speex/ DEB_DH_STRIP_ARGS := --dbg-package=akode-dbg @@ -29,6 +29,7 @@ DEB_CMAKE_EXTRA_FLAGS := \ -DWITH_ALL_OPTIONS="ON" \ -DWITH_LIBLTDL="OFF" \ -DWITH_JACK_SINK="OFF" \ + -DWITH_PULSE_SINK="ON" \ -DWITH_FFMPEG_DECODER="OFF" common-install-prehook-arch:: -- cgit v1.2.1