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