summaryrefslogtreecommitdiff
path: root/media-libs/exempi
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/exempi
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/exempi')
-rw-r--r--media-libs/exempi/Manifest9
-rw-r--r--media-libs/exempi/exempi-2.2.1.ebuild48
-rw-r--r--media-libs/exempi/exempi-2.4.2.ebuild52
-rw-r--r--media-libs/exempi/files/exempi-2.1.1-iconv.patch22
-rw-r--r--media-libs/exempi/files/exempi-2.4.2-iconv.patch41
-rw-r--r--media-libs/exempi/metadata.xml7
6 files changed, 179 insertions, 0 deletions
diff --git a/media-libs/exempi/Manifest b/media-libs/exempi/Manifest
new file mode 100644
index 000000000000..e8ccd7b13736
--- /dev/null
+++ b/media-libs/exempi/Manifest
@@ -0,0 +1,9 @@
+AUX exempi-2.1.1-iconv.patch 660 SHA256 683cfc8032808e28cabb3dff3b8f4dba0d1229e8884924ddfb55ef7a01fd3316 SHA512 805de3806d20a5e4ca31d0223e79e9da2519d9ddb617af7aaf54f0111850b57fb4e4af330297ec21787a32935063c133ca0f74fb59d58e2fe9f64f0b0ba534d3 WHIRLPOOL 65b8b81b0f5298e364555e14410398225d8d8bf54f4055a51ced359168c207aa62e028c4b351832febfad8adeec2db45b23f626976107acbaa4171d59bd74798
+AUX exempi-2.4.2-iconv.patch 1440 SHA256 24d174ff5dd926583cbe1deb84b0604f5bc52365ebf851008837f3014115108a SHA512 09cc5ba46c8e0a0b0c1c3b0c86d9c49c21e64a64ca35a90053bf98ed81652b8d1c91bc29a321b5b3bf032b65af220129860f7d3f8c6e12ce608db19c01841736 WHIRLPOOL d8cbb1600d5f642bac5c1b1448d6584b1348c109fbfc19559565b1c137ab980e0b286bf1d38906c394280faf051c948cac9edd198bdb2e8533f32d200dec0201
+DIST exempi-2.2.1.tar.gz 3566843 SHA256 a99e1569047988200e4935cf4395667341a5bd8d6067847a08df4304546cc362 SHA512 f4b97ec7af89924755a0695464bad5081de6a5d6a6f28c06984c051d677f8771c39df12951761ecd28d6ff520ddec4e21179dcba8b58f0ef649bbdad1a53aa9c WHIRLPOOL 622d23cb519f2dda988b7d13dd26be55dd207bfe8ec2f2c0b8b568974571780b51b5284d871a310e461041f1054265efb199cf5c21fcf6eee6619cb85dc335e9
+DIST exempi-2.4.2.tar.gz 3911796 SHA256 2016738b16c371179f745a556dc8ccc95ba2323e933fa1b3f4cbbd469516e343 SHA512 47d0737a95dbd31c3c39ef9a9a8c00e87135c2eb909bea1d89fa8df31c0e73dadd7e9f9f0e6445d3b17457396e0c1381b93f5751494e1061822df47f7099b568 WHIRLPOOL 50bff108827ea794aacb1becee05b0864a694b6744be4471d9e16bccd5143d3957f8d5e41cd946df1e453a9c1abfeaa11cf170ddbd4db6e339b85d7e7bac1930
+EBUILD exempi-2.2.1.ebuild 1067 SHA256 01ddf31c777cc27878015ce7726b7af93fce1e0f4590888da8df94c582bc54ee SHA512 4671cc734e821f6fddea6a84c7b67f3dd58549be5d76acf8f99c44aaafda9cfcdf1ffca73262c8b67f355431f58a5fe3ebe37566c64ac58d154442305c35c8fa WHIRLPOOL fee0c7e8d534d85165590d3ccbdcb177bcfcf25fba71a9cd892e348ce8a0b506adbe98616859e564528a6cf2ce3d1c097e69b08cc740ea44d97ca3c5fbf6ea67
+EBUILD exempi-2.4.2.ebuild 1169 SHA256 3ab324f23883637032fa527f78d92417e67f1ddaf3e9dead2dc70e97f8fec09d SHA512 1880073d53b300ecae2f036a8ee882db18c5fd3fc61f202e9021fc2c1ee9bfe508fb67cda1bc99b7fd16b0652ceda3ac0ca8ccd27303a907a98bcd5d747d2ad7 WHIRLPOOL fb661543e6503d6454a7bbe44cef7d9d39edca56207cb27af7c6220c8260412cfc1cd9ebf6c18f09b25a452a9c06a3e67c25fb1590221d1bffc73a4e977c0aba
+MISC ChangeLog 3446 SHA256 2c1f9c211aab271dfb0053f9f51f7642e08ce247b109be3639a18a364159dfb5 SHA512 1be343c4fb2215749a9a114da61756d793fecf5182c99a71b0b9a36e495fbcac648545a0debc7d1c0cc2f6a309691b6c09ee6ef6869a02d341d7226a3754b4dd WHIRLPOOL c078425bab7e509cef8607357301b5f557427443c277dd782fd31207df89ad0835b1fbd16176e0794f373dda81387a4a93ce9e5c6e87aedf38548b9795e6e834
+MISC ChangeLog-2015 5668 SHA256 940acb919d37178fe2d48b0334bcb7fe30851df594f3ea2513bbddd9468ceba9 SHA512 0d281f305f15f5ad24d2a8ec753c01f045b35ac84648002332307745f4369835b60c3bf8b16aefc0e87749a33220a3a7c1eefb638f655621fd8c547f4863aa43 WHIRLPOOL 65bfa2f676fec461bb6662f2895448b19f8f35f727829b150e0ef8f80dff28ab4143dbe81434e168a2d5ebea18338c0480a3a2776bdbe8067b071ab88b429579
+MISC metadata.xml 232 SHA256 6f828dfe6278daec9b0b3a9eeb589d072d79dba873dca6a50422e554c2f3582c SHA512 21ba416ac701f1c9deb55d07f8afbf9da930fb04d274d84c5cf0df5e549554059959228ee6a4b8523d985fe0762af1a7c36aaefcb0e5b3c7baa5866e2841cfb4 WHIRLPOOL 95b029eb4fea616dbf4f41cb372a67a13b7f5d67d9dad52bc27b4597bd1cf73b00fa34ddd8637495337a469162e3086075e8e69734a2147eb89d940fe048159a
diff --git a/media-libs/exempi/exempi-2.2.1.ebuild b/media-libs/exempi/exempi-2.2.1.ebuild
new file mode 100644
index 000000000000..d59b3f5909c2
--- /dev/null
+++ b/media-libs/exempi/exempi-2.2.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Exempi is a port of the Adobe XMP SDK to work on UNIX"
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/Exempi"
+SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="2"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
+IUSE="examples static-libs"
+
+RDEPEND=">=dev-libs/expat-2:=
+ virtual/libiconv
+ sys-libs/zlib:="
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+RESTRICT="test" #295875
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.1.1-iconv.patch
+ cp /usr/share/gettext/config.rpath . || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --disable-unittest
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+
+ if use examples; then
+ emake -C samples/source distclean
+ rm -f samples/{,source,testfiles}/Makefile*
+ insinto /usr/share/doc/${PF}/examples
+ doins -r samples/*
+ fi
+}
diff --git a/media-libs/exempi/exempi-2.4.2.ebuild b/media-libs/exempi/exempi-2.4.2.ebuild
new file mode 100644
index 000000000000..aadfb65dbcf8
--- /dev/null
+++ b/media-libs/exempi/exempi-2.4.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools ltprune
+
+DESCRIPTION="Exempi is a port of the Adobe XMP SDK to work on UNIX"
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/Exempi"
+SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="2/3"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
+IUSE="examples static-libs test"
+
+RDEPEND="
+ >=dev-libs/expat-2:=
+ virtual/libiconv
+ sys-libs/zlib:=
+"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf-archive
+ sys-devel/gettext
+ test? ( >=dev-libs/boost-1.48 )
+"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${PN}-2.4.2-iconv.patch
+ cp /usr/share/gettext/config.rpath . || die
+ eautoreconf
+}
+
+src_configure() {
+ # Valgrind detection is "disabled" due to bug #295875
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable test unittest) \
+ VALGRIND=""
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+
+ if use examples; then
+ emake -C samples/source distclean
+ rm -f samples/{,source,testfiles}/Makefile*
+ insinto /usr/share/doc/${PF}/examples
+ doins -r samples/*
+ fi
+}
diff --git a/media-libs/exempi/files/exempi-2.1.1-iconv.patch b/media-libs/exempi/files/exempi-2.1.1-iconv.patch
new file mode 100644
index 000000000000..69c8196b6922
--- /dev/null
+++ b/media-libs/exempi/files/exempi-2.1.1-iconv.patch
@@ -0,0 +1,22 @@
+http://bugs.gentoo.org/show_bug.cgi?id=242812
+
+--- configure.ac
++++ configure.ac
+@@ -104,6 +104,8 @@
+ AC_CHECK_HEADER(zlib.h, ,
+ AC_MSG_ERROR([zlib headers missing]))
+
++AM_ICONV_LINK
++
+ dnl Blatently copied from iconv.m4 to remove the crack about libtool
+ dnl But check for constness of the iconv parameters.
+ AC_MSG_CHECKING([for iconv declaration])
+--- source/XMPFiles/Makefile.am
++++ source/XMPFiles/Makefile.am
+@@ -62,5 +62,5 @@
+
+
+ libXMPFiles_la_LIBADD = ./FileHandlers/libxmpfilehandlers.la \
+- ./FormatSupport/libformatsupport.la
++ ./FormatSupport/libformatsupport.la @LTLIBICONV@
+ #libXMPFiles_la_LDFLAGS = -version-info @LIBXMPCORE_VERSION_INFO@
diff --git a/media-libs/exempi/files/exempi-2.4.2-iconv.patch b/media-libs/exempi/files/exempi-2.4.2-iconv.patch
new file mode 100644
index 000000000000..9f9fc42e5bf9
--- /dev/null
+++ b/media-libs/exempi/files/exempi-2.4.2-iconv.patch
@@ -0,0 +1,41 @@
+From a2b822c85c52c96b04192a4923c9edbf9d144343 Mon Sep 17 00:00:00 2001
+From: Samuli Suominen <ssuominen@gentoo.org>
+Date: Sun, 16 Apr 2017 20:11:57 +0200
+Subject: [PATCH] Fix build on systems not using glibc's libiconv
+
+Fixes: https://bugs.gentoo.org/show_bug.cgi?id=242812
+Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
+
+---
+ XMPFiles/source/Makefile.am | 3 ++-
+ configure.ac | 2 ++
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/XMPFiles/source/Makefile.am b/XMPFiles/source/Makefile.am
+index 6d1a1d3..d1020d0 100644
+--- a/XMPFiles/source/Makefile.am
++++ b/XMPFiles/source/Makefile.am
+@@ -53,5 +53,6 @@ libXMPFiles_la_SOURCES = WXMPFiles.cpp XMPFiles.cpp \
+ libXMPFiles_la_LIBADD = ./FileHandlers/libxmpfilehandlers.la \
+ ./FormatSupport/libformatsupport.la \
+ ./PluginHandler/libpluginhandler.la \
+- ./NativeMetadataSupport/libnativemetadata.la
++ ./NativeMetadataSupport/libnativemetadata.la \
++ @LTLIBICONV@
+ #libXMPFiles_la_LDFLAGS = -version-info @LIBXMPCORE_VERSION_INFO@
+diff --git a/configure.ac b/configure.ac
+index a4ee14f..e1033c1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -115,6 +115,8 @@ AC_CHECK_HEADER(iconv.h, ,
+ AC_CHECK_HEADER(zlib.h, ,
+ AC_MSG_ERROR([zlib headers missing]))
+
++AM_ICONV_LINK
++
+ dnl Blatently copied from iconv.m4 to remove the crack about libtool
+ dnl But check for constness of the iconv parameters.
+ AC_MSG_CHECKING([for iconv declaration])
+--
+2.12.2
+
diff --git a/media-libs/exempi/metadata.xml b/media-libs/exempi/metadata.xml
new file mode 100644
index 000000000000..f3cab85cf603
--- /dev/null
+++ b/media-libs/exempi/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>