diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-11-12 13:55:52 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-11-12 13:55:52 +0000 |
commit | 0e44e1f6b74997d61ca66bb3fe58012b4f161320 (patch) | |
tree | 51a1198f14fcc08a92923b1c93cc7b7d6c29dc0e /x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild | |
parent | Added dependencies virtual/yacc and sys-devel/flex (thanks to bay, bug 387649) (diff) | |
download | gentoo-2-0e44e1f6b74997d61ca66bb3fe58012b4f161320.tar.gz gentoo-2-0e44e1f6b74997d61ca66bb3fe58012b4f161320.tar.bz2 gentoo-2-0e44e1f6b74997d61ca66bb3fe58012b4f161320.zip |
Corrected Slotting and versioning, thanks leio spotting that
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild')
-rw-r--r-- | x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild b/x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild index 2d9039f86f5a..0737fe4cc85c 100644 --- a/x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild +++ b/x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild,v 1.3 2011/11/12 11:09:11 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.12.0.ebuild,v 1.4 2011/11/12 13:55:52 jlec Exp $ EAPI="2" @@ -16,23 +16,23 @@ BASE_P="${PN}-${BASE_PV}" # docs, and are released more frequently than wxGTK. SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="X doc debug gnome gstreamer odbc opengl pch sdl tiff" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="X aqua doc debug gnome gstreamer odbc opengl pch sdl tiff" RDEPEND=" dev-libs/expat odbc? ( dev-db/unixODBC ) sdl? ( media-libs/libsdl ) X? ( - >=dev-libs/glib-2.22:2 + dev-libs/glib:2 media-libs/libpng:0 sys-libs/zlib virtual/jpeg - >=x11-libs/gtk+-2.18:2 + x11-libs/gtk+:2 x11-libs/libSM x11-libs/libXinerama x11-libs/libXxf86vm - x11-libs/pango + x11-libs/pango[X] gnome? ( gnome-base/libgnomeprintui:2.2 ) gstreamer? ( gnome-base/gconf:2 @@ -40,6 +40,11 @@ RDEPEND=" >=media-libs/gst-plugins-base-0.10 ) opengl? ( virtual/opengl ) tiff? ( media-libs/tiff:0 ) + ) + aqua? ( + >=x11-libs/gtk+-2.4[aqua=] + virtual/jpeg + tiff? ( media-libs/tiff:0 ) )" DEPEND="${RDEPEND} @@ -102,10 +107,21 @@ src_configure() { $(use_with gnome gnomeprint) --without-gnomevfs" + use aqua && \ + myconf="${myconf} + --enable-graphics_ctx + --enable-gui + --with-libpng=sys + --with-libxpm=sys + --with-libjpeg=sys + --with-mac + --with-opengl" + # cocoa toolkit seems to be broken # wxBase options - use X || \ + if use !X && use !aqua ; then myconf="${myconf} --disable-gui" + fi mkdir "${S}"/wxgtk_build cd "${S}"/wxgtk_build @@ -144,7 +160,7 @@ src_install() { fi # We don't want this - rm "${D}"usr/share/locale/it/LC_MESSAGES/wxmsw.mo + rm "${ED}"usr/share/locale/it/LC_MESSAGES/wxmsw.mo } pkg_postinst() { |