forked from tastytea/overlay
app-emulation/dxvk: update live ebuild
- EAPI 7 -> 8 - minimum mesa version - minimum mingw runtime version Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
835b5b8bf6
commit
8217f0f5c1
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit flag-o-matic meson multilib-minimal
|
||||
|
@ -11,7 +11,7 @@ fi
|
|||
|
||||
DESCRIPTION="Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine"
|
||||
HOMEPAGE="https://github.com/doitsujin/dxvk"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/doitsujin/dxvk.git"
|
||||
else
|
||||
SRC_URI="https://github.com/doitsujin/dxvk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
@ -19,9 +19,7 @@ fi
|
|||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
if [[ "${PV}" != *9999* ]]; then
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
IUSE="+d3d9 +d3d10 +d3d11 debug +dxgi video_cards_nvidia skip-toolchain-check test"
|
||||
|
@ -34,7 +32,7 @@ RDEPEND="
|
|||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-440.31 )
|
||||
>=media-libs/mesa-19.2
|
||||
>=media-libs/mesa-20.2
|
||||
)
|
||||
|| (
|
||||
>=app-emulation/wine-staging-4.5[${MULTILIB_USEDEP},vulkan]
|
||||
|
@ -57,11 +55,11 @@ pkg_pretend () {
|
|||
for cat in ${categories[@]}; do
|
||||
local thread_model="$(LC_ALL=C ${cat/cross-/}-gcc -v 2>&1 \
|
||||
| grep 'Thread model' | cut -d' ' -f3)" || die
|
||||
if ! has_version -b "${cat}/mingw64-runtime[libraries]" ||
|
||||
if ! has_version -b ">=${cat}/mingw64-runtime-8.0.0[libraries]" ||
|
||||
! has_version -b "${cat}/gcc" ||
|
||||
[[ "${thread_model}" != "posix" ]]; then
|
||||
eerror "The ${cat} toolchain is not properly installed."
|
||||
eerror "Make sure to install ${cat}/mingw64-runtime with USE=\"libraries\""
|
||||
eerror "Make sure to install ${cat}/mingw64-runtime >= 8.0.0 with USE=\"libraries\""
|
||||
eerror "and ${cat}/gcc with EXTRA_ECONF=\"--enable-threads=posix\"."
|
||||
eerror "See <https://wiki.gentoo.org/wiki/DXVK> for more information."
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user