summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-05-11 11:09:38 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-05-11 11:09:38 +0000
commit880aaae87293ab578e783366de1e8df17d972a0f (patch)
treeb341411b7b13057ef491491f0048fc2592a637ab /media-libs
parentadded exif support (diff)
downloadhistorical-880aaae87293ab578e783366de1e8df17d972a0f.tar.gz
historical-880aaae87293ab578e783366de1e8df17d972a0f.tar.bz2
historical-880aaae87293ab578e783366de1e8df17d972a0f.zip
added exif support
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libgphoto2/Manifest6
-rw-r--r--media-libs/libgphoto2/files/digest-libgphoto2-2.1.1-r21
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.1.1-norpm.patch19
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild61
4 files changed, 85 insertions, 2 deletions
diff --git a/media-libs/libgphoto2/Manifest b/media-libs/libgphoto2/Manifest
index 441a6aabb2d3..9b1a11d75d2b 100644
--- a/media-libs/libgphoto2/Manifest
+++ b/media-libs/libgphoto2/Manifest
@@ -1,6 +1,8 @@
-MD5 5b042c320abad17656620c8bf6ba27ce ChangeLog 655
+MD5 fc0950d7e014936f2200481526e79931 ChangeLog 851
MD5 1faae7f3a1fa6abb4a9b8ff930020f65 libgphoto2-2.1.1.ebuild 1092
-MD5 1cc3c7285939a0c9831adee61177128f libgphoto2-2.1.1-r2.ebuild 1294
+MD5 ac8c8781c7c55aa61bab3956e21d2c8d libgphoto2-2.1.1-r2.ebuild 1363
+MD5 09a43d557eac04c25c812e537dbd0497 libgphoto2-2.1.1-r1.ebuild 1091
MD5 6376376d006db7592d2ed520086e03e7 files/digest-libgphoto2-2.1.1 70
MD5 6376376d006db7592d2ed520086e03e7 files/digest-libgphoto2-2.1.1-r1 70
MD5 6376376d006db7592d2ed520086e03e7 files/digest-libgphoto2-2.1.1-r2 70
+MD5 8199b8756906a672bbbbaa181e82679c files/libgphoto2-2.1.1-norpm.patch 541
diff --git a/media-libs/libgphoto2/files/digest-libgphoto2-2.1.1-r2 b/media-libs/libgphoto2/files/digest-libgphoto2-2.1.1-r2
new file mode 100644
index 000000000000..0504917e8f6d
--- /dev/null
+++ b/media-libs/libgphoto2/files/digest-libgphoto2-2.1.1-r2
@@ -0,0 +1 @@
+MD5 ec69ffba3dc3d6a6a604fd63b3e1159e libgphoto2-2.1.1.tar.bz2 1509102
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.1.1-norpm.patch b/media-libs/libgphoto2/files/libgphoto2-2.1.1-norpm.patch
new file mode 100644
index 000000000000..09ad53119489
--- /dev/null
+++ b/media-libs/libgphoto2/files/libgphoto2-2.1.1-norpm.patch
@@ -0,0 +1,19 @@
+--- libgphoto2-2.1.1/configure 2002-12-01 21:46:42.000000000 +0000
++++ libgphoto2-2.1.1/configure 2003-05-11 02:11:38.000000000 +0100
+@@ -13865,14 +13865,10 @@
+ # packages we're going to build will depend on libusb and libusb-devel
+ # RPM packages or not.
+
+-
+-if rpm -q libusb-devel > /dev/null 2>&1; then
+- RPM_LIBUSB_DEVEL_TRUE=
+- RPM_LIBUSB_DEVEL_FALSE='#'
+-else
++# don't let rpm -q run or else it'll break sandbox.
+ RPM_LIBUSB_DEVEL_TRUE='#'
+ RPM_LIBUSB_DEVEL_FALSE=
+-fi
++
+
+
+ # effective_target has to be determined in advance
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild
new file mode 100644
index 000000000000..d31259a60aec
--- /dev/null
+++ b/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild,v 1.1 2003/05/11 11:09:29 liquidx Exp $
+
+inherit libtool
+inherit flag-o-matic
+MAKEOPTS="-j1"
+# or the documentation fails. bah!
+
+IUSE="nls doc jpeg"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="free, redistributable digital camera software application"
+SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
+HOMEPAGE="http://www.gphoto.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND=">=dev-libs/libusb-0.1.6
+ jpeg? ( >=media-libs/libexif-0.5.9 )
+ doc? ( dev-util/gtk-doc )"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-norpm.patch
+}
+
+src_compile() {
+ elibtoolize
+
+ local myconf
+
+ myconf="--with-rpmbuild=/bin/false"
+
+ use jpeg \
+ && myconf="${myconf} --with-exif-prefix=/usr" \
+ || myconf="${myconf} --without-exif"
+
+ use nls \
+ || myconf="${myconf} --disable-nls"
+
+ use doc \
+ && myconf="${myconf} --enable-docs" \
+ || myconf="${myconf} --disable-docs"
+
+ econf ${myconf}
+ #emake || die
+}
+
+src_install() {
+
+ einstall
+ gphotodocdir=${D}/usr/share/doc/${PF} \
+ HTML_DIR=${D}/usr/share/doc/${PF}/sgml \
+ || die
+
+ dodoc ChangeLog NEWS* README AUTHORS TESTERS MAINTAINERS HACKING CHANGES
+ rm -rf ${D}/usr/share/doc/${PF}/sgml/gphoto2
+}