diff options
author | 2002-08-18 23:51:57 +0000 | |
---|---|---|
committer | 2002-08-18 23:51:57 +0000 | |
commit | 124fed2d85015610099d5c4e4635b046773d2b0d (patch) | |
tree | 02457356443362b171a0fdc8423df92fbc39656c | |
parent | new stable version is released of mrproject, removed the mask (diff) | |
download | historical-124fed2d85015610099d5c4e4635b046773d2b0d.tar.gz historical-124fed2d85015610099d5c4e4635b046773d2b0d.tar.bz2 historical-124fed2d85015610099d5c4e4635b046773d2b0d.zip |
gtk2 keyword support
-rw-r--r-- | net-im/gaim/ChangeLog | 18 | ||||
-rw-r--r-- | net-im/gaim/files/digest-gaim-0.59-r3 | 1 | ||||
-rw-r--r-- | net-im/gaim/gaim-0.59-r3.ebuild | 91 |
3 files changed, 107 insertions, 3 deletions
diff --git a/net-im/gaim/ChangeLog b/net-im/gaim/ChangeLog index cf44230d1351..6cca00b2bbaa 100644 --- a/net-im/gaim/ChangeLog +++ b/net-im/gaim/ChangeLog @@ -2,13 +2,25 @@ # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL # $ Header: $ +*gaim-0.59-r3 (18 Aug 2002) + + 18 Aug 2002; Bruce A. Locke <blocke@shivan.org> gaim-0.59-r3.ebuild: + + Support for the optional "gtk2" keyword added to ebuild. Gaim can + now be built in one of the three following configurations: + + - gtk+ 1.2 version only + - gtk+ 1.2 version with gnome 1.4 applet + - gtk+ 2.0 version only + +*gaim-0.59-r2 (28 Jun 2002) + + 28 Jun 2002; Spider <spider@gentoo.org> gaim-0.59-r2.ebuild: -gaim-0.59-r2 ( 28 Jun 2002) - 28 Jun 2002; Spider <spider@gentoo.org> gaim-0.59-r2.ebuild: moved gnome-core to gnome-panel 1.4.1 - *gaim-0.59-r1 (27 June 2002) + 27 June 2002; Jays Kwak <jayskwak@gentoo.org> gaim-0.59-r1.ebuild Korean encoding patch for v0.59 added. diff --git a/net-im/gaim/files/digest-gaim-0.59-r3 b/net-im/gaim/files/digest-gaim-0.59-r3 new file mode 100644 index 000000000000..9db3fc84d835 --- /dev/null +++ b/net-im/gaim/files/digest-gaim-0.59-r3 @@ -0,0 +1 @@ +MD5 d32006df4d76095413b4bf0ab2d29351 gaim-0.59.tar.bz2 1496899 diff --git a/net-im/gaim/gaim-0.59-r3.ebuild b/net-im/gaim/gaim-0.59-r3.ebuild new file mode 100644 index 000000000000..38da8c1d79fe --- /dev/null +++ b/net-im/gaim/gaim-0.59-r3.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-im/gaim/gaim-0.59-r3.ebuild,v 1.1 2002/08/18 23:51:57 blocke Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GTK Instant Messenger client" +SRC_URI="mirror://sourceforge/gaim/${P}.tar.bz2" +HOMEPAGE="http://gaim.sourceforge.net" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc" + +DEPEND="=sys-libs/db-1* + esd? ( >=media-sound/esound-0.2.22-r2 ) + nls? ( sys-devel/gettext ) + nas? ( >=media-libs/nas-1.4.1-r1 ) + arts? ( >=kde-base/arts-0.9.5 ) + perl? ( >=sys-devel/perl-5.6.1 ) + gtk2? ( =x11-libs/gtk+-2.0* =dev-libs/glib-2.0* ) + || ( =x11-libs/gtk+-1.2* =dev-libs/glib-1.2* + ( gnome? ( =gnome-base/gnome-panel-1.4* >=media-libs/gdk-pixbuf-0.16.0 ) ) )" + +RDEPEND="${DEPEND}" + +src_unpack() { + + unpack ${P}.tar.bz2 + + # patch for korean encoding + # It should be ok with other languages + # the patch only works with nls + use nls && patch -p0 < ${FILESDIR}/${P}-korean.patch + +} + +src_compile() { + + local myopts gnomeopts + + use esd || myopts="--disable-esd" + use nas || myopts="${myopts} --disable-nas" + use perl || myopts="${myopts} --disable-perl" + + use arts || myopts="${myopts} --disable-artsc" + use arts && KDEDIR="${KDE3DIR}" + + use nls || myopts="${myopts} --disable-nls" + + gnomeopts="${myopts}" + + if [ "`use gtk2`" ]; + then + + # GTK+ 2 support + myopts="${myopts} --enable-gtk2" + + fi + + gnomeopts="${myopts}" + + # Gnome is disabled for GTK+ 2.0 build and first build of GTK 1.4 version + myopts="${myopts} --disable-gnome" + + # always build standalone gaim program + econf ${myopts} || die + emake || die + + # if gnome support is enabled (and gtk2 disabled), then build gaim_applet + if [ use gnome -a -z "`use gtk2`" ]; + then + gnomeopts="${gnomeopts} --with-gnome=${GNOME_PATH} --enable-panel" + + # save appletless version and clean up + cp src/gaim ${S}/gaim || die "standalone version failed to build" + make distclean || die + + econf ${gnomeopts} || die + emake || die + fi +} + +src_install () { + + make DESTDIR=${D} install || die + + # if gnome enabled, make sure to install standalone version also + use gnome && dobin ${S}/gaim + + dodoc ABOUT-NLS AUTHORS HACKING INSTALL NEWS README TODO +} |