SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pulseaudio"

# SliTaz package receipt.

PACKAGE="pulseaudio"
VERSION="13.0"
CATEGORY="multimedia"
SHORT_DESC="A sound system for POSIX OSes."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2.1&version=current">LGPL2.1 GPL2 MIT"
WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://freedesktop.org/software/$PACKAGE/releases/$TARBALL"

DEPENDS="attr dbus flac gcc-lib-base gdbm jack-audio-connection-kit \
    libcap libjson-c libsamplerate libsndfile libltdl libvorbis \
    speex"
BUILD_DEPENDS="alsa-lib-dev autoconf automake dbus-dev file flac-dev \
    gcc intltool jack-audio-connection-kit-dev libcap-dev \
    libjson-c-dev libsamplerate-dev libsndfile-dev libtool libvorbis-dev \
    m4 pkg-config speex-dev udev-dev util-linux-uuid-dev"
SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"

CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
    /etc/pulse/default.pa"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'

    ./bootstrap.sh &&
    ./configure                    \
        --sysconfdir=/etc            \
        --localstatedir=/var            \
        --disable-bluez4            \
        --disable-systemd-daemon        \
        --disable-systemd-login            \
        --disable-systemd-journal        \
        --disable-oss-output            \
        --disable-oss-wrapper            \
        --disable-esound            \
        --disable-rpath                \
        --with-udev-rules-dir=/etc/udev/rules.d    \
        $CONFIGURE_ARGS &&
    make &&
    make -j1 install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_files        *.pa *.conf *.rules *.desktop *.so*

    find $fs -name '*console-kit*' -delete
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)