summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-13 00:44:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-13 00:44:21 +0000
commitd1f36a2d94c2c9f38fb8d76339d657ba6a899425 (patch)
treeeee2069e73a369a42869534b9986986a87b8a77e
parent3e4e16d03c61663697b7b06030a654f5c91c5683 (diff)
app-emulation/gallium-nine-standalone : unbreak
-rw-r--r--app-emulation/gallium-nine-standalone/Manifest1
-rw-r--r--app-emulation/gallium-nine-standalone/files/0.8-bypass_bootstrap.patch40
-rw-r--r--app-emulation/gallium-nine-standalone/gallium-nine-standalone-0.8-r2.ebuild65
-rw-r--r--metadata/md5-cache/app-emulation/gallium-nine-standalone-0.8-r215
-rw-r--r--metadata/pkg_desc_index1
5 files changed, 122 insertions, 0 deletions
diff --git a/app-emulation/gallium-nine-standalone/Manifest b/app-emulation/gallium-nine-standalone/Manifest
new file mode 100644
index 00000000..8bf4e367
--- /dev/null
+++ b/app-emulation/gallium-nine-standalone/Manifest
@@ -0,0 +1 @@
+DIST gallium-nine-standalone-0.8.tar.gz 66656 BLAKE2B 5eaebcc514570dbaff44c4c889025d19a26c0b54941d1ab99ec131216a6eb49c2c649f1a4df51534f608653dab8b5e55a35afc57ba04a0ab6f4dea0edabac55c SHA512 3f339f909c6d65a2e5b5c912785aaa6f297e95549c868ab679dfb8e99d67db9906b6e75e3679a4e3e003f512a54ceb9953f941a4129f488973c16e1a3ac7267c
diff --git a/app-emulation/gallium-nine-standalone/files/0.8-bypass_bootstrap.patch b/app-emulation/gallium-nine-standalone/files/0.8-bypass_bootstrap.patch
new file mode 100644
index 00000000..8be85749
--- /dev/null
+++ b/app-emulation/gallium-nine-standalone/files/0.8-bypass_bootstrap.patch
@@ -0,0 +1,40 @@
+diff -Nur a/tools/cross-wine32 b/tools/cross-wine32
+--- a/tools/cross-wine32 1970-01-01 01:00:00.000000000 +0100
++++ b/tools/cross-wine32 2022-11-13 00:36:46.010367522 +0000
+@@ -0,0 +1,16 @@
++[binaries]
++c = 'winegcc'
++ar = 'ar'
++strip = 'strip'
++pkgconfig = 'i686-pc-linux-gnu-pkg-config'
++
++[properties]
++c_args = ['-m32']
++c_link_args = ['-m32', '-mwindows', '-L/nonexistant']
++needs_exe_wrapper = true
++
++[host_machine]
++system = 'linux'
++cpu_family = 'x86'
++cpu = 'i686'
++endian = 'little'
+diff -Nur a/tools/cross-wine64 b/tools/cross-wine64
+--- a/tools/cross-wine64 1970-01-01 01:00:00.000000000 +0100
++++ b/tools/cross-wine64 2022-11-13 00:36:46.011367522 +0000
+@@ -0,0 +1,16 @@
++[binaries]
++c = 'winegcc'
++ar = 'ar'
++strip = 'strip'
++pkgconfig = 'x86_64-pc-linux-gnu-pkg-config'
++
++[properties]
++c_args = ['-m64']
++c_link_args = ['-m64', '-mwindows', '-L/nonexistant']
++needs_exe_wrapper = true
++
++[host_machine]
++system = 'linux'
++cpu_family = 'x86_64'
++cpu = 'x86_64'
++endian = 'little'
diff --git a/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0.8-r2.ebuild b/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0.8-r2.ebuild
new file mode 100644
index 00000000..3adff5e1
--- /dev/null
+++ b/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0.8-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson-multilib toolchain-funcs
+
+MY_PN="wine-nine-standalone"
+DESCRIPTION="A standalone version of the WINE parts of Gallium Nine"
+HOMEPAGE="https://github.com/iXit/wine-nine-standalone"
+
+if [[ ${PV} = 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/iXit/${MY_PN}.git"
+else
+ SRC_URI="https://github.com/iXit/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+ KEYWORDS="-* ~amd64 ~x86"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+
+# We don't put Wine in RDEPEND because you can also use this with
+# Steam's Proton.
+
+RDEPEND="
+ media-libs/mesa[d3d9,X(+),${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libxcb[${MULTILIB_USEDEP}]
+"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ virtual/wine[${MULTILIB_USEDEP}]
+ >=dev-util/meson-0.50.1
+"
+
+PATCHES=(
+ "${FILESDIR}"/"${PV}"-bypass_bootstrap.patch
+)
+
+bits() {
+ if [[ ${ABI} = amd64 ]]; then
+ echo 64
+ else
+ echo 32
+ fi
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ --cross-file "${S}/tools/cross-wine$(bits)"
+ --bindir "$(get_libdir)"
+ -Ddistro-independent=false
+ -Ddri2=false
+ )
+ meson_src_configure
+}
+
+multilib_src_install() {
+ meson_src_install
+ dobin "${S}"/tools/nine-install.sh || die
+}
diff --git a/metadata/md5-cache/app-emulation/gallium-nine-standalone-0.8-r2 b/metadata/md5-cache/app-emulation/gallium-nine-standalone-0.8-r2
new file mode 100644
index 00000000..0b7797c3
--- /dev/null
+++ b/metadata/md5-cache/app-emulation/gallium-nine-standalone-0.8-r2
@@ -0,0 +1,15 @@
+BDEPEND=>=dev-util/meson-0.62.2 >=dev-util/ninja-1.8.2 dev-util/meson-format-array
+DEFINED_PHASES=compile configure install test
+DEPEND=media-libs/mesa[d3d9,X(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] x11-libs/libX11[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] x11-libs/libxcb[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] virtual/pkgconfig virtual/wine[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-util/meson-0.50.1
+DESCRIPTION=A standalone version of the WINE parts of Gallium Nine
+EAPI=7
+HOMEPAGE=https://github.com/iXit/wine-nine-standalone
+INHERIT=meson-multilib toolchain-funcs
+IUSE=abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64
+KEYWORDS=-* ~amd64 ~x86
+LICENSE=LGPL-2.1+
+RDEPEND=media-libs/mesa[d3d9,X(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] x11-libs/libX11[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] x11-libs/libxcb[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
+SLOT=0
+SRC_URI=https://github.com/iXit/wine-nine-standalone/archive/v0.8.tar.gz -> gallium-nine-standalone-0.8.tar.gz
+_eclasses_=eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 meson 1994a5aef5d4f5798b92f64d6f9a6003 meson-multilib 84c0d4019bf29be0d9d0a2d98fb8b0d9 multibuild d26d81f242cb193d899a72bca423d0bd multilib 5ca4e49abed8e3a2f7b56920eadee157 multilib-build 87f1b83e21a473787b821ef3d0437bf3 multilib-minimal 4b0f1857965db8869a729948d5277e0b multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 58ec4e54962bf45d065fb95030701514 python-utils-r1 b9fc5e97e886514e5132f50465185401 toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144
+_md5_=ebb8f3c07c36b04ef3192eeb41db1577
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 29ad4c40..3008ec12 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -3,6 +3,7 @@ app-admin/calamares 3.2.44.3-r2: Distribution-independent installer framework
app-admin/vasile 2.1812.2: Versatile Advanced Script for ISO and Latest Enchantments
app-arch/unp 2.0_pre9-r1: Script for unpacking various file formats
app-backup/timeshift 22.06.1-r1: A system restore utility for Linux
+app-emulation/gallium-nine-standalone 0.8-r2: A standalone version of the WINE parts of Gallium Nine
app-emulation/linux-steam-integration 0.7.3-r3: Helper for enabling better Steam integration on Linux
app-emulation/steam 1.0.0.71-r1: Digital distribution client bootstrap package
app-emulation/steam-native-runtime 1.0.0.71-r3: Native replacement for the Steam runtime using system libraries