milis/talimatname/genel/pulseaudio/talimat

36 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-04-12 14:00:24 +02:00
# Description: Özellikli, genel amaçlı bir ses sunucusu
2016-02-24 01:27:23 +01:00
# URL: http://www.pulseaudio.org
2017-04-12 14:00:24 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: fftw intltool json-c libsndfile alsa-lib dbus glib libcap openssl speex libsamplerate
name=pulseaudio
2017-08-23 17:40:01 +02:00
version=10.99.1
2016-02-24 01:27:23 +01:00
release=1
2017-08-23 17:40:01 +02:00
source=(http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz
pulseaudio.desktop)
2016-02-24 01:27:23 +01:00
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
2017-08-23 17:40:01 +02:00
mkdir -p $PKG/etc/xdg/autostart
cp -f $SRC/pulseaudio.desktop $PKG/etc/xdg/autostart/
2016-02-24 01:27:23 +01:00
rm -f $PKG/etc/dbus-1/system.d/pulseaudio-system.conf
}