Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gphoto2/
Date: Mon, 10 Jan 2022 21:30:48
Message-Id: 1641850227.018b444ed39443847dfcc9a22e93d0e9bcfc4a07.mattst88@gentoo
1 commit: 018b444ed39443847dfcc9a22e93d0e9bcfc4a07
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 10 21:11:48 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 10 21:30:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=018b444e
7
8 media-gfx/gphoto2: Version bump to 2.5.28
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-gfx/gphoto2/Manifest | 1 +
13 media-gfx/gphoto2/gphoto2-2.5.28.ebuild | 48 +++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/media-gfx/gphoto2/Manifest b/media-gfx/gphoto2/Manifest
17 index be21eafb5485..207b98e46dcb 100644
18 --- a/media-gfx/gphoto2/Manifest
19 +++ b/media-gfx/gphoto2/Manifest
20 @@ -1 +1,2 @@
21 DIST gphoto2-2.5.27.tar.bz2 803602 BLAKE2B ad62abc3e91ce3cee1edd8f991ac84616144997bff425eef5cea10c340f9c98694ecda783ec5762f4583d05f38cfecbb7b47e0884c05f114f931a7af8b0a676d SHA512 47001025d3647ac809ab7fd2d9319a2966d72b00471f9a9c865dfad7091c7cac2e299ecd41dfc7997a6665cf2612d4317591964f51a9d336f848e8199e3928b7
22 +DIST gphoto2-2.5.28.tar.bz2 797600 BLAKE2B 78a89eaf5f68f3b902751792404702fa656680e904bc750e6a51934b5cefd8458c95ffd553024e16977270f4b4806c5dc68d9e3accd8759b1357e0619a0dc6a3 SHA512 ca83c677bdaf7c16ed2bc22865bdcc24e1c5721dbcd36a76e2ebe8bb992d46614fd012cd8f38b37598b30b6b57e6bf533318f6a0d490e186f3026676249735c8
23
24 diff --git a/media-gfx/gphoto2/gphoto2-2.5.28.ebuild b/media-gfx/gphoto2/gphoto2-2.5.28.ebuild
25 new file mode 100644
26 index 000000000000..d63911b2960c
27 --- /dev/null
28 +++ b/media-gfx/gphoto2/gphoto2-2.5.28.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +inherit autotools
35 +
36 +DESCRIPTION="Free, redistributable digital camera software application"
37 +HOMEPAGE="http://www.gphoto.org/"
38 +SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
39 +
40 +LICENSE="GPL-2"
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
43 +IUSE="aalib ncurses nls readline"
44 +
45 +# aalib -> needs libjpeg
46 +RDEPEND="
47 + >=dev-libs/popt-1.6.1
48 + >=media-libs/libexif-0.6.9
49 + >=media-libs/libgphoto2-2.5.17:=[exif]
50 + aalib? (
51 + media-libs/aalib
52 + virtual/jpeg:0 )
53 + ncurses? ( dev-libs/cdk:0= )
54 + readline? ( sys-libs/readline:0= )
55 +"
56 +DEPEND="${RDEPEND}"
57 +BDEPEND="
58 + virtual/pkgconfig
59 + nls? ( >=sys-devel/gettext-0.14.1 )
60 +"
61 +
62 +src_prepare() {
63 + default
64 + # Leave GCC debug builds under user control
65 + sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \
66 + -i configure{.ac,} || die
67 + eautoreconf
68 +}
69 +
70 +src_configure() {
71 + econf \
72 + $(use_with aalib) \
73 + $(use_with aalib jpeg) \
74 + $(use_with ncurses cdk) \
75 + $(use_enable nls) \
76 + $(use_with readline)
77 +}