mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
1,015 B
Bash
28 lines
1,015 B
Bash
# $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
|
|
}
|