wok annotate pulseaudio/receipt @ rev 23799
created recipes for xcb-util-xrm and xcb-util-xrm-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 24 07:04:55 2020 +0100 (2020-05-24) |
parents | 8497f0e1eea5 |
children | 241fb98cab1c |
rev | line source |
---|---|
pascal@17005 | 1 # SliTaz package receipt. |
pascal@17005 | 2 |
pascal@17005 | 3 PACKAGE="pulseaudio" |
Hans-G?nter@23454 | 4 VERSION="13.0" |
pascal@17005 | 5 CATEGORY="multimedia" |
Hans-G?nter@21727 | 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" |
Hans-G?nter@21727 | 12 WGET_URL="http://freedesktop.org/software/$PACKAGE/releases/$TARBALL" |
Hans-G?nter@21727 | 13 |
Hans-G?nter@21727 | 14 DEPENDS="attr dbus flac gcc83-lib-base gdbm jack-audio-connection-kit \ |
Hans-G?nter@21727 | 15 libcap libjson-c libsamplerate libsndfile libltdl libvorbis \ |
Hans-G?nter@21727 | 16 speex" |
Hans-G?nter@21727 | 17 BUILD_DEPENDS="alsa-lib-dev autoconf automake dbus-dev file flac-dev \ |
Hans-G?nter@21727 | 18 gcc83 intltool jack-audio-connection-kit-dev libcap-dev \ |
Hans-G?nter@21727 | 19 libjson-c-dev libsamplerate-dev libsndfile-dev libtool libvorbis-dev \ |
Hans-G?nter@21727 | 20 m4 pkg-config speex-dev udev-dev util-linux-uuid-dev" |
Hans-G?nter@21727 | 21 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev" |
Hans-G?nter@23454 | 22 |
mojo@21148 | 23 CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \ |
Hans-G?nter@21727 | 24 /etc/pulse/default.pa" |
pascal@17005 | 25 |
pascal@17005 | 26 # Rules to configure and make the package. |
pascal@17005 | 27 compile_rules() |
pascal@17005 | 28 { |
pascal@20252 | 29 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|' |
Hans-G?nter@23454 | 30 |
Hans-G?nter@23455 | 31 export CC=gcc-83 |
Hans-G?nter@23455 | 32 export CXX=g++-83 |
Hans-G?nter@23455 | 33 |
Hans-G?nter@23454 | 34 ./bootstrap.sh && |
Hans-G?nter@21727 | 35 ./configure \ |
Hans-G?nter@21727 | 36 --sysconfdir=/etc \ |
Hans-G?nter@21727 | 37 --localstatedir=/var \ |
Hans-G?nter@21727 | 38 --disable-bluez4 \ |
Hans-G?nter@21727 | 39 --disable-systemd-daemon \ |
Hans-G?nter@21727 | 40 --disable-systemd-login \ |
Hans-G?nter@21727 | 41 --disable-systemd-journal \ |
Hans-G?nter@21727 | 42 --disable-oss-output \ |
Hans-G?nter@21727 | 43 --disable-oss-wrapper \ |
Hans-G?nter@21727 | 44 --disable-esound \ |
Hans-G?nter@21727 | 45 --disable-rpath \ |
Hans-G?nter@21727 | 46 --with-udev-rules-dir=/etc/udev/rules.d \ |
pascal@17005 | 47 $CONFIGURE_ARGS && |
pascal@17005 | 48 make && |
al@19860 | 49 make -j1 install |
pascal@17005 | 50 } |
pascal@17005 | 51 |
pascal@17005 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17005 | 53 genpkg_rules() |
pascal@17005 | 54 { |
Hans-G?nter@21727 | 55 cook_copy_folders bin |
Hans-G?nter@21727 | 56 cook_copy_files *.pa *.conf *.rules *.desktop *.so* |
Hans-G?nter@21727 | 57 |
al@19860 | 58 find $fs -name '*console-kit*' -delete |
pascal@17005 | 59 } |