diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /www-client/opera-developer |
reinit the tree, so we can have metadata
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r-- | www-client/opera-developer/Manifest | 5 | ||||
-rw-r--r-- | www-client/opera-developer/metadata.xml | 8 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-50.0.2729.0.ebuild | 98 |
3 files changed, 111 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest new file mode 100644 index 000000000000..0ad713c8f153 --- /dev/null +++ b/www-client/opera-developer/Manifest @@ -0,0 +1,5 @@ +DIST opera-developer_50.0.2729.0_amd64.deb 49245926 SHA256 dd301d299e7968015e4cd2c4752b70d259070291946cfd156a325bb830ce743f SHA512 a487999c30e76dc0f24aa4e2305d536b2f6a6f34d161a59f941006b2ca06dc6df90473a66a9d0a778b320cf19cb1ebd558da806d8f323e5f851e1b4fd0624fa8 WHIRLPOOL 6eadbc3cd31bca844f8fdc7927d880c6e80a8e2468f8110df0da4e34c7bd94395c8fac16e8f23abd281bc6605d3dc9eb98dbb74146649c2d4b58a1ddee8a4b71 +EBUILD opera-developer-50.0.2729.0.ebuild 2044 SHA256 1e1cabd03e6b27b19f683210b3451b808ac892076e3d88b025b4e4e616d5e966 SHA512 38157ad10b0e33ecf38925d6c0472c22cd167628f48d2d160c74f103ab5c85751fc58be165823fe7262160d9f10ee1c1a888acca9a3363635d50cb07698058b7 WHIRLPOOL abde7dc3ab167529db2124efa369571d7f8bd939b5b7afc823dc00299b3b6613e663c88df5a4f48d2489a0d18dd760b017ea3345ac6824f14fd9e5fc37ebe50a +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/metadata.xml b/www-client/opera-developer/metadata.xml new file mode 100644 index 000000000000..a8fb43312942 --- /dev/null +++ b/www-client/opera-developer/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>jer@gentoo.org</email> +<name>Jeroen Roovers</name> +</maintainer> +</pkgmetadata> diff --git a/www-client/opera-developer/opera-developer-50.0.2729.0.ebuild b/www-client/opera-developer/opera-developer-50.0.2729.0.ebuild new file mode 100644 index 000000000000..e915da3167e1 --- /dev/null +++ b/www-client/opera-developer/opera-developer-50.0.2729.0.ebuild @@ -0,0 +1,98 @@ +# 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 multilib unpacker + +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 +} |