1 |
commit: 9c5600f9abee86d6f9208114617075289b24018c |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 5 20:16:02 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 5 20:16:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5600f9 |
7 |
|
8 |
www-client/opera-beta: Version 64.0.3417.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.75, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
www-client/opera-beta/Manifest | 1 + |
14 |
.../opera-beta/opera-beta-64.0.3417.8.ebuild | 115 +++++++++++++++++++++ |
15 |
2 files changed, 116 insertions(+) |
16 |
|
17 |
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest |
18 |
index 40fc469142f..23cc67e1fb5 100644 |
19 |
--- a/www-client/opera-beta/Manifest |
20 |
+++ b/www-client/opera-beta/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST opera-beta_63.0.3368.33_amd64.deb 60993852 BLAKE2B ebc7ef2bc0281a24be4b67bed32078f20d15736a8030f17a7c42dfd7559b540076559287ba9a3bd613b33b2e3df766f1fc7e39b73af1655a7182571aab3b8944 SHA512 d50171df199f804fb5178ce7afc83b79413be528171837039b41b6f345277aa855ecc1b710ba4c4905a560b0f9e7efbc3ecf6351e90c332e04746c3879a7052e |
23 |
DIST opera-beta_63.0.3368.51_amd64.deb 61177834 BLAKE2B 7b31da9a59dbacfc4f98fd56ffc6f50c45e7c05677ade30ca0c9b83777090326b4bda83d1458da637f419045bd3a00b1caca012366395a5d9c9620e9d07adee5 SHA512 a6d8d45025fd2c985f8004c1327de3f29f50cee1f4b6976b157524230ea90aee9afc89e6522e677277df8c90ac6b08d81ae541705a458fa9d1702a8c0a669836 |
24 |
+DIST opera-beta_64.0.3417.8_amd64.deb 66468202 BLAKE2B cacfce4db714ef83e7130bb2d5729541aa4e86d1645e0b80009c7b6a354fbf459976a692b4b24a5f5a4afabb292a87f5be8c5b1f74d6ac5ba0e2724f2bc52569 SHA512 783d875986f0ca64bbe049370cac718982075412fa07e27830452b0b6df630f9121add83caa5dae5758bf6f67d71876aea36ef0011739eaf98980bb053680569 |
25 |
|
26 |
diff --git a/www-client/opera-beta/opera-beta-64.0.3417.8.ebuild b/www-client/opera-beta/opera-beta-64.0.3417.8.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..59a8587ec4b |
29 |
--- /dev/null |
30 |
+++ b/www-client/opera-beta/opera-beta-64.0.3417.8.ebuild |
31 |
@@ -0,0 +1,115 @@ |
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 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 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 |
+ |
95 |
+pkg_setup() { |
96 |
+ OPERA_HOME="usr/$(get_libdir)/${PN}" |
97 |
+} |
98 |
+ |
99 |
+src_unpack() { |
100 |
+ unpack_deb ${A} |
101 |
+} |
102 |
+ |
103 |
+src_prepare() { |
104 |
+ default |
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 |
+ x86) |
112 |
+ mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die |
113 |
+ ;; |
114 |
+ esac |
115 |
+ |
116 |
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || die |
117 |
+ gunzip usr/share/doc/${PF}/changelog.gz || die |
118 |
+ |
119 |
+ rm usr/bin/${PN} || die |
120 |
+ |
121 |
+ pushd "${OPERA_HOME}/localization" > /dev/null || die |
122 |
+ chromium_remove_language_paks |
123 |
+ popd > /dev/null || die |
124 |
+ |
125 |
+ sed -i \ |
126 |
+ -e 's|^TargetEnvironment|X-&|g' \ |
127 |
+ usr/share/applications/${PN}.desktop || die |
128 |
+} |
129 |
+ |
130 |
+src_install() { |
131 |
+ mv * "${D}" || die |
132 |
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} |
133 |
+ fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox |
134 |
+} |
135 |
+ |
136 |
+pkg_postrm() { |
137 |
+ xdg_desktop_database_update |
138 |
+ xdg_icon_cache_update |
139 |
+ xdg_mimeinfo_database_update |
140 |
+} |
141 |
+ |
142 |
+pkg_postinst() { |
143 |
+ xdg_desktop_database_update |
144 |
+ xdg_icon_cache_update |
145 |
+ xdg_mimeinfo_database_update |
146 |
+} |