Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/
Date: Thu, 28 Jan 2021 09:31:12
Message-Id: 1611826253.c89d4a0bf3f374fcea212664a216434ea3b81cec.chewi@gentoo
1 commit: c89d4a0bf3f374fcea212664a216434ea3b81cec
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 09:13:17 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 09:30:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89d4a0b
7
8 www-client/vivaldi-snapshot: Drop old 3.6.2165.22
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.1
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 www-client/vivaldi-snapshot/Manifest | 4 -
14 .../vivaldi-snapshot-3.6.2165.22.ebuild | 202 ---------------------
15 2 files changed, 206 deletions(-)
16
17 diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
18 index 2cc2ff6f78f..d1eeac4f33b 100644
19 --- a/www-client/vivaldi-snapshot/Manifest
20 +++ b/www-client/vivaldi-snapshot/Manifest
21 @@ -1,7 +1,3 @@
22 -DIST vivaldi-snapshot_3.6.2165.22-1_amd64.deb 77580020 BLAKE2B a35e59be7501e6dd0ff54116d21856c2887aa4cd6cb1f45e73c3c7f2b88c1f299619b8bfbacc994a286af51a09a48d3814dbf2670048b1588457f14cb461ad8c SHA512 a2b0c8e995cbd3c58c1cd93ee9f7c2a7ba29a1f4f7e1d7fdcbfba958c1569b823945cdbda29bc76a1c0c9160f34f84be3e9d4ad41b890319d4a0ae2fadb3a9b4
23 -DIST vivaldi-snapshot_3.6.2165.22-1_arm64.deb 69778528 BLAKE2B 948be83d7b8422b1482f1a837147d190caac30d1bb10b4a3a5dc8636f347da6f41da51332087239ffdf3428333d731a503de162ade5c59aa46657244503c0827 SHA512 9722f7625af7669348e5e241895fed469a76f398347e5f3f976320664550fc0d64c10c5944dfe68957a45f5f34afaafa1e78623ba20ec3ca008ef3ad13058c52
24 -DIST vivaldi-snapshot_3.6.2165.22-1_armhf.deb 68599120 BLAKE2B e594ec892c437016bf6be06b516b09167baeaea0def10deaf983f4eded12adb031b6c82806ce088a3557b3af048945e23be56cc4e5ea842da177a940d1cf1b82 SHA512 16e8255e3650a54d747ff2a30f6a41d717ac5969bc672068a13d13c7ca4341bccb147c688d68673cab33166fc3fdaad0c1e164771b81abab7bcc5290d7ab104c
25 -DIST vivaldi-snapshot_3.6.2165.22-1_i386.deb 74260324 BLAKE2B d2ac290079a5186ee6a2ee3902140b9a8e7e481c6083726584a722b032f23561a33517d4d91592edb5523c59e3f60f3759c925aff704c6009aca73b4be4229e7 SHA512 4627e881b17600a7d49f493be2365070161b6c86eb71c56862ad2dfaee2ca71e46f7db9b182342c36e51c7f4d5dcbfff538035fe321399d0ef64ad286451c8d7
26 DIST vivaldi-snapshot_3.6.2165.26-1_amd64.deb 77534968 BLAKE2B c8fcd5a48f6657289438ba0289a01e3a501510a868a523675c5481335351fefcda2ce972042eb121f488b2b16b7ffe738b8a87ae24d62436a77ebb17480441e2 SHA512 9b6dc9bad55280e79b02ebc70357e9cf4a364249e924c1c744d1748589dda25f29c483f83091823362d4248cd495a54ec11b9992d41e0c351810ef9017fad155
27 DIST vivaldi-snapshot_3.6.2165.26-1_arm64.deb 69807004 BLAKE2B 621675672e6b151a9ec8061f170ac885d151872a334a8ae4ac117f4a640f7a093e30828f1cd95e03e105545790a649b5e668b1dbe663969311df111306f25fe4 SHA512 ef5c098aab49074f5c3c360a9d44929d8e8517f8eaf85d9afca2e46fcecb302f8fac1bb1b37ab1273c764a9c837034992f5d2f963b0b3a43863e1a6e994080cd
28 DIST vivaldi-snapshot_3.6.2165.26-1_armhf.deb 68608692 BLAKE2B 0e54dc2c5f8b8ec238d0de7c79c40316b0f6005df43fc37ace484f4bf048e305be321d880a513c97c3dacd8797229d279c08dfe63a8c7307fe15ba60f935c2c7 SHA512 e2d19ccabea4fde8fab3a2589ef4e8361d4fcd4f964b8254d929822d67cc8a6667356f2131526b124537fc688b18a781833a2c5b07bd14c3f0877f990136e6b2
29
30 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.22.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.22.ebuild
31 deleted file mode 100644
32 index e3d12da4e30..00000000000
33 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.22.ebuild
34 +++ /dev/null
35 @@ -1,202 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -CHROMIUM_LANGS="
42 - af
43 - am
44 - ar
45 - be
46 - bg
47 - bn
48 - ca
49 - cs
50 - da
51 - de
52 - de-CH
53 - el
54 - en-GB
55 - en-US
56 - eo
57 - es
58 - es-419
59 - es-PE
60 - et
61 - eu
62 - fa
63 - fi
64 - fil
65 - fr
66 - fy
67 - gd
68 - gl
69 - gu
70 - he
71 - hi
72 - hr
73 - hu
74 - hy
75 - id
76 - io
77 - is
78 - it
79 - ja
80 - jbo
81 - ka
82 - kn
83 - ko
84 - ku
85 - lt
86 - lv
87 - mk
88 - ml
89 - mr
90 - ms
91 - nb
92 - nl
93 - nn
94 - pl
95 - pt-BR
96 - pt-PT
97 - ro
98 - ru
99 - sc
100 - sk
101 - sl
102 - sq
103 - sr
104 - sv
105 - sw
106 - ta
107 - te
108 - th
109 - tr
110 - uk
111 - vi
112 - zh-CN
113 - zh-TW
114 -"
115 -
116 -inherit chromium-2 desktop unpacker xdg
117 -
118 -VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}"
119 -VIVALDI_HOME="opt/${PN}"
120 -DESCRIPTION="A browser for our friends"
121 -HOMEPAGE="https://vivaldi.com/"
122 -
123 -if [[ ${PV} = *_p* ]]; then
124 - DEB_REV="${PV#*_p}"
125 -else
126 - DEB_REV=1
127 -fi
128 -
129 -VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
130 -SRC_URI="
131 - amd64? ( ${VIVALDI_BASE_URI}amd64.deb )
132 - arm64? ( ${VIVALDI_BASE_URI}arm64.deb )
133 - arm? ( ${VIVALDI_BASE_URI}armhf.deb )
134 - x86? ( ${VIVALDI_BASE_URI}i386.deb )
135 -"
136 -
137 -LICENSE="Vivaldi"
138 -SLOT="0"
139 -KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
140 -IUSE="proprietary-codecs widevine"
141 -RESTRICT="bindist mirror"
142 -
143 -RDEPEND="
144 - dev-libs/expat
145 - dev-libs/glib:2
146 - dev-libs/nspr
147 - dev-libs/nss
148 - media-libs/alsa-lib
149 - media-libs/fontconfig
150 - media-libs/freetype
151 - media-libs/speex
152 - net-print/cups
153 - sys-apps/dbus
154 - sys-libs/libcap
155 - x11-libs/cairo
156 - x11-libs/gdk-pixbuf
157 - x11-libs/gtk+:3
158 - x11-libs/libX11
159 - x11-libs/libXScrnSaver
160 - x11-libs/libXcomposite
161 - x11-libs/libXcursor
162 - x11-libs/libXdamage
163 - x11-libs/libXext
164 - x11-libs/libXfixes
165 - x11-libs/libXi
166 - x11-libs/libXrandr
167 - x11-libs/libXrender
168 - x11-libs/libXtst
169 - x11-libs/pango[X]
170 - proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] )
171 - widevine? ( www-plugins/chrome-binary-plugins )
172 -"
173 -
174 -QA_PREBUILT="*"
175 -S="${WORKDIR}"
176 -
177 -src_unpack() {
178 - unpack_deb ${A}
179 -}
180 -
181 -src_prepare() {
182 - # Rename docs directory to our needs.
183 - mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die
184 -
185 - # Decompress the docs.
186 - gunzip usr/share/doc/${PF}/changelog.gz || die
187 -
188 - # The appdata directory is deprecated.
189 - mv usr/share/{appdata,metainfo}/ || die
190 -
191 - # Remove cron job for updating from Debian repos.
192 - rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die
193 - rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die
194 -
195 - # Remove scripts that will most likely break things.
196 - rm ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die
197 -
198 - pushd ${VIVALDI_HOME}/locales > /dev/null || die
199 - rm ja-KS.pak || die # No flag for Kansai as not in IETF list.
200 - chromium_remove_language_paks
201 - popd > /dev/null || die
202 -
203 - if use proprietary-codecs; then
204 - rm ${VIVALDI_HOME}/lib/libffmpeg.so || die
205 - rmdir ${VIVALDI_HOME}/lib || die
206 - fi
207 -
208 - eapply_user
209 -}
210 -
211 -src_install() {
212 - mv */ "${D}" || die
213 - dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
214 - fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
215 -
216 - local logo size
217 - for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do
218 - size=${logo##*_}
219 - size=${size%.*}
220 - newicon -s "${size}" "${logo}" ${PN}.png
221 - done
222 -
223 - if use proprietary-codecs; then
224 - dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so \
225 - /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2)
226 - fi
227 -
228 - if use widevine; then
229 - dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \
230 - /${VIVALDI_HOME}/WidevineCdm
231 - else
232 - rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die
233 - fi
234 -
235 - [[ ${PN} = vivaldi-snapshot ]] &&
236 - dosym ${PN} /${VIVALDI_HOME}/vivaldi
237 -}