1 |
commit: 4153742ba257c82b07d1f9ef62ad836bf51ef74d |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 16 14:03:36 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 16 14:05:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4153742b |
7 |
|
8 |
www-client/opera: Version 65.0.3467.42 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
www-client/opera/Manifest | 1 + |
14 |
www-client/opera/opera-65.0.3467.42.ebuild | 111 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 112 insertions(+) |
16 |
|
17 |
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest |
18 |
index 5da6700febe..16885afd988 100644 |
19 |
--- a/www-client/opera/Manifest |
20 |
+++ b/www-client/opera/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST opera-stable_64.0.3417.92_amd64.deb 66230620 BLAKE2B 1b4c3ad7956727d9a849e545e4ff95318ebddaf2e87073cefc5c13eb685b56171cb12f9ba698dba32dddd2013897c6584ad080767bbca5693d9971e07ba0e683 SHA512 9a0ff699dc00a3984854db8838158d17a27665d91b98221a31b23fa82f0a3c1259b1ceff83902cc782cf21b4780deb8426a3cb45c88c0a7d3ea3450b15ce4e0f |
23 |
DIST opera-stable_65.0.3467.38_amd64.deb 67578426 BLAKE2B 8efa5b7f655b1d2f5d9968e61c6e23fef0ab5ab39a633c3249e93bdafab593293ae206e7b68122d4eb3ffa90b0daac7031d4b8d10ae76106f8618c1bdc9b0f71 SHA512 b46fc9ff5595f0c70fa4d42b7ec5031020a39bc8945cbbecf6890be6faca8b4fa5dba4eab1801597a550806c686690d320ff667ed49e1b8ed64ed6577f6fbec1 |
24 |
+DIST opera-stable_65.0.3467.42_amd64.deb 66583756 BLAKE2B fed26219590e1d7a03e7a2aa2fde10d1703f52c7ef630a8c3509d9c8564d015d50afb1a59e3ee0838a6b002b0ace6e3293080aaba30a04c47f6d40dd9c2cd146 SHA512 861f516da7193649f7715e8257027c40cb09cdf4eb62617595d270e88287d7bfd82ea3e47e6d4b77bcc8b7d7c97096d5b20a296d36737f7b6fe731ae8bbf83b6 |
25 |
|
26 |
diff --git a/www-client/opera/opera-65.0.3467.42.ebuild b/www-client/opera/opera-65.0.3467.42.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..eec568e74cf |
29 |
--- /dev/null |
30 |
+++ b/www-client/opera/opera-65.0.3467.42.ebuild |
31 |
@@ -0,0 +1,111 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+CHROMIUM_LANGS=" |
37 |
+ be bg bn ca cs da de el en-GB en-US es-419 es fil fi fr-CA fr hi hr hu id |
38 |
+ it 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 |
+" |
42 |
+inherit chromium-2 multilib unpacker xdg-utils |
43 |
+ |
44 |
+DESCRIPTION="A fast and secure web browser" |
45 |
+HOMEPAGE="https://www.opera.com/" |
46 |
+LICENSE="OPERA-2014" |
47 |
+SLOT="0" |
48 |
+SRC_URI_BASE=" |
49 |
+ https://download1.operacdn.com/pub/ |
50 |
+ https://download2.operacdn.com/pub/ |
51 |
+ https://download3.operacdn.com/pub/ |
52 |
+ https://download4.operacdn.com/pub/ |
53 |
+" |
54 |
+for uri in ${SRC_URI_BASE}; do |
55 |
+SRC_URI+=" |
56 |
+ "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" |
57 |
+" |
58 |
+done |
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 |
+src_unpack() { |
95 |
+ unpack_deb ${A} |
96 |
+} |
97 |
+ |
98 |
+src_prepare() { |
99 |
+ default |
100 |
+ |
101 |
+ OPERA_HOME="usr/$(get_libdir)/${PN}" |
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 |
+ esac |
109 |
+ |
110 |
+ rm usr/bin/${PN} || die |
111 |
+ |
112 |
+ rm usr/share/doc/${PN}-stable/copyright || die |
113 |
+ mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die |
114 |
+ gunzip usr/share/doc/${PF}/changelog.gz || die |
115 |
+ |
116 |
+ pushd "${OPERA_HOME}"/localization > /dev/null || die |
117 |
+ chromium_remove_language_paks |
118 |
+ popd > /dev/null || die |
119 |
+ |
120 |
+ sed -i \ |
121 |
+ -e 's|^TargetEnvironment|X-&|g' \ |
122 |
+ usr/share/applications/${PN}.desktop || die |
123 |
+} |
124 |
+ |
125 |
+src_install() { |
126 |
+ rm "${OPERA_HOME}"/${PN}_autoupdate || die |
127 |
+ mv * "${D}" || die |
128 |
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} |
129 |
+ fperms 4711 /"${OPERA_HOME}"/opera_sandbox |
130 |
+} |
131 |
+ |
132 |
+pkg_postrm() { |
133 |
+ xdg_desktop_database_update |
134 |
+ xdg_icon_cache_update |
135 |
+ xdg_mimeinfo_database_update |
136 |
+} |
137 |
+ |
138 |
+pkg_postinst() { |
139 |
+ xdg_desktop_database_update |
140 |
+ xdg_icon_cache_update |
141 |
+ xdg_mimeinfo_database_update |
142 |
+} |