diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-01-09 16:12:06 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-01-09 16:12:06 +0100 |
commit | 98a8101cb7e47e837a9914496b89a80ed26646d0 (patch) | |
tree | 4761bba1a9a595cbc3dea216023ceeca8965b8bd /www-client/opera-developer | |
parent | net-misc/quagga: add missing test dependency on dev-util/dejagnu (diff) | |
download | gentoo-98a8101cb7e47e837a9914496b89a80ed26646d0.tar.gz gentoo-98a8101cb7e47e837a9914496b89a80ed26646d0.tar.bz2 gentoo-98a8101cb7e47e837a9914496b89a80ed26646d0.zip |
www-client/opera-developer: Version 51.0.2830.0.
Package-Manager: Portage-2.3.19, 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.2830.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 58b11df58b66..731ab17f5db7 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,2 +1,3 @@ DIST opera-developer_51.0.2802.0_amd64.deb 52141312 BLAKE2B fa6c0315466793bc96a3bbc4fbbf792074e797b7d43d1b11451fa7a344cfecde7388abaf7bfe7f6c4570d0d917aa61a27d6410b08784d5c7020da418f091fd0b SHA512 11ce0b46c5594a8e634f8182b8dcad9d8346fba2c56a04383bd12d3746fa0e505d059d467c98e2cb81a81642d3c21c22d7dfc52fcfa0b24dac3ae59b56220b8f DIST opera-developer_51.0.2809.0_amd64.deb 52170572 BLAKE2B b5be3adcf7b29b8af51bf3cc94cd06f97b679db82774234cabee131cf6d543d7a711778474c74271aa936551f66f3917e0db4165e1f9e8af989c9667592daea1 SHA512 b40ee2b9efd11828f676fc2b53a5596bf9b3f7154d6f99f5192ae4dcd00d2c8511f9d206c59e2913cd9b0ff4b502d4e8388ea1c92346ec04ff2ca36737b98f07 +DIST opera-developer_51.0.2830.0_amd64.deb 52544608 BLAKE2B 03f30d7e6d794b783014ce356b9a5163f59959c3a87d915e4b359f7290dbdd4817df236648b7be5ec4fe016c3085dbf974b785ced433b71c42c2a7335577f4d8 SHA512 d40e373283e18897991167463af264cef9c8fcc5ce6e9b0ea04f0daa1979a13112963bdc071482e6f6fb86e3fdda054db9fecd72502deb70774c6e52751d1f98 diff --git a/www-client/opera-developer/opera-developer-51.0.2830.0.ebuild b/www-client/opera-developer/opera-developer-51.0.2830.0.ebuild new file mode 100644 index 000000000000..12a41bce61c8 --- /dev/null +++ b/www-client/opera-developer/opera-developer-51.0.2830.0.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2018 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 +} |