1 |
commit: cb9b1da1390e4e5218c7be8f5960813ffc65d87a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 28 20:02:18 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 28 20:26:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9b1da1 |
7 |
|
8 |
www-client/opera: Version 53.0.2907.68. |
9 |
|
10 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
11 |
|
12 |
www-client/opera/Manifest | 1 + |
13 |
www-client/opera/opera-53.0.2907.68.ebuild | 109 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 110 insertions(+) |
15 |
|
16 |
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest |
17 |
index a2f387a5a1c..f4b6de344b9 100644 |
18 |
--- a/www-client/opera/Manifest |
19 |
+++ b/www-client/opera/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST opera-12.16-1860.i386.linux.tar.xz 13154668 BLAKE2B 7f9ef54f44bc143c13173bc |
21 |
DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 BLAKE2B e0cb727ea79868d1c3c692d445fc8949f554c3bbe2bf3c9f222885891458cab7af1a29096cd3caf6936e83068841dda4bff5b8a17eb55a86bebe39ce2b270183 SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b |
22 |
DIST opera-stable_53.0.2907.37_amd64.deb 54641998 BLAKE2B 32085d1cc8aa5248d0bd1e1c1979bc66cd6f56faab0dfa99668d05ae3caa773bf3b106485b564c8dc60833bcf4a3bbcee563ce266961de7a897d6b526f26ed61 SHA512 fa3540239cba45a1848b9a37d127c5f43109eb5ab939590be15575b6338369bc1dc88830d97a6e32f0a98d72da0f0794e4ec1eca88f5f973d696ad4df6d6d6a6 |
23 |
DIST opera-stable_53.0.2907.57_amd64.deb 54125638 BLAKE2B 986d97a5381d406ed59ff941cc821f14486117faf854b407b3df9207031fe9342564cd03ec44706fd53c92595c769de3365b34c59c904e30ed48dac8239011d5 SHA512 f3addc419bf3e009410804308c5292234fb036ab42299143bad67a2457078e91ff8b64fac34aa9f243504c05ee013f4f4369386ff2c77014093ea4adf5079d65 |
24 |
+DIST opera-stable_53.0.2907.68_amd64.deb 54558586 BLAKE2B 25cb99e6c7699f85b45ce84cadeaa846fe20189ed0db9037b485104da95c9e8e861e69c67cf0dd4a2d772324168b1b0824ac653cc0c034d845387c814a8d44a3 SHA512 7e6802d7ba77b1a2a706b9d1218615810093adc0843887ece13104fbb6893e8d044d422c4df9746ed93b13de447cb8662d63a9ed2456f4e26aaf15031e809898 |
25 |
|
26 |
diff --git a/www-client/opera/opera-53.0.2907.68.ebuild b/www-client/opera/opera-53.0.2907.68.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..139f6afa7c7 |
29 |
--- /dev/null |
30 |
+++ b/www-client/opera/opera-53.0.2907.68.ebuild |
31 |
@@ -0,0 +1,109 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
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-419 es fil fi fr-CA fr hi hr hu id it ja |
38 |
+ ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN |
39 |
+ zh-TW |
40 |
+" |
41 |
+inherit chromium-2 gnome2-utils multilib unpacker xdg-utils |
42 |
+ |
43 |
+DESCRIPTION="A fast and secure web browser" |
44 |
+HOMEPAGE="http://www.opera.com/" |
45 |
+LICENSE="OPERA-2014" |
46 |
+SLOT="0" |
47 |
+SRC_URI_BASE=" |
48 |
+ http://download1.operacdn.com/pub/ |
49 |
+ http://download2.operacdn.com/pub/ |
50 |
+ http://download3.operacdn.com/pub/ |
51 |
+ http://download4.operacdn.com/pub/ |
52 |
+" |
53 |
+for uri in ${SRC_URI_BASE}; do |
54 |
+SRC_URI+=" |
55 |
+ "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" |
56 |
+" |
57 |
+done |
58 |
+KEYWORDS="~amd64" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ dev-libs/expat |
62 |
+ dev-libs/glib:2 |
63 |
+ dev-libs/nspr |
64 |
+ dev-libs/nss |
65 |
+ gnome-base/gconf:2 |
66 |
+ media-libs/alsa-lib |
67 |
+ media-libs/fontconfig |
68 |
+ media-libs/freetype |
69 |
+ net-misc/curl |
70 |
+ net-print/cups |
71 |
+ sys-apps/dbus |
72 |
+ x11-libs/cairo |
73 |
+ x11-libs/gdk-pixbuf |
74 |
+ x11-libs/gtk+:2 |
75 |
+ x11-libs/libX11 |
76 |
+ x11-libs/libXScrnSaver |
77 |
+ x11-libs/libXcomposite |
78 |
+ x11-libs/libXcursor |
79 |
+ x11-libs/libXdamage |
80 |
+ x11-libs/libXext |
81 |
+ x11-libs/libXfixes |
82 |
+ x11-libs/libXi |
83 |
+ x11-libs/libXrandr |
84 |
+ x11-libs/libXrender |
85 |
+ x11-libs/libXtst |
86 |
+ x11-libs/libnotify |
87 |
+ x11-libs/pango[X] |
88 |
+" |
89 |
+ |
90 |
+QA_PREBUILT="*" |
91 |
+S=${WORKDIR} |
92 |
+OPERA_HOME="usr/$(get_libdir)/${PN}" |
93 |
+ |
94 |
+src_unpack() { |
95 |
+ unpack_deb ${A} |
96 |
+} |
97 |
+ |
98 |
+src_prepare() { |
99 |
+ case ${ARCH} in |
100 |
+ amd64) |
101 |
+ mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die |
102 |
+ rm -r usr/lib || die |
103 |
+ ;; |
104 |
+ esac |
105 |
+ |
106 |
+ rm usr/bin/${PN} || die |
107 |
+ |
108 |
+ rm usr/share/doc/${PN}-stable/copyright || die |
109 |
+ mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die |
110 |
+ |
111 |
+ pushd "${OPERA_HOME}/localization" > /dev/null || die |
112 |
+ chromium_remove_language_paks |
113 |
+ popd > /dev/null || die |
114 |
+ |
115 |
+ sed -i \ |
116 |
+ -e 's|^TargetEnvironment|X-&|g' \ |
117 |
+ usr/share/applications/${PN}.desktop || die |
118 |
+} |
119 |
+ |
120 |
+src_install() { |
121 |
+ mv * "${D}" || die |
122 |
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} |
123 |
+ fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox |
124 |
+} |
125 |
+ |
126 |
+pkg_preinst() { |
127 |
+ gnome2_icon_savelist |
128 |
+} |
129 |
+ |
130 |
+pkg_postrm() { |
131 |
+ gnome2_icon_cache_update |
132 |
+ xdg_desktop_database_update |
133 |
+ xdg_mimeinfo_database_update |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ gnome2_icon_cache_update |
138 |
+ xdg_desktop_database_update |
139 |
+ xdg_mimeinfo_database_update |
140 |
+} |