Gentoo Archives: gentoo-commits

From: "Kevin McCarthy (signals)" <signals@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/amsn: ChangeLog amsn-0.98.4-r1.ebuild
Date: Thu, 28 Apr 2011 15:42:36
Message-Id: 20110428154227.724E820054@flycatcher.gentoo.org
1 signals 11/04/28 15:42:27
2
3 Modified: ChangeLog
4 Added: amsn-0.98.4-r1.ebuild
5 Log:
6 Add v4l2 compatibilty #363201. Build amsnplus/snapshot from source instead of installing the shipped 32-bit binary and add imlib dep required to build it.
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.104 net-im/amsn/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/ChangeLog?rev=1.104&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/ChangeLog?rev=1.104&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/ChangeLog?r1=1.103&r2=1.104
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v
20 retrieving revision 1.103
21 retrieving revision 1.104
22 diff -u -r1.103 -r1.104
23 --- ChangeLog 4 Apr 2011 14:46:21 -0000 1.103
24 +++ ChangeLog 28 Apr 2011 15:42:27 -0000 1.104
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-im/amsn
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.103 2011/04/04 14:46:21 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.104 2011/04/28 15:42:27 signals Exp $
30 +
31 +*amsn-0.98.4-r1 (28 Apr 2011)
32 +
33 + 28 Apr 2011; Kevin McCarthy <signals@g.o> +amsn-0.98.4-r1.ebuild,
34 + +files/amsn-0.98.4-amsnplus-ldflags.patch, +files/amsn-0.98.4-v4l2.patch:
35 + Add v4l2 compatibilty #363201. Build amsnplus/snapshot from source instead of
36 + installing the shipped 32-bit binary and add imlib dep required to build it.
37
38 04 Apr 2011; Tomáš Chvátal <scarabeus@g.o> -amsn-0.97.2.ebuild,
39 -amsn-0.97.2-r1.ebuild, -amsn-0.98.1.ebuild, -amsn-0.98.1-r1.ebuild,
40
41
42
43 1.1 net-im/amsn/amsn-0.98.4-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: amsn-0.98.4-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild,v 1.1 2011/04/28 15:42:27 signals Exp $
53
54 EAPI=2
55
56 inherit autotools eutils fdo-mime gnome2-utils
57
58 MY_P=${P/_rc/RC}
59 S="${WORKDIR}/${MY_P}"
60
61 DESCRIPTION="aMSN Messenger client"
62 SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}-src.tar.bz2"
63 HOMEPAGE="http://www.amsn-project.net"
64
65 # The tests are interactive
66 RESTRICT="test"
67
68 SLOT="0"
69 LICENSE="GPL-2"
70 KEYWORDS="~alpha ~amd64 ~hppa ~ppc -sparc ~x86"
71 IUSE="debug"
72
73 DEPEND=">=dev-lang/tcl-8.4
74 >=dev-lang/tk-8.4
75 virtual/jpeg
76 media-libs/libpng
77 >=dev-tcltk/snack-2.2.10
78 >=net-libs/gupnp-igd-0.1.3
79 media-libs/libv4l
80 media-libs/imlib"
81 # >=net-libs/farsight2-0.0.14
82 # >=media-libs/gstreamer-0.10.23
83 # >=media-libs/gst-plugins-base-0.10.23
84
85 RDEPEND="${DEPEND}
86 >=dev-tcltk/tls-1.5
87 virtual/ffmpeg[encode]"
88 # >=media-libs/gst-plugins-good-0.10.15
89 # >=media-libs/gst-plugins-bad-0.10.13
90 # >=media-plugins/gst-plugins-ffmpeg-0.10.7
91
92 src_prepare() {
93 epatch "${FILESDIR}/${PN}-0.98-noautoupdate.patch" \
94 "${FILESDIR}"/${PN}-0.98.4-v4l2.patch \
95 "${FILESDIR}"/${PN}-0.98.4-amsnplus-ldflags.patch
96 # only portage should strip files, bug 285682
97 sed -i -e "s/LDFLAGS += -s/LDFLAGS += /" Makefile.in || die "sed failed"
98 # Ships with a 32-bit binary, we want to rebuild it
99 rm -f plugins/amsnplus/snapshot
100 eautoreconf
101 }
102
103 src_configure() {
104 econf $(use_enable debug) || die "configure script failed"
105 }
106
107 src_install() {
108 make -C plugins/amsnplus || die
109 make DESTDIR="${D}" install || die
110 dodoc AGREEMENT TODO README FAQ CREDITS
111
112 domenu amsn.desktop
113 sed -i -e s:.png:: "${D}/usr/share/applications/amsn.desktop"
114
115 cd desktop-icons
116 for i in *; do
117 if [ -e ${i}/msn.png ]; then
118 insinto /usr/share/icons/hicolor/${i}/apps
119 doins ${i}/msn.png
120 fi
121 done
122 }
123
124 pkg_postinst() {
125 fdo-mime_desktop_database_update
126 gnome2_icon_cache_update
127
128 ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up."
129 }
130
131 pkg_postrm() {
132 fdo-mime_desktop_database_update
133 gnome2_icon_cache_update
134 }