summaryrefslogtreecommitdiffstats
path: root/phonon/Pkgfile
blob: 6779e935d16bfc83d2ac1670f8024bf4b3f97048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}