forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www-client/opera-developer: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
- Loading branch information
Jeroen Roovers
committed
Apr 7, 2017
1 parent
9b0bfea
commit 7c9411d
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
DIST opera-developer_45.0.2548.0_amd64.deb 53611220 SHA256 76e1b6740fcc515e0a73d69f4a8f0d6c1d4fa58dfd3f9030857e7180cefc7018 SHA512 8e91f72bcf20617f4a2e4c90c6c896c12275eccc7e1eb38a3be71bdf490bb77d840871ee8cf7e0f6d968a9a11df726f74929fc80807d34f3e0b05291186f4b3a WHIRLPOOL b407d51c26baa1ce78032d01d0dc74f1c21d204259f81600a2b2deb00073fefa381abd007583acb00447ba7d570012216d2d31531b2c2d0de1903883d5b5c24a | ||
DIST opera-developer_45.0.2548.0_i386.deb 54570238 SHA256 b6174e089246974199ab4397a3bed36687aff2c7ef0aa535ed916cc6d087d528 SHA512 7efc8804f9380b9639f8a8f71d22e9a4d970254930f0fbc5436740c716849bcd0197f039698ed2cc98ec99859ba3afc47fbbbe44fa6a2aad47eb2d9ae8540358 WHIRLPOOL ae710d2bfe36e2a954075b2c72fa23b7b9589572bf52dfa7c0767b7d9368d23af000157aea3c82b4fb00ee2bfe2d2ef12f6028a9019d2054b5f954b5073ff0ed | ||
DIST opera-developer_46.0.2556.0_amd64.deb 55354096 SHA256 c3981e5da781add7009da0914d0b3f5cfc895b6d86f45abf2fa1dc98dc884236 SHA512 6786a8ff28c7d3a90c1ab674137a396707b72495339edc80a29bf4b2216d0afaf457c79b12ec917629b5f8349cbebc4e38b8c1ec3387d54cbc06d978df800296 WHIRLPOOL aea91226762317eaf3e7cabf8d08bbb087c9b892a5fec6fa495cde445d0710d94a01dd8460463af3cbfd1de0affd5cee6cf4c8d66c4fe079e17edbecdc11bf3c | ||
DIST opera-developer_46.0.2556.0_i386.deb 56670214 SHA256 62eb26fda36973437aaee184eb724b1fed533ace2c35c65e1e9d2ca0c624918f SHA512 1c83ca72364044a67958abd2e51c6a677872b5e1c22602a223f2e49219bf3cce45aba24991193c5f8b9d6e99f72e2850cbe15afc286df2f4237971f671c37231 WHIRLPOOL 15dcc65aefb97d1dede3d122195a580567ad11c0c72d2d8d68117a923f8ec380fce3eef734876e5223ce848733d405a5bd6356bafaa036eb9b00859ad3191e85 |
90 changes: 90 additions & 0 deletions
90
www-client/opera-developer/opera-developer-46.0.2556.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=5 | ||
CHROMIUM_LANGS=" | ||
be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA he hi hr hu id 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 | ||
zh-CN zh-TW | ||
" | ||
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}/${PV}/linux/${PN}_${PV}_amd64.deb" ) | ||
x86? ( "${SRC_URI_BASE}${PN}/${PV}/linux/${PN}_${PV}_i386.deb" ) | ||
" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
RDEPEND=" | ||
dev-libs/expat | ||
dev-libs/glib:2 | ||
dev-libs/nspr | ||
dev-libs/nss | ||
gnome-base/gconf:2 | ||
media-libs/alsa-lib | ||
media-libs/fontconfig | ||
media-libs/freetype | ||
net-misc/curl | ||
net-print/cups | ||
sys-apps/dbus | ||
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 | ||
;; | ||
esac | ||
|
||
rm usr/bin/${PN} || die | ||
|
||
rm usr/share/doc/${PN}/copyright || die | ||
mv usr/share/doc/${PN} 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 | ||
} |