Skip to content

Commit

Permalink
media-gfx/gphoto2: version bump to 2.5.9
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
EvaSDK committed Jan 4, 2016
1 parent 82fa88d commit 2d5c791
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-gfx/gphoto2/Manifest
Original file line number Diff line number Diff line change
@@ -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
59 changes: 59 additions & 0 deletions media-gfx/gphoto2/gphoto2-2.5.9.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 2d5c791

Please sign in to comment.