Skip to content

Commit

Permalink
www-client/opera: Version bump.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
Jeroen Roovers committed Nov 10, 2016
1 parent f79af3a commit cd0c764
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www-client/opera/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ DIST opera-12.16-1860.i386.linux.tar.xz 13154668 SHA256 df640656a52b7c714faf25de
DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 SHA256 b3b5cada3829d2b3b0e2da25e9444ce9dff73dc6692586ce72cfd4f6431e639e SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b WHIRLPOOL 539cdf43b4c8175c664fbf786b27ede1d33e58c44f75229a1a50612951136f526d646f3e0444b6cc69961259c3e3ef7dbf722b520abb4d4dbb98032c4de335d1
DIST opera-stable_41.0.2353.46_amd64.deb 48074820 SHA256 b7cea184547a33391ad93a4fdb80e55518e6922ca657bea6cc3c3ff934f463d3 SHA512 21a426690c0c290e82e6a3c867e3901e296602ea6f01a7bf022e612bb0d786f347ac778fa3b63ad7378e06fd97008e01dedd3c89d3e9dae9b6c66495879d2de1 WHIRLPOOL e2a6d5b27c742b7efd8a46fa47df507b42f0c0c8cd62372ab5157151377c3607545f85978a397691fdbe916d89a6b7e877835cd13afe770c4c32a699012cf40a
DIST opera-stable_41.0.2353.46_i386.deb 49805486 SHA256 06ed44aff1f08dd54a6391371cee9c184fa4fc6d0a7849191bfae7789491e2de SHA512 b70a4339f4fe5fe256461fcc9f540aa64bfe71da6b753f8bbebac4070d876d6da4e67649cbc60fafdb01b0c9045b2b9fcb7b00a35920580809cd223bf12f4582 WHIRLPOOL 3670b0229984acf98d889b3a86a50f5dbdc48aa1ca82ea5800b0d4a85ee21cbbb273ef84d5af658bf54eef10d89547ab8dd6ce910e8faf300d9aae8d2aa0d6c3
DIST opera-stable_41.0.2353.56_amd64.deb 48086530 SHA256 3e3dc06b619301e92f6e5a463290ef7b50010c6aa72e69d52a61cedefca27ab8 SHA512 c73992ac28d8cccd4547bd49d25cf8e4a137e168b5df9cf5ac5a66b2e8488662b6ea7741dab858a835a4e83ec046f1916d6f363f6930243fa0bf90b8591ff4de WHIRLPOOL 5bfaff3ae0739a763af5a2424a30c2ccbff5271346add6f08c78e8f8dc7ac4c6620e7a0b7d838b94b953be24a8e5333820558c088973a21738798ac4cbf7b609
DIST opera-stable_41.0.2353.56_i386.deb 49307122 SHA256 25e6dea4aeb2a0fba7bbcfd12be022b34d116c3e151a533910acd84b9b825362 SHA512 eb40ef24febf286798620fa5835591a6af234314eeb35e13ed18482b4a135304ba1bb2e6540c33e58b21507820652fceb0efced5acc90306616a2377dcdf495e WHIRLPOOL 65a061b08a1d10e0638d81405a4dd884987b92cfe6d4a9e3fefdec85d65315f08d98339fb6578f5328b1379feaf6be4f428121846045c2190f3e77ec9342af30
94 changes: 94 additions & 0 deletions www-client/opera/opera-41.0.2353.56.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
CHROMIUM_LANGS="
af az be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr fy gd he hi
hr hu id it ja kk ko lt lv mk ms nb nl nn pa pl pt-BR pt-PT ro ru sk sr
sr-ME sv sw ta te th tr uk uz vi zh-CN zh-TW zu
"
inherit chromium-2 multilib unpacker

DESCRIPTION="A fast and secure web browser"
HOMEPAGE="http://www.opera.com/"
LICENSE="OPERA-2014"
SLOT="0"
SRC_URI_BASE="http://get.geo.opera.com/pub/"
SRC_URI="
amd64? ( "${SRC_URI_BASE}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" )
x86? ( "${SRC_URI_BASE}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_i386.deb" )
"
KEYWORDS="~amd64 ~x86"

RDEPEND="
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
>=dev-libs/openssl-1.0.1:0
gnome-base/gconf:2
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
net-misc/curl
net-print/cups
sys-apps/dbus
sys-libs/libcap
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libnotify
x11-libs/pango[X]
"

QA_PREBUILT="*"
S=${WORKDIR}
OPERA_HOME="usr/$(get_libdir)/${PN}"

src_unpack() {
unpack_deb ${A}
}

src_prepare() {
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
rmdir usr/lib/i386-linux-gnu || die
;;
esac

rm usr/bin/${PN} || die

rm usr/share/doc/${PN}-stable/copyright || die
mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die

pushd "${OPERA_HOME}/localization" > /dev/null || die
chromium_remove_language_paks
popd > /dev/null || die

sed -i \
-e 's|^TargetEnvironment|X-&|g' \
usr/share/applications/${PN}.desktop || die
}

src_install() {
mv * "${D}" || die
dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
}

0 comments on commit cd0c764

Please sign in to comment.