diff options
author | 2005-11-26 17:32:08 +0000 | |
---|---|---|
committer | 2005-11-26 17:32:08 +0000 | |
commit | 38f1d0b088af73c9b5e9352f37e8403ccc881720 (patch) | |
tree | df3a9ed1d265f739d7776ee5feac9a98ee4ef834 /x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild | |
parent | Remove the reference to the patch completely. Forgot to remove it before com... (diff) | |
download | gentoo-2-38f1d0b088af73c9b5e9352f37e8403ccc881720.tar.gz gentoo-2-38f1d0b088af73c9b5e9352f37e8403ccc881720.tar.bz2 gentoo-2-38f1d0b088af73c9b5e9352f37e8403ccc881720.zip |
Fixed amule and pgadmin3 crash while using broken wxGTK-2.6.2 with unicode support, bug #109483 and #109218
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild')
-rw-r--r-- | x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild b/x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild new file mode 100644 index 000000000000..33ae6c96758c --- /dev/null +++ b/x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild,v 1.1 2005/11/26 17:32:08 sekretarz Exp $ + +inherit wxlib gnuconfig + +DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and +wxbase non-gui library" + +SLOT="2.6" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="gnome joystick odbc opengl sdl X" +RDEPEND="${RDEPEND} + opengl? ( virtual/opengl ) + >=x11-libs/gtk+-2.0 + >=dev-libs/glib-2.0 + media-libs/tiff + odbc? ( dev-db/unixODBC ) + !mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) )" + +DEPEND="${RDEPEND} + ${DEPEND} + dev-util/pkgconfig" +S=${WORKDIR}/wxWidgets-${PV} + +pkg_setup() { + einfo "To install only wxbase (non-gui libs) use USE=-X" +} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/intl.cpp.diff +} + +src_compile() { + gnuconfig_update + myconf="${myconf} + --with-png + --with-jpeg + --with-tiff + $(use_enable opengl) + $(use_with opengl) + $(use_with gnome gnomeprint) + $(use_with sdl) + $(use_enable joystick)" + + use X && configure_build gtk2 unicode "${myconf} --with-gtk=2" + use X || configure_build base unicode "--disable-gui" +} + +src_install() { + use X && install_build gtk2 + use X || install_build base + + wxlib_src_install +} + +pkg_postinst() { + einfo "dev-libs/wxbase has been removed from portage and can be" + einfo "installed with wxGTK by specifying the USE flags" + einfo "-X" +} |