1 |
commit: e3d96940e0a1d4295732cab71fe9f894ea735861 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 14 16:01:18 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 14 16:03:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d96940 |
7 |
|
8 |
www-client/opera-beta: Version 60.0.3255.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
www-client/opera-beta/Manifest | 1 + |
14 |
.../opera-beta/opera-beta-60.0.3255.4.ebuild | 116 +++++++++++++++++++++ |
15 |
2 files changed, 117 insertions(+) |
16 |
|
17 |
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest |
18 |
index 4332542cfa8..614baedf09d 100644 |
19 |
--- a/www-client/opera-beta/Manifest |
20 |
+++ b/www-client/opera-beta/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST opera-beta_59.0.3229.11_amd64.deb 73386332 BLAKE2B ea0ae51537ac00a058e3be684448285b76a3934e643b67b08c071b0c687b9c96d54af3593868f8dfca880e70075df9acf124d76efda4428579db8fde3ae61363 SHA512 3e73613c463798fc10bd89c3171841bc24352bb65642128af0fcc024f7c0a506b5ed889233ee50e5563433c9844ae2e4b0d81cca56dfa25dc32cf0c23032f954 |
23 |
+DIST opera-beta_60.0.3255.4_amd64.deb 66992098 BLAKE2B d992d86870432f38bc84897f33813980512efed6d2459203b9b061540d9a97d01269d57b94217f0b65ce4c8f503492c594550ebc9bcf12deda8c1ce6d3c68338 SHA512 6c6a997faa2cb6b5a1a221cdfcb7a14dcd81e23d153a14cdd033e74aaf08b7ce1d4f6ee9ccb8195b13cd23161e678082e1db417161eb5ba6bf594e6c15734fef |
24 |
|
25 |
diff --git a/www-client/opera-beta/opera-beta-60.0.3255.4.ebuild b/www-client/opera-beta/opera-beta-60.0.3255.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..d6081fb2869 |
28 |
--- /dev/null |
29 |
+++ b/www-client/opera-beta/opera-beta-60.0.3255.4.ebuild |
30 |
@@ -0,0 +1,116 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
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 gnome2-utils 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 |
+OPERA_HOME="usr/$(get_libdir)/${PN}" |
94 |
+ |
95 |
+src_unpack() { |
96 |
+ unpack_deb ${A} |
97 |
+} |
98 |
+ |
99 |
+src_prepare() { |
100 |
+ epatch_user |
101 |
+ |
102 |
+ case ${ARCH} in |
103 |
+ amd64) |
104 |
+ mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die |
105 |
+ rm -r usr/lib || die |
106 |
+ ;; |
107 |
+ x86) |
108 |
+ mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die |
109 |
+ ;; |
110 |
+ esac |
111 |
+ |
112 |
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || die |
113 |
+ gunzip usr/share/doc/${PF}/changelog.gz || die |
114 |
+ |
115 |
+ rm usr/bin/${PN} || die |
116 |
+ |
117 |
+ pushd "${OPERA_HOME}/localization" > /dev/null || die |
118 |
+ chromium_remove_language_paks |
119 |
+ popd > /dev/null || die |
120 |
+ |
121 |
+ sed -i \ |
122 |
+ -e 's|^TargetEnvironment|X-&|g' \ |
123 |
+ usr/share/applications/${PN}.desktop || die |
124 |
+} |
125 |
+ |
126 |
+src_install() { |
127 |
+ mv * "${D}" || die |
128 |
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} |
129 |
+ fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox |
130 |
+} |
131 |
+ |
132 |
+pkg_preinst() { |
133 |
+ gnome2_icon_savelist |
134 |
+} |
135 |
+ |
136 |
+pkg_postrm() { |
137 |
+ gnome2_icon_cache_update |
138 |
+ xdg_desktop_database_update |
139 |
+ xdg_mimeinfo_database_update |
140 |
+} |
141 |
+ |
142 |
+pkg_postinst() { |
143 |
+ gnome2_icon_cache_update |
144 |
+ xdg_desktop_database_update |
145 |
+ xdg_mimeinfo_database_update |
146 |
+} |