Skip to content

Commit

Permalink
media-gfx/gphoto2: Version bump
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
pacho2 committed Sep 5, 2015
1 parent 9716de6 commit 589eaaf
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.5.tar.bz2 751227 SHA256 54e9aea97d926bfd7ffbe3b91fcf239ce58be0833df2938a385a67fdcadd14b4 SHA512 542653b5285df2941b971e7f158c6fddebddbe42525f5f7dfcb9ad69007568e8c7f60e49f220823aaa0b93fd4ba35b47e3b81ac222a3e666b98f7f01d905ef19 WHIRLPOOL 3f1d8ae18525c262623da24202c56a902ce74644e35efe6e2a7dc4d0ba5f4afeb46e6806820807885b4099614d8fa9f3f5fd059dacc934ea119d7bbe542a2d73
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
59 changes: 59 additions & 0 deletions media-gfx/gphoto2/gphoto2-2.5.8.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Copyright 1999-2015 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 589eaaf

Please sign in to comment.