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 25001138335 for ; Tue, 18 Sep 2018 09:23:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF42CE0E38; Tue, 18 Sep 2018 09:23:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 C0AA9E0E38 for ; Tue, 18 Sep 2018 09:23:08 +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 E521D335CE7 for ; Tue, 18 Sep 2018 09:23:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2753A3D3 for ; Tue, 18 Sep 2018 09:23:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1537262565.e25ec56d228a33edb9dd3284745245979a2e5411.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libexif/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libexif/libexif-0.6.21-r2.ebuild X-VCS-Directories: media-libs/libexif/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e25ec56d228a33edb9dd3284745245979a2e5411 X-VCS-Branch: master Date: Tue, 18 Sep 2018 09:23:05 +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-Archives-Salt: 8efc2a6c-cc8c-49c0-ae23-49474d63a44a X-Archives-Hash: 031e15f52d7d229d075e74877096ecea commit: e25ec56d228a33edb9dd3284745245979a2e5411 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Sep 18 09:15:13 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 18 09:22:45 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25ec56d media-libs/libexif: EAPI-7 bump Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-libs/libexif/libexif-0.6.21-r2.ebuild | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/media-libs/libexif/libexif-0.6.21-r2.ebuild b/media-libs/libexif/libexif-0.6.21-r2.ebuild new file mode 100644 index 00000000000..252bbbbc790 --- /dev/null +++ b/media-libs/libexif/libexif-0.6.21-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit libtool multilib-minimal + +DESCRIPTION="Library for parsing, editing, and saving EXIF data" +HOMEPAGE="https://libexif.github.io/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc nls static-libs" + +RDEPEND="nls? ( virtual/libintl )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) + nls? ( sys-devel/gettext )" + +PATCHES=( "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch ) + +src_prepare() { + default + sed -i -e '/FLAGS=/s:-g::' configure || die #390249 + elibtoolize # For *-bsd +} + +multilib_src_configure() { + ECONF_SOURCE=${S} econf \ + $(use_enable doc docs) \ + $(use_enable nls) \ + $(use_enable static-libs static) \ + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + find "${D}" -name '*.la' -delete || die + rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} || die +}