1 |
commit: 026e27e7b2673e1baf11f5b25addd26a3bfb5350 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 28 17:11:49 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 28 17:12:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=026e27e7 |
7 |
|
8 |
www-client/opera-beta: Version 66.0.3515.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
www-client/opera-beta/Manifest | 1 + |
14 |
.../opera-beta/opera-beta-66.0.3515.3.ebuild | 115 +++++++++++++++++++++ |
15 |
2 files changed, 116 insertions(+) |
16 |
|
17 |
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest |
18 |
index b81c16d278a..12094fef7a3 100644 |
19 |
--- a/www-client/opera-beta/Manifest |
20 |
+++ b/www-client/opera-beta/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST opera-beta_65.0.3467.32_amd64.deb 68306558 BLAKE2B cd755df9cd404e402af6c469b8744f1bc8ddce2ae864ab4309a4b81f960bd965703a5b159c5888b00567aa0489b0aae79466d3f0fff7daeac2fa02894e4db549 SHA512 8d7b30a29fd5879d4199e982e15a094461ec5018861b6ebca23e67faeb8fdf7c07dd9af232af8d3b8d4a74bccde6911dcb1a8793707466a29a4b9dc70ac982ca |
23 |
+DIST opera-beta_66.0.3515.3_amd64.deb 67420484 BLAKE2B d3dbf29c07f246f0c303639258bea6d35d311b39743d628ef5ad4537faae0dc1ec13c65ab3e16efb59e0f0658397e39a9db108405d70fd141d9a78ce1e87d904 SHA512 453d70b9497cf6083d4bb6fa8b3b63d57b57c36d9aaf022560c1597e06f639e4a69e0c57296ad269f3451f1edd900f53555eadd93d894424148c6591bbc0a5ed |
24 |
|
25 |
diff --git a/www-client/opera-beta/opera-beta-66.0.3515.3.ebuild b/www-client/opera-beta/opera-beta-66.0.3515.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..59a8587ec4b |
28 |
--- /dev/null |
29 |
+++ b/www-client/opera-beta/opera-beta-66.0.3515.3.ebuild |
30 |
@@ -0,0 +1,115 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+CHROMIUM_LANGS=" |
36 |
+ be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA hi hr hu id it |
37 |
+ ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi |
38 |
+ zh-CN zh-TW |
39 |
+" |
40 |
+inherit chromium-2 multilib unpacker xdg-utils |
41 |
+ |
42 |
+DESCRIPTION="A fast and secure web browser" |
43 |
+HOMEPAGE="https://www.opera.com/" |
44 |
+LICENSE="OPERA-2014" |
45 |
+SLOT="0" |
46 |
+SRC_URI_BASE=" |
47 |
+ https://download1.operacdn.com/pub/ |
48 |
+ https://download2.operacdn.com/pub/ |
49 |
+ https://download3.operacdn.com/pub/ |
50 |
+ https://download4.operacdn.com/pub/ |
51 |
+" |
52 |
+SRC_URI="amd64? (" |
53 |
+for uri in ${SRC_URI_BASE}; do |
54 |
+SRC_URI+=" |
55 |
+ "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb" |
56 |
+" |
57 |
+done |
58 |
+SRC_URI+=")" |
59 |
+KEYWORDS="~amd64" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ dev-libs/expat |
63 |
+ dev-libs/glib:2 |
64 |
+ dev-libs/nspr |
65 |
+ dev-libs/nss |
66 |
+ gnome-base/gconf:2 |
67 |
+ media-libs/alsa-lib |
68 |
+ media-libs/fontconfig |
69 |
+ media-libs/freetype |
70 |
+ net-misc/curl |
71 |
+ net-print/cups |
72 |
+ sys-apps/dbus |
73 |
+ x11-libs/cairo |
74 |
+ x11-libs/gdk-pixbuf |
75 |
+ x11-libs/gtk+:3 |
76 |
+ x11-libs/libX11 |
77 |
+ x11-libs/libXScrnSaver |
78 |
+ x11-libs/libXcomposite |
79 |
+ x11-libs/libXcursor |
80 |
+ x11-libs/libXdamage |
81 |
+ x11-libs/libXext |
82 |
+ x11-libs/libXfixes |
83 |
+ x11-libs/libXi |
84 |
+ x11-libs/libXrandr |
85 |
+ x11-libs/libXrender |
86 |
+ x11-libs/libXtst |
87 |
+ x11-libs/libnotify |
88 |
+ x11-libs/pango[X] |
89 |
+" |
90 |
+ |
91 |
+QA_PREBUILT="*" |
92 |
+S=${WORKDIR} |
93 |
+ |
94 |
+pkg_setup() { |
95 |
+ OPERA_HOME="usr/$(get_libdir)/${PN}" |
96 |
+} |
97 |
+ |
98 |
+src_unpack() { |
99 |
+ unpack_deb ${A} |
100 |
+} |
101 |
+ |
102 |
+src_prepare() { |
103 |
+ default |
104 |
+ |
105 |
+ case ${ARCH} in |
106 |
+ amd64) |
107 |
+ mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die |
108 |
+ rm -r usr/lib || die |
109 |
+ ;; |
110 |
+ x86) |
111 |
+ mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die |
112 |
+ ;; |
113 |
+ esac |
114 |
+ |
115 |
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || die |
116 |
+ gunzip usr/share/doc/${PF}/changelog.gz || die |
117 |
+ |
118 |
+ rm usr/bin/${PN} || die |
119 |
+ |
120 |
+ pushd "${OPERA_HOME}/localization" > /dev/null || die |
121 |
+ chromium_remove_language_paks |
122 |
+ popd > /dev/null || die |
123 |
+ |
124 |
+ sed -i \ |
125 |
+ -e 's|^TargetEnvironment|X-&|g' \ |
126 |
+ usr/share/applications/${PN}.desktop || die |
127 |
+} |
128 |
+ |
129 |
+src_install() { |
130 |
+ mv * "${D}" || die |
131 |
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} |
132 |
+ fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox |
133 |
+} |
134 |
+ |
135 |
+pkg_postrm() { |
136 |
+ xdg_desktop_database_update |
137 |
+ xdg_icon_cache_update |
138 |
+ xdg_mimeinfo_database_update |
139 |
+} |
140 |
+ |
141 |
+pkg_postinst() { |
142 |
+ xdg_desktop_database_update |
143 |
+ xdg_icon_cache_update |
144 |
+ xdg_mimeinfo_database_update |
145 |
+} |