From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58621158020 for ; Sat, 29 Oct 2022 20:16:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17D2FE088C; Sat, 29 Oct 2022 20:16:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3E81E088C for ; Sat, 29 Oct 2022 20:16:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F14F0340D94 for ; Sat, 29 Oct 2022 20:16:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 177E861D for ; Sat, 29 Oct 2022 20:16:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1667073817.8d5482040ac6faa59317a0d51503cd9d0991aed0.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/exempi/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/exempi/Manifest media-libs/exempi/exempi-2.6.2.ebuild X-VCS-Directories: media-libs/exempi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8d5482040ac6faa59317a0d51503cd9d0991aed0 X-VCS-Branch: master Date: Sat, 29 Oct 2022 20:16:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9d40efb1-f759-4ed0-80fe-29329f3e403b X-Archives-Hash: 40f14c8f081369f21f7d45bea8ae1443 commit: 8d5482040ac6faa59317a0d51503cd9d0991aed0 Author: Sam James gentoo org> AuthorDate: Sat Oct 29 20:03:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 29 20:03:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d548204 media-libs/exempi: add 2.6.2 Bug: https://bugs.gentoo.org/653240 Bug: https://bugs.gentoo.org/764536 Bug: https://bugs.gentoo.org/859841 Signed-off-by: Sam James gentoo.org> media-libs/exempi/Manifest | 1 + media-libs/exempi/exempi-2.6.2.ebuild | 65 +++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/media-libs/exempi/Manifest b/media-libs/exempi/Manifest index 18869996162b..aade23f19cea 100644 --- a/media-libs/exempi/Manifest +++ b/media-libs/exempi/Manifest @@ -1 +1,2 @@ DIST exempi-2.4.5.tar.gz 3901474 BLAKE2B 7db80266847a18464ee5d75e2ffa38a05b2b23a30fb02a16c0a4a512f853a625f00db3ee0de3f177af584e12d65c8ecd2acc96cae96ef02d7b39129ab4b5274a SHA512 2b3dd8b2d1763fbbfed1995635f625a8e909a4c3119147385737f349002b2fa038cfaca72b2b877db8f28b9022230e49264b58766a68060b0b7c322cad99b22c +DIST exempi-2.6.2.tar.bz2 3709476 BLAKE2B 3b65db1f9e7c2bf050af6e273b8327d70e23d3321d3c280ddf8b36b467e2822b12f93cb14d8d342e2a2974a9b745f13fd98c79d9b67e634da5bc9b5ae71e4918 SHA512 c81c7a5bad1a294ce253d1471c00740679b7fb489658ead68a6892b701cc02a031a5dc69d70045a8276e1e19c716df88e92014df4c2809266a71ff05de9ad57a diff --git a/media-libs/exempi/exempi-2.6.2.ebuild b/media-libs/exempi/exempi-2.6.2.ebuild new file mode 100644 index 000000000000..9ce6104f4934 --- /dev/null +++ b/media-libs/exempi/exempi-2.6.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 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" +# TODO: switch to xz for 2.6.3 +SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="2/8" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~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 +) + +src_prepare() { + default + + config_rpath_update . + eautoreconf +} + +src_configure() { + # Valgrind detection is "disabled" due to bug #295875 + econf \ + $(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 +}