diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2013-08-03 18:11:15 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2013-08-03 18:11:15 +0000 |
commit | 9a202a7ab0e59bd7704f1ff7007ff156f2d854c0 (patch) | |
tree | e3bba69d662f0cb6db8ff0eb907ccf987b455f64 /media-gfx | |
parent | Version bump. Drop old revision. (diff) | |
download | gentoo-2-9a202a7ab0e59bd7704f1ff7007ff156f2d854c0.tar.gz gentoo-2-9a202a7ab0e59bd7704f1ff7007ff156f2d854c0.tar.bz2 gentoo-2-9a202a7ab0e59bd7704f1ff7007ff156f2d854c0.zip |
Version bump.
(Portage version: 2.2.0_alpha192/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gphoto2/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/gphoto2/gphoto2-2.5.2.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/media-gfx/gphoto2/ChangeLog b/media-gfx/gphoto2/ChangeLog index 34dc2328b397..13caf73da38e 100644 --- a/media-gfx/gphoto2/ChangeLog +++ b/media-gfx/gphoto2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/gphoto2 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.131 2013/03/29 23:05:39 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.132 2013/08/03 18:11:14 eva Exp $ + +*gphoto2-2.5.2 (03 Aug 2013) + + 03 Aug 2013; Gilles Dartiguelongue <eva@gentoo.org> +gphoto2-2.5.2.ebuild: + Version bump. 29 Mar 2013; Gilles Dartiguelongue <eva@gentoo.org> -gphoto2-2.4.11.ebuild, -files/gphoto2-2.4.11-cdk-libs.patch: diff --git a/media-gfx/gphoto2/gphoto2-2.5.2.ebuild b/media-gfx/gphoto2/gphoto2-2.5.2.ebuild new file mode 100644 index 000000000000..c0567a93b96e --- /dev/null +++ b/media-gfx/gphoto2/gphoto2-2.5.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.5.2.ebuild,v 1.1 2013/08/03 18:11:15 eva Exp $ + +EAPI="5" + +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 +# raise libgphoto to get a proper .pc +RDEPEND=" + dev-libs/popt + >=media-libs/libgphoto2-2.5.0[exif?] + virtual/libusb:0 + 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 + +} + +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 +} |