Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libexif/
Date: Sun, 12 Sep 2021 21:29:26
Message-Id: 1631482152.7be91abf427f12fae7b1ba9a17944e14e1fc1ec4.sam@gentoo
1 commit: 7be91abf427f12fae7b1ba9a17944e14e1fc1ec4
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 21:26:31 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 21:29:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be91abf
7
8 media-libs/libexif: add 0.6.23
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 media-libs/libexif/Manifest | 1 +
13 media-libs/libexif/libexif-0.6.23.ebuild | 50 ++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/media-libs/libexif/Manifest b/media-libs/libexif/Manifest
17 index bc21d723f6f..0c0f3de4fa5 100644
18 --- a/media-libs/libexif/Manifest
19 +++ b/media-libs/libexif/Manifest
20 @@ -1 +1,2 @@
21 DIST libexif-0.6.22_p20201105.tar.gz 1111695 BLAKE2B d4eb856ad950f8ae068a27088e54311789c7b8b646dd1c4851ef637b626015119b3b5ac9cbac58f9c79c37c07ba7d3e9a9a67dc52715187495aa824846ec2335 SHA512 5472bf2531d9147be5c6e681d0257325f6609d6aa3935243f887df0ab32e51242ff9d853fc2c183cf5c2709c89d5c52d8fecb9144343d6f959f4bed1062098ab
22 +DIST libexif-0.6.23.tar.gz 2764684 BLAKE2B 517eaadc71b6ccaa7899b89b770a14fc051f365c728d5518fe6f0c05aa14690eaa6a33323c9305d02398df6ba2fceb806537202224a3c00018f7bcf835a3ff84 SHA512 c382b5f36e4fc1501664e3bad18553abb1b18f752f93111af5081e996bcc37b425ac9f0b0e1ffd7145270254ac44a4adb7875d5b0d8379113da6162b17442e23
23
24 diff --git a/media-libs/libexif/libexif-0.6.23.ebuild b/media-libs/libexif/libexif-0.6.23.ebuild
25 new file mode 100644
26 index 00000000000..f8e8ac1b629
27 --- /dev/null
28 +++ b/media-libs/libexif/libexif-0.6.23.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit autotools multilib-minimal
36 +
37 +DESCRIPTION="Library for parsing, editing, and saving EXIF data"
38 +HOMEPAGE="https://libexif.github.io/"
39 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
40 +
41 +LICENSE="LGPL-2+"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
44 +IUSE="doc nls static-libs"
45 +
46 +RDEPEND="nls? ( virtual/libintl )"
47 +DEPEND="${RDEPEND}"
48 +BDEPEND="
49 + virtual/pkgconfig
50 + doc? ( app-doc/doxygen )
51 + nls? ( sys-devel/gettext )"
52 +
53 +PATCHES=(
54 + "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
55 +)
56 +
57 +src_prepare() {
58 + default
59 + sed -i -e '/FLAGS=/s:-g::' configure.ac || die #390249
60 + # Previously elibtoolize for BSD
61 + eautoreconf
62 +}
63 +
64 +multilib_src_configure() {
65 + ECONF_SOURCE="${S}" econf \
66 + $(use_enable doc docs) \
67 + $(use_enable nls) \
68 + $(use_enable static-libs static) \
69 + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
70 +}
71 +
72 +multilib_src_install() {
73 + emake DESTDIR="${D}" install
74 +}
75 +
76 +multilib_src_install_all() {
77 + find "${ED}" -name '*.la' -delete || die
78 + rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} || die
79 +}