From d318615233b34e42df5da47c588780928832d40a Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Mon, 26 Jul 2021 12:01:46 -0400 Subject: app-emulation/wine-gecko: add shared --- app-emulation/wine-gecko/Manifest | 4 +++ app-emulation/wine-gecko/metadata.xml | 11 +++++++ app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild | 37 +++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 app-emulation/wine-gecko/Manifest create mode 100644 app-emulation/wine-gecko/metadata.xml create mode 100644 app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild diff --git a/app-emulation/wine-gecko/Manifest b/app-emulation/wine-gecko/Manifest new file mode 100644 index 0000000..02becb0 --- /dev/null +++ b/app-emulation/wine-gecko/Manifest @@ -0,0 +1,4 @@ +DIST wine-gecko-2.47.2-x86.msi 59162112 BLAKE2B 75197c5145dd047d637ea950ed1df918b79446bbb5aae642a90d95af96870cd1756b8469deca105d986ae2dc166ad1b2b89dd7e16c7d13baa4b215b30c3ba909 SHA512 4e6e688fada1edd3d7e0e131246dcae8c6db1a2fde946540b6f8c8b2deee8aa19f210368132f00789d4f49bf2b5e5ac671d4d3699f557e652ece50e55fbcbd43 +DIST wine-gecko-2.47.2-x86.tar.xz 45556880 BLAKE2B 43334edd68f22e21347a49bcd7321d90111652fe6143fcb94fa97cee950701f1891b41e8c4ea75854d5232a74c2007534d3fdb190c6abfb96290193f6a4546d2 SHA512 de39bacf9e8b45971e3e675ccbbac0731855b81e148619a98fb126c38ab385f10f1e68e0a52a663fa1a079192b378f4d4e4cdb0a11c5e9dd46221a9604214250 +DIST wine-gecko-2.47.2-x86_64.msi 55354880 BLAKE2B c234602e29a6597d26e7a78ec85ac66471ecd8fcea5360d6f32323e4cbee4aca2ccd5530706e8779346ff2d08f1c4900fef198763e431ce7cd232ef117933336 SHA512 9bbaf061d5d2035e6df0898a847697bbed071abaf95ccde08b5ace7a2c6fc871db16443596b23a889def82f98591973fe8ca88063021d8779f8faa48973f239c +DIST wine-gecko-2.47.2-x86_64.tar.xz 43025348 BLAKE2B 0c956043d7a49cdd88a3af4b25191087fd638a68b958e13a46bbf4310ecf7cdeb973eb3ea5b254f2d4f90f2a715d35c25a67b1883159a60a0ff6eea70e0f1077 SHA512 cf7af1087823188c3be6665d7662bf1029c58b4b8db271e5f4bfed15df217b905653b034b62ed0fa961f528be40f0325b378669d27c9a18ef5b9d98ef8c63aeb diff --git a/app-emulation/wine-gecko/metadata.xml b/app-emulation/wine-gecko/metadata.xml new file mode 100644 index 0000000..921f5a7 --- /dev/null +++ b/app-emulation/wine-gecko/metadata.xml @@ -0,0 +1,11 @@ + + + + + wine@gentoo.org + Wine + + + wine/wine-gecko + + diff --git a/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild b/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild new file mode 100644 index 0000000..eaa43e8 --- /dev/null +++ b/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A Mozilla Gecko based version of Internet Explorer for Wine" +HOMEPAGE="https://winehq.org" +SRC_URI=" + !shared? ( + abi_x86_32? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86.msi ) + abi_x86_64? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86_64.msi ) + ) + shared? ( + abi_x86_32? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86.tar.xz ) + abi_x86_64? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86_64.tar.xz ) + ) +" + +LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0" +SLOT="${PV}" +KEYWORDS="amd64 x86" +IUSE="abi_x86_32 abi_x86_64 shared" + +DEPEND="!!app-emulation/wine:0" + +S="${WORKDIR}" + +src_install() { + insinto /usr/share/wine/gecko + if use shared; then + use abi_x86_32 && doins -r "${P}-x86" + use abi_x86_64 && doins -r "${P}-x86_64" + else + use abi_x86_32 && doins "${DISTDIR}/${PN}-${PV}-x86.msi" + use abi_x86_64 && doins "${DISTDIR}/${PN}-${PV}-x86_64.msi" + fi +} -- cgit v1.2.3-54-g00ecf