PKGBUILDs/extra/kdetv/PKGBUILD

29 lines
1,015 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 44956 2009-07-05 20:34:38Z giovanni $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=kdetv
pkgver=0.8.9
pkgrel=3
pkgdesc="kdetv is a KDE application that allows you to watch television"
arch=('i686' 'x86_64')
url="http://www.kdetv.org"
license=('GPL' 'LGPL')
depends=('kdelibs3' 'zvbi' 'libxxf86vm' 'libxv' 'libxxf86dga' 'libxvmc')
source=(http://dziegel.free.fr/releases/$pkgname-$pkgver.tar.bz2)
md5sums=('7a5d73e08bc133cc2db228cb6655670e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
. /etc/profile.d/kde3.sh
sed -i -e 's/libkvideoio/libkvideoiokdetv/g' kdetv/kvideoio/*
sed -i -e 's/libkvideoio/libkvideoiokdetv/g' kdetv/plugins/video/xv/*
sed -i -e 's/libkvideoio/libkvideoiokdetv/g' kdetv/plugins/video/v4l/*
sed -i -e 's/libkvideoio/libkvideoiokdetv/g' kdetv/plugins/video/v4l2/*
make -f admin/Makefile.common
./configure --prefix=/opt/kde \
--without-arts \
--disable-debug
make || return 1
make DESTDIR=${pkgdir} install
}