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