summaryrefslogtreecommitdiffstats
path: root/kde/kmplayer/Pkgfile
blob: 4308a45862dea9f789543c276fa76609f8e02add (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
# 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
# Run 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
}