Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/opera/
Date: Wed, 05 Aug 2020 17:08:20
Message-Id: 1596647292.9542be709fe8389a6052c464ac640ac6dd5432bc.jer@gentoo
1 commit: 9542be709fe8389a6052c464ac640ac6dd5432bc
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 5 17:07:34 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 5 17:08:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9542be70
7
8 www-client/opera: Old
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 www-client/opera/Manifest | 2 -
14 www-client/opera/opera-69.0.3686.77.ebuild | 110 -----------------------------
15 www-client/opera/opera-70.0.3728.71.ebuild | 110 -----------------------------
16 3 files changed, 222 deletions(-)
17
18 diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
19 index ee5a16457c0..986fb2e6fbb 100644
20 --- a/www-client/opera/Manifest
21 +++ b/www-client/opera/Manifest
22 @@ -1,3 +1 @@
23 -DIST opera-stable_69.0.3686.77_amd64.deb 66216000 BLAKE2B e9f567fa5bb93c68068786ebf114a5805bc70e2bbc226a4541ab1eb803e639eab3eef1476e862644f676c248a6bbece81c8447e0577ea9fe3f43092b5aac9672 SHA512 ec283dce194827f7fc62918faca052091de4235e5b4e61f4125998e65b1c0d7ec59ce03aa035075c5a03bee9f49443db5319e73cd6b70f97a739e0fca2390872
24 -DIST opera-stable_70.0.3728.71_amd64.deb 67391396 BLAKE2B 747f90cfe052193f9794d14fc2f74b2ea535402a1bc9c6bb9e5a39806654be63599447e382794d681a2045386269d6b249c571386fc588171350239dbfbfc471 SHA512 2c35185fad60c40154fecb844d7ef4f0142081e5b94d251035bc51f9be1083d1206205dd6c52fc6e9879ee514755a1a3b08057f8065135743b59ffb42f75c6d1
25 DIST opera-stable_70.0.3728.95_amd64.deb 67362436 BLAKE2B c3c8eeee491f2ea9a838e9f8b9e94264b35d039c19744e73b0bc1f298a78a1e6f46d7b2203817c54f459aa7b25d353b2e33b39f2d4da83fd03a3b3f85e97da35 SHA512 724a7640f791ce7486fe0e8ce8dae1ad5f1e278e00de81a67ce0c19f4c6dc470ca72c634988ced934fb582e17e2fef8173f4d60fd64f9ee7c72cdd6b86af7b93
26
27 diff --git a/www-client/opera/opera-69.0.3686.77.ebuild b/www-client/opera/opera-69.0.3686.77.ebuild
28 deleted file mode 100644
29 index fb69b98489d..00000000000
30 --- a/www-client/opera/opera-69.0.3686.77.ebuild
31 +++ /dev/null
32 @@ -1,110 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -CHROMIUM_LANGS="
38 - be bg bn ca cs da de el en-GB en-US es-419 es fil fi fr-CA fr hi hr hu id
39 - 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
40 - zh-CN zh-TW
41 -
42 -"
43 -inherit chromium-2 multilib unpacker xdg-utils
44 -
45 -DESCRIPTION="A fast and secure web browser"
46 -HOMEPAGE="https://www.opera.com/"
47 -LICENSE="OPERA-2014"
48 -SLOT="0"
49 -SRC_URI_BASE="
50 - https://download1.operacdn.com/pub/
51 - https://download2.operacdn.com/pub/
52 - https://download3.operacdn.com/pub/
53 - https://download4.operacdn.com/pub/
54 -"
55 -for uri in ${SRC_URI_BASE}; do
56 -SRC_URI+="
57 - "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb"
58 -"
59 -done
60 -KEYWORDS="amd64"
61 -
62 -RDEPEND="
63 - dev-libs/expat
64 - dev-libs/glib:2
65 - dev-libs/nspr
66 - dev-libs/nss
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 -}
143
144 diff --git a/www-client/opera/opera-70.0.3728.71.ebuild b/www-client/opera/opera-70.0.3728.71.ebuild
145 deleted file mode 100644
146 index 58c0be89c0a..00000000000
147 --- a/www-client/opera/opera-70.0.3728.71.ebuild
148 +++ /dev/null
149 @@ -1,110 +0,0 @@
150 -# Copyright 1999-2020 Gentoo Authors
151 -# Distributed under the terms of the GNU General Public License v2
152 -
153 -EAPI=7
154 -CHROMIUM_LANGS="
155 - be bg bn ca cs da de el en-GB en-US es-419 es fil fi fr-CA fr hi hr hu id
156 - 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
157 - zh-CN zh-TW
158 -
159 -"
160 -inherit chromium-2 multilib unpacker xdg-utils
161 -
162 -DESCRIPTION="A fast and secure web browser"
163 -HOMEPAGE="https://www.opera.com/"
164 -LICENSE="OPERA-2014"
165 -SLOT="0"
166 -SRC_URI_BASE="
167 - https://download1.operacdn.com/pub/
168 - https://download2.operacdn.com/pub/
169 - https://download3.operacdn.com/pub/
170 - https://download4.operacdn.com/pub/
171 -"
172 -for uri in ${SRC_URI_BASE}; do
173 -SRC_URI+="
174 - "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb"
175 -"
176 -done
177 -KEYWORDS="~amd64"
178 -
179 -RDEPEND="
180 - dev-libs/expat
181 - dev-libs/glib:2
182 - dev-libs/nspr
183 - dev-libs/nss
184 - media-libs/alsa-lib
185 - media-libs/fontconfig
186 - media-libs/freetype
187 - net-misc/curl
188 - net-print/cups
189 - sys-apps/dbus
190 - x11-libs/cairo
191 - x11-libs/gdk-pixbuf
192 - x11-libs/gtk+:3
193 - x11-libs/libX11
194 - x11-libs/libXScrnSaver
195 - x11-libs/libXcomposite
196 - x11-libs/libXcursor
197 - x11-libs/libXdamage
198 - x11-libs/libXext
199 - x11-libs/libXfixes
200 - x11-libs/libXi
201 - x11-libs/libXrandr
202 - x11-libs/libXrender
203 - x11-libs/libXtst
204 - x11-libs/libnotify
205 - x11-libs/pango[X]
206 -"
207 -
208 -QA_PREBUILT="*"
209 -S=${WORKDIR}
210 -
211 -src_unpack() {
212 - unpack_deb ${A}
213 -}
214 -
215 -src_prepare() {
216 - default
217 -
218 - OPERA_HOME="usr/$(get_libdir)/${PN}"
219 -
220 - case ${ARCH} in
221 - amd64)
222 - mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
223 - rm -r usr/lib || die
224 - ;;
225 - esac
226 -
227 - rm usr/bin/${PN} || die
228 -
229 - rm usr/share/doc/${PN}-stable/copyright || die
230 - mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die
231 - gunzip usr/share/doc/${PF}/changelog.gz || die
232 -
233 - pushd "${OPERA_HOME}"/localization > /dev/null || die
234 - chromium_remove_language_paks
235 - popd > /dev/null || die
236 -
237 - sed -i \
238 - -e 's|^TargetEnvironment|X-&|g' \
239 - usr/share/applications/${PN}.desktop || die
240 -}
241 -
242 -src_install() {
243 - rm "${OPERA_HOME}"/${PN}_autoupdate || die
244 - mv * "${D}" || die
245 - dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
246 - fperms 4711 /"${OPERA_HOME}"/opera_sandbox
247 -}
248 -
249 -pkg_postrm() {
250 - xdg_desktop_database_update
251 - xdg_icon_cache_update
252 - xdg_mimeinfo_database_update
253 -}
254 -
255 -pkg_postinst() {
256 - xdg_desktop_database_update
257 - xdg_icon_cache_update
258 - xdg_mimeinfo_database_update
259 -}