summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-16 17:24:39 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-16 17:25:45 +0200
commitfb7f782d3306def13c2bd407c13c22b6a2bb54e4 (patch)
tree37589dc367a642b025bd4e1d805c1274b37a4e5d /www-client
parentwww-client/opera: Fix x11-libs/gtk+ dependency. (diff)
downloadgentoo-fb7f782d3306def13c2bd407c13c22b6a2bb54e4.tar.gz
gentoo-fb7f782d3306def13c2bd407c13c22b6a2bb54e4.tar.bz2
gentoo-fb7f782d3306def13c2bd407c13c22b6a2bb54e4.zip
www-client/opera-developer: Switch back to debs
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera-developer/Manifest2
-rw-r--r--www-client/opera-developer/opera-developer-57.0.3072.0-r1.ebuild (renamed from www-client/opera-developer/opera-developer-57.0.3072.0.ebuild)20
2 files changed, 19 insertions, 3 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index e591da71699b..0964593c050e 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,2 @@
DIST opera-developer_57.0.3065.0_amd64.rpm 55367540 BLAKE2B 62809c5b986c11517bbac2f941964df07dba2feae16cb974b189fad6fdd29d92c3f198c09ae58aba751c8abb3e3301b87a6c8aca8c1eca0fc6d3f04ca402b489 SHA512 c328381fe9f303e35fae3e3d995c5a186fe885edeb7e86c6de4542133793e7885dbd579e2451a21d95cbdf0941f7a891523486d0b410b9d2b740c3589083ef28
-DIST opera-developer_57.0.3072.0_amd64.rpm 55503092 BLAKE2B 9e326fa416e707057895257aeb3e248aca57e3b3d748d707684e2392f331b3a166bdceac7e8b66e74312442438a71161ff9dab38eeb89a5316c47d60e6a38869 SHA512 4645a6edcf6cb52203637e316930f670f3c08cc4c2ca4c90234daa12e63b91051a5e4bf80e824c1d516f1e771476e4fa2d96b1b1eedf23740c8254fd7fc80a20
+DIST opera-developer_57.0.3072.0_amd64.deb 57858176 BLAKE2B 338f5eea5585c774cd32f2216fd3877ca940c2fbc71a1ae30cf50afaa63e31ae5e00a6a5de298ade5df51de47fa09eb3752b1b0a00326bbf3ebe540d5dd12e52 SHA512 d01f5e898b54aedb73d05fec77926d4c7a3033c3b7bac9931cbd923989ab81aa7a7f152ba80940694e9dc12a3bda1b3b0c3d3c97cf1e93c7cc5cf55fb8c619e7
diff --git a/www-client/opera-developer/opera-developer-57.0.3072.0.ebuild b/www-client/opera-developer/opera-developer-57.0.3072.0-r1.ebuild
index 6fcc60aa4c6c..bb41cc9d6e5c 100644
--- a/www-client/opera-developer/opera-developer-57.0.3072.0.ebuild
+++ b/www-client/opera-developer/opera-developer-57.0.3072.0-r1.ebuild
@@ -7,7 +7,7 @@ CHROMIUM_LANGS="
ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
zh-CN zh-TW
"
-inherit chromium-2 gnome2-utils multilib rpm xdg-utils
+inherit chromium-2 gnome2-utils multilib unpacker xdg-utils
DESCRIPTION="A fast and secure web browser"
HOMEPAGE="https://www.opera.com/"
@@ -22,7 +22,7 @@ SRC_URI_BASE="
SRC_URI="amd64? ("
for uri in ${SRC_URI_BASE}; do
SRC_URI+="
- "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.rpm"
+ "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb"
"
done
SRC_URI+=")"
@@ -62,7 +62,23 @@ QA_PREBUILT="*"
S=${WORKDIR}
OPERA_HOME="usr/$(get_libdir)/${PN}"
+src_unpack() {
+ unpack_deb ${A}
+}
+
src_prepare() {
+ epatch_user
+
+ case ${ARCH} in
+ amd64)
+ mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
+ rm -r usr/lib || die
+ ;;
+ x86)
+ mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die
+ ;;
+ esac
+
rm usr/bin/${PN} || die
pushd "${OPERA_HOME}/localization" > /dev/null || die