summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-13 01:12:32 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-13 01:12:32 +0000
commit8b6011b3beb174e153f8a0a8d1cb42c06814340c (patch)
treebeb6780322df877df94567d2c56fcd9066f7d763 /media-libs/libgphoto2
parenterm i forgot the PPC_LINUX boot binary :) (diff)
downloadhistorical-8b6011b3beb174e153f8a0a8d1cb42c06814340c.tar.gz
historical-8b6011b3beb174e153f8a0a8d1cb42c06814340c.tar.bz2
historical-8b6011b3beb174e153f8a0a8d1cb42c06814340c.zip
IUSE_ syntax
Diffstat (limited to 'media-libs/libgphoto2')
-rw-r--r--media-libs/libgphoto2/ChangeLog7
-rw-r--r--media-libs/libgphoto2/Manifest34
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild6
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild8
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.3-r1.ebuild11
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.3.ebuild11
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.4.ebuild52
7 files changed, 68 insertions, 61 deletions
diff --git a/media-libs/libgphoto2/ChangeLog b/media-libs/libgphoto2/ChangeLog
index 1f29069d903e..ebe507b9d6fd 100644
--- a/media-libs/libgphoto2/ChangeLog
+++ b/media-libs/libgphoto2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libgphoto2
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v 1.29 2004/06/24 23:10:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v 1.30 2004/07/13 01:12:32 vapier Exp $
+
+ 12 Jul 2004; Mike Frysinger <vapier@gentoo.org> libgphoto2-2.1.1-r2.ebuild,
+ libgphoto2-2.1.2-r1.ebuild, libgphoto2-2.1.3-r1.ebuild,
+ libgphoto2-2.1.3.ebuild, libgphoto2-2.1.4.ebuild:
+ Move GPHOTO_LIBS to use the IUSE_ syntax.
07 Jun 2004; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.2-r1.ebuild,
libgphoto2-2.1.3-r1.ebuild, libgphoto2-2.1.3.ebuild,
diff --git a/media-libs/libgphoto2/Manifest b/media-libs/libgphoto2/Manifest
index 2a7a2782f19b..cf0bf200f40c 100644
--- a/media-libs/libgphoto2/Manifest
+++ b/media-libs/libgphoto2/Manifest
@@ -1,18 +1,28 @@
-MD5 b6f52851a4c4fc4d86776e309dc44ba0 libgphoto2-2.1.4.ebuild 3577
-MD5 4fe31cbaef5b58138e7fc51a746ed814 libgphoto2-2.1.3-r1.ebuild 3649
-MD5 6961b8189e888dd9cd0d75afff849c7d libgphoto2-2.1.1-r2.ebuild 1406
-MD5 04e0e6895808c1f0e4c15d518e7f3b52 libgphoto2-2.1.2-r1.ebuild 2284
-MD5 45f904249a17b0db25ec1dcf04941327 libgphoto2-2.1.3.ebuild 2898
-MD5 a8751f50ff9e5c1a55e0638352ad75d1 ChangeLog 5169
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 4ca5959c5cbde983109fb546bca8122e ChangeLog 5400
+MD5 fc1930ea73a0f210a1f9c2cd7bcd5127 libgphoto2-2.1.1-r2.ebuild 1394
+MD5 06c4ff496bc33f08b921b85a7116bb0f libgphoto2-2.1.2-r1.ebuild 2270
+MD5 d3f331af2da98e5de2b587d4c4fe97ed libgphoto2-2.1.3.ebuild 2870
MD5 80850151bae2bd61c4ac796f83656ef6 metadata.xml 217
-MD5 ba2eb5dbe5b2b2214d41dafc6ec6993d files/digest-libgphoto2-2.1.3 70
-MD5 e396fe3bbcfd38d33ec78004f27db148 files/digest-libgphoto2-2.1.4 70
-MD5 91db4be9fea579f0440cef2d114fcab3 files/libgphoto2-2.1.2-norpm.patch 533
+MD5 5486abc5e535376eed3bd94b7d947b8b libgphoto2-2.1.3-r1.ebuild 3622
+MD5 dadce385d664b59118c9902472026067 libgphoto2-2.1.4.ebuild 3768
MD5 8fc24b590738d4420bb8df6521fbbda0 files/canon.powershot.usermap 4575
-MD5 e860333a276c3461b4fc8cfdd0b09263 files/libgphoto2-2.1.2-canon.patch 4929
-MD5 1a200bb63548924b958987cd87c45dda files/libgphoto2-2.1.3-canon.patch 8487
MD5 6376376d006db7592d2ed520086e03e7 files/digest-libgphoto2-2.1.1-r2 70
MD5 1e1dae62e219b69ed37673f1d0fe01f9 files/digest-libgphoto2-2.1.2-r1 70
-MD5 ba2eb5dbe5b2b2214d41dafc6ec6993d files/digest-libgphoto2-2.1.3-r1 70
+MD5 ba2eb5dbe5b2b2214d41dafc6ec6993d files/digest-libgphoto2-2.1.3 70
MD5 ededea10cd8bf8a2f0d3f106c10b20ff files/libgphoto2-2.1.1-norpm.patch 533
+MD5 e860333a276c3461b4fc8cfdd0b09263 files/libgphoto2-2.1.2-canon.patch 4929
+MD5 91db4be9fea579f0440cef2d114fcab3 files/libgphoto2-2.1.2-norpm.patch 533
+MD5 ba2eb5dbe5b2b2214d41dafc6ec6993d files/digest-libgphoto2-2.1.3-r1 70
+MD5 1a200bb63548924b958987cd87c45dda files/libgphoto2-2.1.3-canon.patch 8487
+MD5 e396fe3bbcfd38d33ec78004f27db148 files/digest-libgphoto2-2.1.4 70
MD5 3b33f744c18b1251ef1d6ce48978dd6b files/libgphoto2-2.1.4-gcc2_fixes.patch 1680
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.8 (GNU/Linux)
+
+iD8DBQFA8zcWHTu7gpaalycRAsSxAKDdn646usfZPAcGiM55NtD156L8tQCgqtjy
+sMNiMOG9VwoKl4O7ZvfGQjo=
+=UCZp
+-----END PGP SIGNATURE-----
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild
index 67889a316403..27d053c2308c 100644
--- a/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild
@@ -1,9 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild,v 1.14 2004/06/24 23:10:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.1-r2.ebuild,v 1.15 2004/07/13 01:12:32 vapier Exp $
inherit libtool eutils flag-o-matic
-MAKEOPTS="-j1" # or the documentation fails. bah!
DESCRIPTION="free, redistributable digital camera software application"
HOMEPAGE="http://www.gphoto.org/"
@@ -43,7 +42,8 @@ src_compile() {
|| myconf="${myconf} --disable-docs"
econf ${myconf} || die "econf failed"
- emake || die "make failed"
+ # or the documentation fails. bah!
+ emake -j1 || die "make failed"
}
src_install() {
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild
index 0e5c5bbf790c..3344e1c9e166 100644
--- a/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild,v 1.13 2004/06/24 23:10:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild,v 1.14 2004/07/13 01:12:32 vapier Exp $
inherit libtool eutils
-MAKEOPTS="-j1" # or the documentation fails. bah!
-
DESCRIPTION="free, redistributable digital camera software application"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
@@ -20,7 +18,6 @@ RDEPEND=">=dev-libs/libusb-0.1.6
>=sys-apps/usbutils-0.11-r2
sys-apps/hotplug
jpeg? ( >=media-libs/libexif-0.5.9 )"
-
DEPEND="${RDEPEND}
>=sys-devel/patch-2.5.9
dev-util/pkgconfig
@@ -47,7 +44,8 @@ src_compile() {
myconf="${myconf} `use_enable doc docs`"
econf ${myconf} || die "econf failed"
- emake || die "make failed"
+ # or the documentation fails. bah!
+ emake -j1 || die "make failed"
}
src_install() {
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.3-r1.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.3-r1.ebuild
index f7fd4e64f695..f10fbdbffc9f 100644
--- a/media-libs/libgphoto2/libgphoto2-2.1.3-r1.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.1.3-r1.ebuild
@@ -1,12 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.3-r1.ebuild,v 1.9 2004/06/24 23:10:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.3-r1.ebuild,v 1.10 2004/07/13 01:12:32 vapier Exp $
inherit libtool eutils
-MAKEOPTS="${MAKEOPTS} -j1" # or the documentation fails.
-
-DESCRIPTION="Library that implements support for numerous digital cameras."
+DESCRIPTION="Library that implements support for numerous digital cameras"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
@@ -21,7 +19,6 @@ RDEPEND=">=dev-libs/libusb-0.1.6
>=sys-apps/usbutils-0.11-r2
sys-apps/hotplug
jpeg? ( >=media-libs/libexif-0.5.9 )"
-
DEPEND="${RDEPEND}
>=sys-devel/patch-2.5.9
dev-util/pkgconfig
@@ -46,7 +43,6 @@ DEPEND="${RDEPEND}
#
[ -z "${GPHOTO_LIBS}" ] && GPHOTO_LIBS="all"
-
src_unpack() {
unpack ${A}
EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-2.1.2-norpm.patch
@@ -71,7 +67,8 @@ src_compile() {
myconf="${myconf} `use_enable doc docs`"
econf ${myconf} || die "econf failed"
- emake || die "make failed"
+ # or the documentation fails.
+ emake -j1 || die "make failed"
}
src_install() {
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.3.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.3.ebuild
index 00a234737da5..0d282f3a456b 100644
--- a/media-libs/libgphoto2/libgphoto2-2.1.3.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.1.3.ebuild
@@ -1,12 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.3.ebuild,v 1.7 2004/06/24 23:10:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.3.ebuild,v 1.8 2004/07/13 01:12:32 vapier Exp $
inherit libtool eutils
-MAKEOPTS="${MAKEOPTS} -j1" # or the documentation fails.
-
-DESCRIPTION="Library that implements support for numerous digital cameras."
+DESCRIPTION="Library that implements support for numerous digital cameras"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
@@ -21,7 +19,6 @@ RDEPEND=">=dev-libs/libusb-0.1.6
>=sys-apps/usbutils-0.11-r2
sys-apps/hotplug
jpeg? ( >=media-libs/libexif-0.5.9 )"
-
DEPEND="${RDEPEND}
>=sys-devel/patch-2.5.9
dev-util/pkgconfig
@@ -46,7 +43,6 @@ DEPEND="${RDEPEND}
#
[ -z "${GPHOTO_LIBS}" ] && GPHOTO_LIBS="all"
-
src_unpack() {
unpack ${A}
EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-2.1.2-norpm.patch
@@ -69,7 +65,8 @@ src_compile() {
myconf="${myconf} `use_enable doc docs`"
econf ${myconf} || die "econf failed"
- emake || die "make failed"
+ # or the documentation fails.
+ emake -j1 || die "make failed"
}
src_install() {
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild
index 46bcbbd936c7..f662234901a5 100644
--- a/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild
@@ -1,12 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild,v 1.9 2004/06/24 23:10:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild,v 1.10 2004/07/13 01:12:32 vapier Exp $
inherit libtool eutils
-MAKEOPTS="${MAKEOPTS} -j1" # or the documentation fails.
-
-DESCRIPTION="Library that implements support for numerous digital cameras."
+DESCRIPTION="Library that implements support for numerous digital cameras"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
@@ -21,30 +19,25 @@ RDEPEND=">=dev-libs/libusb-0.1.6
>=sys-apps/usbutils-0.11-r2
sys-apps/hotplug
jpeg? ( >=media-libs/libexif-0.5.9 )"
-
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( dev-util/gtk-doc )"
# By default, drivers for all supported cards will be compiled.
-# If you want to only compile for specific card(s), set GPHOTO_LIBS
+# If you want to only compile for specific card(s), set CAMERAS
# environment to a comma-separated list (no spaces) of drivers that
# you want to build.
-#
-# For example:
-#
-# env GPHOTO_LIBS='canon,ptp2' emerge libgphoto2
-#
-# drivers: agfa-cl20, barbie, canon, casio, digita, dimera,
-# directory, fuji, gsmart300, jamcam,
-# jd11, kodak, konica, mustek, largan,
-# minolta, panasonic, pccam300, pccam600,
-# polaroid, ptp2, ricoh, samsung, smal,
-# sierra, sipix, sonydscf1, sonydscf55,
-# soundvision, spca50x, sq905, stv0680, sx330z
-#
-[ -z "${GPHOTO_LIBS}" ] && GPHOTO_LIBS="all"
-
+IUSE_CAMERAS="agfa-cl20 barbie canon casio digita dimera directory fuji gsmart300 jamcam jd11
+kodak konica mustek largan minolta panasonic pccam300 pccam600 polaroid ptp2 ricoh samsung
+smal sierra sipix sonydscf1 sonydscf55 soundvision spca50x sq905 stv0680 sx330z"
+
+pkg_setup() {
+ if [ -z "${CAMERAS}" ] ; then
+ ewarn "All camera drivers will be built since you did not specify"
+ ewarn "via the CAMERAS variable what camera you use."
+ einfo "libgphoto2 supports: all ${IUSE_CAMERAS}"
+ fi
+}
src_unpack() {
unpack ${A}
@@ -54,23 +47,30 @@ src_unpack() {
}
src_compile() {
+ local cameras
+ local cam
+ for cam in ${CAMERAS} ; do
+ has ${cam} ${IUSE_CAMERAS} && cameras="${cameras},${cam}"
+ done
+ [ -z "${cameras}" ] \
+ && cameras="all" \
+ || cameras="${cameras:1}"
+ einfo $cameras
+
elibtoolize
local myconf
myconf="--with-rpmbuild=/bin/false"
-
myconf="--with-drivers=${GPHOTO_LIBS}"
-
use jpeg \
&& myconf="${myconf} --with-exif-prefix=/usr" \
|| myconf="${myconf} --without-exif"
-
myconf="${myconf} `use_enable nls`"
myconf="${myconf} `use_enable doc docs`"
-
econf ${myconf} || die "econf failed"
- emake || die "make failed"
+ # or the documentation fails.
+ emake -j1 || die "make failed"
}
src_install() {