summaryrefslogtreecommitdiffstats
path: root/kde3/kaffeine/Pkgfile
blob: 8028fc23ef3a4c1e76062563ad068637be9866bc (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: Lecteur multimédia pour kde3
# URL:  http://kaffeine.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: kdelibs3, xine-lib, cdparanoia, gst-plugins-base, libdvdcss, mplayer-all-codecs

name=kaffeine
version=0.8.7
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2)

build() {
	source /etc/profile
	cd $name-$version
	./configure --prefix=/opt/kde \
		--enable-final \
		--disable-debug
	sed -i "s/TOPSUBDIRS =  doc/TOPSUBDIRS =/" Makefile
	make
	make DESTDIR=$PKG install
	rm $PKG/opt/kde/share/mimelnk/application/x-mplayer2.desktop
	mkdir -p $PKG/usr/lib
	ln -s codecs $PKG/usr/lib/win32
}