1 |
commit: 8a97214175e5a7bf123db894c6159343a7039d2d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 20 00:51:19 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 20 00:51:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a972141 |
7 |
|
8 |
www-client/opera: remove old |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
www-client/opera/Manifest | 2 - |
13 |
www-client/opera/opera-89.0.4447.91.ebuild | 158 ----------------------------- |
14 |
2 files changed, 160 deletions(-) |
15 |
|
16 |
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest |
17 |
index ea95d77a7125..8df5dbf7d6f8 100644 |
18 |
--- a/www-client/opera/Manifest |
19 |
+++ b/www-client/opera/Manifest |
20 |
@@ -1,4 +1,2 @@ |
21 |
-DIST opera-ffmpeg-codecs-102.0.5005.61.tar.xz 1429920 BLAKE2B a4cb07805650c3cd7f7e1127e475775c95d74b8cd17af5ad736a6d4f256176586b1608c2a617961cf2f3f7980879bc8f1a84cd9faa4838eafbc7b1b4e2edfe1a SHA512 af20383a0b77da89bf2ef52b412d9cce0a1f12bcfe2612ebd5110f1e8008cfff874da36e00b980609ac29346c545f2326bbe5f1b42473530f2886d67a00f52ca |
22 |
DIST opera-ffmpeg-codecs-104.0.5083.0.tar.xz 1431840 BLAKE2B 172ba55d6f390eaea644803ddae8c3cee4ee2d585de873db438d43b9e7f6d07f5b0e9b659f06c126f65148148d889948cc3287ee21da00eec08f2e665be47dbc SHA512 9ca7fe8a244b634d65a28602f9e1173694faaab6de95cd0a44aeedc29dffb75b14adf842c69d5ba5631fb40e51f021fce190dc8307148d8e9218230b7cde29b8 |
23 |
-DIST opera-stable_89.0.4447.91_amd64.deb 86689928 BLAKE2B c626629f61fbdd8485355f949393fce061e54ccd2781ce73ca903123510fd0afee28fb34af5c29c381ace6961de0159c581315d71ade1c00a9e5f81899bd6128 SHA512 d43533f0804f15b74a87364f811ae2e05ab63289ee55e7f8f9f5c41c33381b22f317f7edbf6ae48f12ab41ccf702dd03e14ec0fc5a1b281a99eafed6ecd006e7 |
24 |
DIST opera-stable_90.0.4480.48_amd64.deb 87500480 BLAKE2B e2fb9828ed9a6bf4aaab6192dcc0bd4da19b8262ef474b64a52ec5aa48a6898a08408c36d73b2d464c714a0bf3e64eb207d0f705827d54056a2bb9835c630f21 SHA512 29b1004cffc34bc0fc36937d0e19dc515cb712d00206b48d94c7cc00ec38007e122484dc9f3423ce6ee4487c9d6b950a43936ce1d9877cfda84389c4a9699ca7 |
25 |
|
26 |
diff --git a/www-client/opera/opera-89.0.4447.91.ebuild b/www-client/opera/opera-89.0.4447.91.ebuild |
27 |
deleted file mode 100644 |
28 |
index fdfecdad5600..000000000000 |
29 |
--- a/www-client/opera/opera-89.0.4447.91.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,158 +0,0 @@ |
32 |
-# Copyright 1999-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=8 |
36 |
-CHROMIUM_LANGS=" |
37 |
- bg bn ca cs da de el en-GB en-US es-419 es fil fi fr hi hr hu id |
38 |
- 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 |
39 |
- zh-CN zh-TW |
40 |
-" |
41 |
- |
42 |
-# These are intended for ebuild maintainer use to force RPM if DEB is not available. |
43 |
-: ${OPERA_FORCE_RPM=no} |
44 |
- |
45 |
-inherit chromium-2 pax-utils xdg |
46 |
- |
47 |
-if [[ ${OPERA_FORCE_RPM} == yes ]]; then |
48 |
- inherit rpm |
49 |
- OPERA_ARCHIVE_EXT="rpm" |
50 |
-else |
51 |
- inherit unpacker |
52 |
- OPERA_ARCHIVE_EXT="deb" |
53 |
-fi |
54 |
- |
55 |
-DESCRIPTION="A fast and secure web browser" |
56 |
-HOMEPAGE="https://www.opera.com/" |
57 |
-LICENSE="OPERA-2018" |
58 |
-SLOT="0" |
59 |
- |
60 |
-SRC_URI_BASE=( |
61 |
- "https://download1.operacdn.com/pub/${PN}" |
62 |
- "https://download2.operacdn.com/pub/${PN}" |
63 |
- "https://download3.operacdn.com/pub/${PN}" |
64 |
- "https://download4.operacdn.com/pub/${PN}" |
65 |
-) |
66 |
- |
67 |
-if [[ ${PN} == opera ]]; then |
68 |
- MY_PN=${PN}-stable |
69 |
- SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" ) |
70 |
-else |
71 |
- MY_PN=${PN} |
72 |
-fi |
73 |
- |
74 |
-KEYWORDS="-* amd64" |
75 |
- |
76 |
-FFMPEG_VERSION="102.0.5005.61" |
77 |
- |
78 |
-SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}} |
79 |
- proprietary-codecs? ( |
80 |
- mirror+https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz |
81 |
- )" |
82 |
- |
83 |
-IUSE="+proprietary-codecs suid" |
84 |
-RESTRICT="bindist mirror strip" |
85 |
- |
86 |
-RDEPEND=" |
87 |
- app-accessibility/at-spi2-atk:2 |
88 |
- app-accessibility/at-spi2-core:2 |
89 |
- dev-libs/atk |
90 |
- dev-libs/expat |
91 |
- dev-libs/glib:2 |
92 |
- dev-libs/nspr |
93 |
- dev-libs/nss |
94 |
- gnome-base/gsettings-desktop-schemas |
95 |
- media-libs/alsa-lib |
96 |
- media-libs/mesa[gbm(+)] |
97 |
- net-misc/curl |
98 |
- net-print/cups |
99 |
- sys-apps/dbus |
100 |
- sys-libs/glibc |
101 |
- x11-libs/cairo |
102 |
- x11-libs/gdk-pixbuf |
103 |
- x11-libs/gtk+:3 |
104 |
- x11-libs/libdrm |
105 |
- x11-libs/libxcb |
106 |
- x11-libs/libxkbcommon |
107 |
- x11-libs/libxshmfence |
108 |
- x11-libs/libX11 |
109 |
- x11-libs/libXcomposite |
110 |
- x11-libs/libXdamage |
111 |
- x11-libs/libXext |
112 |
- x11-libs/libXfixes |
113 |
- x11-libs/libXrandr |
114 |
- x11-libs/pango |
115 |
-" |
116 |
- |
117 |
-QA_PREBUILT="*" |
118 |
-S=${WORKDIR} |
119 |
-OPERA_HOME="opt/opera${PN#opera}" |
120 |
- |
121 |
-pkg_pretend() { |
122 |
- # Protect against people using autounmask overzealously |
123 |
- use amd64 || die "opera only works on amd64" |
124 |
-} |
125 |
- |
126 |
-pkg_setup() { |
127 |
- chromium_suid_sandbox_check_kernel_config |
128 |
-} |
129 |
- |
130 |
-src_unpack() { |
131 |
- : |
132 |
-} |
133 |
- |
134 |
-src_install() { |
135 |
- dodir / |
136 |
- cd "${ED}" || die |
137 |
- if [[ ${OPERA_FORCE_RPM} == yes ]]; then |
138 |
- rpm_src_unpack "${A[0]}" |
139 |
- else |
140 |
- unpacker |
141 |
- fi |
142 |
- |
143 |
- # move to /opt, bug #573052 |
144 |
- mkdir -p "${OPERA_HOME%${PN}}" |
145 |
- if [[ ${OPERA_FORCE_RPM} == yes ]]; then |
146 |
- mv "usr/lib64/${PN}" "${OPERA_HOME%${PN}}" || die |
147 |
- else |
148 |
- mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die |
149 |
- fi |
150 |
- rm -r "usr/lib" || die |
151 |
- |
152 |
- # disable auto update |
153 |
- rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die |
154 |
- |
155 |
- if [[ ${OPERA_FORCE_RPM} == yes ]]; then |
156 |
- rm "${OPERA_HOME}/setup_repo.sh" || die |
157 |
- else |
158 |
- rm -r "usr/share/lintian" || die |
159 |
- |
160 |
- # fix docs |
161 |
- mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die |
162 |
- gzip -d usr/share/doc/${PF}/changelog.gz || die |
163 |
- fi |
164 |
- |
165 |
- # fix desktop file |
166 |
- sed -i \ |
167 |
- -e 's|^TargetEnvironment|X-&|g' \ |
168 |
- usr/share/applications/${PN}.desktop || die |
169 |
- |
170 |
- # remove unused language packs |
171 |
- pushd "${OPERA_HOME}/localization" > /dev/null || die |
172 |
- chromium_remove_language_paks |
173 |
- popd > /dev/null || die |
174 |
- |
175 |
- # setup opera symlink |
176 |
- rm "usr/bin/${PN}" || die |
177 |
- dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}" |
178 |
- |
179 |
- # install proprietary codecs |
180 |
- rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die |
181 |
- if use proprietary-codecs; then |
182 |
- mv lib_extra "${OPERA_HOME}" |
183 |
- fi |
184 |
- |
185 |
- # pax mark opera, bug #562038 |
186 |
- pax-mark m "${OPERA_HOME}/opera" |
187 |
- # enable suid sandbox if requested |
188 |
- use suid && fperms 4711 "${OPERA_HOME}/opera_sandbox" |
189 |
-} |