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: Fri, 26 Nov 2021 05:19:52
Message-Id: 1637903975.000ba93177907953fe9993b925beeb99d3dba452.sam@gentoo
1 commit: 000ba93177907953fe9993b925beeb99d3dba452
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 26 05:17:56 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 26 05:19:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000ba931
7
8 media-libs/libexif: add 0.6.24
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.24.ebuild | 53 ++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/media-libs/libexif/Manifest b/media-libs/libexif/Manifest
17 index 29cd3ca274ce..11771ebe20d6 100644
18 --- a/media-libs/libexif/Manifest
19 +++ b/media-libs/libexif/Manifest
20 @@ -1 +1,2 @@
21 DIST libexif-0.6.23.tar.gz 2764684 BLAKE2B 517eaadc71b6ccaa7899b89b770a14fc051f365c728d5518fe6f0c05aa14690eaa6a33323c9305d02398df6ba2fceb806537202224a3c00018f7bcf835a3ff84 SHA512 c382b5f36e4fc1501664e3bad18553abb1b18f752f93111af5081e996bcc37b425ac9f0b0e1ffd7145270254ac44a4adb7875d5b0d8379113da6162b17442e23
22 +DIST libexif-0.6.24.tar.bz2 1992163 BLAKE2B 75d3a2b4fefd7b7706226e70d31250ef7e99eeb81a4839ddc36cc9e3180534542d8a02851f8e6fd5034bbc925a616ead8c4bfb0cce8bc5886c3ec54811914a6b SHA512 35c9e7af2c3d44a638dc6bbe8f96962d41c0f3fe4a257494f7a73baefab9aba507477175289ccf9002a66cc16ca53d5d1f44d6fef9e014b27f687ecdc58f5111
23
24 diff --git a/media-libs/libexif/libexif-0.6.24.ebuild b/media-libs/libexif/libexif-0.6.24.ebuild
25 new file mode 100644
26 index 000000000000..8d78a770bc8a
27 --- /dev/null
28 +++ b/media-libs/libexif/libexif-0.6.24.ebuild
29 @@ -0,0 +1,53 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
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.bz2"
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"
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 +
60 + # bug #390249
61 + sed -i -e '/FLAGS=/s:-g::' configure.ac || die
62 +
63 + # Previously elibtoolize for BSD
64 + eautoreconf
65 +}
66 +
67 +multilib_src_configure() {
68 + ECONF_SOURCE="${S}" econf \
69 + $(use_enable doc docs) \
70 + $(use_enable nls) \
71 + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
72 +}
73 +
74 +multilib_src_install() {
75 + emake DESTDIR="${D}" install
76 +}
77 +
78 +multilib_src_install_all() {
79 + find "${ED}" -name '*.la' -delete || die
80 +
81 + rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} || die
82 +}