Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libexif/
Date: Tue, 18 Sep 2018 09:23:10
Message-Id: 1537262565.e25ec56d228a33edb9dd3284745245979a2e5411.asturm@gentoo
1 commit: e25ec56d228a33edb9dd3284745245979a2e5411
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 18 09:15:13 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 18 09:22:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25ec56d
7
8 media-libs/libexif: EAPI-7 bump
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 media-libs/libexif/libexif-0.6.21-r2.ebuild | 47 +++++++++++++++++++++++++++++
13 1 file changed, 47 insertions(+)
14
15 diff --git a/media-libs/libexif/libexif-0.6.21-r2.ebuild b/media-libs/libexif/libexif-0.6.21-r2.ebuild
16 new file mode 100644
17 index 00000000000..252bbbbc790
18 --- /dev/null
19 +++ b/media-libs/libexif/libexif-0.6.21-r2.ebuild
20 @@ -0,0 +1,47 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +inherit libtool multilib-minimal
27 +
28 +DESCRIPTION="Library for parsing, editing, and saving EXIF data"
29 +HOMEPAGE="https://libexif.github.io/"
30 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
31 +
32 +LICENSE="LGPL-2.1"
33 +SLOT="0"
34 +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"
35 +IUSE="doc nls static-libs"
36 +
37 +RDEPEND="nls? ( virtual/libintl )"
38 +DEPEND="${RDEPEND}"
39 +BDEPEND="
40 + virtual/pkgconfig
41 + doc? ( app-doc/doxygen )
42 + nls? ( sys-devel/gettext )"
43 +
44 +PATCHES=( "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch )
45 +
46 +src_prepare() {
47 + default
48 + sed -i -e '/FLAGS=/s:-g::' configure || die #390249
49 + elibtoolize # For *-bsd
50 +}
51 +
52 +multilib_src_configure() {
53 + ECONF_SOURCE=${S} econf \
54 + $(use_enable doc docs) \
55 + $(use_enable nls) \
56 + $(use_enable static-libs static) \
57 + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
58 +}
59 +
60 +multilib_src_install() {
61 + emake DESTDIR="${D}" install
62 +}
63 +
64 +multilib_src_install_all() {
65 + find "${D}" -name '*.la' -delete || die
66 + rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} || die
67 +}