summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-05-29 14:13:40 +0200
committerPacho Ramos <pacho@gentoo.org>2016-05-29 14:41:33 +0200
commit479f4bb509d938aebb1cec837f19b588db261681 (patch)
treebc3e943160ebaef09c7f7bdfad08093b3ee2acc7 /media-gfx/gphoto2
parentmedia-gfx/gphoto2: Drop old (diff)
downloadgentoo-479f4bb509d938aebb1cec837f19b588db261681.tar.gz
gentoo-479f4bb509d938aebb1cec837f19b588db261681.tar.bz2
gentoo-479f4bb509d938aebb1cec837f19b588db261681.zip
media-gfx/gphoto2: Version bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'media-gfx/gphoto2')
-rw-r--r--media-gfx/gphoto2/Manifest1
-rw-r--r--media-gfx/gphoto2/gphoto2-2.5.10.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/gphoto2/Manifest b/media-gfx/gphoto2/Manifest
index d6d7bda5c7fe..867d5e3ca806 100644
--- a/media-gfx/gphoto2/Manifest
+++ b/media-gfx/gphoto2/Manifest
@@ -1,2 +1,3 @@
+DIST gphoto2-2.5.10.tar.bz2 784459 SHA256 66cc2f535d54b7e5a2164546a8955a58e23745e91e916757c0bf070699886690 SHA512 b6bca41b9787a475eaa0d094a2de261d1013fb2845fd7f3735099100df243860e50d3cce8a1e5afd8c29a4dcfc65367f83b0fc85185b80f5de732bf3faa0e06d WHIRLPOOL 2f3c15c675803206cfad5f4189e47f9e5a03b4ad1c45b1c94f87aaebda69ad7929f51496b3c1e511cb7f809c50aedae29ad1171e96eb0790118b4efd47e09d41
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.10.ebuild b/media-gfx/gphoto2/gphoto2-2.5.10.ebuild
new file mode 100644
index 000000000000..6398d124d0e3
--- /dev/null
+++ b/media-gfx/gphoto2/gphoto2-2.5.10.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+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() {
+ default
+ # 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 \
+ $(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
+
+ einstalldocs
+ rm -rf "${D}"/usr/share/doc/${PF}/sgml/gphoto2
+}