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 0027F158041 for ; Sat, 16 Mar 2024 12:13:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7384AE2A27; Sat, 16 Mar 2024 12:13:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4F5FCE2A27 for ; Sat, 16 Mar 2024 12:13:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27F8233BE58 for ; Sat, 16 Mar 2024 12:13:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C2D2B152C for ; Sat, 16 Mar 2024 12:13:47 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1710591207.a357ebd8c860107ac82c3600114b899b9df27f4b.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libfpx/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild X-VCS-Directories: media-libs/libfpx/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: a357ebd8c860107ac82c3600114b899b9df27f4b X-VCS-Branch: master Date: Sat, 16 Mar 2024 12:13:47 +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: 9b760c52-fbda-4b6f-ad8c-5617f7b53994 X-Archives-Hash: 7efd06bae969dbddd34c0203f9aeb2e1 commit: a357ebd8c860107ac82c3600114b899b9df27f4b Author: Michael Mair-Keimberger levelnine at> AuthorDate: Thu Jan 25 19:30:37 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Mar 16 12:13:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a357ebd8 media-libs/libfpx: EAPI8 bump, fix bug #847412 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://bugs.gentoo.org/847412 Closes: https://github.com/gentoo/gentoo/pull/35019 Signed-off-by: Conrad Kostecki gentoo.org> media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild | 52 ++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild new file mode 100644 index 000000000000..9e479ef75f49 --- /dev/null +++ b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic libtool + +DESCRIPTION="Library for manipulating FlashPIX images" +HOMEPAGE="https://github.com/ImageMagick/libfpx" +SRC_URI="mirror://imagemagick/delegates/${P/_p/-}.tar.bz2" +S="${WORKDIR}/${P/_p/-}" + +LICENSE="Flashpix" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="static-libs" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.0.13-export-symbols.patch + "${FILESDIR}"/${PN}-1.3.1_p10-musl-1.2.3-null.patch +) + +src_prepare() { + default + + # we're not windows, even though we don't define __unix by default + [[ ${CHOST} == *-darwin* ]] && append-flags -D__unix + + elibtoolize +} + +src_configure() { + append-ldflags -Wl,--no-undefined + econf \ + $(use_enable static-libs static) \ + LIBS="-lstdc++ -lm" +} + +src_install() { + default + + # bug 847412 + if ! use static-libs; then + find "${ED}" -type f -name '*.la' -delete || die + fi + + dodoc AUTHORS ChangeLog doc/*.txt + + docinto pdf + dodoc doc/*.pdf + docompress -x /usr/share/doc/${PF}/pdf +}