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-gtk/
Date: Fri, 15 Nov 2019 02:33:03
Message-Id: 1573785155.c8f12cd13a63a27485eafc9b511cba9b3f375ae2.asturm@gentoo
1 commit: c8f12cd13a63a27485eafc9b511cba9b3f375ae2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 15 02:21:12 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 15 02:32:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f12cd1
7
8 media-libs/libexif-gtk: 0.4.0 version bump
9
10 Closes: https://bugs.gentoo.org/507760
11 Package-Manager: Portage-2.3.79, Repoman-2.3.18
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 media-libs/libexif-gtk/Manifest | 1 +
15 media-libs/libexif-gtk/libexif-gtk-0.4.0.ebuild | 49 +++++++++++++++++++++++++
16 2 files changed, 50 insertions(+)
17
18 diff --git a/media-libs/libexif-gtk/Manifest b/media-libs/libexif-gtk/Manifest
19 index 9c44ebc474b..3531d9c9898 100644
20 --- a/media-libs/libexif-gtk/Manifest
21 +++ b/media-libs/libexif-gtk/Manifest
22 @@ -1 +1,2 @@
23 DIST libexif-gtk-0.3.5.tar.gz 396534 BLAKE2B 7ec81dee28893e42a80541b8d3c4129375c9fad2fa8c0a2c2b416eaebb0885d82cde51c2a7844b541c9c55e0f7d16380befcaee83fd0782e37a03289c76fc0c3 SHA512 c4df800f7bcc04fb27638ba56d8bda3ea27afadc94fae792a59673cef867f29976376f1ca00da899a7b2176ddb6f3e53bfe770a86171428cebe68bd413861baf
24 +DIST libexif-gtk-0.4.0.tar.gz 452303 BLAKE2B 3058d2b4c2b383569eb84af00102029300bb7d3afe05891201b29f60c314339b662ac3b0d5155457a3a255c370ed0141b4e9d394d9575fdcbbcb832c05ca3ef3 SHA512 32b85e3fd5c712c266a869ce54edcfc9e9e013ffcc35e71166304af9950fa3d6d6b1d3540aab3358e621ec95f929cd260b5e2aa4789aa238644bc9a9a0bc41bd
25
26 diff --git a/media-libs/libexif-gtk/libexif-gtk-0.4.0.ebuild b/media-libs/libexif-gtk/libexif-gtk-0.4.0.ebuild
27 new file mode 100644
28 index 00000000000..82267ea7fee
29 --- /dev/null
30 +++ b/media-libs/libexif-gtk/libexif-gtk-0.4.0.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="GTK+ frontend to the libexif library (parsing, editing, and saving EXIF data)"
40 +HOMEPAGE="https://libexif.github.io/"
41 +SRC_URI="mirror://sourceforge/libexif/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
46 +IUSE="nls static-libs"
47 +
48 +BDEPEND="
49 + virtual/pkgconfig
50 +"
51 +RDEPEND="
52 + >=media-libs/libexif-0.6.12
53 + x11-libs/gtk+:3
54 +"
55 +DEPEND="${RDEPEND}"
56 +
57 +DOCS=( ChangeLog NEWS README )
58 +
59 +PATCHES=(
60 + "${FILESDIR}"/${PN}-0.3.5-confcheck.patch
61 + "${FILESDIR}"/${PN}-0.3.5-gtk212.patch
62 +)
63 +src_prepare() {
64 + default
65 + AT_M4DIR="m4" eautoreconf
66 +}
67 +
68 +src_configure() {
69 + local myeconfargs=(
70 + --with-gtk3
71 + $(use_enable static-libs static)
72 + $(use_enable nls)
73 + )
74 + econf "${myeconfargs[@]}"
75 +}
76 +
77 +src_install() {
78 + default
79 + find "${D}" -name '*.la' -type f -delete || die
80 +}