diff options
Diffstat (limited to 'phonon/Pkgfile')
-rw-r--r-- | phonon/Pkgfile | 30 |
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 +} |