public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/exempi/
Date: Thu, 29 Feb 2024 04:59:50 +0000 (UTC)	[thread overview]
Message-ID: <1709182780.c45685c99e64e88ed304071e598e98c1791550f0.sam@gentoo> (raw)

commit:     c45685c99e64e88ed304071e598e98c1791550f0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 04:58:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 04:59:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45685c9

media-libs/exempi: add 2.6.5

re LTO: I haven't reported this upstream as the situation is complicated
(exempi is a unix port of the adobe SDK).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/exempi/Manifest            |  1 +
 media-libs/exempi/exempi-2.6.5.ebuild | 71 +++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/media-libs/exempi/Manifest b/media-libs/exempi/Manifest
index aaabbef1cecc..8689e72934ec 100644
--- a/media-libs/exempi/Manifest
+++ b/media-libs/exempi/Manifest
@@ -1,3 +1,4 @@
 DIST exempi-2.6.2.tar.bz2 3709476 BLAKE2B 3b65db1f9e7c2bf050af6e273b8327d70e23d3321d3c280ddf8b36b467e2822b12f93cb14d8d342e2a2974a9b745f13fd98c79d9b67e634da5bc9b5ae71e4918 SHA512 c81c7a5bad1a294ce253d1471c00740679b7fb489658ead68a6892b701cc02a031a5dc69d70045a8276e1e19c716df88e92014df4c2809266a71ff05de9ad57a
 DIST exempi-2.6.3.tar.xz 2842408 BLAKE2B a3deb86a12161f4a1b7c0bacc4e6b59a5e54df4e5c158b48c8d66dc968e5fb1e210a9fac73e85720b43e9090c38a7023e771054e63a57c618385bb02a525d89e SHA512 517dba7534ac6978083338d3c3bf184c9b0a56e625e714703da71b064b68a8872bdd66673be27a192e7e6a22b9acd8eb1ad447c2a807f564547e765c63fbd2b4
 DIST exempi-2.6.4.tar.xz 2843304 BLAKE2B 35ae01db243825eea05fe946a958be78ee75c3e6bc3cd02bf5596bd0c9543ccecb285c93e2533c7ceba1e42b25266834bddfd6eda4fef351b384298cc638cfb2 SHA512 86e41e24e34150f398dffe3219f1530fbf14606feeee9953395bfedb335316ec90ac88e2843f2c037a564909fc3cc82a5cce53edb18219663a1b454cda6bef72
+DIST exempi-2.6.5.tar.xz 2843132 BLAKE2B bc8c347af4c9c7bf085311ce055bd1c7cd5c2b845c723dd74bbcdf104be018885a82180333dbdda3cf9a64a4125dfe0fa0904fbd05663c3a6c32e6a60a8ca2d3 SHA512 71a0830c7a547bd7304e38f307a17a5ca70d6d22bb94db93f7e6c0903d1a1a1e211487cd530ec81fb058d0b45224018d23aab9a9394b6cfa025c50f0d77b5002

diff --git a/media-libs/exempi/exempi-2.6.5.ebuild b/media-libs/exempi/exempi-2.6.5.ebuild
new file mode 100644
index 000000000000..d11c41d688fd
--- /dev/null
+++ b/media-libs/exempi/exempi-2.6.5.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+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="
+	dev-build/autoconf-archive
+	sys-devel/gettext
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.4.2-iconv.patch
+)
+
+src_prepare() {
+	default
+
+	# Needed for autoconf 2.71
+	config_rpath_update .
+	eautoreconf
+}
+
+src_configure() {
+	# ODR & SA violations
+	filter-lto
+	append-flags -fno-strict-aliasing
+
+	# - --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
+}


             reply	other threads:[~2024-02-29  4:59 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-29  4:59 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-05 16:13 [gentoo-commits] repo/gentoo:master commit in: media-libs/exempi/ Michał Górny
2023-09-07 20:15 Sam James
2023-03-04 17:40 Arthur Zamarin
2023-03-03 19:04 Arthur Zamarin
2023-02-09 19:35 Sam James
2023-02-02 18:41 Arthur Zamarin
2023-01-31 18:31 Sam James
2023-01-31 18:31 Sam James
2023-01-31 17:32 Arthur Zamarin
2023-01-31 14:03 Arthur Zamarin
2023-01-14 10:00 Arthur Zamarin
2022-12-17  8:38 Sam James
2022-12-06  9:52 Arthur Zamarin
2022-12-02  1:08 Sam James
2022-12-01 22:28 Jakov Smolić
2022-12-01 22:24 Jakov Smolić
2022-12-01 22:22 Jakov Smolić
2022-11-21 20:05 Arthur Zamarin
2022-10-29 20:36 Sam James
2022-10-29 20:16 Sam James
2022-10-29 20:16 Sam James
2021-04-29 17:38 David Seifert
2021-04-29 15:38 Sam James
2019-05-23  3:27 Aaron Bauman
2018-10-06 20:45 Andreas Sturmlechner
2018-10-06 16:48 Matt Turner
2018-10-05 13:43 Agostino Sarubbo
2018-10-04 20:55 Sergei Trofimovich
2018-10-02 14:02 Tobias Klausmann
2018-10-01 21:47 Thomas Deutschmann
2018-09-30 16:51 Andreas Sturmlechner
2018-05-15  0:21 Aaron Bauman
2018-04-22 19:18 Matt Turner
2018-04-16 18:36 Sergei Trofimovich
2018-04-14 11:40 Markus Meier
2018-04-08  5:04 Matt Turner
2018-04-08  5:04 Matt Turner
2018-04-01 13:48 Sergei Trofimovich
2018-04-01 10:00 Tobias Klausmann
2018-03-29 15:19 Thomas Deutschmann
2018-03-29  2:01 Aaron Bauman
2018-03-28 21:44 Sergei Trofimovich
2018-03-25 21:33 Gilles Dartiguelongue
2017-07-28  4:41 Markus Meier
2017-07-07 20:46 Alexis Ballier
2017-06-30 11:10 Agostino Sarubbo
2017-06-30  8:25 Sergei Trofimovich
2017-06-28 13:19 Agostino Sarubbo
2016-09-29 15:51 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709182780.c45685c99e64e88ed304071e598e98c1791550f0.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox