diff options
Diffstat (limited to 'app-emulation/dxvk')
-rw-r--r-- | app-emulation/dxvk/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/dxvk/dxvk-9999.ebuild | 26 |
2 files changed, 18 insertions, 11 deletions
diff --git a/app-emulation/dxvk/Manifest b/app-emulation/dxvk/Manifest index 7af5f550660f..64ba52ecdd65 100644 --- a/app-emulation/dxvk/Manifest +++ b/app-emulation/dxvk/Manifest @@ -2,7 +2,8 @@ DIST dxvk-1.10.3.tar.gz 1204407 BLAKE2B 3507ffe4abf9c45f2a138b05e7cf706322a6bf3d DIST dxvk-2.0.tar.gz 943397 BLAKE2B 7d59050e8ac3f9be311d11323cc0057d84c3b730360fe9e064ff4a5e2db5bffea5bae3214da366c60295ec5f1577ab08e2776274c9aaff7a7de1b9f2cefa836a SHA512 98537bdec2b5e4f2ead5b93ab49db717e0706fe771a82a6ef1e5b5792c1bdd3f417cd6b6b2deadb1397b8a0740445fa88b9fb6c1f73510cc5c0e7ae35d65bcac DIST dxvk-spirv-headers-0bcc624926.tar.gz 437771 BLAKE2B 08815e36ad99b84777e38ad0c5616b6608a552f993e7f67433f2b8e20de81e9bce41420ac5998f5b67bca70a92ce70aed91b238990bd431c7b97070dfb0c5a60 SHA512 5995cf75d5605d41e9643bca81c195ef5aaa17d596e0282807f6fa8f8c494f7b63a41d611c535ae43dc3d609436aabef1e0d89626f37e6f20bad17b5e122e32c DIST dxvk-vulkan-headers-98f440ce68.tar.gz 1691979 BLAKE2B bf6fd288f16df7adcb5cebeb6e13713db1c26a0b833dead2fb522227861abc60b2d0cda8e3f46f8e89cccb629e01081ba27763989ad6fd336c60a475b198c1c8 SHA512 69238d37d0af0162e0fd68094cd2fa9baa320497d34a9de491dea086c23291d0815b51e89218b1f0ee2b3314cbc8ac1809d6edb15ca51fcb282fe1e2b39a1a77 +DIST setup_dxvk.sh 4631 BLAKE2B 25270e1f6dfd446b1d124eac3bd19da8bc770527d02d987949fc3ae0bead07866dafa25f77a90b9a408413a724354a29a4a156ff5c9dc75e26b66e079824ec86 SHA512 257fd84e29a7037f04a1a2a506502c71d527af58f8c84d8c3dfb64597ebdc41c3dca362eaf20ab4bc1982b76428c1f843815d56a6e1369d072e0009e270cb121 EBUILD dxvk-1.10.3.ebuild 4265 BLAKE2B d830295fb402291d9fafa65539857dec4aa140f1b1c8ac15d863b15b85d58176b45a0a17c0fbc9c418d67445227705b3f73fbb872426011f1d80a89530f6eb3e SHA512 e103838702f73954b7afa6266759c762ea0a0048643a17904f1436b52588e41a5afa5b9818c3cc08491cffe9be1f8fddb8b45422c46f974ed9578398534ad6db EBUILD dxvk-2.0.ebuild 5239 BLAKE2B b01f9ed7682a575fe44ec6ec951d09ae209ca52df04c63ed61e5f542b7e5261a7ad032297981b7a93b244f3c1a22918de0f24c56e131f7a38ddd3dfe379f0572 SHA512 237c2fedd0aff29e9c56f050985653bf756ee8e1d7bc1b5c37c4f5e453e991078f7c96e6caa5f86a3f1a15cf3b62ec3f294a9bda9d7837907882751a3dc6f02d -EBUILD dxvk-9999.ebuild 5337 BLAKE2B 39b8608412d908541d1b9d9ed9127056cda3c3083d3cc05dfce817d49d87d5701e3d5134e26d2ce1b320fbc017d0699f417ab9cc7543764cb2a18d877d157740 SHA512 104c55d6cbc49056bad61ff453fa14ea454d9a8b59af20e1fef2e97b27f1de45b09aca88a0d307154285642389926bcc046acce7675c1ee0306dd22bc70a69e6 +EBUILD dxvk-9999.ebuild 5635 BLAKE2B 8eaad2471f58c6cdd612beac5b53c09e8c88d64726bf909c09803fd9492c5c1854323a5f308d2a7b1cd404d8377b26660e1339f53d708e64d72fd6f610c818af SHA512 658f01cd40b05f6bdf80ada09b6f1eadf7605b9cfefa6747b4f49a7a00015ccf2d75921def74ed424df053d15c38e117143983a6af93321e23baa512922be06a MISC metadata.xml 818 BLAKE2B 88081c074b99329c925174de4b7ff9b2c220ffc67eb64a5324f4eaf2a35f98f06c9978ddc0e929ba76b341a389a8eff025b7aa0a2414e3f7ae496c44a023c65c SHA512 90d76ac3df3abe003371cd25b9cf0e6570a53b371349fb2e048cae1818e51f0482e17b3d5490eb82c57d891bb43c4a7cd41530101b888591719c33c566788e3b diff --git a/app-emulation/dxvk/dxvk-9999.ebuild b/app-emulation/dxvk/dxvk-9999.ebuild index 167b7c5d6901..9b78cd87364a 100644 --- a/app-emulation/dxvk/dxvk-9999.ebuild +++ b/app-emulation/dxvk/dxvk-9999.ebuild @@ -26,6 +26,8 @@ else -> ${PN}-vulkan-headers-${HASH_VULKAN::10}.tar.gz" KEYWORDS="-* ~amd64 ~x86" fi +# setup_dxvk.sh is no longer provided, fetch old until a better solution +SRC_URI+=" https://raw.githubusercontent.com/doitsujin/dxvk/cd21cd7fa3b0df3e0819e21ca700b7627a838d69/setup_dxvk.sh" DESCRIPTION="Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine" HOMEPAGE="https://github.com/doitsujin/dxvk/" @@ -36,7 +38,7 @@ IUSE="+abi_x86_32 crossdev-mingw +d3d9 +d3d10 +d3d11 debug +dxgi" REQUIRED_USE=" || ( d3d9 d3d10 d3d11 dxgi ) d3d10? ( d3d11 ) - dxgi? ( d3d11 )" + d3d11? ( dxgi )" BDEPEND=" dev-util/glslang @@ -71,6 +73,9 @@ src_prepare() { fi default + + sed "/^basedir=/s|=.*|=${EPREFIX}/usr/lib/${PN}|" \ + "${DISTDIR}"/setup_dxvk.sh > setup_dxvk.sh || die } src_configure() { @@ -118,6 +123,7 @@ multilib_src_configure() { } multilib_src_install_all() { + dobin setup_dxvk.sh dodoc README.md dxvk.conf find "${ED}" -type f -name '*.a' -delete || die @@ -128,15 +134,15 @@ pkg_preinst() { } pkg_postinst() { - # TODO: setup_dxvk.sh script was removed, need to figure out a new way to - # explain/handle (leaving this alone for now in live in case gets restored) -# if [[ ! ${REPLACING_VERSIONS} ]]; then -# elog "To enable ${PN} on a wine prefix, you can run the following command:" -# elog -# elog " WINEPREFIX=/path/to/prefix setup_dxvk.sh install --symlink" -# elog -# elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for details." - if [[ -v DXVK_HAD_OVERLAY ]]; then + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "To enable ${PN} on a wine prefix, you can run the following command:" + elog + elog " WINEPREFIX=/path/to/prefix setup_dxvk.sh install --symlink" + elog + elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for details." + elog "Note: setup_dxvk.sh is unofficially temporarily provided as it was" + elog "removed upstream, handling may change in the future." + elif [[ -v DXVK_HAD_OVERLAY ]]; then # temporary warning until this version is more widely used elog "Gentoo's main repo ebuild for ${PN} uses different paths than most overlays." elog "If you were using symbolic links in wine prefixes it may be necessary to" |