summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2014-11-02 13:52:41 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2014-11-02 13:52:41 +0000
commitd8b3a6702405349b19992b34aad82228195086e6 (patch)
treeb81d9881bfdb32d5de92ff4e6565b852e70bcf16 /media-gfx/gphoto2
parentRevision bump EAPI=5 (diff)
downloadgentoo-2-d8b3a6702405349b19992b34aad82228195086e6.tar.gz
gentoo-2-d8b3a6702405349b19992b34aad82228195086e6.tar.bz2
gentoo-2-d8b3a6702405349b19992b34aad82228195086e6.zip
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'media-gfx/gphoto2')
-rw-r--r--media-gfx/gphoto2/ChangeLog7
-rw-r--r--media-gfx/gphoto2/gphoto2-2.5.5.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/media-gfx/gphoto2/ChangeLog b/media-gfx/gphoto2/ChangeLog
index 8a0117d72afb..fe4b942d50a5 100644
--- a/media-gfx/gphoto2/ChangeLog
+++ b/media-gfx/gphoto2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/gphoto2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.156 2014/09/15 08:20:44 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.157 2014/11/02 13:52:41 eva Exp $
+
+*gphoto2-2.5.5 (02 Nov 2014)
+
+ 02 Nov 2014; Gilles Dartiguelongue <eva@gentoo.org> +gphoto2-2.5.5.ebuild:
+ Version bump.
15 Sep 2014; Agostino Sarubbo <ago@gentoo.org> gphoto2-2.5.4.ebuild:
Stable for sparc, wrt bug #512012
diff --git a/media-gfx/gphoto2/gphoto2-2.5.5.ebuild b/media-gfx/gphoto2/gphoto2-2.5.5.ebuild
new file mode 100644
index 000000000000..17746f570473
--- /dev/null
+++ b/media-gfx/gphoto2/gphoto2-2.5.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.5.5.ebuild,v 1.1 2014/11/02 13:52:41 eva Exp $
+
+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.4[exif?]
+ aalib? (
+ media-libs/aalib
+ virtual/jpeg:0 )
+ exif? ( media-libs/libexif )
+ ncurses? ( dev-libs/cdk )
+ readline? ( sys-libs/readline )
+"
+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
+}