36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Description: Özellikli, genel amaçlı bir ses sunucusu
|
||
# URL: http://www.pulseaudio.org
|
||
# Packager: milisarge
|
||
# Depends on: fftw intltool json-c libsndfile alsa-lib dbus glib libcap openssl speex libsamplerate
|
||
|
||
name=pulseaudio
|
||
version=10.99.1
|
||
release=1
|
||
|
||
source=(http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz
|
||
pulseaudio.desktop)
|
||
|
||
build() {
|
||
unset MAKEFLAGS
|
||
cd pulseaudio-$version
|
||
|
||
sed -i "/seems to be moved/s/^/#/" build-aux/ltmain.sh
|
||
|
||
./configure --prefix=/usr \
|
||
--sysconfdir=/etc \
|
||
--localstatedir=/var \
|
||
--disable-bluez4 \
|
||
--disable-rpath \
|
||
--with-module-dir=/usr/lib/pulse/modules
|
||
make
|
||
make DESTDIR=$PKG install
|
||
mkdir -p $PKG/usr/share/icons/hicolor/scalable/devices
|
||
for size in 16 22 32 48 64 128; do
|
||
mkdir -p $PKG/usr/share/icons/hicolor/${size}x${size}/{apps,devices}
|
||
ln -s ../apps/pulseaudio.png $PKG/usr/share/icons/hicolor/${size}x${size}/devices/audio-backend-pulseaudio.png
|
||
done
|
||
mkdir -p $PKG/etc/xdg/autostart
|
||
cp -f $SRC/pulseaudio.desktop $PKG/etc/xdg/autostart/
|
||
rm -f $PKG/etc/dbus-1/system.d/pulseaudio-system.conf
|
||
}
|