1 |
commit: ee39d8955b4b3deafd7d6212776e1ac40c802ad6 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 27 15:23:45 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 27 15:24:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee39d895 |
7 |
|
8 |
www-client/opera: Version 60.0.3255.109 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
www-client/opera/Manifest | 1 + |
14 |
www-client/opera/opera-60.0.3255.109.ebuild | 111 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 112 insertions(+) |
16 |
|
17 |
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest |
18 |
index 907260bc1df..2860a99b123 100644 |
19 |
--- a/www-client/opera/Manifest |
20 |
+++ b/www-client/opera/Manifest |
21 |
@@ -2,5 +2,6 @@ DIST opera-12.16-1860.amd64.freebsd.tar.xz 13312684 BLAKE2B 2c4cd52a07999c5beabe |
22 |
DIST opera-12.16-1860.i386.freebsd.tar.xz 13385696 BLAKE2B 35fef5a5d1784941ce11ff3fed440d9c8f83ce5f9a0a8aad3f68deb470a7d82accfe7c9c93be225b458c0fc8e738ca7841d3d14abcaa201801321f3280f2b58f SHA512 0bb2c0548765ea476cdb8be6c84faf1d60dddb5a2c08b7312027f4cd17fa8ebd4fbc1a97657bbcb0ac07733e5f3b340b181a307a778c38543140adbfe7f8b844 |
23 |
DIST opera-12.16-1860.i386.linux.tar.xz 13154668 BLAKE2B 7f9ef54f44bc143c13173bce92543351c39288058455baf3fde19f9f8766c9acd72971216c8c340fd89e918f18e89320eb8d13c4be9ec71635e2073c94c90067 SHA512 a13ec53311e3e78f35103a9dd5337c0e9a555362860213080211ee9d21de88fbd6aae03bed20b7515874d5a09dfbab108954213745fb82175f5e48e555152613 |
24 |
DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 BLAKE2B e0cb727ea79868d1c3c692d445fc8949f554c3bbe2bf3c9f222885891458cab7af1a29096cd3caf6936e83068841dda4bff5b8a17eb55a86bebe39ce2b270183 SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b |
25 |
+DIST opera-stable_60.0.3255.109_amd64.deb 66648238 BLAKE2B 7c35f4c5b93cccffe1a923b36570858a74c4c5045c42da505bc8fdd0646ab805d016bbdce6ab8202620a91ff3ce450e4cb89a6f643211969652d63c76b4f7d37 SHA512 80a0ed6dad6ee3be374d0f73412e3a1eb55912a95951cd5a0d7cd9f442ccee0d30d812e09944fe4a68bb73b068035c62478eb478c332427f5b013aefb96ba8e0 |
26 |
DIST opera-stable_60.0.3255.83_amd64.deb 67302926 BLAKE2B ad45e40588c3b93f44f769b9db38693407c2dbfc1a61d1e284cd6cf93f93afcde6e12400f47a9b44f928cfc338b670e6e7d958bb39d33468f8d6c70dee94e58a SHA512 037ed829bef7561bec3ced495ca7b975a81ddd8fda87f93988b1f7c220e9fb1ea1f5e425a8e72aa6da0881df94a4b520bddf38a4ef6ae49bed6acb572c949219 |
27 |
DIST opera-stable_60.0.3255.95_amd64.deb 67318050 BLAKE2B 7c35872268acb6380755f07b6a33a236d5bb920fe04e44a9ab686610e44da0dbf1246e8b36094ad3d3c16a1c9acecbeaa0c772277809530231ed0b048eca98ed SHA512 c58bc42527b5dd876f06c9d7393f03be2b5dc598d7e66159f24bdceef1ea4f6d3832ee48b5a793e39c44ad738d84e22e0083531f5dfcbc9ed1dd169fd9c06d9e |
28 |
|
29 |
diff --git a/www-client/opera/opera-60.0.3255.109.ebuild b/www-client/opera/opera-60.0.3255.109.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..fbf25ee7c63 |
32 |
--- /dev/null |
33 |
+++ b/www-client/opera/opera-60.0.3255.109.ebuild |
34 |
@@ -0,0 +1,111 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+CHROMIUM_LANGS=" |
40 |
+ be bg bn ca cs da de el en-GB en-US es-419 es fil fi fr-CA fr hi hr hu id |
41 |
+ 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 |
42 |
+ zh-CN zh-TW |
43 |
+ |
44 |
+" |
45 |
+inherit chromium-2 multilib unpacker xdg-utils |
46 |
+ |
47 |
+DESCRIPTION="A fast and secure web browser" |
48 |
+HOMEPAGE="https://www.opera.com/" |
49 |
+LICENSE="OPERA-2014" |
50 |
+SLOT="0" |
51 |
+SRC_URI_BASE=" |
52 |
+ https://download1.operacdn.com/pub/ |
53 |
+ https://download2.operacdn.com/pub/ |
54 |
+ https://download3.operacdn.com/pub/ |
55 |
+ https://download4.operacdn.com/pub/ |
56 |
+" |
57 |
+for uri in ${SRC_URI_BASE}; do |
58 |
+SRC_URI+=" |
59 |
+ "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" |
60 |
+" |
61 |
+done |
62 |
+KEYWORDS="~amd64" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ dev-libs/expat |
66 |
+ dev-libs/glib:2 |
67 |
+ dev-libs/nspr |
68 |
+ dev-libs/nss |
69 |
+ gnome-base/gconf:2 |
70 |
+ media-libs/alsa-lib |
71 |
+ media-libs/fontconfig |
72 |
+ media-libs/freetype |
73 |
+ net-misc/curl |
74 |
+ net-print/cups |
75 |
+ sys-apps/dbus |
76 |
+ x11-libs/cairo |
77 |
+ x11-libs/gdk-pixbuf |
78 |
+ x11-libs/gtk+:3 |
79 |
+ x11-libs/libX11 |
80 |
+ x11-libs/libXScrnSaver |
81 |
+ x11-libs/libXcomposite |
82 |
+ x11-libs/libXcursor |
83 |
+ x11-libs/libXdamage |
84 |
+ x11-libs/libXext |
85 |
+ x11-libs/libXfixes |
86 |
+ x11-libs/libXi |
87 |
+ x11-libs/libXrandr |
88 |
+ x11-libs/libXrender |
89 |
+ x11-libs/libXtst |
90 |
+ x11-libs/libnotify |
91 |
+ x11-libs/pango[X] |
92 |
+" |
93 |
+ |
94 |
+QA_PREBUILT="*" |
95 |
+S=${WORKDIR} |
96 |
+ |
97 |
+src_unpack() { |
98 |
+ unpack_deb ${A} |
99 |
+} |
100 |
+ |
101 |
+src_prepare() { |
102 |
+ default |
103 |
+ |
104 |
+ OPERA_HOME="usr/$(get_libdir)/${PN}" |
105 |
+ |
106 |
+ case ${ARCH} in |
107 |
+ amd64) |
108 |
+ mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die |
109 |
+ rm -r usr/lib || die |
110 |
+ ;; |
111 |
+ esac |
112 |
+ |
113 |
+ rm usr/bin/${PN} || die |
114 |
+ |
115 |
+ rm usr/share/doc/${PN}-stable/copyright || die |
116 |
+ mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die |
117 |
+ gunzip usr/share/doc/${PF}/changelog.gz || die |
118 |
+ |
119 |
+ pushd "${OPERA_HOME}"/localization > /dev/null || die |
120 |
+ chromium_remove_language_paks |
121 |
+ popd > /dev/null || die |
122 |
+ |
123 |
+ sed -i \ |
124 |
+ -e 's|^TargetEnvironment|X-&|g' \ |
125 |
+ usr/share/applications/${PN}.desktop || die |
126 |
+} |
127 |
+ |
128 |
+src_install() { |
129 |
+ rm "${OPERA_HOME}"/${PN}_autoupdate || die |
130 |
+ mv * "${D}" || die |
131 |
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} |
132 |
+ fperms 4711 /"${OPERA_HOME}"/opera_sandbox |
133 |
+} |
134 |
+ |
135 |
+pkg_postrm() { |
136 |
+ xdg_icon_cache_update |
137 |
+ xdg_desktop_database_update |
138 |
+ xdg_mimeinfo_database_update |
139 |
+} |
140 |
+ |
141 |
+pkg_postinst() { |
142 |
+ xdg_icon_cache_update |
143 |
+ xdg_desktop_database_update |
144 |
+ xdg_mimeinfo_database_update |
145 |
+} |