summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2017-05-01 17:17:06 +0200
committerMaxime Gauduin2017-05-01 17:18:05 +0200
commit807fb1af8b85c22037a99025240fad5db11f2665 (patch)
tree0d5fd8297a5716a82adca5b15093fce818cf6ce5
downloadaur-807fb1af8b85c22037a99025240fad5db11f2665.tar.gz
Add pantheon-camera-git
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD52
2 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..946bfdd01fb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+# Generated by mksrcinfo v8
+# Mon May 1 15:17:06 UTC 2017
+pkgbase = pantheon-camera-git
+ pkgdesc = The Pantheon Camera Application
+ pkgver = r496.d040b1a
+ pkgrel = 1
+ url = https://github.com/elementary/camera
+ arch = i686
+ arch = x86_64
+ groups = pantheon-unstable
+ license = GPL3
+ makedepends = cmake
+ makedepends = git
+ makedepends = granite-git
+ makedepends = intltool
+ makedepends = vala
+ depends = clutter
+ depends = clutter-gst
+ depends = clutter-gtk
+ depends = glib2
+ depends = glibc
+ depends = gstreamer
+ depends = gtk3
+ depends = libcanberra
+ depends = libgranite.so
+ provides = pantheon-camera
+ conflicts = pantheon-camera
+ conflicts = snap-photobooth
+ replaces = snap-photobooth-bzr
+ source = pantheon-camera::git+https://github.com/elementary/camera.git
+ sha256sums = SKIP
+
+pkgname = pantheon-camera-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0b77249cb46
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,52 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+
+pkgname=pantheon-camera-git
+pkgver=r496.d040b1a
+pkgrel=1
+pkgdesc='The Pantheon Camera Application'
+arch=('i686' 'x86_64')
+url='https://github.com/elementary/camera'
+license=('GPL3')
+groups=('pantheon-unstable')
+depends=('clutter' 'clutter-gst' 'clutter-gtk' 'glib2' 'glibc' 'gstreamer'
+ 'gtk3' 'libcanberra'
+ 'libgranite.so')
+makedepends=('cmake' 'git' 'granite-git' 'intltool' 'vala')
+provides=('pantheon-camera')
+conflicts=('pantheon-camera' 'snap-photobooth')
+replaces=('snap-photobooth-bzr')
+source=('pantheon-camera::git+https://github.com/elementary/camera.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd pantheon-camera
+
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd pantheon-camera
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd pantheon-camera/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DGSETTINGS_COMPILE='FALSE'
+ make
+}
+
+package() {
+ cd pantheon-camera/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: