From 0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Sep 2011 23:14:32 +0000 Subject: Thu Sep 29 23:14:32 UTC 2011 --- testing/cheese/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ testing/cheese/cheese.install | 20 ++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 testing/cheese/PKGBUILD create mode 100644 testing/cheese/cheese.install (limited to 'testing/cheese') diff --git a/testing/cheese/PKGBUILD b/testing/cheese/PKGBUILD new file mode 100644 index 000000000..c50e8a254 --- /dev/null +++ b/testing/cheese/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 138852 2011-09-28 19:29:15Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=cheese +pkgver=3.2.0 +pkgrel=1 +pkgdesc="Use your webcam to take photos and videos, apply fancy special effects and share the fun with others" +arch=(i686 x86_64) +license=('GPL') +depends=('gnome-desktop' 'gtk3' 'libcanberra' 'librsvg' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-bad' 'clutter-gst' + 'clutter-gtk' 'mx' 'libgee' 'gnome-video-effects' 'hicolor-icon-theme' 'dconf') +makedepends=('pkgconfig' 'gnome-doc-utils' 'intltool' 'gobject-introspection') +groups=('gnome-extra') +options=('!libtool' '!emptydirs') +url="http://www.gnome.org/projects/cheese/" +install=cheese.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('04e32ea45cf7a441dccf72ab08a765b268371878728336b762fb625dd02ad32b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-scrollkeeper \ + --disable-static --disable-schemas-compile + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/cheese/cheese.install b/testing/cheese/cheese.install new file mode 100644 index 000000000..c042fba42 --- /dev/null +++ b/testing/cheese/cheese.install @@ -0,0 +1,20 @@ +pkgname=cheese + +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then + usr/sbin/gconfpkg --uninstall $pkgname + fi +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf