1 |
ryao 15/01/01 20:52:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pipelight-0.2.8.ebuild |
5 |
Log: |
6 |
Version bump www-plugins/pipelight to 0.2.8 |
7 |
|
8 |
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 www-plugins/pipelight/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-plugins/pipelight/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 9 Aug 2014 17:37:00 -0000 1.7 |
24 |
+++ ChangeLog 1 Jan 2015 20:52:14 -0000 1.8 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for www-plugins/pipelight |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/pipelight/ChangeLog,v 1.7 2014/08/09 17:37:00 ryao Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/pipelight/ChangeLog,v 1.8 2015/01/01 20:52:14 ryao Exp $ |
31 |
+ |
32 |
+*pipelight-0.2.8 (01 Jan 2015) |
33 |
+ |
34 |
+ 01 Jan 2015; Richard Yao <ryao@g.o> +pipelight-0.2.8.ebuild: |
35 |
+ Version bump www-plugins/pipelight to 0.2.8 |
36 |
|
37 |
*pipelight-0.2.7.3 (09 Aug 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 www-plugins/pipelight/pipelight-0.2.8.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/pipelight-0.2.8.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/pipelight/pipelight-0.2.8.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pipelight-0.2.8.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-plugins/pipelight/pipelight-0.2.8.ebuild,v 1.1 2015/01/01 20:52:14 ryao Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit multilib |
56 |
|
57 |
if [ ${PV} == "9999" ] ; then |
58 |
inherit git-2 |
59 |
EGIT_REPO_URI="https://bitbucket.org/mmueller2012/${PN}.git" |
60 |
else |
61 |
inherit vcs-snapshot |
62 |
SRC_URI="https://bitbucket.org/mmueller2012/${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz" |
63 |
KEYWORDS="~amd64" |
64 |
fi |
65 |
|
66 |
DESCRIPTION="Wine-based wrapper for running Windows plugins on POSIX systems" |
67 |
HOMEPAGE="https://launchpad.net/pipelight" |
68 |
|
69 |
LICENSE="|| ( GPL-2+ LGPL-2.1+ MPL-1.1 )" |
70 |
SLOT="0" |
71 |
IUSE="" |
72 |
|
73 |
DEPEND="app-emulation/wine[X,abi_x86_32,pipelight]" |
74 |
RDEPEND="${DEPEND} |
75 |
app-arch/cabextract |
76 |
gnome-extra/zenity" |
77 |
|
78 |
QA_FLAGS_IGNORED="usr/share/pipelight/pluginloader.exe |
79 |
usr/share/pipelight/winecheck.exe" |
80 |
|
81 |
src_configure() { |
82 |
econf --wine-path="${EPREFIX}/usr/bin/wine" |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
default_src_install |
87 |
|
88 |
# Ideally, every wrapped plugin could be a symlink to pipelight's wrapper |
89 |
# plugin, but some browsers do not like this. Upstream provides a script to |
90 |
# duplicate the wrapper plugin as a hack to work around it. That script |
91 |
# does not support DESTDIR, so we use sed to adjust it before running it to |
92 |
# properly duplicate the plugins. |
93 |
# XXX: Patch the script to support DESTDIR and send the patch upstream. |
94 |
sed -e "s:^\(PIPELIGHT_LIBRARY_PATH=\"\)\\(.*\):\1${ED}usr/$(get_libdir)/${PN}\":" \ |
95 |
-e "s:^\(PLUGIN_PATH=\"\)\\(.*\):\1${ED}usr/$(get_libdir)/${PN}\":" \ |
96 |
"${ED}/usr/bin/pipelight-plugin" > "${T}/pipelight-plugin" \ |
97 |
|| die "Generating temporary pipelight-plugin failed" |
98 |
chmod u+x "${T}/pipelight-plugin" \ |
99 |
|| die "Setting permissions on temporary pipelight-plugin failed" |
100 |
|
101 |
# Create Plugins |
102 |
"${T}/pipelight-plugin" --create-mozilla-plugins \ |
103 |
|| die "Creating plugins failed" |
104 |
|
105 |
} |
106 |
|
107 |
postinst() { |
108 |
# Obligatory warnings about proprietary software |
109 |
ewarn "Neither the Gentoo developers nor the Pipelight developers can" |
110 |
ewarn "patch security vulnerabilities in Windows plugins. Use them at your" |
111 |
ewarn "own risk." |
112 |
# Warn about missing pipelight-sandbox |
113 |
ewarn |
114 |
ewarn "The pipelight sandbox has not been packaged yet. Plugins will have" |
115 |
ewarn "full privileges as Windows programs running inside wine." |
116 |
|
117 |
# Helpful information for those willing to live dangerously |
118 |
einfo "Using Windows plugins on certain websites might require a useragent" |
119 |
einfo "switcher. See the upstream tutorial for more details." |
120 |
einfo |
121 |
einfo "http://www.pipelight.net/cms/installation-user-agent.html" |
122 |
einfo |
123 |
einfo "End users should use the pipelight-plugin utility to install and" |
124 |
einfo "manage plugins. Updates are done at plugin initialization whenever" |
125 |
einfo "/usr/share/pipelight/install-dependency has been updated. This can" |
126 |
einfo "be done either by doing updates via portage or by running" |
127 |
einfo "pipelight-plugin --update as root. Browsers like Chrome (all" |
128 |
einfo "versions before 35) will initialize plugins at boot while browsers" |
129 |
einfo "like Firefox will initialize plugins on demand." |
130 |
einfo |
131 |
# Users must be in the video group for video acceleration |
132 |
einfo "Membership in the video group is required for using plugins that" |
133 |
einfo "feature hardware acceleration for video decoding. This is important" |
134 |
einfo "for video streaming sites that use Silverlight." |
135 |
} |