diff options
Diffstat (limited to 'extra/phonon/Pkgfile')
-rw-r--r-- | extra/phonon/Pkgfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/phonon/Pkgfile b/extra/phonon/Pkgfile new file mode 100644 index 000000000..aec08ea0c --- /dev/null +++ b/extra/phonon/Pkgfile @@ -0,0 +1,29 @@ +# 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 +# Run on: qt,xine-lib,gst-plugins-base,sip + +name=phonon +version=4.5.0 +release=4 +source=(ftp://ftp.kde.org/pub/kde/stable/phonon/$version/src//$name-$version.tar.bz2 + 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 \ + -DWITH_QZeitgeist=OFF + make + make DESTDIR=$PKG install +} |