From bf31ad8fe8a5238ce0e412d7ac3dfdf245546022 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 8 Dec 2018 14:50:06 +0100 Subject: [PATCH] app-emulation/dxvk: Added version 0.93 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07 --- app-emulation/dxvk/Manifest | 12 +++--- app-emulation/dxvk/dxvk-0.93.ebuild | 64 +++++++++++++++++++++++++++++ app-emulation/dxvk/dxvk-9999.ebuild | 20 ++++++--- 3 files changed, 86 insertions(+), 10 deletions(-) create mode 100644 app-emulation/dxvk/dxvk-0.93.ebuild diff --git a/app-emulation/dxvk/Manifest b/app-emulation/dxvk/Manifest index 2a2a556..b5f25fe 100644 --- a/app-emulation/dxvk/Manifest +++ b/app-emulation/dxvk/Manifest @@ -1,12 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -EBUILD dxvk-9999.ebuild 1276 BLAKE2B 4511053ac0c89d8ca1ba4cbf2b60cdd589079be55dc84ac37fe3baf6799162354c825625701e9320e83171064aff0d30cc032e659058499ff7ab1faeb5edd57f SHA512 af1f43a5e0d4afab112628e0ee0af315c303391f0f52739ce74773132eca3058de2740a09479d451c8558002475db540bffbcf6c485a7bc658dd94639ac02819 +DIST v0.93.tar.gz 583496 BLAKE2B 6a4e02cc1a9d799ad0a399f2ea8f5fb90148297a0494e4721f7b3d3a422bed67733bb96766c6ca3735d5467e67bdd9742ff78aef41fa38d287c349ad45475a21 SHA512 fc28aea0b21831ece62862706d4c5bf9dc028afb4cdffbbb663b49688b05c3db63e5117f92188668034e59dcf6f32401761ff5cd5e10c1b21f752d1fbac41cf9 +EBUILD dxvk-0.93.ebuild 1466 BLAKE2B 5e0fc80f02ec633c0866983d5438c50fbd820198097938e051fa3e57815b2d845436dde501971c2674860d93953a303f93a236820f6b5aa3129c5525149d6ff9 SHA512 98994507f6da0059d70c1b325f73bdd894abe3651aa34c72f97e23cc5022c6d8204fea2e16b0b5407ddf0c3780e51b440d06bc8f84d45182c22e85428c2ab078 +EBUILD dxvk-9999.ebuild 1466 BLAKE2B 5e0fc80f02ec633c0866983d5438c50fbd820198097938e051fa3e57815b2d845436dde501971c2674860d93953a303f93a236820f6b5aa3129c5525149d6ff9 SHA512 98994507f6da0059d70c1b325f73bdd894abe3651aa34c72f97e23cc5022c6d8204fea2e16b0b5407ddf0c3780e51b440d06bc8f84d45182c22e85428c2ab078 MISC metadata.xml 339 BLAKE2B 2c3c82d9b14bca7f4b3b2d01aadad24d534c74201952505d3d579d636c6053cb8fdc3a91c269d500876af972015d48756c7ea4b5cec089c4a7c5c4fbfdc63d70 SHA512 f2694f77e348ae5cc9053b7380b0efe41dc4a82a4fd100e2a8c87a15c11452400581145938ed80816a2c9ec86e5cd4444b99b713c2404efa7225a0e39025c7be -----BEGIN PGP SIGNATURE----- -iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXAr+dQAKCRDPw5SX8bJu -BxRIAP98Kn/8MZbaE10517BvIVOJKGl145bwF5jFFa2GVmkAbwD/bwvZCpqpye0S -Nta8UmyA02XFJUeqvfTvmFKBlZvkBWY= -=dpgk +iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXAvMDgAKCRDPw5SX8bJu +B7d6AP9xxYN6v9N0zaMCniq3kVIQZUXJk1kkEQin5m2BG6G4sQD9G+sjbC6I/2Kd +/Lt5j5bJEVt7J68WAHBwMM1CuzThx5M= +=eHmx -----END PGP SIGNATURE----- diff --git a/app-emulation/dxvk/dxvk-0.93.ebuild b/app-emulation/dxvk/dxvk-0.93.ebuild new file mode 100644 index 0000000..eeda191 --- /dev/null +++ b/app-emulation/dxvk/dxvk-0.93.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +MULTILIB_COMPAT=( abi_x86_{32,64} ) +inherit meson multilib-minimal ninja-utils +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +fi + +DESCRIPTION="Vulkan-based D3D11 and D3D10 implementation for Linux / Wine" +HOMEPAGE="https://github.com/doitsujin/dxvk" +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" +fi + +LICENSE="ZLIB" +SLOT="0" +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi +IUSE="" + +COMMON_DEPEND="virtual/wine[${MULTILIB_USEDEP}]" +DEPEND=" + ${COMMON_DEPEND} + dev-util/vulkan-headers + dev-util/glslang +" +RDEPEND=" + ${COMMON_DEPEND} + media-libs/vulkan-loader +" + +multilib_src_configure() { + local bit="${MULTILIB_ABI_FLAG:8:2}" + local emesonargs=( + --libdir=lib${bit}/dxvk-${PV} + --bindir=lib${bit}/dxvk-${PV}/bin + --cross-file=../${P}/build-wine${bit}.txt + ) + meson_src_configure +} + +multilib_src_compile() { + EMESON_SOURCE="${S}" + meson_src_compile +} + +multilib_src_install() { + meson_src_install +} + +pkg_postinst() { + elog "dxvk is installed, but not activated. " \ + "You have to create DLL overrides in order to make use of it. " \ + "To do so, set WINEPREFIX and execute " \ + "${EPREFIX}/usr/lib{32,64}/${P}/bin/setup_dxvk.sh install. " \ + "For more info, have a look at https://wiki.gentoo.org/wiki/DXVK." +} diff --git a/app-emulation/dxvk/dxvk-9999.ebuild b/app-emulation/dxvk/dxvk-9999.ebuild index a057558..eeda191 100644 --- a/app-emulation/dxvk/dxvk-9999.ebuild +++ b/app-emulation/dxvk/dxvk-9999.ebuild @@ -3,15 +3,26 @@ EAPI=6 MULTILIB_COMPAT=( abi_x86_{32,64} ) -inherit git-r3 meson multilib-minimal ninja-utils +inherit meson multilib-minimal ninja-utils +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +fi DESCRIPTION="Vulkan-based D3D11 and D3D10 implementation for Linux / Wine" HOMEPAGE="https://github.com/doitsujin/dxvk" -EGIT_REPO_URI="https://github.com/doitsujin/dxvk.git" +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" +fi LICENSE="ZLIB" SLOT="0" -KEYWORDS="" +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi IUSE="" COMMON_DEPEND="virtual/wine[${MULTILIB_USEDEP}]" @@ -22,7 +33,6 @@ DEPEND=" " RDEPEND=" ${COMMON_DEPEND} - app-emulation/winetricks media-libs/vulkan-loader " @@ -49,6 +59,6 @@ pkg_postinst() { elog "dxvk is installed, but not activated. " \ "You have to create DLL overrides in order to make use of it. " \ "To do so, set WINEPREFIX and execute " \ - "${EPREFIX}/usr/lib{32,64}/${P}/bin/setup_dxvk.sh install." \ + "${EPREFIX}/usr/lib{32,64}/${P}/bin/setup_dxvk.sh install. " \ "For more info, have a look at https://wiki.gentoo.org/wiki/DXVK." }