diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-09-09 17:34:30 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-09-09 17:34:30 +0000 |
commit | 4a6a4321b099c6d4cb6714ea023c744bef4641ed (patch) | |
tree | 3633256cef1c027f890683ea5b5daebbb44d441e /dev-libs/pwlib | |
parent | Add metadata. (diff) | |
download | gentoo-2-4a6a4321b099c6d4cb6714ea023c744bef4641ed.tar.gz gentoo-2-4a6a4321b099c6d4cb6714ea023c744bef4641ed.tar.bz2 gentoo-2-4a6a4321b099c6d4cb6714ea023c744bef4641ed.zip |
Changed ebuild to fix #105057 (see bug and ChangeLog for more details.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/pwlib')
-rw-r--r-- | dev-libs/pwlib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.8.4.ebuild | 40 |
2 files changed, 25 insertions, 23 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/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 |