Hi,
nachdem ich jetzt schon länger auf eine neue Version von TVTime warte, habe ich das eben selber in die Hand genommen 🙂 . Allerdings gab es ein paar Probleme beim Kompilieren. Hilfe hab ich dann auf der Gentoo-Seite gefunden und ein paar Patches hinzugefügt.
Da es mein erste Erfahrung mit PKGBUILDs ist, suche ich noch jemand, der sich das mal anschaut.
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=tvtime
pkgver=1.0.2
pkgrel=1
pkgdesc="tvtime is a high quality television application for use with video capture cards."
depends=('libpng' 'libxml2' 'freetype2' 'libxtst' 'libxinerama' 'libxv' 'libsm' 'libxxf86vm')
source=(http://downloads.sourceforge.net/tvtime/$pkgname-$pkgver.tar.gz
tvtime-1.0.2-linuxheaders.patch
tvtime-1.0.2-gcc41.patch
tvtime-1.0.2-libsupc++.patch
tvtime-pic.patch
tvtime-1.0.2-xinerama.patch)
url='http://tvtime.sourceforge.net/'
arch=('i686')
license=('GPL')
build() {
cd $startdir/src/$pkgname-$pkgver
# Add patch to build with linux-headers-2.6.18 and later. Closes bug #159510
patch -Np1 -i ${startdir}/tvtime-1.0.2-linuxheaders.patch
# Fix for gcc 4.1.
patch -Np1 -i ${startdir}/tvtime-1.0.2-gcc41.patch
# Link to -lsupc++ rather than -lstdc++, this way the dependency over
# libstdc++.so is dropped.
patch -Np1 -i ${startdir}/tvtime-1.0.2-libsupc++.patch
# Fix PIC handling on AMD64 systems when PIE is enabled.
patch -Np1 -i ${startdir}/tvtime-pic.patch
# Xinerama support.
patch -Np1 -i ${startdir}/tvtime-1.0.2-xinerama.patch
# use 'tvtime' for the application icon see bug #66293
sed -i -e "s/tvtime.png/tvtime/" docs/net-tvtime.desktop
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
make || return 1
make DESTDIR=$startdir/pkg install
cp docs/html/default.tvtime.xml $startdir/pkg/usr/share/tvtime
}
md5sums=('4b3d03afe61be239b08b5e522cd8afed'
'29b0aefd80fddae68613854b627e044a'
'c782789825dfa664e1f6fcc96ac7246c'
'aa048fd12dfb176e544247148a53bfc7'
'4bc08a98c7cc134accb89aea3018c2f6'
'7716009f7064bdae850d1464e33f455d')
Gruß Perry