summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Rogoża2015-06-14 15:58:39 +0200
committerPiotr Rogoża2015-06-14 15:58:39 +0200
commit0cbe358c6658da884671a51b9c8a5d779e214397 (patch)
tree6af48f35e4def0aabc71b10a4154f0bafdbfd62d
downloadaur-0cbe358c6658da884671a51b9c8a5d779e214397.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD56
2 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9f93e0ae545
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = gegl-seamless-clone-git
+ pkgdesc = GEGL (Generic Graphics Library) is a graph based image processing framework - seamless-clone branch
+ pkgver = GEGL_0_2_0.925.gecc1061
+ pkgrel = 1
+ url = http://www.gegl.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = intltool
+ depends = babl-git
+ depends = ruby
+ depends = libopenraw
+ depends = libspiro
+ depends = ffmpeg
+ depends = librsvg
+ depends = openexr
+ provides = gegl
+ provides = gegl-seamless-clone
+ conflicts = gegl-git
+ conflicts = gegl
+ options = !libtool
+
+pkgname = gegl-seamless-clone-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6ddf892618
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,56 @@
+# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
+# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+
+pkgname=gegl-seamless-clone-git
+_pkgname=gegl-git
+_branch=soc-2011-seamless-clone
+pkgver=GEGL_0_2_0.925.gecc1061
+pkgrel=1
+pkgdesc="GEGL (Generic Graphics Library) is a graph based image processing framework - seamless-clone branch"
+arch=('i686' 'x86_64')
+url="http://www.gegl.org/"
+license=('GPL')
+conflicts=(gegl-git gegl)
+provides=(gegl gegl-seamless-clone)
+depends=(babl-git ruby libopenraw libspiro ffmpeg librsvg openexr)
+makedepends=(git intltool)
+options=(!libtool)
+_gitroot='git://git.gnome.org/gegl'
+_gitname='gegl'
+pkgver() {
+ if [ -d "$srcdir"/$_gitname ]; then
+ cd "$srcdir"/$_gitname
+ git describe --always | sed 's|-|.|g'
+ fi
+}
+
+build() {
+ cd $srcdir
+ msg "Connecting to gnome.org git server...."
+
+ if [[ -d $_gitname ]]; then
+ cd $_gitname
+ git pull origin
+ else
+ git clone $_gitroot $_gitname
+ fi
+ msg " checkout done."
+
+ msg "Starting make..."
+ cd "$srcdir"
+ [ -d "$srcdir/${_gitname}-build" ] && rm -rf "$srcdir/${_gitname}-build"
+ cp -r "$srcdir"/$_gitname $_gitname-build
+ cd $_gitname-build
+
+ git checkout -b $_branch origin/$_branch
+ msg2 "Starting configure..."
+ ./autogen.sh --prefix=/usr --disable-docs
+ msg2 "Starting make..."
+ make
+}
+package() {
+ cd "$srcdir"/$_gitname-build
+ make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/{p2t,refine,render}
+}