Gentoo Archives: gentoo-commits

From: "Patrick McLean (chutzpah)" <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-www/nspluginwrapper: ChangeLog nspluginwrapper-1.1.0.ebuild nspluginwrapper-0.9.91.4.ebuild nspluginwrapper-0.9.91.5.ebuild
Date: Wed, 30 Jul 2008 19:46:58
Message-Id: E1KOHdO-0005er-So@stork.gentoo.org
1 chutzpah 08/07/30 19:46:54
2
3 Modified: ChangeLog
4 Added: nspluginwrapper-1.1.0.ebuild
5 Removed: nspluginwrapper-0.9.91.4.ebuild
6 nspluginwrapper-0.9.91.5.ebuild
7 Log:
8 Version bump, clean up ebuild slightly. Clean out older versions.
9 (Portage version: 2.2_rc5/cvs/Linux 2.6.26-gentoo x86_64)
10
11 Revision Changes Path
12 1.18 net-www/nspluginwrapper/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.18&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.18&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?r1=1.17&r2=1.18
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v
21 retrieving revision 1.17
22 retrieving revision 1.18
23 diff -u -r1.17 -r1.18
24 --- ChangeLog 5 Jul 2008 23:52:53 -0000 1.17
25 +++ ChangeLog 30 Jul 2008 19:46:54 -0000 1.18
26 @@ -1,6 +1,13 @@
27 # ChangeLog for net-www/nspluginwrapper
28 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.17 2008/07/05 23:52:53 peper Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.18 2008/07/30 19:46:54 chutzpah Exp $
31 +
32 +*nspluginwrapper-1.1.0 (30 Jul 2008)
33 +
34 + 30 Jul 2008; Patrick McLean <chutzpah@g.o>
35 + -nspluginwrapper-0.9.91.4.ebuild, -nspluginwrapper-0.9.91.5.ebuild,
36 + +nspluginwrapper-1.1.0.ebuild:
37 + Version bump, clean up ebuild slightly. Clean out older versions.
38
39 *nspluginwrapper-1.0.0 (05 Jul 2008)
40
41
42
43
44 1.1 net-www/nspluginwrapper/nspluginwrapper-1.1.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: nspluginwrapper-1.1.0.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.0.ebuild,v 1.1 2008/07/30 19:46:54 chutzpah Exp $
54
55 inherit eutils nsplugins multilib
56
57 DESCRIPTION="Netscape Plugin Wrapper - Load 32bit plugins on 64bit browser"
58 HOMEPAGE="http://www.gibix.net/projects/nspluginwrapper/"
59 SRC_URI="http://www.gibix.net/projects/${PN}/files/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64"
64 IUSE=""
65
66 RDEPEND=">=x11-libs/gtk+-2
67 app-emulation/emul-linux-x86-xlibs
68 app-emulation/emul-linux-x86-gtklibs
69 || ( >=sys-apps/util-linux-2.13 sys-apps/setarch )"
70 DEPEND="${RDEPEND}
71 dev-util/pkgconfig"
72
73 src_compile() {
74 econf --with-biarch \
75 --with-lib32=$(ABI=x86 get_libdir) \
76 --with-lib64=$(get_libdir) \
77 --pkglibdir=/usr/$(get_libdir)/${PN}
78
79 emake || die "emake failed"
80 }
81
82 src_install() {
83 emake -j1 DESTDIR="${D}" install || die "emake install failed"
84
85 inst_plugin "/usr/$(get_libdir)/${PN}/x86_64/linux/npwrapper.so"
86 dosym "/usr/$(get_libdir)/${PN}/x86_64/linux/npconfig" "/usr/bin/${PN}"
87
88 dodoc NEWS README TODO ChangeLog
89 }
90
91 pkg_postinst() {
92 einfo "Auto installing 32bit plugins..."
93 ${PN} -a -i
94 elog "Any 32bit plugins you currently have installed have now been"
95 elog "configured to work in a 64bit browser. Any plugins you install in"
96 elog "the future will first need to be setup with:"
97 elog " \"nspluginwrapper -i <path-to-32bit-plugin>\""
98 elog "before they will function in a 64bit browser"
99 elog
100 }
101
102 # this is terribly ugly, but without a way to query portage as to whether
103 # we are upgrading/reinstalling a package versus unmerging, I can't think of
104 # a better way
105
106 pkg_prerm() {
107 einfo "Removing wrapper plugins..."
108 ${PN} --auto --remove
109 }
110
111 pkg_postrm() {
112 if [[ -x /usr/bin/${PN} ]]; then
113 einfo "Auto installing 32bit plugins..."
114 ${PN} --auto --install
115 fi
116 }