summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2016-01-05 00:13:55 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2016-01-05 00:14:20 +0100
commit2d5c791c37f2e8de88dca9d8662956b66dfde717 (patch)
tree63f75be03daa841f61fb9d811d003f67f2bb7e17 /media-gfx/gphoto2
parentmedia-libs/libgphoto2: version bump to 2.5.9 (diff)
downloadgentoo-2d5c791c37f2e8de88dca9d8662956b66dfde717.tar.gz
gentoo-2d5c791c37f2e8de88dca9d8662956b66dfde717.tar.bz2
gentoo-2d5c791c37f2e8de88dca9d8662956b66dfde717.zip
media-gfx/gphoto2: version bump to 2.5.9
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-gfx/gphoto2')
-rw-r--r--media-gfx/gphoto2/Manifest1
-rw-r--r--media-gfx/gphoto2/gphoto2-2.5.9.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/gphoto2/Manifest b/media-gfx/gphoto2/Manifest
index cf7316fb3002..bdee6fe8ebef 100644
--- a/media-gfx/gphoto2/Manifest
+++ b/media-gfx/gphoto2/Manifest
@@ -1,2 +1,3 @@
DIST gphoto2-2.5.6.tar.bz2 756926 SHA256 55e5ec8b2bba4ed358f15eda466f61c79d6f75c220237f821ac687a3ceb336e8 SHA512 8877a87f624c9036f3409e78e9f28cccea2bcb8218d7d46636f19c7576a7480ab0d2fabd0a486b3f75e1be7db93f5121dd90ce806a772963f49f7a0c409ffba1 WHIRLPOOL 28be1adce983b6029cb1c781cbc3f45e1f1bce50085d0bce67c2015eddb10deb24ab55096d76928499af4db4eab0d0fc0a7e7bc9b3fd64a1530a403aad3ae3fc
DIST gphoto2-2.5.8.tar.bz2 777235 SHA256 a9abcd15d95f205318d17e3ac12af7ce523d2bc4943709d50b0a12c30cc5ee4d SHA512 87230aa3a6cd897da38a3f8ed11b82076a98ec5ef9fa63927b5d390b2381ce3cee9d620a2a16cbab901f22db8eb97508523ea790a9195e7c833bbcfe4a265afa WHIRLPOOL f98e183e0ccb1aee4df14ff08beecb0ec2cc271c85667ad0528e5275d3944716be50d261f4f03ddcc379e4c9cd85fac418b55a8d0f63b089e957a6a7ec97335d
+DIST gphoto2-2.5.9.tar.bz2 782566 SHA256 0f53803ed1f4ff7ea2aed8f7c9a0932237121941705779f7d09a8fe641ff475f SHA512 beca803692c0b174a050ab30439007d8601216d64140c8b10b01ef88e65c7ea7771ec02d8b5db02693810423e9c04e5b0140dd86a06a4b92435899e159848da5 WHIRLPOOL c502f1677104e7f32e7d4ac50d209d740e25e68eba81b0036118298cc57b0a27576007ba1d542a6506b9f2abefe39acf5ce14d16ed84a8e27814056dbb2862fc
diff --git a/media-gfx/gphoto2/gphoto2-2.5.9.ebuild b/media-gfx/gphoto2/gphoto2-2.5.9.ebuild
new file mode 100644
index 000000000000..b94a9c0da8ac
--- /dev/null
+++ b/media-gfx/gphoto2/gphoto2-2.5.9.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+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 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="aalib exif ncurses nls readline"
+
+# aalib -> needs libjpeg
+RDEPEND="
+ dev-libs/popt
+ >=media-libs/libgphoto2-2.5.6[exif?]
+ aalib? (
+ media-libs/aalib
+ virtual/jpeg:0 )
+ exif? ( media-libs/libexif )
+ ncurses? ( dev-libs/cdk )
+ readline? ( sys-libs/readline:0 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( >=sys-devel/gettext-0.14.1 )
+"
+
+src_prepare() {
+ # Leave GCC debug builds under user control
+ sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \
+ -i configure{.ac,} || die
+ eautoreconf
+}
+
+src_configure() {
+ CPPFLAGS="-I/usr/include/cdk" \
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_with aalib) \
+ $(use_with aalib jpeg) \
+ $(use_with exif libexif auto) \
+ $(use_with ncurses cdk) \
+ $(use_enable nls) \
+ $(use_with readline)
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ HTML_DIR="${D}"/usr/share/doc/${PF}/sgml \
+ install
+
+ dodoc ChangeLog NEWS* README AUTHORS
+ rm -rf "${D}"/usr/share/doc/${PF}/sgml/gphoto2
+}