# ChangeLog for net-p2p/amule
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.32 2004/10/05 17:03:55 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.33 2004/10/06 16:53:02 pythonhead Exp $
+
+ 06 Oct 2004; Rob Cakebread <pythonhead@gentoo.org> amule-1.2.8.ebuild:
+ Uses wxwidgets eclass now. bug# 63469
*amule-2.0.0_rc6 (05 Oct 2004)
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 473d7cb31641192c40fa7044f5871b72 amule-2.0.0_rc5.ebuild 2354
-MD5 f153783e2f1015228e6976e919cef61b ChangeLog 4590
-MD5 db6de540cb4d1cc82c65ec0474c45901 amule-1.2.8.ebuild 1101
-MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 fbe5126e56df826f7754b781d4dbe9fa ChangeLog 4705
MD5 b1b0c24f477bfdce2393e60e1a0975d8 amule-2.0.0_rc6.ebuild 2190
-MD5 25f3451bd4e421754b720ec5f10605b4 files/digest-amule-2.0.0_rc5 68
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 2eb82ce4820ccf716a53bfd75766ce79 amule-1.2.8.ebuild 928
+MD5 473d7cb31641192c40fa7044f5871b72 amule-2.0.0_rc5.ebuild 2354
MD5 f2547d4da315bc18cab4eb08898633c9 files/digest-amule-2.0.0_rc6 68
MD5 6222124296125a6909963944434e0291 files/digest-amule-1.2.8 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBYtQBcAgAdbxYsnERAvNvAJ4ud70B4EwXxg100/SKo/mray4ECgCeI7Xb
-HhWwwStkCjJVRdbvrPPJNK8=
-=c9px
------END PGP SIGNATURE-----
+MD5 25f3451bd4e421754b720ec5f10605b4 files/digest-amule-2.0.0_rc5 68
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-1.2.8.ebuild,v 1.3 2004/08/24 17:37:32 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-1.2.8.ebuild,v 1.4 2004/10/06 16:53:02 pythonhead Exp $
+
+inherit wxwidgets
MY_P=${P/m/M}
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64"
-IUSE="debug nls remote"
+IUSE="debug nls remote gtk2"
-DEPEND=">=x11-libs/wxGTK-2.4.2
+DEPEND=">=x11-libs/wxGTK-2.4.2-r2
>=net-misc/curl-7.11.0
>=sys-libs/zlib-1.2.1
!net-p2p/xmule"
-pkg_setup() {
- if wx-config --cppflags | grep gtk2u >& /dev/null; then
- einfo "${PN} will not build if wxGTK was compiled"
- einfo "with unicode support. If you are using a version of"
- einfo "wxGTK <= 2.4.2, you must set USE=-gtk2. In newer versions,"
- einfo "you must set USE=-unicode."
- die "wxGTK must be re-emerged without unicode suport"
- fi
-}
-
src_compile() {
+ if ! use gtk2 ; then
+ need-wxwidgets gtk || die "gtk version of wxGTK not found"
+ else
+ need-wxwidgets gtk2 || die "gtk2 version of wxGTK not found"
+ fi
econf `use_enable nls` \
`use_enable remote amulecmd` \
`use_enable debug` || die