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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 754E11382C5 for ; Sat, 13 Mar 2021 17:06:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C931DE0823; Sat, 13 Mar 2021 17:06:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1543E0823 for ; Sat, 13 Mar 2021 17:06:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 941AF34081F for ; Sat, 13 Mar 2021 17:06:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E559D586 for ; Sat, 13 Mar 2021 17:06:49 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1615655197.e5950f6ca763c86aa63b41293da35726dcb84b85.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmng/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libmng/libmng-2.0.3-r1.ebuild X-VCS-Directories: media-libs/libmng/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: e5950f6ca763c86aa63b41293da35726dcb84b85 X-VCS-Branch: master Date: Sat, 13 Mar 2021 17:06:49 +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: 0b521c7b-c9e3-4ce4-abfb-12c204d69089 X-Archives-Hash: 1f1d4e695737a34e131b31d6b0c0f7b1 commit: e5950f6ca763c86aa63b41293da35726dcb84b85 Author: David Seifert gentoo org> AuthorDate: Sat Mar 13 17:06:37 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Mar 13 17:06:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5950f6c media-libs/libmng: [QA] Remove .la files and 'static-libs' Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> media-libs/libmng/libmng-2.0.3-r1.ebuild | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/media-libs/libmng/libmng-2.0.3-r1.ebuild b/media-libs/libmng/libmng-2.0.3-r1.ebuild new file mode 100644 index 00000000000..02fad410245 --- /dev/null +++ b/media-libs/libmng/libmng-2.0.3-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)" +HOMEPAGE="https://www.libmng.com/" +SRC_URI="mirror://sourceforge/libmng/${P}.tar.xz" + +LICENSE="libmng" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="lcms" + +RDEPEND=" + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] + lcms? ( >=media-libs/lcms-2.5:2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-jpeg-9a.patch ) + +src_prepare() { + default + # effect of 'make distclean' + rm Makefile config.h config.log config.status libmng.pc stamp-h1 || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-static \ + --with-jpeg \ + --without-lcms \ + $(use_with lcms lcms2) +} + +multilib_src_install_all() { + einstalldocs + dodoc doc/{doc.readme,libmng.txt} + + doman doc/man/*.{3,5} + + # no static archives + find "${ED}" -name '*.la' -delete || die +}