summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-11-28 12:29:55 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-11-28 12:29:55 +0000
commit9399da890faaee0040546a48739e12cc35f73f27 (patch)
treec22e979f4b4e42dce7d00da5a2fb3b697d96ec5b /net-im
parentx11-libs/libX11: fix bug #294598, missing !, quite embarassing (diff)
downloadgentoo-2-9399da890faaee0040546a48739e12cc35f73f27.tar.gz
gentoo-2-9399da890faaee0040546a48739e12cc35f73f27.tar.bz2
gentoo-2-9399da890faaee0040546a48739e12cc35f73f27.zip
Fix pre-stripped files.
Fix bug 285682. Thanks to Pacho Ramos. (Portage version: 14755-svn/cvs/Linux ppc)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/amsn/ChangeLog8
-rw-r--r--net-im/amsn/amsn-0.98.1-r1.ebuild78
2 files changed, 85 insertions, 1 deletions
diff --git a/net-im/amsn/ChangeLog b/net-im/amsn/ChangeLog
index 6450a729397e..737fa30345e2 100644
--- a/net-im/amsn/ChangeLog
+++ b/net-im/amsn/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/amsn
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.93 2009/11/22 06:12:08 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.94 2009/11/28 12:29:55 volkmar Exp $
+
+*amsn-0.98.1-r1 (28 Nov 2009)
+
+ 28 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> +amsn-0.98.1-r1.ebuild:
+ Fix pre-stripped files, bug 285682
+ Thanks to Pacho Ramos.
*amsn-0.98.1 (22 Nov 2009)
diff --git a/net-im/amsn/amsn-0.98.1-r1.ebuild b/net-im/amsn/amsn-0.98.1-r1.ebuild
new file mode 100644
index 000000000000..15590f39e755
--- /dev/null
+++ b/net-im/amsn/amsn-0.98.1-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.1-r1.ebuild,v 1.1 2009/11/28 12:29:55 volkmar Exp $
+
+EAPI=2
+
+inherit eutils fdo-mime gnome2-utils
+
+MY_P=${P/_rc/RC}
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Alvaro's Messenger client for MSN"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.amsn-project.net"
+
+# The tests are interactive
+RESTRICT="test"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc -sparc ~x86"
+IUSE="debug"
+
+DEPEND=">=dev-lang/tcl-8.4
+ >=dev-lang/tk-8.4
+ media-libs/jpeg
+ media-libs/libpng
+ >=dev-tcltk/snack-2.2.10
+ >=net-libs/farsight2-0.0.14
+ >=media-libs/gstreamer-0.10.23
+ >=media-libs/gst-plugins-base-0.10.23
+ >=net-libs/gupnp-igd-0.1.3
+ media-libs/libv4l"
+
+RDEPEND="${DEPEND}
+ >=dev-tcltk/tls-1.5
+ >=media-libs/gst-plugins-good-0.10.15
+ >=media-libs/gst-plugins-bad-0.10.13
+ >=media-plugins/gst-plugins-ffmpeg-0.10.7
+ media-video/ffmpeg[encode]"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.98-noautoupdate.patch"
+ # only portage should strip files, bug 285682
+ sed -i -e "s/LDFLAGS += -s/LDFLAGS += /" Makefile.in || die "sed failed"
+}
+
+src_configure() {
+ econf $(use_enable debug) || die "configure script failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AGREEMENT TODO README FAQ CREDITS
+
+ domenu amsn.desktop
+ sed -i -e s:.png:: "${D}/usr/share/applications/amsn.desktop"
+
+ cd desktop-icons
+ for i in *; do
+ if [ -e ${i}/msn.png ]; then
+ insinto /usr/share/icons/hicolor/${i}/apps
+ doins ${i}/msn.png
+ fi
+ done
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up."
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}