summaryrefslogtreecommitdiff
path: root/libmypaint/Pkgfile
diff options
context:
space:
mode:
authorThomas Penteker <tek@serverop.de>2018-09-09 02:07:43 +0200
committerThomas Penteker <tek@serverop.de>2018-09-09 02:07:43 +0200
commit1ff4a3e095bb22d612d94aa5396d934731f23b18 (patch)
treeb828829edde3d498271e975ecc0952982e09c496 /libmypaint/Pkgfile
parent0c1d0c8a9b82bfe734010afc998cb7416ff1d043 (diff)
downloadopt-1ff4a3e095bb22d612d94aa5396d934731f23b18.tar.gz
opt-1ff4a3e095bb22d612d94aa5396d934731f23b18.tar.xz
libmypaint: initial import, thx teatime
Diffstat (limited to 'libmypaint/Pkgfile')
-rw-r--r--libmypaint/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/libmypaint/Pkgfile b/libmypaint/Pkgfile
new file mode 100644
index 000000000..8ed64a261
--- /dev/null
+++ b/libmypaint/Pkgfile
@@ -0,0 +1,29 @@
+# Description: libmypaint is a library for making brushstrokes
+# URL: https://github.com/mypaint/libmypaint
+# Maintainer: Thomas Penteker, tek at serverop dot de
+# Depends on: json-c python gegl gobject-introspection
+
+name=libmypaint
+version=1.3.0
+release=1
+source=(https://github.com/mypaint/$name/archive/v$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+ sed -i 's|gegl-0.3|gegl-0.4|g' gegl/libmypaint-gegl.pc.in gegl/Makefile.am configure.ac
+ sed -i 's|Gegl-0.3|Gegl-0.4|g' gegl/Makefile.am
+ sed -i 's|po/Makefile\.in|po/Makefile|g' configure.ac
+ echo -e '# INTLTOOL_MAKEFILE\nall:\ninstall:' > po/Makefile.in
+
+ autoreconf -i
+
+ ./configure --prefix=/usr \
+ --enable-gegl \
+ --disable-nls
+
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/usr/share/locale
+}

Generated by cgit