summaryrefslogtreecommitdiffstats
path: root/extra/pulseaudio/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /extra/pulseaudio/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'extra/pulseaudio/Pkgfile')
-rw-r--r--extra/pulseaudio/Pkgfile46
1 files changed, 0 insertions, 46 deletions
diff --git a/extra/pulseaudio/Pkgfile b/extra/pulseaudio/Pkgfile
deleted file mode 100644
index 3e250ee8a..000000000
--- a/extra/pulseaudio/Pkgfile
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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
-}