diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-04-18 22:35:49 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-04-18 22:38:51 -0400 |
commit | c25b90f7d11b398d7ff713b935d4d7f7c422c372 (patch) | |
tree | 652fe17ef236598e54bf0acb4814d823225371cf /media-gfx | |
parent | media-libs/libgphoto2: Version bump to 2.5.27 (diff) | |
download | gentoo-c25b90f7d11b398d7ff713b935d4d7f7c422c372.tar.gz gentoo-c25b90f7d11b398d7ff713b935d4d7f7c422c372.tar.bz2 gentoo-c25b90f7d11b398d7ff713b935d4d7f7c422c372.zip |
media-gfx/gphoto2: Version bump to 2.5.27
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gphoto2/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/gphoto2/gphoto2-2.5.27.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/gphoto2/Manifest b/media-gfx/gphoto2/Manifest index 29ce70417316..05aecee89853 100644 --- a/media-gfx/gphoto2/Manifest +++ b/media-gfx/gphoto2/Manifest @@ -1 +1,2 @@ DIST gphoto2-2.5.26.tar.bz2 804521 BLAKE2B 20ddf39ad8668543864119cb1cf8dd5db4be5a773ccdd73efe434fe790ce001842512acf9a9f3ad08bad43460b42e4de257b2ca5561b5d7727f0703dba8f8098 SHA512 fbfc8d860db830be423271a0f569d51a296e9394884fe1a9e22eafd4ba0b7e4e68d86ba0391df81a64d4a4976b2644b2c39339532bd0e8e01f461b9a89cceb47 +DIST gphoto2-2.5.27.tar.bz2 803602 BLAKE2B ad62abc3e91ce3cee1edd8f991ac84616144997bff425eef5cea10c340f9c98694ecda783ec5762f4583d05f38cfecbb7b47e0884c05f114f931a7af8b0a676d SHA512 47001025d3647ac809ab7fd2d9319a2966d72b00471f9a9c865dfad7091c7cac2e299ecd41dfc7997a6665cf2612d4317591964f51a9d336f848e8199e3928b7 diff --git a/media-gfx/gphoto2/gphoto2-2.5.27.ebuild b/media-gfx/gphoto2/gphoto2-2.5.27.ebuild new file mode 100644 index 000000000000..a48879567c57 --- /dev/null +++ b/media-gfx/gphoto2/gphoto2-2.5.27.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="Free, redistributable digital camera software application" +HOMEPAGE="http://www.gphoto.org/" +SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="aalib exif ncurses nls readline" + +# aalib -> needs libjpeg +RDEPEND=" + dev-libs/popt + >=media-libs/libgphoto2-2.5.17:=[exif?] + aalib? ( + media-libs/aalib + virtual/jpeg:0 ) + exif? ( media-libs/libexif ) + ncurses? ( dev-libs/cdk:0= ) + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + nls? ( >=sys-devel/gettext-0.14.1 ) +" + +src_prepare() { + default + if ! use exif ; then + # Remove tests that require EXIF to pass, bug 610024 + rm "${S}"/tests/data/test0{35,36,37,40}* || die + fi + # Leave GCC debug builds under user control + sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \ + -i configure{.ac,} || die + eautoreconf +} + +src_configure() { + econf \ + $(use_with aalib) \ + $(use_with aalib jpeg) \ + $(use_with exif libexif auto) \ + $(use_with ncurses cdk) \ + $(use_enable nls) \ + $(use_with readline) +} |