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-0.9.91.5-r1.ebuild
Date: Thu, 10 Jan 2008 15:06:46
Message-Id: E1JCyzT-0001tY-EK@stork.gentoo.org
1 chutzpah 08/01/10 15:06:43
2
3 Modified: ChangeLog
4 Added: nspluginwrapper-0.9.91.5-r1.ebuild
5 Log:
6 Revision bump, add patch to add support for gthread, thanks to Alex Rostovtsev for pulling the patch from Fedora's RPM. (bug #203820)
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.15 net-www/nspluginwrapper/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 28 Aug 2007 13:33:48 -0000 1.14
23 +++ ChangeLog 10 Jan 2008 15:06:42 -0000 1.15
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-www/nspluginwrapper
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.14 2007/08/28 13:33:48 chutzpah Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.15 2008/01/10 15:06:42 chutzpah Exp $
30 +
31 +*nspluginwrapper-0.9.91.5-r1 (10 Jan 2008)
32 +
33 + 10 Jan 2008; Patrick McLean <chutzpah@g.o>
34 + +files/nspluginwrapper-0.9.91.5-g_thread_init.patch,
35 + +nspluginwrapper-0.9.91.5-r1.ebuild:
36 + Revision bump, add patch to add support for gthread, thanks to Alex
37 + Rostovtsev for pulling the patch from Fedora's RPM. (bug #203820)
38
39 *nspluginwrapper-0.9.91.5 (28 Aug 2007)
40
41
42
43
44 1.1 net-www/nspluginwrapper/nspluginwrapper-0.9.91.5-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-0.9.91.5-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-0.9.91.5-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: nspluginwrapper-0.9.91.5-r1.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-0.9.91.5-r1.ebuild,v 1.1 2008/01/10 15:06:42 chutzpah Exp $
54
55 inherit eutils nsplugins flag-o-matic 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/nspluginwrapper/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_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 epatch "${FILESDIR}/${P}-g_thread_init.patch" || die "epatch failed"
78 }
79
80 src_compile() {
81 econf --with-biarch \
82 --with-lib32=$(ABI=x86 get_libdir) \
83 --with-lib64=$(get_libdir) \
84 --pkglibdir=/usr/$(get_libdir)/${PN} || die
85 emake || die
86 }
87
88 src_install() {
89 emake -j1 DESTDIR="${D}" DONT_STRIP=yes install || die
90
91 inst_plugin /usr/$(get_libdir)/nspluginwrapper/x86_64/linux/npwrapper.so
92 dosym /usr/$(get_libdir)/nspluginwrapper/x86_64/linux/npconfig /usr/bin/nspluginwrapper
93
94 dodoc NEWS README TODO ChangeLog
95 }
96
97 pkg_postinst() {
98 einfo "Auto installing 32bit plugins..."
99 nspluginwrapper -a -i
100 elog "Any 32bit plugins you currently have installed have now been"
101 elog "configured to work in a 64bit browser. Any plugins you install in"
102 elog "the future will first need to be setup with:"
103 elog " \"nspluginwrapper -i <path-to-32bit-plugin>\""
104 elog "before they will function in a 64bit browser"
105 elog
106 }
107
108 # this is terribly ugly, but without a way to query portage as to whether
109 # we are upgrading/reinstalling a package versus unmerging, I can't think of
110 # a better way
111
112 pkg_prerm() {
113 einfo "Removing wrapper plugins..."
114 nspluginwrapper -a -r
115 }
116
117 pkg_postrm() {
118 if [[ -x /usr/bin/nspluginwrapper ]]; then
119 einfo "Auto installing 32bit plugins..."
120 nspluginwrapper -a -i
121 fi
122 }
123
124
125
126 --
127 gentoo-commits@l.g.o mailing list