Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/seamonkey-bin: seamonkey-bin-2.0_alpha2.ebuild ChangeLog
Date: Wed, 04 Feb 2009 11:01:03
Message-Id: E1LUfV5-0002XS-Vp@stork.gentoo.org
1 armin76 09/02/04 11:00:59
2
3 Modified: ChangeLog
4 Added: seamonkey-bin-2.0_alpha2.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 i686)
8
9 Revision Changes Path
10 1.59 www-client/seamonkey-bin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.59&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.59&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.58&r2=1.59
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v
19 retrieving revision 1.58
20 retrieving revision 1.59
21 diff -u -r1.58 -r1.59
22 --- ChangeLog 20 Dec 2008 21:15:22 -0000 1.58
23 +++ ChangeLog 4 Feb 2009 11:00:59 -0000 1.59
24 @@ -1,6 +1,12 @@
25 # ChangeLog for www-client/seamonkey-bin
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.58 2008/12/20 21:15:22 maekke Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.59 2009/02/04 11:00:59 armin76 Exp $
30 +
31 +*seamonkey-bin-2.0_alpha2 (04 Feb 2009)
32 +
33 + 04 Feb 2009; Raúl Porcel <armin76@g.o>
34 + +seamonkey-bin-2.0_alpha2.ebuild:
35 + Version bump
36
37 20 Dec 2008; Markus Meier <maekke@g.o> seamonkey-bin-1.1.14.ebuild:
38 amd64/x86 stable, bug #251322
39
40
41
42 1.1 www-client/seamonkey-bin/seamonkey-bin-2.0_alpha2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.0_alpha2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.0_alpha2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: seamonkey-bin-2.0_alpha2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.0_alpha2.ebuild,v 1.1 2009/02/04 11:00:59 armin76 Exp $
52
53 inherit eutils mozilla-launcher multilib
54
55 MY_PV="${PV/_alpha/a}"
56 MY_P="${PN}-${MY_PV}"
57
58 DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
59 SRC_URI="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/${MY_PV}/seamonkey-${MY_PV}.en-US.linux-i686.tar.bz2"
60 HOMEPAGE="http://www.seamonkey-project.org/"
61 RESTRICT="strip"
62 QA_EXECSTACK="opt/seamonkey/*"
63
64 KEYWORDS="-* ~amd64 ~x86"
65 SLOT="0"
66 LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
67 IUSE=""
68
69 DEPEND="app-arch/unzip"
70 RDEPEND="dev-libs/dbus-glib
71 x11-libs/libXrender
72 x11-libs/libXt
73 x11-libs/libXmu
74 x86? (
75 >=x11-libs/gtk+-2.2
76 >=media-libs/alsa-lib-1.0.16
77 )
78 amd64? (
79 >=app-emulation/emul-linux-x86-baselibs-1.0
80 >=app-emulation/emul-linux-x86-gtklibs-1.0
81 >=app-emulation/emul-linux-x86-soundlibs-20080418
82 app-emulation/emul-linux-x86-compat
83 )"
84
85 S="${WORKDIR}/seamonkey"
86
87 pkg_setup() {
88 # This is a binary x86 package => ABI=x86
89 # Please keep this in future versions
90 # Danny van Dyk <kugelfang@g.o> 2005/03/26
91 has_multilib_profile && ABI="x86"
92 }
93
94 src_install() {
95 declare MOZILLA_FIVE_HOME=/opt/seamonkey
96
97 # Install seamonkey in /opt
98 dodir ${MOZILLA_FIVE_HOME%/*}
99 mv "${S}" "${D}${MOZILLA_FIVE_HOME}"
100
101 # Create /usr/bin/seamonkey-bin
102 dodir /usr/bin/
103 cat <<EOF >"${D}"/usr/bin/seamonkey-bin
104 #!/bin/sh
105 unset LD_PRELOAD
106 exec /opt/seamonkey/seamonkey "\$@"
107 EOF
108 fperms 0755 /usr/bin/seamonkey-bin
109
110 # Install icon and .desktop for menu entry
111 doicon "${FILESDIR}/icon/${PN}.png"
112 domenu "${FILESDIR}/icon/${PN}.desktop"
113 }
114
115 pkg_preinst() {
116 declare MOZILLA_FIVE_HOME=/opt/seamonkey
117
118 # Remove entire installed instance to prevent all kinds of
119 # problems... see bug 44772 for example
120 rm -rf "${ROOT}${MOZILLA_FIVE_HOME}"
121 }
122
123 pkg_postinst() {
124 use amd64 && einfo "NB: You just installed a 32-bit seamonkey"
125 update_mozilla_launcher_symlinks
126 }
127
128 pkg_postrm() {
129 update_mozilla_launcher_symlinks
130 }