diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-11-20 16:26:45 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-11-20 17:39:29 +0100 |
commit | ddeb96a01ebbaa8cfec62191b297048d5d46f382 (patch) | |
tree | 1c7b0fbd8abc0ae2f350c94dc11c38c3c70b7913 /www-client/opera-developer | |
parent | dev-python/python-evdev: Remove old (diff) | |
download | gentoo-ddeb96a01ebbaa8cfec62191b297048d5d46f382.tar.gz gentoo-ddeb96a01ebbaa8cfec62191b297048d5d46f382.tar.bz2 gentoo-ddeb96a01ebbaa8cfec62191b297048d5d46f382.zip |
www-client/opera-developer: Version bump.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r-- | www-client/opera-developer/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-51.0.2781.0.ebuild | 114 |
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index eafb068b2727..aacd94bc3080 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1 +1,2 @@ DIST opera-developer_51.0.2776.0_amd64.deb 55610282 SHA256 33fd02e8dceeec924925b9adabe51d111b32aaddc2926d3569163b8efc8b325b SHA512 6f771526d4e04b6bb801bb67f8058cb22ca62aa2543ca67c318edc13eed11d058cb5fc998a95cea655e0957626f3d022c1151a9da627b18494c1715b3be0f57a WHIRLPOOL 692fb7d74031f93f515a7db69b749e6b4a3c3bda098c34a46439d5d378863ff924fa545bd4ec80ac1a1115d5d53468e68340b0cd9787f7cbd3778c9ab2427ecf +DIST opera-developer_51.0.2781.0_amd64.deb 51638314 SHA256 c59d7a2fff353a22c742b2c788d1cace3a28abaebb7f527951d8b006f8ad1f2a SHA512 05925468bacac6d20ddf4113b8e99292c108749e10a504a82d010a6ff0c65b7cae08588a5fb8c06bd510e3be6ba18fa742ed34ea043c49c4d049ad09bca8a699 WHIRLPOOL 7d18e24e11834434efef57f25292cd4adf0d2420375cad46febc2c492cd6a325904b04693e1a8f3ba74157f60774eb266cb9a65392ed89be731862b882e2c1c8 diff --git a/www-client/opera-developer/opera-developer-51.0.2781.0.ebuild b/www-client/opera-developer/opera-developer-51.0.2781.0.ebuild new file mode 100644 index 000000000000..79b9f057efbf --- /dev/null +++ b/www-client/opera-developer/opera-developer-51.0.2781.0.ebuild @@ -0,0 +1,114 @@ +# 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 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 gnome2-utils multilib unpacker xdg-utils + +DESCRIPTION="A fast and secure web browser" +HOMEPAGE="http://www.opera.com/" +LICENSE="OPERA-2014" +SLOT="0" +SRC_URI_BASE=" + http://download1.operacdn.com/pub/ + http://download2.operacdn.com/pub/ + http://download3.operacdn.com/pub/ + http://download4.operacdn.com/pub/ +" +SRC_URI="amd64? (" +for uri in ${SRC_URI_BASE}; do +SRC_URI+=" + "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb" +" +done +SRC_URI+=")" +KEYWORDS="~amd64" + +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+:3 + 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 +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |