summaryrefslogtreecommitdiffstats
path: root/kde/phonon/Pkgfile
blob: 70d9b0eb40ed127e578e9ce609031440ee8ee2ac (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
# 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
# Run on: qt,xine-lib,gst-plugins-base

name=phonon
version=4.5.0
release=3
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
}