wok annotate pulseaudio/receipt @ rev 20252

pulseaudio: force 32 bits arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 18:38:37 2018 +0100 (19 months ago)
parents 65b8664ee183
children 0ef3d31c67c8
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@20028 15 speex libsamplerate libltdl"
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@20252 18 dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev file"
al@19860 19 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
pascal@17005 20
pascal@17005 21 # Rules to configure and make the package.
pascal@17005 22 compile_rules()
pascal@17005 23 {
pascal@20252 24 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
pascal@17005 25 ./bootstrap.sh
al@19860 26 ./configure \
pascal@17005 27 --sysconfdir=/etc \
al@19860 28 --localstatedir=/var \
al@19860 29 --disable-bluez4 \
al@19860 30 --disable-systemd-daemon \
al@19860 31 --disable-systemd-login \
al@19860 32 --disable-systemd-journal \
al@19860 33 --disable-oss-output \
al@19860 34 --disable-oss-wrapper \
al@19860 35 --disable-esound \
al@19860 36 --disable-rpath \
al@19860 37 --with-udev-rules-dir=/etc/udev/rules.d \
pascal@17005 38 $CONFIGURE_ARGS &&
pascal@17005 39 make &&
al@19860 40 make -j1 install
pascal@17005 41 }
pascal@17005 42
pascal@17005 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17005 44 genpkg_rules()
pascal@17005 45 {
al@19860 46 cook_copy_folders bin
al@19860 47 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
al@19860 48 find $fs -name '*console-kit*' -delete
pascal@17005 49 }