diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
commit | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (patch) | |
tree | 5ca737a2562d8c0a09fcfacd81d1f9004df37b00 /www-client/opera-developer | |
parent | 20d8e9cfb95a9f054d654ab6405e848807186aa0 (diff) |
gentoo resync : 20.11.2017
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r-- | www-client/opera-developer/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-51.0.2781.0.ebuild | 114 |
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 666607aa55bc..ea30173432d1 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,5 +1,7 @@ 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 EBUILD opera-developer-51.0.2776.0.ebuild 2316 SHA256 efffb72210be941d46dbfd1fa49629ffe2efac7e9f5ef5e542984b7c18492030 SHA512 5df232e6a39fc6b70a1bca945a84042fa85e606f79832d650899ba0c32301cbad46c5b70bc7c2d5b4b4814991aa2263d012b3808680ef0c8c43f27655e481dac WHIRLPOOL 82f8a1236bc7638da44f2dd2f4cd96579edf87772a417552c67448dde1a8d8978140d4618ef1c14dfe2c9fca668fb44997ef69cfd3722215cce6a22017236047 +EBUILD opera-developer-51.0.2781.0.ebuild 2316 SHA256 efffb72210be941d46dbfd1fa49629ffe2efac7e9f5ef5e542984b7c18492030 SHA512 5df232e6a39fc6b70a1bca945a84042fa85e606f79832d650899ba0c32301cbad46c5b70bc7c2d5b4b4814991aa2263d012b3808680ef0c8c43f27655e481dac WHIRLPOOL 82f8a1236bc7638da44f2dd2f4cd96579edf87772a417552c67448dde1a8d8978140d4618ef1c14dfe2c9fca668fb44997ef69cfd3722215cce6a22017236047 MISC ChangeLog 16377 SHA256 1a4a1e4e3422a894db2726fe1ceac5c2f77bbac69c6b054d52b4a026552e8a2b SHA512 3429c4032a9d8db677e166e4717358c658ddeb88e6d754aacb0897bacc9cd4903e94d21fa6746411cbc3ceb3f332170a9f74fa876f18335647a869fcdc5a21f1 WHIRLPOOL 93588892f12187d28d78679b944a5d240cb4f3fc84351ae78268d62cf61f0eabe1de847ed80e99179ece933170612ea3dbde22834c6a1f441bae260e7c4ea8bd MISC ChangeLog-2015 8576 SHA256 c7585ab906eb43df74fa3eee2938df70b05358a563cad5e2753175d362b03c6f SHA512 f3008826717c39fdd3c3e9b8f427d2ec31d9bdf108cfa9605f7457dfd317da43418f625ba14b2a20e5b38bbff10b27bda7ba0d4caed454f960567f1dd3946580 WHIRLPOOL e302edaee04b3b67a4c89a3e385a4d3daeac33eb4fc6f7d4155b17156bbe574aeb108da4d848cde6db71c8bdb22b8048fa5478ff05a63e91bf7552ca2864f900 MISC metadata.xml 238 SHA256 bae0588f6a20ccebb0e76d3ad782fcb2adfd1ea5b9fc1433851379423a103b72 SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 WHIRLPOOL ad8bdcb129ac41a2941e41186ec94e845858818fe21b95b69adc902ddbe0eb4c4bcce8f00d5f167981852184df07e355866a07f50dcdc8f7cd7edf20ed95ecee 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 +} |