Gentoo Archives: gentoo-commits

From: "Richard Yao (ryao)" <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/pipelight: metadata.xml pipelight-9999.ebuild ChangeLog
Date: Thu, 31 Jul 2014 21:12:37
Message-Id: 20140731211230.7A1992004E@flycatcher.gentoo.org
1 ryao 14/07/31 21:12:29
2
3 Added: metadata.xml pipelight-9999.ebuild ChangeLog
4 Log:
5 New package www-plugins/pipelight, bug #481596
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)
8
9 Revision Changes Path
10 1.1 www-plugins/pipelight/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <maintainer>
21 <email>ryao@g.o</email>
22 <name>Richard Yao</name>
23 </maintainer>
24 </pkgmetadata>
25
26
27
28 1.1 www-plugins/pipelight/pipelight-9999.ebuild
29
30 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/pipelight-9999.ebuild?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/pipelight-9999.ebuild?rev=1.1&content-type=text/plain
32
33 Index: pipelight-9999.ebuild
34 ===================================================================
35 # Copyright 1999-2014 Gentoo Foundation
36 # Distributed under the terms of the GNU General Public License v2
37 # $Header: /var/cvsroot/gentoo-x86/www-plugins/pipelight/pipelight-9999.ebuild,v 1.1 2014/07/31 21:12:29 ryao Exp $
38
39 EAPI=5
40
41 inherit git-2 multilib
42
43 DESCRIPTION="Wine-based wrapper for Windows Silverlight"
44 HOMEPAGE="https://launchpad.net/pipelight"
45 SRC_URI=""
46 EGIT_REPO_URI="https://bitbucket.org/mmueller2012/${PN}.git"
47
48 LICENSE="|| ( GPL-2+ LGPL-2.1+ MPL-1.1 )"
49 SLOT="0"
50 KEYWORDS=""
51 IUSE=""
52
53 DEPEND="app-emulation/wine[X,abi_x86_32,pipelight]"
54 RDEPEND="${DEPEND}
55 app-arch/cabextract
56 gnome-extra/zenity
57 x11-apps/mesa-progs"
58
59 QA_FLAGS_IGNORED="usr/share/pipelight/pluginloader.exe
60 usr/share/pipelight/winecheck.exe"
61
62 src_configure() {
63 econf --wine-path="${EPREFIX}/usr/bin/wine"
64 }
65
66 src_install() {
67 default_src_install
68
69 # Ideally, every wrapped plugin could be a symlink to pipelight's wrapper
70 # plugin, but some browsers do not like this. Upstream provides a script to
71 # duplicate the wrapper plugin as a hack to work around it. That script
72 # does not support DESTDIR, so we use sed to adjust it before running it to
73 # properly duplicate the plugins.
74 # XXX: Patch the script to support DESTDIR and send the patch upstream.
75 sed -e "s:^\(PIPELIGHT_LIBRARY_PATH=\"\)\\(.*\):\1${ED}\2:" \
76 "${DESTDIR}/usr/bin/pipelight-plugin" > "${T}/pipelight-plugin" \
77 || die "Generating temporary pipelight-plugin failed"
78 chmod u+x "${T}/pipelight-plugin" \
79 || die "Setting permissions on temporary pipelight-plugin failed"
80
81 # Create Plugins
82 "${T}/pipelight-plugin" --create-mozilla-plugins \
83 || die "Creating plugins failed"
84
85 }
86
87 postinst() {
88 # Obligatory warnings about proprietary software
89 ewarn "Neither the Gentoo developers nor the Pipelight developers can"
90 ewarn "patch security vulnerabilities in Windows plugins. Use them at your"
91 ewarn "own risk."
92 # Warn about missing pipelight-sandbox
93 ewarn
94 ewarn "The pipelight sandbox has not been packaged yet. Plugins will have"
95 ewarn "full privileges as Windows programs running inside wine."
96
97 # Helpful information for those willing to live dangerously
98 einfo "Using Windows plugins on certain websites might require a useragent"
99 einfo "switcher. See the upstream FAQ for more details."
100 einfo
101 einfo "https://answers.launchpad.net/pipelight/+faq/2351"
102 einfo
103 einfo "End users should use the pipelight-plugin utility to install and"
104 einfo "manage plugins. Updates are done at plugin initialization whenever"
105 einfo "/usr/share/pipelight/install-dependency has been updated. This can"
106 einfo "be done either by doing updates via portage or by running"
107 einfo "pipelight-plugin --update as root. Browsers like Chrome (all"
108 einfo "versions before 35) will initialize plugins at boot while browsers"
109 einfo "like Firefox will initialize plugins on demand."
110 }
111
112
113
114 1.1 www-plugins/pipelight/ChangeLog
115
116 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/ChangeLog?rev=1.1&view=markup
117 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/ChangeLog?rev=1.1&content-type=text/plain
118
119 Index: ChangeLog
120 ===================================================================
121 # ChangeLog for www-plugins/pipelight
122 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
123 # $Header: /var/cvsroot/gentoo-x86/www-plugins/pipelight/ChangeLog,v 1.1 2014/07/31 21:12:29 ryao Exp $
124
125 *pipelight-9999 (31 Jul 2014)
126
127 31 Jul 2014; Richard Yao <ryao@g.o> +metadata.xml,
128 +pipelight-9999.ebuild:
129 New package www-plugins/pipelight, bug #481596