summaryrefslogtreecommitdiffstats
path: root/kde/phonon-xine/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:10:37 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:10:37 +0200
commit5502b3dbf0af05f3864045d0fbcc521035c20db1 (patch)
treec2a4fe7a24144f7fd7718f8945b4f2b3611acc4d /kde/phonon-xine/Pkgfile
parente9d847e6f7204bd6c2ad10469ae899b9ecfe723c (diff)
downloadnutyx-pakxe-5502b3dbf0af05f3864045d0fbcc521035c20db1.tar.gz
nutyx-pakxe-5502b3dbf0af05f3864045d0fbcc521035c20db1.tar.bz2
nutyx-pakxe-5502b3dbf0af05f3864045d0fbcc521035c20db1.tar.xz
nutyx-pakxe-5502b3dbf0af05f3864045d0fbcc521035c20db1.zip
Ajout de phonon-xine#4.3.0-1
Diffstat (limited to 'kde/phonon-xine/Pkgfile')
-rw-r--r--kde/phonon-xine/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/kde/phonon-xine/Pkgfile b/kde/phonon-xine/Pkgfile
new file mode 100644
index 000000000..c8f1d4241
--- /dev/null
+++ b/kde/phonon-xine/Pkgfile
@@ -0,0 +1,33 @@
+# Description: Plugin xine pour phonon
+# URL: http://phonon.kde.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: qt, xine-lib
+name=phonon-xine
+version=4.3.0
+release=1
+_name=phonon
+source=(ftp://ftp.solnet.ch/mirror/KDE/stable/${_name}/$version/${_name}-${version}.tar.bz2)
+build() {
+
+mkdir build
+cd build
+sed -e '/add_subdirectory(phonon)/d' \
+-e '/add_subdirectory(includes)/d' \
+-i ../phonon-${version}/CMakeLists.txt
+cmake ../${_name}-${version} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
+ -DWITH_GStreamer=OFF
+cd xine
+make
+mkdir -p $PKG/usr/lib/qt
+mkdir -p $PKG/usr/share/icons/hicolor
+cd $SRC/build
+ make DESTDIR=$PKG install
+ mv $PKG/$KDE_PREFIX/lib/kde4/plugins $PKG/usr/lib/qt
+ mv $PKG/$KDE_PREFIX/share/icons/oxygen $PKG/usr/share/icons/hicolor
+ rm -f $PKG/usr/lib/pkgconfig/phonon.pc
+}