summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/amsn')
-rw-r--r--net-im/amsn/ChangeLog7
-rw-r--r--net-im/amsn/amsn-0.91.ebuild91
-rw-r--r--net-im/amsn/files/digest-amsn-0.911
3 files changed, 98 insertions, 1 deletions
diff --git a/net-im/amsn/ChangeLog b/net-im/amsn/ChangeLog
index 808ea3d46bd5..a22ef6373319 100644
--- a/net-im/amsn/ChangeLog
+++ b/net-im/amsn/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/amsn
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.28 2004/04/11 23:27:52 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.29 2004/04/30 18:33:52 tester Exp $
+
+*amsn-0.91 (30 Apr 2004)
+
+ 30 Apr 2004; <tester@gentoo.org> +amsn-0.91.ebuild:
+ Version bump, cleaned up the ebuild.
12 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> amsn-0.90.ebuild:
marked ~amd64
diff --git a/net-im/amsn/amsn-0.91.ebuild b/net-im/amsn/amsn-0.91.ebuild
new file mode 100644
index 000000000000..d0035973a9c4
--- /dev/null
+++ b/net-im/amsn/amsn-0.91.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.91.ebuild,v 1.1 2004/04/30 18:34:01 tester Exp $
+
+S="${WORKDIR}/msn"
+DESCRIPTION="Alvaro's Messenger client for MSN"
+SRC_URI="mirror://sourceforge/${PN}/${P/./_}.tar.gz"
+HOMEPAGE="http://amsn.sourceforge.net"
+
+IUSE="gnome kde imlib imagemagick xmms"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~alpha ~sparc ~ppc ~hppa ~amd64"
+
+
+DEPEND=">=dev-lang/tcl-8.3.3
+ >=dev-lang/tk-8.3.3
+ imlib? ( media-libs/imlib )"
+
+RDEPEND="${DEPEND}
+ dev-tcltk/tls
+ imagemagick? ( media-gfx/imagemagick )
+ xmms? ( media-plugins/xmms-infopipe )"
+
+src_compile() {
+
+ if use imlib
+ then
+ einfo "Compiling the freedesktop notification plugin"
+ cd ${S}/plugins/traydock
+ econf || die
+ make || die
+ fi
+}
+
+src_install() {
+ dodir /usr/share/amsn/
+ cp -a ${S}/* ${D}/usr/share/amsn/
+
+ # Remove all CVS extra stuff
+ # not here in this version
+ # find ${D} -type d -name CVS -exec rm -rf {} \;
+
+ if use gnome
+ then
+ dodir /usr/share/applications
+ cp ${D}/usr/share/amsn/amsn.desktop ${D}/usr/share/applications
+ einfo "Installing GNOME Icons in /usr/share/pixmaps"
+ dodir /usr/share/pixmaps
+ cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/
+ fi
+
+
+ if use kde
+ then
+ dodir /usr/share/applnk/Internet
+ cp ${D}/usr/share/amsn/amsn.desktop ${D}/usr/share/applnk/Internet/
+ einfo "Installing KDE Icons in default theme"
+ dodir ${KDEDIR}/share/icons/default.kde
+ cp -a ${S}/icons/* ${D}/${KDEDIR}/share/icons/default.kde
+ fi
+
+ if use imlib
+ then
+ einfo "Installing the freedesktop notification plugin"
+ dodir /usr/lib/amsn/plugins/traydock
+ mv ${D}/usr/share/amsn/plugins/traydock/libtray.so ${D}/usr/lib/amsn/plugins/traydock
+ rm -rf ${D}/usr/share/amsn/plugins/*
+ ln -s /usr/lib/amsn/plugins/traydock ${D}/usr/share/amsn/plugins/traydock
+ else
+ rm -rf ${D}/usr/share/amsn/plugins/*
+ fi
+ cp -a ${S}/plugins/BWidget* ${D}/usr/share/amsn/plugins/
+ cp -a ${S}/plugins/tclzlib* ${D}/usr/share/amsn/plugins/
+
+ rm -rf ${D}/usr/share/amsn/utils/
+
+ dodir /usr/bin/
+ ln -s /usr/share/amsn/amsn ${D}/usr/bin/amsn
+
+ cd ${D}/usr/share/amsn
+ rm -f TODO README FAQ CREDITS HELP
+ dodoc TODO README FAQ CREDITS HELP
+}
+pkg_postinst() {
+ if use xmms
+ then
+ einfo "For XMMS use in amsn, make sure the xmms-infopipe plugin is enabled."
+ fi
+}
diff --git a/net-im/amsn/files/digest-amsn-0.91 b/net-im/amsn/files/digest-amsn-0.91
new file mode 100644
index 000000000000..0fe00ddc4ac5
--- /dev/null
+++ b/net-im/amsn/files/digest-amsn-0.91
@@ -0,0 +1 @@
+MD5 1d3de617774f0d3a27ac38a7c4cdf8b9 amsn-0_91.tar.gz 1949411