summaryrefslogtreecommitdiffstats
path: root/kde/phonon/Pkgfile
blob: aec08ea0c5244f18f76a24d2fe74a591c1b3e4a4 (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,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
}