summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-09-09 17:34:30 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-09-09 17:34:30 +0000
commit1918e455050620b7c440b678716383c6a0d12b2b (patch)
treeecf5804ad5bf09fb8fec07f95e0f876f70a6cbd9 /dev-libs
parentAdd metadata. (diff)
downloadhistorical-1918e455050620b7c440b678716383c6a0d12b2b.tar.gz
historical-1918e455050620b7c440b678716383c6a0d12b2b.tar.bz2
historical-1918e455050620b7c440b678716383c6a0d12b2b.zip
Changed ebuild to fix #105057 (see bug and ChangeLog for more details.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/pwlib/ChangeLog8
-rw-r--r--dev-libs/pwlib/Manifest4
-rw-r--r--dev-libs/pwlib/pwlib-1.8.4.ebuild40
3 files changed, 27 insertions, 25 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog
index de69bf5567b3..8ae8cc81e036 100644
--- a/dev-libs/pwlib/ChangeLog
+++ b/dev-libs/pwlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/pwlib
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.89 2005/09/07 20:48:49 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.90 2005/09/09 17:34:30 stkn Exp $
+
+ 09 Sep 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.4.ebuild:
+ Changed ebuild to fix #105057, pwlib no longer builds plugins that have their
+ flags disabled. New libdc1394 API is currently unsupported, changed DEPENDS to
+ block >=libdc1394-2.0.0_pre0 (to avoid possible loops during updating) and
+ depend on <1.9.9.
07 Sep 2005; Stefan Knoblich <stkn@gentoo.org> +files/pwlib-1.8.4-gcc4.diff,
-files/pwlib-gcc4.gz, pwlib-1.8.4.ebuild:
diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest
index 8af8f4976345..0a8505094f3f 100644
--- a/dev-libs/pwlib/Manifest
+++ b/dev-libs/pwlib/Manifest
@@ -1,11 +1,11 @@
MD5 ae4e2d28a1696afcf545ed158be25bd7 pwlib-1.6.3-r3.ebuild 4338
MD5 8a3df2068f3fa7e096c3dc77cc28e7ea pwlib-1.5.2-r3.ebuild 2993
MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235
-MD5 3388c080fbadf8243c3b82186a78a24c ChangeLog 14079
+MD5 b137b85fba41f53f6b2c7027019a21f9 ChangeLog 14407
MD5 4690d9e7395046ed1c573e68a47bd053 pwlib-1.5.0.ebuild 2304
MD5 233dc6b0601309ce4da5385aa36e5bdc pwlib-1.6.6-r2.ebuild 4546
MD5 00ce2a439ee24cd57f8c947d8fcadea1 pwlib-1.8.3-r1.ebuild 4465
-MD5 f3f2917729a298410ce6db1d11c31d14 pwlib-1.8.4.ebuild 4341
+MD5 07753ad6f40de08d68b54443f19a5b43 pwlib-1.8.4.ebuild 4338
MD5 7b71ebcce6d852f0dc6738ee8b77ea49 pwlib-1.5.0-r1.ebuild 2403
MD5 ef62669acbbbc63a30d475ca9865adb6 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207
MD5 6702f9a296ccf661275cf6a2284bf6bf files/digest-pwlib-1.6.3-r3 64
diff --git a/dev-libs/pwlib/pwlib-1.8.4.ebuild b/dev-libs/pwlib/pwlib-1.8.4.ebuild
index a07d58a1b3ac..dd0fb7fecd60 100644
--- a/dev-libs/pwlib/pwlib-1.8.4.ebuild
+++ b/dev-libs/pwlib/pwlib-1.8.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.7 2005/09/07 20:48:49 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.8 2005/09/09 17:34:30 stkn Exp $
inherit eutils flag-o-matic multilib
@@ -25,29 +25,30 @@ DEPEND=">=sys-devel/bison-1.28
ieee1394? ( media-libs/libdv
sys-libs/libavc1394
sys-libs/libraw1394
- media-libs/libdc1394 )
+ <media-libs/libdc1394-1.9.9
+ !>=media-libs/libdc1394-2.0.0_pre0 )
esd? ( media-sound/esound )"
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff
-
- cd ${S}/make
+ cd ${S}
# filter out -O3 and -mcpu embedded compiler flags
sed -i \
-e "s:-mcpu=\$(CPUTYPE)::" \
-e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
+ make/unix.mak
# newer esound package doesn't install libesd.a anymore,
# use dynamic library instead (fixes #100432)
epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch
+
+ # gcc-4 patch
+ epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff
}
src_compile() {
- local plugins
local myconf
# may cause ICE (bug #70638)
@@ -64,21 +65,17 @@ src_compile() {
#use ipv6 \
# && myconf="${myconf} --enable-ipv6" \
# || myconf="${myconf} --disable-ipv6"
- myconf="${myconf} --enable-ipv6"
- # plugins, oss and v4l are default
- plugins="oss v4l"
+ # enable default plugins and force ipv6 support
+ myconf="--enable-ipv6 --enable-oss --enable-v4l"
use ieee1394 \
- && plugins="${plugins} avc dc"
+ && myconf="${myconf} --enable-avc --enable-dc" \
+ || myconf="${myconf} --disable-avc --disable-dc"
+ # --disable-alsa breaks configure
use alsa \
- && plugins="${plugins} alsa"
-
- if use v4l2; then
- myconf="${myconf} --enable-v4l2"
- plugins="${plugins} v4l2"
- fi
+ && myconf="${myconf} --enable-alsa"
if use esd; then
# fixes bug #45059
@@ -90,12 +87,11 @@ src_compile() {
${S}/make/unix.mak
fi
- # merge plugin options (safe way if default = "")
- plugins="$(echo ${plugins} | sed -e "y: :,:")"
-
- econf ${myconf} \
+ econf \
--enable-plugins \
- --with-plugins=${plugins} || die "configure failed"
+ $(use_enable v4l2) \
+ $(use_enable sdl) \
+ ${myconf} || die "configure failed"
# Horrible hack to strip out -L/usr/lib to allow upgrades
# problem is it adds -L/usr/lib before -L${S} when SSL is