logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 8ed6a316cb9c8399b475aa39fbebf6fd85e0c5a5
parent 262a26f986fc288fb36a59300a48470e121a5028
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  5 Aug 2022 09:11:36 +0200

virtual/wine: Add wine-wayland

Diffstat:

Avirtual/wine/metadata.xml16++++++++++++++++
Avirtual/wine/wine-0-r8.ebuild28++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/virtual/wine/metadata.xml b/virtual/wine/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>wine@gentoo.org</email> + <name>Wine</name> + </maintainer> + <use> + <flag name="staging">Enable Wine-Staging's Patchset</flag> + </use> + <stabilize-allarches/> + <longdescription lang="en"> + Allows for any variant of Wine, regardless of slotting to fulfill the dependencies + traditionally fulfilled by the non-slotted, pre-variant, app-emulation/wine. + </longdescription> +</pkgmetadata> diff --git a/virtual/wine/wine-0-r8.ebuild b/virtual/wine/wine-0-r8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Virtual for Wine that supports multiple variants and slotting" + +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+abi_x86_32 +abi_x86_64 staging" + +REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )" + +# Note, the ordering here is intentional, to take advantage of the short-circuit +# logic of portage, to enforce wine-vanilla as default for new users. The idea +# behind this is that some USE flags may pull in 3rd-party patchsets, so default +# of vanilla prevents that. +RDEPEND=" + staging? ( || ( + app-emulation/wine-staging[staging] + ) ) + || ( + app-emulation/wine-vanilla[abi_x86_32=,abi_x86_64=] + app-emulation/wine-staging[abi_x86_32=,abi_x86_64=] + app-emulation/wine-wayland[abi_x86_32=,abi_x86_64=] + ) + !app-emulation/wine:0 +"