Portage is a package management system used by Gentoo Linux
# ChangeLog for net-im/amsn
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.98 2010/07/17 09:22:08 fauli Exp $
17 Jul 2010; Christian Faulhammer
stable x86, bug 327379
14 Jul 2010; Jeroen Roovers
Stable for HPPA (bug #327379).
09 Jul 2010; Pacho Ramos
stable amd64, bug 327379
*amsn-0.98.3 (08 Mar 2010)
08 Mar 2010; Olivier Crête
New version, video calls have been disabled upstream because MSN turned
off the server for the older protocol
*amsn-0.98.1-r1 (28 Nov 2009)
28 Nov 2009; Mounir Lamouri
Fix pre-stripped files, bug 285682
Thanks to Pacho Ramos.
*amsn-0.98.1 (22 Nov 2009)
22 Nov 2009; Olivier Crête
+amsn-0.98.1.ebuild:
Version bump, bug #293661
18 Oct 2009; Tobias Klausmann
Keyworded on alpha, bug #282989
07 Oct 2009; nixnut
ppc stable #287479
06 Oct 2009; Raúl Porcel
alpha stable wrt #287479
05 Oct 2009; Markus Meier
amd64/x86 stable, bug #287479
20 Sep 2009; Mounir Lamouri
Keywording for ppc. Bug 282989
01 Sep 2009; Jeroen Roovers
Marked ~hppa (bug #282989).
27 Aug 2009; Olivier Crête
+files/amsn-0.98-noautoupdate.patch:
Add patch to disable auto-update
*amsn-0.98 (27 Aug 2009)
27 Aug 2009; Olivier Crête
Version bump. Dropped alpha, hppa, ppc because of missing deps
*amsn-0.97.2-r1 (01 Feb 2009)
01 Feb 2009; Olivier Crête
+files/amsn-0.97.2-TkCximage.patch, +files/amsn-0.97.2-http-fix.patch,
+amsn-0.97.2-r1.ebuild:
Add fixes for tcltk 8.5.6 compat, bug #255728
12 Jan 2009; Olivier Crête
-files/amsn-0.96-dos.patch, -files/amsn-0.97_rc1-autoconf-logic.patch,
-amsn-0.96-r1.ebuild, -amsn-0.97.ebuild:
Cleanup old versions
08 Aug 2008; nixnut
Stable on ppc wrt bug 234105
08 Aug 2008; Raúl Porcel
alpha/x86 stable wrt #234105
07 Aug 2008; Olivier Crête
Stable on amd64, bug #234105
07 Aug 2008; Jeroen Roovers
Stable for HPPA (bug #234105).
*amsn-0.97.2 (05 Aug 2008)
05 Aug 2008; Olivier Crête
+amsn-0.97.2.ebuild:
Version bump
*amsn-0.97.1 (30 Jun 2008)
30 Jun 2008; Olivier Crête
-amsn-0.97_rc1.ebuild, +amsn-0.97.1.ebuild:
Version bump, remove old stuff
19 Mar 2008; Jeroen Roovers
Stable for HPPA too.
29 Feb 2008; Steve Dibb
amd64 stable
*amsn-0.97 (01 Jan 2008)
01 Jan 2008;
Version bump
14 Jul 2007; Raúl Porcel
Re-add ~alpha wrt #185250
14 Jul 2007; Jeroen Roovers
Marked ~hppa (bug #185250).
*amsn-0.97_rc1 (13 Jul 2007)
13 Jul 2007; Tony Vroon
+files/amsn-0.97_rc1-autoconf-logic.patch,
+files/amsn-0.97_rc1-nostrip.patch, +amsn-0.97_rc1.ebuild:
Version bump, closes bug #179467. Suggested ebuild not used as I had to tame
a wild build system that was pre-stripping binaries and not listening to
--enable flags. Thanks to Edge
account. Dropped ~alpha & ~hppa keywords over dev-tcltk/snack dependency,
filed bug #185250.
30 Apr 2007; Jose Luis Rivero
Alpha stable wrt security bug #175563
24 Apr 2007; Tobias Scherbaum
ppc stable, bug #175563
24 Apr 2007; Gustavo Zacarias
amsn-0.95-r4.ebuild, amsn-0.96-r1.ebuild:
-sparc since it breaks with gcc4 for us see #175563
24 Apr 2007; Jeroen Roovers
Stable for HPPA (bug #175563).
24 Apr 2007; Christian Faulhammer
stable x86, security bug 175563
23 Apr 2007; Steve Dibb
amsn-0.96-r1.ebuild:
amd64 stable, security bug 175563
*amsn-0.96-r1 (23 Apr 2007)
*amsn-0.95-r4 (23 Apr 2007)
23 Apr 2007;
+files/amsn-0.96-dos.patch, -amsn-0.94.ebuild, +amsn-0.95-r4.ebuild,
-amsn-0.96.ebuild, +amsn-0.96-r1.ebuild:
Add patches provided by upstream to fix a DoS (bug #175563)
22 Feb 2007; Piotr Jaroszyński
Transition to Manifest2.
21 Dec 2006; Olivier Crête
Install icons properly
*amsn-0.96 (24 Nov 2006)
24 Nov 2006; Olivier Crête
+amsn-0.96.ebuild:
Version bump, cleaner ebuild, removed rc
13 Nov 2006; Diego Pettenò
Remove xmms useflag.
06 Nov 2006; Alexander H. Færøy
Stable on Alpha. Bug 153108
02 Nov 2006; Christian Faulhammer
stabled x86, bug #153108
30 Oct 2006; Jason Wever
Stable on SPARC wrt bug #153108.
28 Oct 2006; Jeroen Roovers
Stable for HPPA (bug #153108).
28 Oct 2006; Chris White
PPC stable for bug #153108.
28 Oct 2006; Olivier Crête
Stable on amd64
*amsn-0.96_rc1 (09 Jul 2006)
*amsn-0.95-r3 (09 Jul 2006)
09 Jul 2006; Olivier Crête
+amsn-0.95-r3.ebuild, +amsn-0.96_rc1.ebuild:
Version bump and cleanup of olders ebuilds, thanks to the work done on bug
#81893
12 Jan 2006; Gustavo Zacarias
Stable on sparc
*amsn-0.95-r2 (03 Jan 2006)
03 Jan 2006; Olivier Crête
-amsn-0.95-r1.ebuild, +amsn-0.95-r2.ebuild:
Version bump under the same file name, will take some time until it hits the
mirrors
*amsn-0.95-r1 (28 Dec 2005)
28 Dec 2005;
fixed bug#116922
27 Dec 2005;
version bump
15 Sep 2005; Aron Griffis
Mark 0.94 stable on alpha
05 Sep 2005; Olivier Crête
Fixed utf-8 issues in per bug #104663
26 Aug 2005;
Using -pPR instead -a option in cp, bug #103487
07 Apr 2005; Simon Stelling
stable on amd64
17 Mar 2005; Michael Hanselmann
Stable on ppc.
05 Jan 2005; Guy Martin
Stable on hppa.
02 Dec 2004; Olivier Crete
Stable on x86
16 Nov 2004; Olivier Crete
Fix traydock installation, bug 56188
*amsn-0.94 (06 Nov 2004)
06 Nov 2004; Olivier Crete
-amsn-0.90.ebuild, -amsn-0.92.ebuild, +amsn-0.94.ebuild:
Version bump and clean up older versions
05 Nov 2004; Travis Tilley
stable on amd64
05 Oct 2004; Guy Martin
Stable on hppa.
14 Sep 2004; Olivier Crete
Stable on x86
*amsn-0.93 (28 Aug 2004)
28 Aug 2004;
Version bump
03 Aug 2004; Guy Martin
Marked stable on hppa.
23 Jun 2004;
Cleaned up 0.83 and 0.91
10 Jun 2004; Aron Griffis
amsn-0.90.ebuild:
Fix use invocation
*amsn-0.92 (31 May 2004)
31 May 2004;
Version bump, removed imagemagick useflag, it doesnt work well without it
01 May 2004;
Changed dep to tcltk >=8.4 because of a bug in tk <=8.4. Fixed installation
to not depend on tcllib.
*amsn-0.91 (30 Apr 2004)
30 Apr 2004;
Version bump, cleaned up the ebuild.
12 Apr 2004; Danny van Dyk
marked ~amd64
04 Apr 2004; Guy Martin
Marked stable on hppa.
31 Mar 2004; Lars Weiler
Added ~ppc to keywords as requested in bug 45854
23 Feb 2004;
tls dependency is NOT optional... Also fixed .desktop file so it actually works
23 Feb 2004; Tavis Ormandy
marking ~alpha
22 Feb 2004; Gustavo Felisberto
Fixed DEPEND
21 Feb 2004; Gustavo Felisberto
Adding some dependencies thanks to Patrick
41984
*amsn-0.90 (18 Feb 2004)
18 Feb 2004; Gustavo Felisberto
Adding version 0.9. Thanks to aq169@netscape.net in bug 41984
04 Jan 2004; Olivier Crete
Improved .desktop file by Abraham Marin Perez
#36830
*amsn-0.83 (20 Oct 2003)
26 Dec 2003; Guy Martin
Marked stable on hppa.
20 Oct 2003; Olivier Crete
Updated to 0.83, because of the msn protocol change, the older version is no
longer working. Putting this one straight into stable
08 Oct 2003; Olivier Crete
Mark 0.82 stable
23 Sep 2003; Olivier Crete
metadata.xml:
Add dev-tcltk/tls per submitted ebuild by Erik Tørrissen
*amsn-0.82 (23 Sep 2003)
23 Sep 2003; Olivier Crete
amsn-0.82.ebuild, metadata.xml:
New upstream version, mark previous version as stable
*amsn-0.81 (06 Aug 2003)
06 Aug 2003; Olivier Crete
Version bump
*amsn-0.80 (24 Jul 2003)
01 Aug 2003; Tavis Ormandy
sandbox issues, quick fix.
24 Jul 2003; Olivier Crete
files/amsn.desktop:
Adding ebuild for 0.80, based on submission by Eduardo Garcia Cebollero
*amsn-0.71 (7 Dec 2002) Bart Verwilst
15 Apr 2003: Jason Wever
Added ~sparc to keywords.
03 Feb 2003; Jon Nall
added ~ppc
New version
*amsn-0.61.3 (26 Nov 2002) Bart Verwilst
Another snapshot.. Only 3 days after the previous one, but hey :o)
*amsn-0.61.2 (9 Nov 2002) Bart Verwilst
Another snapshot, with quite a nice changelog. Brought to my attention
by Diego Palacios.
* amsn-0.61.1 (15 Sept 2002) Bart Verwilst
This is actually a snapshot, with lots of bufixes and new features,
also, filetransfer seems much more stable now :o) Enjoy!
* amsn-0.60 (3 July 2002) Bart Verwilst
Initial ebuild
1 Sept 2002; Bart Verwilst
Added tk to the DEPEND, wouldn't start otherwise
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX amsn-0.97.2-TkCximage.patch 3451 RMD160 ecb50e3e98e8c0142c12a11be2345069286fbbba SHA1 be3c392d856ff7150f437c6419a6dd63f40e92dc SHA256 51b02012d51ad981d307f8b816aa783214a9b7811198136ef0fc1bd68ed5a8fc
AUX amsn-0.97.2-http-fix.patch 771 RMD160 10eb6467d140e84ae8bc1726013b1630b1af78ff SHA1 12793ccdcfcaab341c515dbee991e5d4d5ce246b SHA256 9caa3e9b439f690114e4dc7609221dba3d662e857233208cc9e44009209d6b1c
AUX amsn-0.97_rc1-nostrip.patch 281 RMD160 9276deedc6df1ea49031a11e61b171a7739703b4 SHA1 00e23dae355531073cb5317d64c1a5703b703981 SHA256 309684e00439feaee29240f59b486bbcd895bbfb057da99b1d06c6c57d98929d
AUX amsn-0.98-noautoupdate.patch 1371 RMD160 ea2b1ca3dfda02b07be649973d273ec0eccb53a1 SHA1 6d472886ab0d9a218000f17bdcbf4fc143a37baa SHA256 e4ffbe486dd48b72e8a5fda212c76a800b760e2b9dab22c34df280cb544274af
DIST amsn-0.97.2.tar.bz2 3431430 RMD160 cfc195a1f35d262c71265e6412df6611027ece45 SHA1 22452bb5973c9fb38e6feb3a37b8d6453c56600e SHA256 1026b99a112f840c14b30c161895ac8b6b1b613c9d955eddb07c56d738b8b80b
DIST amsn-0.98.1.tar.bz2 9024043 RMD160 350e9774df39eb4b00e05e841d7a749cb6ffa8a4 SHA1 7403e067fe05406d497807fd3bbbfbdb035620c4 SHA256 36ee0e276154c5d08b9a6da3a60e85a92b2f18eb831dc058ac33728eed0a76fd
DIST amsn-0.98.3-src.tar.bz2 13275477 RMD160 20f707062da4a5ab1eb6beec49d01dfd2ba90a99 SHA1 aa8383a11ce66352aceee27f9c291c1410b3403d SHA256 43b76da9d886fd2cdcf8a7e21c9872141228a2ad1defaca8ad537722a32e0d88
EBUILD amsn-0.97.2-r1.ebuild 1664 RMD160 82792f95243df275a199706fc3c7183fc60a933c SHA1 bfbf096108626690f3bffa96797de0bf16b00892 SHA256 3ba74d19783842083938af6a3f2b0093f7500c236679f79c55f1ee389e3708d7
EBUILD amsn-0.97.2.ebuild 1561 RMD160 d83e722baa828dcc93b6337bfc8af8f6d4e5eacd SHA1 abe4f4b16fb0cafbfbdf0cae6e2fdf412b3764ba SHA256 48284b80a650de03c32b4f9f0c919b86593ae2ba2b1c5a866b8665629ffa85cd
EBUILD amsn-0.98.1-r1.ebuild 1876 RMD160 18d4fe68b3c2cf1f955861d6271a1378f3826692 SHA1 25a5630d160de903cc67f3cd8e53bf6dacdb8c85 SHA256 e9b0958bce2d524f88b54f7006f41fc9ff3426c4532aa5b04b551d68c105ecab
EBUILD amsn-0.98.1.ebuild 1751 RMD160 e1814d0043fa186448853f31c35fc75877bff4e5 SHA1 6ec8eda59cce118161cbe95eb33128a77525c88d SHA256 76a37ae526d285428f60db3fc52dfc2d5297c320fbccf43e0c4e71edf5593431
EBUILD amsn-0.98.3.ebuild 1884 RMD160 ced9004bd8ed119e11ffae1b8572a2937539fe88 SHA1 6e92e93cab57c14a55c38ed8a56e154e1750aa2c SHA256 e9bcf45a745eaa21ca62ffcaf79e11cbcf28c6e409b2eedb4ccbc65f6fc465bf
MISC ChangeLog 12145 RMD160 accf750b55fb850007c33ee2fc7811a3e7a58167 SHA1 69c9d8bcd69d405f5408b483448b15401c5d326e SHA256 a9e26cb3a3fd3378888ca7a84fa291e623ce948fb791a1a614ae8e4dac907a62
MISC metadata.xml 228 RMD160 d75298dd38147e4c60991454366d6d9cc14985bb SHA1 9f2cadd0fee8f845e833c429f3e6d3a4e2a207b4 SHA256 0ca6e1352c0e4284a99ed8f0267b6835a5e33e2d8b94a08f1af6ad58fd72d942
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
iEYEARECAAYFAkxBdrsACgkQNQqtfCuFneOsdACggdJrT2fnaOiGlL85weWPK44f
2b0AnRoAbJ/fZXC6WQrPVwtMpD97hURN
=4uDK
-----END PGP SIGNATURE-----
# 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.97.2-r1.ebuild,v 1.4 2009/10/07 17:28:50 nixnut Exp $
inherit autotools 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 static"
DEPEND=">=dev-lang/tcl-8.4
>=dev-lang/tk-8.4
>=dev-tcltk/tls-1.4.1
media-libs/jpeg
media-libs/libpng
>=dev-tcltk/snack-2.2.10"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-0.97_rc1-nostrip.patch"
epatch "${FILESDIR}/amsn-0.97.2-http-fix.patch"
epatch "${FILESDIR}/amsn-0.97.2-TkCximage.patch"
eautoconf
}
src_compile() {
econf \
$(use_enable debug) \
$(use_enable static) \
|| die "configure script failed"
emake || die "Compilation 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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.97.2.ebuild,v 1.5 2008/08/08 18:55:40 nixnut Exp $
inherit autotools 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 static"
DEPEND=">=dev-lang/tcl-8.4
>=dev-lang/tk-8.4
>=dev-tcltk/tls-1.4.1
media-libs/jpeg
media-libs/libpng
>=dev-tcltk/snack-2.2.10"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-0.97_rc1-nostrip.patch"
eautoconf
}
src_compile() {
econf \
$(use_enable debug) \
$(use_enable static) \
|| die "configure script failed"
emake || die "Compilation 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
}
# 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
}
# 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.ebuild,v 1.1 2009/11/22 06:12:08 tester 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"
}
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
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.3.ebuild,v 1.4 2010/07/17 09:22:08 fauli 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}/${PV}/${MY_P}-src.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/gupnp-igd-0.1.3
media-libs/libv4l"
# >=net-libs/farsight2-0.0.14
# >=media-libs/gstreamer-0.10.23
# >=media-libs/gst-plugins-base-0.10.23
RDEPEND="${DEPEND}
>=dev-tcltk/tls-1.5
media-video/ffmpeg[encode]"
# >=media-libs/gst-plugins-good-0.10.15
# >=media-libs/gst-plugins-bad-0.10.13
# >=media-plugins/gst-plugins-ffmpeg-0.10.7
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
}