summaryrefslogtreecommitdiff
path: root/pcr/mypaint-gegl
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-28 20:40:28 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-28 20:41:39 -0300
commitc86f3402ad3cf576b4a6d27e42389632a7b5986f (patch)
treecf67245b68642374de7dee3175970df12f5c2bac /pcr/mypaint-gegl
parent0818dfc6d81d86b2af3df86d3d42365892885951 (diff)
downloadabslibre-c86f3402ad3cf576b4a6d27e42389632a7b5986f.tar.gz
abslibre-c86f3402ad3cf576b4a6d27e42389632a7b5986f.tar.bz2
abslibre-c86f3402ad3cf576b4a6d27e42389632a7b5986f.zip
change mypaint-gegl-git to mypaint-gegl
Diffstat (limited to 'pcr/mypaint-gegl')
-rw-r--r--pcr/mypaint-gegl/PKGBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/pcr/mypaint-gegl/PKGBUILD b/pcr/mypaint-gegl/PKGBUILD
new file mode 100644
index 000000000..5c5405bf1
--- /dev/null
+++ b/pcr/mypaint-gegl/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of mypaint
+
+_pkgname=mypaint
+pkgname=mypaint-gegl
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="A fast and easy painting application for digital painters, with brush dynamics and GEGL support"
+arch=('i686' 'x86_64' 'armv7h')
+url="http://mypaint.org/"
+license=('GPL' 'LGPL')
+depends=('pygtk' 'python2-numpy' 'protobuf-python' 'python2' 'json-c'
+ 'lcms2' 'python2-gobject' 'gtk3' 'gegl')
+makedepends=('scons>=0.97' 'swig>=1.3.39')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=(https://github.com/mypaint/mypaint/releases/download/v$pkgver/mypaint-$pkgver.tar.xz
+ https://github.com/mypaint/mypaint/commit/c03602f3d5456d59fccfc8ad7d41c8c6f1a6d593.patch)
+md5sums=('c7c2cfac8e1eec5549e58567ec68daac'
+ 'e196d8ea9eb9e939118a17c04678a69a')
+
+prepare() {
+ cd $srcdir/$_pkgname-$pkgver
+ patch -p1 <$srcdir/c03602f3d5456d59fccfc8ad7d41c8c6f1a6d593.patch
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ scons prefix="$pkgdir"/usr use_sharedlib=yes enable_gegl=yes install
+
+ # fixing headers files, it's needed for GIMP 2.9 and above package
+ install -vdm 0755 $pkgdir/usr/include/glib
+ ln -vs lib$_pkgname-gegl/$_pkgname-gegl-surface.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/glib/$_pkgname-brush.h $pkgdir/usr/include/glib
+ ln -vs lib$_pkgname/glib/$_pkgname-gegl-glib.h $pkgdir/usr/include/glib
+ ln -vs lib$_pkgname/$_pkgname-brush-settings-gen.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-brush-settings.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-brush.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-config.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-fixed-tiled-surface.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-glib-compat.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-rectangle.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-surface.h $pkgdir/usr/include
+ ln -vs lib$_pkgname/$_pkgname-tiled-surface.h $pkgdir/usr/include
+
+ # add libmypaint-tests.so, it's needed for shared libraries
+ install -vDm 0644 brushlib/lib$_pkgname-tests.so $pkgdir/usr/lib
+}