You are not logged in.
Pages: 1
Zapping is a Gnome TV Viewer, I have been requested for the PKGBUILD though it is not fully tested, I need testers
PKGBUILD
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
pkgname=zapping
pkgver=0.10cvs2
pkgrel=1
pkgdesc="Gnome TV Viewer"
depends=('zvbi>=0.2.11' 'libxxf86dga' 'libxmu' 'libgnomeui' 'libxv' 'libxxf86vm')
makedepends=('intltool')
install=zapping.install
url="http://zapping.sourceforge.net"
source=(http://dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('9aec8406498a2f1ff91bea1b8b2f1acc')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome --disable-schemas-install
|| return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
#Fix some things
find $startdir/pkg -name *.la -exec rm {} ;
rm -f $startdir/pkg/opt/gnome/bin/zapping_setup_fb
ln -sf /opt/gnome/sbin/zapping_setup_fb $startdir/pkg/opt/gnome/bin/zapping_setup_fb
}
zapping.install
pkgname=zapping
post_install() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}
op=$1
shift
$op $*
the reason it has been posted here is because it depends on libxv which is in testing, when Xorg 7 hits current, this will go into AUR, you also can obtain it via my Repo
[wael]
Server = http://wael.nasreddine.com/files/arch/r … l/os/i686/
[My Blog] | [My Repo] | [My AUR Packages]
Offline
Pages: 1