Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/opera-beta/
Date: Thu, 07 Jan 2021 18:34:20
Message-Id: 1610044451.33d0f8ac11e7247b61c86e38e38fcb23e0ade661.sultan@gentoo
1 commit: 33d0f8ac11e7247b61c86e38e38fcb23e0ade661
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 18:33:43 2021 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 18:34:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d0f8ac
7
8 www-client/opera-beta: remove old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
12
13 www-client/opera-beta/Manifest | 2 -
14 .../opera-beta/opera-beta-73.0.3856.283.ebuild | 139 ---------------------
15 2 files changed, 141 deletions(-)
16
17 diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest
18 index e4dd40dee2a..47935d68993 100644
19 --- a/www-client/opera-beta/Manifest
20 +++ b/www-client/opera-beta/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST opera-beta_73.0.3856.283_amd64.deb 70931480 BLAKE2B 928db29de19c2b6d83920b8befb61f90a6fa860588ec59d8a0e6b0003cc1e8be4f71e9c53bccf05789063c23dffc11c709aae0b167b808e83cd197187a106860 SHA512 cf39d9b5bebc7d538eff69837a531f24e4134664a1242aa475812cc4e30ccb7441c46ae947a78ca9b62ad64ddb339cd9a53c041fc5625b28222ee4f784ca8a6f
23 DIST opera-beta_74.0.3911.22_amd64.deb 72756704 BLAKE2B b8ad0ce9ab7d30cc4498adf73dd48bcc956fa8092cef8a37b2fca9ed3c0011f1ff6cb6c0819e540b4376e165e9f22c52041a8fa355490922f429c908dabd0b50 SHA512 3c81ad54ce9f425c4be1bb8303961fd52b26e6949747afae2d2b4509a85f8744d5cb9cc7f488faabd5b5a9678972f177831f191542e8c9ab1dba21ce5a916e36
24 -DIST opera-ffmpeg-codecs-87.0.4280.88.tar.xz 1361732 BLAKE2B 1a4fa468d472bca80e7c7f79d6dd5b4e58ff6566cea546febf3ac56fc9eb89d663d3f11a4a05883f377f7cb73101353dcfc0fba875e9300d2e2d0b749ed3232c SHA512 6f5e8616a0995b51218b5117619eac74419c5631f559ffacf71c51318e407430f1509e84114eb4945353d6a2b95097d3aae5083f73ddab76d55263e185b9c204
25 DIST opera-ffmpeg-codecs-88.0.4324.27.tar.xz 1362668 BLAKE2B 0815049dbf95996a04a072ad1b82664ef594e0ea99aaea5ea9d54448457bb5aa5c6d9cb95d6c84a14ca64a29e0a2e9c6f5315a1988eb577ad02cc7422fe0f886 SHA512 cd1857d302c413a52433839103a3a268a12ab255ad8d6e651e872f7f28b61e1426e3c2854fc9a6acf4430be9fa8fea939de288c800cc3c60696394f77d86146d
26
27 diff --git a/www-client/opera-beta/opera-beta-73.0.3856.283.ebuild b/www-client/opera-beta/opera-beta-73.0.3856.283.ebuild
28 deleted file mode 100644
29 index 12ecad2009a..00000000000
30 --- a/www-client/opera-beta/opera-beta-73.0.3856.283.ebuild
31 +++ /dev/null
32 @@ -1,139 +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 -inherit chromium-2 multilib pax-utils unpacker xdg
43 -
44 -DESCRIPTION="A fast and secure web browser"
45 -HOMEPAGE="https://www.opera.com/"
46 -LICENSE="OPERA-2018"
47 -SLOT="0"
48 -
49 -SRC_URI_BASE=(
50 - "https://download1.operacdn.com/pub/${PN}"
51 - "https://download2.operacdn.com/pub/${PN}"
52 - "https://download3.operacdn.com/pub/${PN}"
53 - "https://download4.operacdn.com/pub/${PN}"
54 -)
55 -
56 -if [[ ${PN} == opera ]]; then
57 - KEYWORDS="-* amd64"
58 - MY_PN=${PN}-stable
59 - SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" )
60 -else
61 - KEYWORDS="-* ~amd64"
62 - MY_PN=${PN}
63 -fi
64 -
65 -FFMPEG_VERSION="87.0.4280.88"
66 -
67 -SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.deb}
68 - proprietary-codecs? (
69 - https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz
70 - )"
71 -
72 -IUSE="+proprietary-codecs suid widevine"
73 -RESTRICT="bindist mirror"
74 -
75 -RDEPEND="
76 - app-accessibility/at-spi2-atk:2
77 - app-accessibility/at-spi2-core:2
78 - dev-libs/atk
79 - dev-libs/expat
80 - dev-libs/glib:2
81 - dev-libs/nspr
82 - dev-libs/nss
83 - media-libs/alsa-lib
84 - media-libs/mesa[gbm]
85 - net-misc/curl
86 - net-print/cups
87 - sys-apps/dbus
88 - x11-libs/cairo
89 - x11-libs/gdk-pixbuf
90 - x11-libs/gtk+:3
91 - x11-libs/libdrm
92 - x11-libs/libxcb
93 - x11-libs/libxkbcommon
94 - x11-libs/libX11
95 - x11-libs/libXcomposite
96 - x11-libs/libXdamage
97 - x11-libs/libXext
98 - x11-libs/libXfixes
99 - x11-libs/libXrandr
100 - x11-libs/pango
101 - widevine? ( www-plugins/chrome-binary-plugins )
102 -"
103 -
104 -QA_PREBUILT="*"
105 -S=${WORKDIR}
106 -OPERA_HOME="opt/opera${PN#opera}"
107 -
108 -pkg_pretend() {
109 - # Protect against people using autounmask overzealously
110 - use amd64 || die "opera only works on amd64"
111 -}
112 -
113 -pkg_setup() {
114 - chromium_suid_sandbox_check_kernel_config
115 -}
116 -
117 -src_unpack() {
118 - :
119 -}
120 -
121 -src_install() {
122 - dodir /
123 - cd "${ED}" || die
124 - unpacker
125 -
126 - # move to /opt, bug #573052
127 - mkdir -p "${OPERA_HOME%${PN}}"
128 - mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die
129 - rm -r "usr/lib" || die
130 -
131 - # disable auto update
132 - rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die
133 -
134 - rm -r "usr/share/lintian" || die
135 -
136 - # fix docs
137 - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
138 - gzip -d usr/share/doc/${PF}/changelog.gz || die
139 -
140 - # fix desktop file
141 - sed -i \
142 - -e 's|^TargetEnvironment|X-&|g' \
143 - usr/share/applications/${PN}.desktop || die
144 -
145 - # remove unused language packs
146 - pushd "${OPERA_HOME}/localization" > /dev/null || die
147 - chromium_remove_language_paks
148 - popd > /dev/null || die
149 -
150 - # setup opera symlink
151 - rm "usr/bin/${PN}" || die
152 - dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}"
153 -
154 - # install proprietary codecs
155 - rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die
156 - if use proprietary-codecs; then
157 - mv lib_extra "${OPERA_HOME}"
158 - fi
159 -
160 - # symlink widevine
161 - rm "${OPERA_HOME}/resources/widevine_config.json" || die
162 - if use widevine; then
163 - echo "[\"${EPREFIX}/usr/$(get_libdir)/chromium-browser/WidevineCdm\"]" > \
164 - "${OPERA_HOME}/resources/widevine_config.json" || die
165 - fi
166 -
167 - # pax mark opera, bug #562038
168 - pax-mark m "${OPERA_HOME}/opera"
169 - # enable suid sandbox if requested
170 - use suid && fperms 4711 "${OPERA_HOME}/opera_sandbox"
171 -}