diff options
author | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
commit | 50e5ce5b17e69be13228e2393c5804b0a79acfab (patch) | |
tree | 9845fa9af128d7fdd791755bb2be320f3ba2be4e /pulseaudio/Pkgfile | |
parent | 9626427c1a1d9c292fc519810c13b9a8073e777f (diff) | |
parent | 8548e8d6882b55dfb509b18dedfb7db17630037d (diff) | |
download | nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2 nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip |
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'pulseaudio/Pkgfile')
-rw-r--r-- | pulseaudio/Pkgfile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pulseaudio/Pkgfile b/pulseaudio/Pkgfile new file mode 100644 index 000000000..3e250ee8a --- /dev/null +++ b/pulseaudio/Pkgfile @@ -0,0 +1,46 @@ +# Description: Serveur de sons pour systèmes POSIX. Serveur de proximité pour les applications sonores. +# URL: http://www.pulseaudio.org +# Maintainer: NuTyX core team +# Packager: piernov <piernov@piernov.org> +# Depends on: consolekit, alsa-lib, gconf, libcap, liboil, policykit, libsamplerate, libsndfile, speex, libvorbis, json-c, xorg-libxtst, xorg-libsm, xorg-xcb-util, imagemagick, bluez, jack-audio-connection-kit, avahi, lcms2,librsvg +# Run on: consolekit,alsa-lib,gconf,libcap,liboil,policykit,libsamplerate,libsndfile,speex,libvorbis,json-c,bluez,jack-audio-connection-kit,avahi,lcms2,librsvg + +name=pulseaudio +version=1.1 +release=1 +source=(http://freedesktop.org/software/$name/releases/$name-$version.tar.xz + pulseaudio.xinit + pulseaudio.svg + sound.conf + configuration_resample_tweak.patch + start_pulseaudio_earlier_with_Gnome.patch + NuTyX_config.patch) + +build() { + cd $name-$version + patch -p1 < ../configuration_resample_tweak.patch + patch -p1 < ../start_pulseaudio_earlier_with_Gnome.patch + patch -p1 < ../NuTyX_config.patch + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-hal + + make + make DESTDIR=$PKG install + + install -D -m 0644 ../sound.conf $PKG/etc/sysconfig/sound + install -D -m 0755 ../$name.xinit $PKG/usr/lib/X11/xinit/xinitrc.d/$name.sh + install -D -m 0644 ../$name.svg $PKG/usr/share/icons/hicolor/scalable/apps/$name.svg + mkdir -p $PKG/usr/share/icons/hicolor/scalable/devices + ln -s ../apps/$name.svg $PKG/usr/share/icons/hicolor/scalable/devices/audio-backend-pulseaudio.svg + for size in 16 22 32 48 64 128; do + mkdir -p $PKG/usr/share/icons/hicolor/${size}x${size}/{apps,devices} + convert -geometry ${size}x${size} ../$name.svg $PKG/usr/share/icons/hicolor/${size}x${size}/apps/$name.png + ln -s ../apps/$name.png $PKG/usr/share/icons/hicolor/${size}x${size}/devices/audio-backend-pulseaudio.png + done + rm -f $PKG/etc/dbus-1/system.d/$name-system.conf + sed -i 's,\(/usr/bin/pactl load-module module-x11-cork-request\),#\1,' $PKG/usr/bin/start-pulseaudio-x11 +} |