diff options
author | Steffen Weber | 2015-06-10 13:13:10 +0200 |
---|---|---|
committer | Steffen Weber | 2015-06-10 13:13:10 +0200 |
commit | 2ac4f72707ace262340eac4a365008e9f785315b (patch) | |
tree | 158c76e674c784609515d3dd7f84d26e14c7dbac | |
download | aur-2ac4f72707ace262340eac4a365008e9f785315b.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | camorama.patch | 36 |
3 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..503cf7a0e39e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = camorama + pkgdesc = Webcam application featuring various image filters + pkgver = 0.19 + pkgrel = 5 + url = http://camorama.fixedgear.org + arch = i686 + arch = x86_64 + license = GPL + makedepends = intltool + makedepends = gettext + depends = libgnomeui + source = http://ftp.gnome.org/pub/GNOME/sources/camorama/0.19/camorama-0.19.tar.bz2 + source = camorama.patch + md5sums = 75025ba37d1dd1c398d92ba2dbef43ee + md5sums = 03892e0cad8402f578579214fb9b054a + +pkgname = camorama + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..394a80470a04 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Steffen Weber <-boenki-gmx-de-> +# Contributor: Andrea Scarpino <bash.lnx@gmail.com> +# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com> + +pkgname=camorama +pkgver=0.19 +pkgrel=5 +pkgdesc="Webcam application featuring various image filters" +url="http://camorama.fixedgear.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libgnomeui') +makedepends=('intltool' 'gettext') +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 + $pkgname.patch) +md5sums=('75025ba37d1dd1c398d92ba2dbef43ee' + '03892e0cad8402f578579214fb9b054a') + +prepare() { + cd "$pkgname-$pkgver" + patch -p0 -i ../$pkgname.patch +} + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/usr/share + make +} + +check() { + cd "$pkgname-$pkgver" + make check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +}
\ No newline at end of file diff --git a/camorama.patch b/camorama.patch new file mode 100644 index 000000000000..8eb7c7c930ca --- /dev/null +++ b/camorama.patch @@ -0,0 +1,36 @@ +diff -aur src_orig/camorama-stock-items.h src/camorama-stock-items.h +--- src_orig/camorama-stock-items.h 2007-06-14 16:05:33.000000000 +0200 ++++ src/camorama-stock-items.h 2012-10-22 03:50:31.000000000 +0200 +@@ -1,7 +1,7 @@ + #ifndef CAMORAMA_STOCK_ITEMS_H + #define CAMORAMA_STOCK_ITEMS_H + +-#include <glib/gmacros.h> ++#include <glib.h> + + G_BEGIN_DECLS + +diff -aur src_orig/glib-helpers.h src/glib-helpers.h +--- src_orig/glib-helpers.h 2007-06-14 16:05:33.000000000 +0200 ++++ src/glib-helpers.h 2012-10-22 03:50:33.000000000 +0200 +@@ -24,7 +24,7 @@ + #ifndef GLIB_HELPERS_H + #define GLIB_HELPERS_H + +-#include <glib/gmacros.h> ++#include <glib.h> + + G_BEGIN_DECLS + +diff -aur src_orig/v4l.h src/v4l.h +--- src_orig/v4l.h 2007-09-16 15:36:55.000000000 +0200 ++++ src/v4l.h 2012-10-22 03:50:35.000000000 +0200 +@@ -13,7 +13,7 @@ + #include <fcntl.h> + #include <gtk/gtk.h> + #include <linux/types.h> +-#include <linux/videodev.h> ++#include <libv4l1-videodev.h> + #include <signal.h> + #include <png.h> + #include <glade/glade.h> |