1 |
commit: 4c632bb4879385ee8771eccdb85573c7bfb60b72 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 26 09:11:08 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 26 09:11:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c632bb4 |
7 |
|
8 |
www-client/opera-developer: Version 57.0.3090.0. |
9 |
|
10 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
11 |
|
12 |
www-client/opera-developer/Manifest | 1 + |
13 |
.../opera-developer-57.0.3090.0.ebuild | 116 +++++++++++++++++++++ |
14 |
2 files changed, 117 insertions(+) |
15 |
|
16 |
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest |
17 |
index e085b957688..e9a0b8a9c08 100644 |
18 |
--- a/www-client/opera-developer/Manifest |
19 |
+++ b/www-client/opera-developer/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST opera-developer_57.0.3072.0_amd64.deb 57858176 BLAKE2B 338f5eea5585c774cd32f2216fd3877ca940c2fbc71a1ae30cf50afaa63e31ae5e00a6a5de298ade5df51de47fa09eb3752b1b0a00326bbf3ebe540d5dd12e52 SHA512 d01f5e898b54aedb73d05fec77926d4c7a3033c3b7bac9931cbd923989ab81aa7a7f152ba80940694e9dc12a3bda1b3b0c3d3c97cf1e93c7cc5cf55fb8c619e7 |
22 |
DIST opera-developer_57.0.3082.0_amd64.deb 58678266 BLAKE2B 0fbed5f242581a907fccd14ad8362172d15d22d8a149386dbfc7f008a326f06d783533735530cc7e1ae56bbb5203f05697075a81266f556613eb7630a3183fc5 SHA512 f697242f9aa29794c82cf70db2f80a170336ccbf5416c76aa08779d4ae29848aa17bd9c429c0009ec1fad8504808f6b82da5270832831632bd09469cd32490ef |
23 |
+DIST opera-developer_57.0.3090.0_amd64.deb 69308000 BLAKE2B 1309205234788452f333f18bbf55d0d4d795e433f9cbf95ada7417597db4d6bb90aeb510402a9669f8188c6689eb5b3976f831312659454f7565ebf2399bbe9f SHA512 9c33f1c171543f56fa1a26369ca0fe8a393d180e46c7edc4224a0fc74a19345b8f9236abe556f858b76bb00baa351c5c5d0cc5cc16c70bc3afa659e64a24d88e |
24 |
|
25 |
diff --git a/www-client/opera-developer/opera-developer-57.0.3090.0.ebuild b/www-client/opera-developer/opera-developer-57.0.3090.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..c09ad3685d1 |
28 |
--- /dev/null |
29 |
+++ b/www-client/opera-developer/opera-developer-57.0.3090.0.ebuild |
30 |
@@ -0,0 +1,116 @@ |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+CHROMIUM_LANGS=" |
36 |
+ be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA hi hr hu id it |
37 |
+ ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi |
38 |
+ zh-CN zh-TW |
39 |
+" |
40 |
+inherit chromium-2 gnome2-utils multilib unpacker xdg-utils |
41 |
+ |
42 |
+DESCRIPTION="A fast and secure web browser" |
43 |
+HOMEPAGE="https://www.opera.com/" |
44 |
+LICENSE="OPERA-2014" |
45 |
+SLOT="0" |
46 |
+SRC_URI_BASE=" |
47 |
+ https://download1.operacdn.com/pub/ |
48 |
+ https://download2.operacdn.com/pub/ |
49 |
+ https://download3.operacdn.com/pub/ |
50 |
+ https://download4.operacdn.com/pub/ |
51 |
+" |
52 |
+SRC_URI="amd64? (" |
53 |
+for uri in ${SRC_URI_BASE}; do |
54 |
+SRC_URI+=" |
55 |
+ "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb" |
56 |
+" |
57 |
+done |
58 |
+SRC_URI+=")" |
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 |
+OPERA_HOME="usr/$(get_libdir)/${PN}" |
94 |
+ |
95 |
+src_unpack() { |
96 |
+ unpack_deb ${A} |
97 |
+} |
98 |
+ |
99 |
+src_prepare() { |
100 |
+ epatch_user |
101 |
+ |
102 |
+ case ${ARCH} in |
103 |
+ amd64) |
104 |
+ mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die |
105 |
+ rm -r usr/lib || die |
106 |
+ ;; |
107 |
+ x86) |
108 |
+ mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die |
109 |
+ ;; |
110 |
+ esac |
111 |
+ |
112 |
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || die |
113 |
+ gunzip usr/share/doc/${PF}/changelog.gz || die |
114 |
+ |
115 |
+ rm usr/bin/${PN} || die |
116 |
+ |
117 |
+ pushd "${OPERA_HOME}/localization" > /dev/null || die |
118 |
+ chromium_remove_language_paks |
119 |
+ popd > /dev/null || die |
120 |
+ |
121 |
+ sed -i \ |
122 |
+ -e 's|^TargetEnvironment|X-&|g' \ |
123 |
+ usr/share/applications/${PN}.desktop || die |
124 |
+} |
125 |
+ |
126 |
+src_install() { |
127 |
+ mv * "${D}" || die |
128 |
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} |
129 |
+ fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox |
130 |
+} |
131 |
+ |
132 |
+pkg_preinst() { |
133 |
+ gnome2_icon_savelist |
134 |
+} |
135 |
+ |
136 |
+pkg_postrm() { |
137 |
+ gnome2_icon_cache_update |
138 |
+ xdg_desktop_database_update |
139 |
+ xdg_mimeinfo_database_update |
140 |
+} |
141 |
+ |
142 |
+pkg_postinst() { |
143 |
+ gnome2_icon_cache_update |
144 |
+ xdg_desktop_database_update |
145 |
+ xdg_mimeinfo_database_update |
146 |
+} |