diff options
author | Paul Belt <gaarde@gentoo.org> | 2002-08-27 04:00:35 +0000 |
---|---|---|
committer | Paul Belt <gaarde@gentoo.org> | 2002-08-27 04:00:35 +0000 |
commit | 51f8bd110e982871a2419813b7d754f458360dd0 (patch) | |
tree | d22031aeedd8014423a75fe2f83fcfcfbff52dda | |
parent | fix #6814 (diff) | |
download | historical-51f8bd110e982871a2419813b7d754f458360dd0.tar.gz historical-51f8bd110e982871a2419813b7d754f458360dd0.tar.bz2 historical-51f8bd110e982871a2419813b7d754f458360dd0.zip |
gaim version bump to 0.59.1
-rw-r--r-- | net-im/gaim/files/digest-gaim-0.59.1 | 1 | ||||
-rw-r--r-- | net-im/gaim/gaim-0.59.1.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/net-im/gaim/files/digest-gaim-0.59.1 b/net-im/gaim/files/digest-gaim-0.59.1 new file mode 100644 index 000000000000..16eb0c7033a0 --- /dev/null +++ b/net-im/gaim/files/digest-gaim-0.59.1 @@ -0,0 +1 @@ +MD5 54b85690b75ee1b9f4801f01f1af4f82 gaim-0.59.1.tar.bz2 1553000 diff --git a/net-im/gaim/gaim-0.59.1.ebuild b/net-im/gaim/gaim-0.59.1.ebuild new file mode 100644 index 000000000000..030645873421 --- /dev/null +++ b/net-im/gaim/gaim-0.59.1.ebuild @@ -0,0 +1,92 @@ +# 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.1.ebuild,v 1.1 2002/08/27 04:00:35 gaarde 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 + # PULLED -- got complaints it was hosing gtk2 non-korean users + # 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 +} |