summaryrefslogtreecommitdiffstats
path: root/k3b/Pkgfile
blob: 34a90eac97fa1aa7e1e2a5cf7a20d1a4d4301177 (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: kdelibs, kdemultimedia, oxygen-icons, libsamplerate, dvd+rw-tools, vcdimager, libmad, ffmpeg, taglib, libmpcdec, libdvdread, polkit-qt, automoc4, cmake, cdrkit, cdrdao, libsndfile
# Run on: kdelibs,kdemultimedia,oxygen-icons,libsamplerate,dvd+rw-tools,vcdimager,libmad,ffmpeg,taglib,libmpcdec,libdvdread,polkit-qt,cdrkit,cdrdao,libsndfile,xorg-libxtst

name=k3b
version=2.0.2
release=3

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 

}