diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-22 09:45:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-22 09:45:59 +0100 |
commit | 994ddedfa7bbe42aa3de4aa9ae3e58960bbdd94e (patch) | |
tree | 81561a97855bcb9d79784fb246dbdc9249d38274 /media-libs/exempi | |
parent | 102518876412b49c154cd247f5891927304dd8cc (diff) |
gentoo auto-resync : 22:08:2023 - 09:45:59
Diffstat (limited to 'media-libs/exempi')
-rw-r--r-- | media-libs/exempi/Manifest | 2 | ||||
-rw-r--r-- | media-libs/exempi/exempi-2.6.3-r1.ebuild | 68 | ||||
-rw-r--r-- | media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch | 33 |
3 files changed, 103 insertions, 0 deletions
diff --git a/media-libs/exempi/Manifest b/media-libs/exempi/Manifest index b68fbc41a58a..7aa7f77c9053 100644 --- a/media-libs/exempi/Manifest +++ b/media-libs/exempi/Manifest @@ -1,7 +1,9 @@ AUX exempi-2.4.2-iconv.patch 1440 BLAKE2B a3fccd3c268c28f1fe0b9e13544ba7b33d433a9a92ad9319301996c162766dac9d3fc14f97c3a3c795d787d0b7b9048dec830e1ce5d809b1a14ffa82097e2ff5 SHA512 09cc5ba46c8e0a0b0c1c3b0c86d9c49c21e64a64ca35a90053bf98ed81652b8d1c91bc29a321b5b3bf032b65af220129860f7d3f8c6e12ce608db19c01841736 AUX exempi-2.6.2-arm-static-build.patch 1785 BLAKE2B 2624ac36cdcbf8230af643f99250c9c755c5650d38a4d427125b60245dbfb79cf4d94ad135f043ddde956d3241c091f901d7243b99d26c70c88af44414a7b674 SHA512 49004cea850f2e51a4266a574e7453e21afe1a7032e7a925717c7b0df3bbe187c5c0b79dddabbd002ce662fe4055171cc72ddff6985f611cc4b8c3280dda1fc9 +AUX exempi-2.6.3-clang16-binary_function.patch 1083 BLAKE2B 8b2ff17c17d2b695e56d200fe2f372e5e8fc731d2b28d70d7105ff56c282577e1167f4de27fc883c42bf205af9794c407cf2050216aff6b04a9a6fbdc3039091 SHA512 2fd6fed8206138246b721ff081861f589dd1b62ca595290b868292306e88fb34a76d9ec8e3366b47bd69b53db8e7f21e0c2a8f164aff5ab02a6154d8a49074dc DIST exempi-2.6.2.tar.bz2 3709476 BLAKE2B 3b65db1f9e7c2bf050af6e273b8327d70e23d3321d3c280ddf8b36b467e2822b12f93cb14d8d342e2a2974a9b745f13fd98c79d9b67e634da5bc9b5ae71e4918 SHA512 c81c7a5bad1a294ce253d1471c00740679b7fb489658ead68a6892b701cc02a031a5dc69d70045a8276e1e19c716df88e92014df4c2809266a71ff05de9ad57a DIST exempi-2.6.3.tar.xz 2842408 BLAKE2B a3deb86a12161f4a1b7c0bacc4e6b59a5e54df4e5c158b48c8d66dc968e5fb1e210a9fac73e85720b43e9090c38a7023e771054e63a57c618385bb02a525d89e SHA512 517dba7534ac6978083338d3c3bf184c9b0a56e625e714703da71b064b68a8872bdd66673be27a192e7e6a22b9acd8eb1ad447c2a807f564547e765c63fbd2b4 EBUILD exempi-2.6.2.ebuild 1367 BLAKE2B c14b4815a8745d6a8bad3e3539ab033c2151611b8dddf382df5649f67d758c52c1c05c2c62d5efa95b339c79b2c76c1d2023c49d9dc0e6a449a5ba6c2fbe9ac8 SHA512 558a7ecde81272289d1932b1a8e64b0f00b9f45cdedb83cd8e0cc10f0d7d291227b1816d87bf9e92b908bd6de1a41a1c021bbb8776e69c10d7b9ed5a86266f94 +EBUILD exempi-2.6.3-r1.ebuild 1376 BLAKE2B 043f636d3185b69157064f68f8a5ec025f9c15df9c4735696cc322efa8c708dd34d055f9bb253d8afd2c016916f367884bfd8b640393169ea207b92b50ddb780 SHA512 63dc6dc1faa993989081fa37390d3beb2dfc282639187b7dbe0c63f83033e2113329480ee09738315172932bddeca9cad51e427b4916e1ce4d65c76757d7d11d EBUILD exempi-2.6.3.ebuild 1311 BLAKE2B 7257a735a1d87b9f76d5b183caa270d573112eb675a639227bd08f4d0ba92c01b8bfee332a0c8870afeb9b03dc765be4e2649a77441a63446f31e2704c52b90d SHA512 d013f400f1d654ea1a6259f1a91bc701b9eda6062acbe7e41af1e85b69a43e2bec5e90f46af91c80958836f701ecbf76447cf5dc1de62e2660bd62b96068b642 MISC metadata.xml 323 BLAKE2B 5f01fafc347bc3dd68f29e05eeda1b335498b1ee928ab266c2f4bfe11f2833158c000a077fc1e11ee0f6be4cb1395773090687a109274e0abbb9ec8cb2e241a9 SHA512 c1c19755073fed175f6637fe6b1680867dc12c95b8c5ac4874f4a66781921fe755c8d0748d2824442289fde3cb72040ae32731e3e6a06d22e5dacc9d39924392 diff --git a/media-libs/exempi/exempi-2.6.3-r1.ebuild b/media-libs/exempi/exempi-2.6.3-r1.ebuild new file mode 100644 index 000000000000..e5669843463f --- /dev/null +++ b/media-libs/exempi/exempi-2.6.3-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="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.xz" + +LICENSE="BSD" +SLOT="2/8" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/expat-2:= + sys-libs/zlib + virtual/libiconv +" +DEPEND=" + ${RDEPEND} + test? ( dev-libs/boost ) +" +BDEPEND=" + sys-devel/autoconf-archive + sys-devel/gettext +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.4.2-iconv.patch + "${FILESDIR}"/${PN}-2.6.3-clang16-binary_function.patch +) + +src_prepare() { + default + + # Needed for autoconf 2.71 + config_rpath_update . + eautoreconf +} + +src_configure() { + # - --enable-static as --disable-static breaks build + # - Valgrind detection is "disabled" due to bug #295875 + econf \ + --enable-static \ + $(use_enable test unittest) \ + VALGRIND="" +} + +src_install() { + default + + if use examples; then + emake -C samples/source distclean + rm samples/{,source,testfiles}/Makefile* || die + docinto examples + dodoc -r samples/. + fi + + # --disable-static breaks tests + rm -rf "${ED}/usr/$(get_libdir)/libexempi.a" || die + + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch b/media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch new file mode 100644 index 000000000000..bbe535ed1380 --- /dev/null +++ b/media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch @@ -0,0 +1,33 @@ +Bug: https://bugs.gentoo.org/910494 +--- a/XMPFiles/source/PluginHandler/XMPAtoms.h ++++ b/XMPFiles/source/PluginHandler/XMPAtoms.h +@@ -83,8 +83,12 @@ enum + + #define XMPAtomNull emptyStr_K + +-struct StringCompare : std::binary_function<const std::string &, const std::string &, bool> ++struct StringCompare + { ++ public: ++ using first_argument_type = const std::string &; ++ using second_argument_type = const std::string &; ++ using result_type = bool; + bool operator() (const std::string & a, const std::string & b) const + { + return ( a.compare(b) < 0 ); +--- a/XMPFilesPlugins/api/source/PluginRegistry.h ++++ b/XMPFilesPlugins/api/source/PluginRegistry.h +@@ -68,8 +68,12 @@ public: + + private: + +- struct StringCompare : std::binary_function< const std::string &, const std::string &, bool > ++ struct StringCompare + { ++ public: ++ using first_argument_type = const std::string &; ++ using second_argument_type = const std::string &; ++ using result_type = bool; + bool operator()( const std::string & a, const std::string & b ) const + { + return ( a.compare(b) < 0 ); |