summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-01-15 19:12:53 +0000
committerNick Hadaway <raker@gentoo.org>2003-01-15 19:12:53 +0000
commit012eb67ba3b9716f185d4f1d146c661d1d9ba740 (patch)
tree26abbf447b83b0df4bc31d39929466e9d2762910 /x11-libs/wxGTK/wxGTK-2.4.0.ebuild
parentVersion bump. Now depends on wxGTK-2.4.0 (diff)
downloadgentoo-2-012eb67ba3b9716f185d4f1d146c661d1d9ba740.tar.gz
gentoo-2-012eb67ba3b9716f185d4f1d146c661d1d9ba740.tar.bz2
gentoo-2-012eb67ba3b9716f185d4f1d146c661d1d9ba740.zip
Fixed DEPEND misnomers
Diffstat (limited to 'x11-libs/wxGTK/wxGTK-2.4.0.ebuild')
-rw-r--r--x11-libs/wxGTK/wxGTK-2.4.0.ebuild39
1 files changed, 11 insertions, 28 deletions
diff --git a/x11-libs/wxGTK/wxGTK-2.4.0.ebuild b/x11-libs/wxGTK/wxGTK-2.4.0.ebuild
index 535891259f07..edd622a0185d 100644
--- a/x11-libs/wxGTK/wxGTK-2.4.0.ebuild
+++ b/x11-libs/wxGTK/wxGTK-2.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.0.ebuild,v 1.3 2003/01/15 18:54:48 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.0.ebuild,v 1.4 2003/01/15 19:12:53 raker Exp $
DESCRIPTION="GTK+ version of wxWindows, a cross-platform C++ GUI toolkit."
SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2"
@@ -9,21 +9,20 @@ HOMEPAGE="http://www.wxwindows.org/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc"
-IUSE="nls odbc jpeg png opengl motif gif tiff gtk gtk2 X"
+IUSE="nls odbc opengl gtk gtk2"
-DEPEND="dev-libs/libunicode
+DEPEND="virtual/glibc
+ virtual/x11
media-libs/netpbm
- gif? ( media-libs/giflib )
- png? ( media-libs/libpng )
- jpeg? ( media-libs/jpeg )
- tiff? ( media-libs/tiff )
+ media-libs/giflib
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/tiff
sys-libs/zlib
odbc? ( dev-db/unixODBC )
opengl? ( virtual/opengl )
- motif? ( x11-libs/openmotif )
gtk? ( =x11-libs/gtk+-1.2* )
- gtk2? ( >=x11-libs/gtk+-2.0* )
- X? ( virtual/x11 )"
+ gtk2? ( >=x11-libs/gtk+-2.0* dev-libs/libunicode )"
RDEPEND="nls? ( sys-devel/gettext )"
pkg_setup() {
@@ -34,6 +33,8 @@ pkg_setup() {
src_compile() {
local myconf
+ myconf="--enable-gif --with-libtiff --with-zlib --with-libpng \
+ --enable-png --with-libjpeg"
#Note: pcx image support enabled by default if found.
#Also, all wxWindows gui features are enabled by default. If you
@@ -49,16 +50,6 @@ src_compile() {
&& myconf="${myconf} --enable-static" \
|| myconf="${myconf} --disable-static"
- use gif \
- && myconf="${myconf} --enable-gif" \
- || myconf="${myconf} --disable-gif"
-
- use tiff \
- && myconf="${myconf} --with-libtiff" \
- || myconf="${myconf} --without-libtiff"
-
- myconf="${myconf} --with-zlib"
-
use odbc \
&& myconf="${myconf} --with-odbc" \
|| myconf="${myconf} --without-odbc"
@@ -67,14 +58,6 @@ src_compile() {
&& myconf="${myconf} --with-opengl" \
|| myconf="${myconf} --without-opengl"
- use png \
- && myconf="${myconf} --with-libpng --enable-png" \
- || myconf="${myconf} --without-libpng --disable-png"
-
- use jpeg \
- && myconf="${myconf} --with-libjpeg" \
- || myconf="${myconf} --without-libjpeg"
-
use X && myconf="${myconf} --with-x"
# here we specify our own preference of which toolkit to build ...