summaryrefslogtreecommitdiffstats
path: root/kde/kmplayer/Pkgfile
blob: e834bbe8ed3f5a17fdbbc7463f61079540ef4a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Plugin video pour konqueror MPlayer/Xine/ffmpeg/ffserver/VDR pour KDE
# URL: http://kmplayer.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: kdebase-runtime, gtk, mplayer
name=kmplayer
version=0.11.2b
release=1

source=("http://kmplayer.kde.org/pkgs/$name-$version.tar.bz2")

build() {
	sed -i "/doc/d" $name-$version/CMakeLists.txt
	mkdir build
	cd build
	cmake ../$name-$version \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DBUILD_doc=OFF
	make
	make DESTDIR=$PKG install
}