wok annotate pulseaudio/receipt @ rev 20438

pulseaudio : add module-jack*
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 09 11:03:10 2018 +0200 (13 months ago)
parents 6b67e13afe50
children b7c11d7da2cc
rev   line source
pascal@17005 1 # SliTaz package receipt.
pascal@17005 2
pascal@17005 3 PACKAGE="pulseaudio"
al@19860 4 VERSION="8.0"
pascal@17005 5 CATEGORY="multimedia"
al@19860 6 SHORT_DESC="A sound system for POSIX OSes"
pascal@17005 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17006 8 LICENSE="LGPL2.1 GPL2 MIT"
al@19860 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
al@19860 10
pascal@17005 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19860 12 WGET_URL="http://freedesktop.org/software/pulseaudio/releases/$TARBALL"
pascal@17005 13
pascal@17016 14 DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
pascal@20438 15 speex libsamplerate libltdl jack-audio-connection-kit"
pascal@17005 16 BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
pascal@17007 17 libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
pascal@20438 18 dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev file \
pascal@20438 19 jack-audio-connection-kit-dev"
al@19860 20 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
pascal@17005 21
pascal@17005 22 # Rules to configure and make the package.
pascal@17005 23 compile_rules()
pascal@17005 24 {
pascal@20252 25 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
pascal@17005 26 ./bootstrap.sh
al@19860 27 ./configure \
pascal@17005 28 --sysconfdir=/etc \
al@19860 29 --localstatedir=/var \
al@19860 30 --disable-bluez4 \
al@19860 31 --disable-systemd-daemon \
al@19860 32 --disable-systemd-login \
al@19860 33 --disable-systemd-journal \
al@19860 34 --disable-oss-output \
al@19860 35 --disable-oss-wrapper \
al@19860 36 --disable-esound \
al@19860 37 --disable-rpath \
al@19860 38 --with-udev-rules-dir=/etc/udev/rules.d \
pascal@17005 39 $CONFIGURE_ARGS &&
pascal@17005 40 make &&
al@19860 41 make -j1 install
pascal@17005 42 }
pascal@17005 43
pascal@17005 44 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17005 45 genpkg_rules()
pascal@17005 46 {
al@19860 47 cook_copy_folders bin
al@19860 48 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
al@19860 49 find $fs -name '*console-kit*' -delete
pascal@17005 50 }