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