summaryrefslogtreecommitdiff
path: root/testing/cheese
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
committerroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
commit59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch)
treed0384b724b17b888dcd1cf06dce9bc25655d1ba1 /testing/cheese
parent3b216f42d91b33161572550f4556a9ba93d1cecb (diff)
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'testing/cheese')
-rw-r--r--testing/cheese/PKGBUILD32
-rw-r--r--testing/cheese/cheese.install20
2 files changed, 52 insertions, 0 deletions
diff --git a/testing/cheese/PKGBUILD b/testing/cheese/PKGBUILD
new file mode 100644
index 000000000..ef3354084
--- /dev/null
+++ b/testing/cheese/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 117987 2011-04-05 06:35:35Z heftig $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=cheese
+pkgver=3.0.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' 'clutter-gst'
+ 'clutter-gtk' 'mx' 'libgee' 'gnome-video-effects' 'hicolor-icon-theme')
+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.bz2)
+sha256sums=('006df646d7141d455b95621fe99ef351aa88754239d28a27b2f57887449a8746')
+
+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
+}