summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-01-10 15:43:32 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-01-10 15:43:32 +0000
commit91f10d9f667cc875a0b9afbdcfaf134888d01c7c (patch)
treebed543a80cae4ccae0ae8b339b1d7743c3a87ba2 /www-plugins
parentRevert (diff)
downloadgentoo-2-91f10d9f667cc875a0b9afbdcfaf134888d01c7c.tar.gz
gentoo-2-91f10d9f667cc875a0b9afbdcfaf134888d01c7c.tar.bz2
gentoo-2-91f10d9f667cc875a0b9afbdcfaf134888d01c7c.zip
QA: non-maint. commit: Fix build issues per bug #286491.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/gnash/ChangeLog7
-rw-r--r--www-plugins/gnash/gnash-0.8.6.ebuild40
2 files changed, 22 insertions, 25 deletions
diff --git a/www-plugins/gnash/ChangeLog b/www-plugins/gnash/ChangeLog
index b316b835739d..441aff5a96a9 100644
--- a/www-plugins/gnash/ChangeLog
+++ b/www-plugins/gnash/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-plugins/gnash
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/ChangeLog,v 1.18 2009/12/22 15:46:17 pva Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/ChangeLog,v 1.19 2010/01/10 15:43:32 scarabeus Exp $
+
+ 10 Jan 2010; Tomáš Chvátal <scarabeus@gentoo.org> gnash-0.8.6.ebuild:
+ QA: non-maint. commit: Fix build issues per bug #286491.
22 Dec 2009; Peter Volkov <pva@gentoo.org> gnash-0.8.6.ebuild,
+files/gnash-0.8.6-libssh-0.4.patch:
diff --git a/www-plugins/gnash/gnash-0.8.6.ebuild b/www-plugins/gnash/gnash-0.8.6.ebuild
index e1c99d5e4124..0023208bf318 100644
--- a/www-plugins/gnash/gnash-0.8.6.ebuild
+++ b/www-plugins/gnash/gnash-0.8.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.6.ebuild,v 1.6 2009/12/22 15:46:17 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.6.ebuild,v 1.7 2010/01/10 15:43:32 scarabeus Exp $
EAPI="2"
CMAKE_REQUIRED="false"
@@ -17,7 +17,7 @@ SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
-IUSE="agg cairo cygnal dbus doc +ffmpeg gnome gstreamer gtk kde lirc mysql +nls nsplugin +opengl python +sdl +speex ssh ssl test video_cards_intel"
+IUSE="agg cairo cygnal dbus doc +ffmpeg gnome gstreamer gtk kde lirc mysql +nls nsplugin +opengl python +sdl ssh ssl test video_cards_intel"
RDEPEND=">=dev-libs/boost-1.35.0
dev-libs/expat
@@ -59,7 +59,7 @@ RDEPEND=">=dev-libs/boost-1.35.0
)
sdl? ( media-libs/libsdl[X] )
nsplugin? ( net-libs/xulrunner:1.9 )
- speex? ( media-libs/speex[ogg] )
+ media-libs/speex[ogg]
sys-libs/zlib
>=sys-devel/libtool-2.2
mysql? ( dev-db/mysql )
@@ -145,24 +145,27 @@ src_configure() {
# Set nsplugin install directory.
use nsplugin && myconf="${myconf} --with-npapi-plugindir=/opt/netscape/plugins"
+ # Set rendering engine.
+ if use agg; then
+ myconf="${myconf} --enable-renderer=agg"
+ elif use opengl; then
+ myconf="${myconf} --enable-renderer=ogl"
+ else
+ myconf="${myconf} --enable-renderer=cairo"
+ fi
# Set kde and konqueror plugin directories.
if use kde; then
myconf="${myconf}
+ --with-plugins-install=system
--with-kde4-incl=${KDEDIR}/include
--with-kde4-configdir=${KDEDIR}/share/config
--with-kde4-prefix=${KDEDIR}
--with-kde4-lib=${KDEDIR}/$(get_libdir)
--with-kde-appsdatadir=${KDEDIR}/share/apps/klash
- --with-kde4-servicesdir=${KDEDIR}/share/services"
- fi
- # Set rendering engine.
- if use agg; then
- myconf="${myconf} --enable-renderer=agg"
- elif use opengl; then
- myconf="${myconf} --enable-renderer=ogl"
- else
- myconf="${myconf} --enable-renderer=cairo"
+ --with-kde4-servicesdir=${KDEDIR}/share/kde4/services
+ --with-kde4-plugindir=${KDEDIR}/$(get_libdir)/kde4/plugins"
fi
+
# Set media handler.
if use ffmpeg; then
myconf="${myconf} --enable-media=ffmpeg"
@@ -189,7 +192,7 @@ src_configure() {
if [ -z "$gui" ]; then
gui="sdl"
fi
-
+
# Strip extra comma from gui and myext.
gui=$( echo $gui | sed -e 's/,//' )
myext=$( echo $myext | sed -e 's/,//' )
@@ -197,12 +200,6 @@ src_configure() {
econf \
--disable-dependency-tracking \
--disable-kparts3 \
- --enable-nspr \
- --enable-expat \
- --enable-jpeg \
- --enable-png \
- --enable-gif \
- --enable-ungif \
--enable-avm2 \
$(use_enable cygnal) \
$(use_enable cygnal cgibins) \
@@ -215,13 +212,10 @@ src_configure() {
$(use_enable nls) \
$(use_enable nsplugin npapi) \
$(use_enable python) \
- $(use_enable speex) \
- $(use_enable speex speexdsp) \
$(use_enable ssh) \
$(use_enable ssl) \
$(use_enable test testsuite) \
$(use_enable video_cards_intel i810-lod-bias) \
- --enable-z \
--enable-gui=${gui} \
--enable-extensions=${myext} \
${myconf}