summaryrefslogtreecommitdiffstats
path: root/phonon/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 /phonon/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 'phonon/Pkgfile')
-rw-r--r--phonon/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/phonon/Pkgfile b/phonon/Pkgfile
new file mode 100644
index 000000000..6779e935d
--- /dev/null
+++ b/phonon/Pkgfile
@@ -0,0 +1,30 @@
+# Description: phonon Plugin audio pour KDE
+# URL: http://phonon.kde.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: qt, xine-lib, cmake, gst-plugins-base, automoc4,sip,libqzeitgeist,pulseaudio
+# Run on: qt,xine-lib,gst-plugins-base,sip,libqzeitgeist,pulseaudio
+
+name=phonon
+version=4.6.0
+release=1
+source=(ftp://ftp.kde.org/pub/kde/stable/phonon/$version/src//$name-$version.tar.xz
+ FindPulseAudio.cmake
+ pulsestream.cpp)
+
+build() {
+ cd $name-$version
+ cp -f ../FindPulseAudio.cmake cmake/
+ cp -f ../pulsestream.cpp phonon/
+ cd ..
+ mkdir build
+ cd build
+ cmake ../${name}-* \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DPHONON_QT_MKSPECS_INSTALL_DIR=/usr/share/qt/mkspecs/modules \
+ -DPHONON_QT_PLUGIN_INSTALL_DIR=/usr/lib/qt/plugins/designer
+ make
+ make DESTDIR=$PKG install
+}