summaryrefslogtreecommitdiffstats
path: root/k3b/Pkgfile
blob: c54b286c4e3c1285454172e7fdd1438c9179c319 (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
31
# Description: Logiciel de gravure complète avec toutes les fonctionnalitées pour KDE
# URL: http://k3b.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: kde-runtime,libsamplerate,dvd+rw-tools,vcdimager,libmad,ffmpeg,taglib,libmpcdec,libdvdread,polkit-qt,automoc4,cmake,cdrkit,cdrdao,libsndfile
# Run on: kde-runtime,libsamplerate,dvd+rw-tools,vcdimager,libmad,ffmpeg,taglib,libmpcdec,libdvdread,polkit-qt,cdrkit,cdrdao,libsndfile,xorg-libxtst

name=k3b
version=2.0.2
release=4

source=(http://downloads.sourceforge.net/sourceforge/k3b/$name-$version.tar.bz2
	k3b-2.0.2-ffmpeg0.8.patch)

build() {
	cd $name-$version
	patch  -p0 < ../k3b-2.0.2-ffmpeg0.8.patch

	cd $SRC/
  
  	mkdir build
  	cd build
  	cmake ../$name-$version \
		-DCMAKE_INSTALL_PREFIX=/usr \
    		-DCMAKE_BUILD_TYPE=Release \
		-DKDE_DEFAULT_HOME=.kde \
        	-DSYSCONF_INSTALL_DIR=/etc 	
  	make 
  	make DESTDIR=$PKG install 

}