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