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: Thu, 14 May 2020 13:07:38
Message-Id: 1589461651.02d8c4aada491ec689b13000d8e9466526261482.jer@gentoo
1 commit: 02d8c4aada491ec689b13000d8e9466526261482
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 14 13:07:20 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu May 14 13:07:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d8c4aa
7
8 www-client/opera: Old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 www-client/opera/Manifest | 1 -
14 www-client/opera/opera-68.0.3618.63-r1.ebuild | 110 --------------------------
15 2 files changed, 111 deletions(-)
16
17 diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
18 index e87c29d6864..35f0401918b 100644
19 --- a/www-client/opera/Manifest
20 +++ b/www-client/opera/Manifest
21 @@ -1,2 +1 @@
22 DIST opera-stable_68.0.3618.104_amd64.deb 67438144 BLAKE2B 496a9c0c07d330878868ec4b4a3a69da6f90b6d019c867e36562182d1c1dc946d827614797d4e66bddc981809ae925bf1fe8f1f5871099d08d500ae9a1e666dc SHA512 32d5bcf6619bafc5bf92a898dd0d86d53c94e9f7e6fd265d82a989407fe1cb926d56af720c1ca11cbe7701000f8d61c1df076e865d1e241ad20839606ffe3430
23 -DIST opera-stable_68.0.3618.63_amd64.deb 67426060 BLAKE2B f3c5bfc37829471a7feb738be8a3f412d774e6dbc3233e0214303e2a11e43705e9eaf838d2be4daa83b9b377d37db87d03262d9243d60e9702ad43e77a63087e SHA512 69781ad3aebb236a077b38558d1e253e237edc45fc232c56ff577370ad20ba2a2b212068f273b67dd6df21b3e7655c62101879f4fc7389f5b5db1f8237ee8bf2
24
25 diff --git a/www-client/opera/opera-68.0.3618.63-r1.ebuild b/www-client/opera/opera-68.0.3618.63-r1.ebuild
26 deleted file mode 100644
27 index fb69b98489d..00000000000
28 --- a/www-client/opera/opera-68.0.3618.63-r1.ebuild
29 +++ /dev/null
30 @@ -1,110 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -CHROMIUM_LANGS="
36 - be bg bn ca cs da de el en-GB en-US es-419 es fil fi fr-CA fr hi hr hu id
37 - 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
38 - zh-CN zh-TW
39 -
40 -"
41 -inherit chromium-2 multilib unpacker xdg-utils
42 -
43 -DESCRIPTION="A fast and secure web browser"
44 -HOMEPAGE="https://www.opera.com/"
45 -LICENSE="OPERA-2014"
46 -SLOT="0"
47 -SRC_URI_BASE="
48 - https://download1.operacdn.com/pub/
49 - https://download2.operacdn.com/pub/
50 - https://download3.operacdn.com/pub/
51 - https://download4.operacdn.com/pub/
52 -"
53 -for uri in ${SRC_URI_BASE}; do
54 -SRC_URI+="
55 - "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb"
56 -"
57 -done
58 -KEYWORDS="amd64"
59 -
60 -RDEPEND="
61 - dev-libs/expat
62 - dev-libs/glib:2
63 - dev-libs/nspr
64 - dev-libs/nss
65 - media-libs/alsa-lib
66 - media-libs/fontconfig
67 - media-libs/freetype
68 - net-misc/curl
69 - net-print/cups
70 - sys-apps/dbus
71 - x11-libs/cairo
72 - x11-libs/gdk-pixbuf
73 - x11-libs/gtk+:3
74 - x11-libs/libX11
75 - x11-libs/libXScrnSaver
76 - x11-libs/libXcomposite
77 - x11-libs/libXcursor
78 - x11-libs/libXdamage
79 - x11-libs/libXext
80 - x11-libs/libXfixes
81 - x11-libs/libXi
82 - x11-libs/libXrandr
83 - x11-libs/libXrender
84 - x11-libs/libXtst
85 - x11-libs/libnotify
86 - x11-libs/pango[X]
87 -"
88 -
89 -QA_PREBUILT="*"
90 -S=${WORKDIR}
91 -
92 -src_unpack() {
93 - unpack_deb ${A}
94 -}
95 -
96 -src_prepare() {
97 - default
98 -
99 - OPERA_HOME="usr/$(get_libdir)/${PN}"
100 -
101 - case ${ARCH} in
102 - amd64)
103 - mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
104 - rm -r usr/lib || die
105 - ;;
106 - esac
107 -
108 - rm usr/bin/${PN} || die
109 -
110 - rm usr/share/doc/${PN}-stable/copyright || die
111 - mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die
112 - gunzip usr/share/doc/${PF}/changelog.gz || die
113 -
114 - pushd "${OPERA_HOME}"/localization > /dev/null || die
115 - chromium_remove_language_paks
116 - popd > /dev/null || die
117 -
118 - sed -i \
119 - -e 's|^TargetEnvironment|X-&|g' \
120 - usr/share/applications/${PN}.desktop || die
121 -}
122 -
123 -src_install() {
124 - rm "${OPERA_HOME}"/${PN}_autoupdate || die
125 - mv * "${D}" || die
126 - dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
127 - fperms 4711 /"${OPERA_HOME}"/opera_sandbox
128 -}
129 -
130 -pkg_postrm() {
131 - xdg_desktop_database_update
132 - xdg_icon_cache_update
133 - xdg_mimeinfo_database_update
134 -}
135 -
136 -pkg_postinst() {
137 - xdg_desktop_database_update
138 - xdg_icon_cache_update
139 - xdg_mimeinfo_database_update
140 -}