summaryrefslogtreecommitdiff
path: root/media-libs/libmypaint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libmypaint
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libmypaint')
-rw-r--r--media-libs/libmypaint/Manifest7
-rw-r--r--media-libs/libmypaint/files/libmypaint-1.3.0_beta1-as-needed.patch28
-rw-r--r--media-libs/libmypaint/libmypaint-1.3.0.ebuild58
-rw-r--r--media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild59
-rw-r--r--media-libs/libmypaint/metadata.xml14
5 files changed, 166 insertions, 0 deletions
diff --git a/media-libs/libmypaint/Manifest b/media-libs/libmypaint/Manifest
new file mode 100644
index 000000000000..472746b07ecd
--- /dev/null
+++ b/media-libs/libmypaint/Manifest
@@ -0,0 +1,7 @@
+AUX libmypaint-1.3.0_beta1-as-needed.patch 804 SHA256 0e48b84112f653a9b1fcbeb3e9719e1b512e63787e7521163732a1456b37acaf SHA512 49853d92f723690d67edb35b01e0907c314b07f99f468e73256faaaa49d4d3a7a35fd4b7b0d897223c14f4567d2f8d33689a21deee80d82413f72e840fea888c WHIRLPOOL 6f31ffad69dd658d161e5a875753117b8b4eef69ecf0efc706f46d29fae5541393f446dcb625173e25551c037a41faf28c37b22c5ea2f6575522033855d7649e
+DIST libmypaint-1.3.0-beta.1.tar.xz 421424 SHA256 d39138b21b9057376138e64f09f4c4741a14a7baed71d6f0ba9bc2504d69f9ee SHA512 ae98ec8947d521749d82bc1e683efcace2da7e3c8b8453e79e5191d65225f0963394344628d646947f79b141503d268277d26ce2eeaf482bbe24f1bfb1d103fa WHIRLPOOL af50526090b0613d3eca89dd8a6773f93889d2b966263e1497c8008bf2ef73c491559ddb5c14a3bfa9c4d407755780b4a9d54a2f6a572eedf2a9415d6ce4ef45
+DIST libmypaint-1.3.0.tar.xz 438160 SHA256 6a07d9d57fea60f68d218a953ce91b168975a003db24de6ac01ad69dcc94a671 SHA512 553eeb3439ffd0c013e33254a16334242583b8bab76d1a3e937f3ed1d7e05a832c6eb26acd7220dce20c6a7d997c32afe828202ce48e25a5fe57b67efd853fcf WHIRLPOOL ea0abb1e0a57d430d1b3aaa0701ef577dc529b6aa3ae3423dc924bcd59aaba06a98c1d2ddddb26279d545049ce74f9bb00f2f7e62533e8ac45ea3cf4dd109fec
+EBUILD libmypaint-1.3.0.ebuild 1286 SHA256 c5d65e92fbbe80f22f59f5f77197b960f611f23b2afd2c33db4e08e815fdabe8 SHA512 4b10bc681be6c9b72ce5c0c3135a041cb279ea3d34e70d1f5798c14cbf5e29c3d9a30375955953055ff53424716bc4b3ef1c6d706ff0cdfcab95ee8662bf0aca WHIRLPOOL 8cfcbc9ec0e417ba3ffb9ebe14c00fdc7d702b391c030580063e3bba85d2b9083d1a54ab559a8cd7f6506a01213ebccde73cafb0240359c050031ef16a785da1
+EBUILD libmypaint-1.3.0_beta1.ebuild 1336 SHA256 24509a43573321362ce86f8029a665201626d5bcdc01f1dba6a647e22d3801c7 SHA512 4f1b138309b67cd0b88e4744f8830e703372299ed3f80020461de00de90ccf5719b37d4307fb0ed90963f20d0252bf37c9b0a3e20f032d71b2f30e12a3eca807 WHIRLPOOL dbeed23848f382ee28987b43b8f65e8a72a40a4769a0f7da7f20d2837ad76419700d7a30f231eb77bb959072c1a8be7fc5bbbe91b41ab8d060dfee474e54c079
+MISC ChangeLog 1402 SHA256 f6ef608df5df4a98b0c9243bca2b4905fd084b6e52f8e222ff59cda4da199d22 SHA512 c4a1492e85826addc6ad2f8a39f89d6ee62e3a2990cdd5b1977072e674fd5f20e8c9bbaa7a59afc86b5a46407b41b5b6f385c2d995dd4c1c26020bb66ae47fa6 WHIRLPOOL d33d61764dc147efecad812b8e0e8aa945e4df94f60eac53620b1af89dd2a30c92b8d8d3c8387a6e3b1b773b65e9121e15a543a24f398da9c23faf82787cf95d
+MISC metadata.xml 417 SHA256 f8eff17068d8c1df48e4f43888039f097a7ec23af140bc7e55e98a7fb27ca130 SHA512 2e106cc8c3dc9249aa34eefedefb2dbc72e9992e19f6bfef425393629d3e676ebfbaadba9c8fcc13014158d98fa463ff49c812103b11524c851cb0b457ad0f7a WHIRLPOOL 82a51190b7b5bba1f1b4669f5487c71ae04ff20b509bc18ca4c669f1797ca8facd454d462bdef00ed800769d422aa6c8efee38da81f87f083eda1192961d9388
diff --git a/media-libs/libmypaint/files/libmypaint-1.3.0_beta1-as-needed.patch b/media-libs/libmypaint/files/libmypaint-1.3.0_beta1-as-needed.patch
new file mode 100644
index 000000000000..41e2aee786f4
--- /dev/null
+++ b/media-libs/libmypaint/files/libmypaint-1.3.0_beta1-as-needed.patch
@@ -0,0 +1,28 @@
+From b8eab3a5c264c90c30ab68c3abfccdfcfd1c6860 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Mon, 25 Jul 2016 14:00:04 +0200
+Subject: [PATCH] Fix "make check" link errors
+
+.. for ./configure LDFLAGS="-Wl,--as-needed" --enable-gegl
+---
+ tests/gegl/Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/gegl/Makefile.am b/tests/gegl/Makefile.am
+index a1f34ec..2804316 100644
+--- a/tests/gegl/Makefile.am
++++ b/tests/gegl/Makefile.am
+@@ -29,8 +29,8 @@ endif
+ LDADD = \
+ $(DEPS) \
+ $(GEGL_LIBS) \
++ $(top_builddir)/tests/libmypaint-tests.a \
+ $(top_builddir)/libmypaint.la \
+- $(top_builddir)/gegl/libmypaint-gegl.la \
+- $(top_builddir)/tests/libmypaint-tests.a
++ $(top_builddir)/gegl/libmypaint-gegl.la
+
+ endif
+--
+2.9.2
+
diff --git a/media-libs/libmypaint/libmypaint-1.3.0.ebuild b/media-libs/libmypaint/libmypaint-1.3.0.ebuild
new file mode 100644
index 000000000000..bd45646bd144
--- /dev/null
+++ b/media-libs/libmypaint/libmypaint-1.3.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-any-r1 xdg-utils toolchain-funcs
+
+MY_PV=${PV/_beta/-beta.}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Library for making brushstrokes"
+HOMEPAGE="https://github.com/mypaint/libmypaint"
+SRC_URI="https://github.com/mypaint/libmypaint/releases/download/v${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="ISC"
+SLOT="0/0" # first soname component for subslot
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~x86"
+IUSE="gegl introspection nls openmp"
+
+CDEPEND="
+ dev-libs/glib:2
+ dev-libs/json-c
+ gegl? (
+ media-libs/babl
+ media-libs/gegl:0.3[introspection?]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.32 )
+ openmp? ( sys-devel/gcc:*[openmp] )
+ nls? ( sys-devel/gettext )
+ "
+DEPEND="${CDEPEND}
+ ${PYTHON_DEPS}
+ nls? ( dev-util/intltool )
+ "
+RDEPEND="${CDEPEND}
+ !<media-gfx/mypaint-1.2.1
+ "
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ xdg_environment_reset
+ eapply_user
+}
+
+src_configure() {
+ tc-ld-disable-gold # bug 589266
+ econf \
+ --disable-debug \
+ --disable-docs \
+ $(use_enable gegl) \
+ --disable-gperftools \
+ $(use_enable nls i18n) \
+ $(use_enable introspection) \
+ $(use_enable openmp) \
+ --disable-profiling
+}
diff --git a/media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild b/media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild
new file mode 100644
index 000000000000..6da54a043821
--- /dev/null
+++ b/media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-any-r1 xdg-utils toolchain-funcs
+
+MY_PV=${PV/_beta/-beta.}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Library for making brushstrokes"
+HOMEPAGE="https://github.com/mypaint/libmypaint"
+SRC_URI="https://github.com/mypaint/libmypaint/releases/download/v${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="ISC"
+SLOT="0/0" # first soname component for subslot
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86"
+IUSE="gegl introspection nls openmp"
+
+CDEPEND="
+ dev-libs/glib:2
+ dev-libs/json-c
+ gegl? (
+ media-libs/babl
+ media-libs/gegl:0.3[introspection?]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.32 )
+ openmp? ( sys-devel/gcc:*[openmp] )
+ nls? ( sys-devel/gettext )
+ "
+DEPEND="${CDEPEND}
+ ${PYTHON_DEPS}
+ nls? ( dev-util/intltool )
+ "
+RDEPEND="${CDEPEND}
+ !<media-gfx/mypaint-1.2.2
+ "
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ xdg_environment_reset
+ epatch "${FILESDIR}"/${PN}-1.3.0_beta1-as-needed.patch
+ eapply_user
+}
+
+src_configure() {
+ tc-ld-disable-gold # bug 589266
+ econf \
+ --disable-debug \
+ --disable-docs \
+ $(use_enable gegl) \
+ --disable-gperftools \
+ $(use_enable nls i18n) \
+ $(use_enable introspection) \
+ $(use_enable openmp) \
+ --disable-profiling
+}
diff --git a/media-libs/libmypaint/metadata.xml b/media-libs/libmypaint/metadata.xml
new file mode 100644
index 000000000000..8315ba3f24bb
--- /dev/null
+++ b/media-libs/libmypaint/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <use>
+ <flag name="gegl">Add support for <pkg>media-libs/gegl</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">mypaint/libmypaint</remote-id>
+ </upstream>
+</pkgmetadata>