aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Reva <denis7774@gmail.com>2022-12-25 13:54:31 +0500
committerDenis Reva <denis7774@gmail.com>2022-12-25 14:09:29 +0500
commit5d6fc4917d4af3a5def58cc423c60ec9293f4de5 (patch)
tree951db8594bd83f19add5148fda8b32fdb5674d70 /media-libs/amdvlk
parentmedia-libs/amdvlk: Updated requirements checking (diff)
downloadguru-5d6fc4917d4af3a5def58cc423c60ec9293f4de5.tar.gz
guru-5d6fc4917d4af3a5def58cc423c60ec9293f4de5.tar.bz2
guru-5d6fc4917d4af3a5def58cc423c60ec9293f4de5.zip
media-libs/amdvlk: Deleted old version of amdvlk
Signed-off-by: Denis Reva <denis7774@gmail.com>
Diffstat (limited to 'media-libs/amdvlk')
-rw-r--r--media-libs/amdvlk/Manifest4
-rw-r--r--media-libs/amdvlk/amdvlk-2022.4.3.ebuild124
2 files changed, 0 insertions, 128 deletions
diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index d4c9373bc..51a872515 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,11 +1,7 @@
DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
DIST amdvlk-gpurt-1f0c4f7e9cea22452e5e20a6cdfc4a84a2bf5bac.tar.gz 303454 BLAKE2B 78304f4d3b0c7eab927698cc7e4b5fc1a746e94d7929278a1f48653ad9425e52b6758f0d72e974c6bd2e5fc7a6da33002aab82fe752f00a324a618935db04e2d SHA512 91cbdf539eb6bb23316fd3a2654564ecf516fa42789f70c259402370adcc25de05d376bce665466cee9d8328022662a1fcc4d668d432a6feeec879aa8efebe7a
-DIST amdvlk-gpurt-385af58e0f1bbe2b4da5e0774c423f39fdaf3067.tar.gz 293102 BLAKE2B 3e62f7daac1bc412f5415cd43f3f23f1b32de165b074c21437a7c02dcb7e3b4172d333e2f8d6bf0b5a43d882d030af084aab6e8ab3c1391c355241597c9b0b33 SHA512 5d4b3ed4150673650dbfd781fef15d81afafd2227231badfadb2ba396b10213d9196add5c0a7bba45c275d1a9a3312e55310d177dbe8587f8378db6d998e531c
DIST amdvlk-llpc-37dcb2e5cedb00bb025c84238d816f19c93b3060.tar.gz 2577832 BLAKE2B 2a8dfd168174997d15af685b5b51519698821fe9032917bae2271a32c6ad981376182cfdc3dcfdbe84369bff9de031af49a6bc838c12ca20950f0e26f99c4a5b SHA512 0366e402696354cd377e3e476970e006acd9b2dabb50d0b1434833946e28e8d5b250c51ede2efb9de4fbf71de1322724f68e9f5e0748001e0401d7549a48c19d
-DIST amdvlk-llpc-6c817737b6545906db56da44c12f39b6470d8903.tar.gz 2497312 BLAKE2B 9d10a2d08bc02603d56708e25ad254bb166404cfa6e141c6c649b67fbd45f088d9b571a7395fc878c87c0defa9cc76dbf40048c72d84479a275a3ad5b9f13339 SHA512 fe8d6164f13bc63278afceefea10c54132834407e2da1f08264fd25eba876a48ff2d8c269413330db9522d717caefe0a7ee03f0188fa2ac50edfcdbdf9c40c01
DIST amdvlk-llvm-project-42a4d92d3c68995d04f1ed580613d162054f5795.tar.gz 167651563 BLAKE2B 4cfd4932dc15b4e0c8cf3b70403498c6fe77928a4a38d6d806f58d2399214eff4cef20ddd99c3f98675ffb02ec87e6931bfe05aa7d983fda2f4b6d2146d503ac SHA512 5372052bfe99a5b9f6b4d3c90d50912c90a4336361ff26c0b86cd0d1584e162e1fd9b3402bc65d6be6ab53290450dec0e6a051505d323e6b236640721d271dbe
DIST amdvlk-pal-287ef684bc36a86af55d4ed1c4c4f4c35577e21e.tar.gz 12279943 BLAKE2B ffe41d37ce2c744196520296fd7e4e91445a1e0b8f8c25aa90c5cc0f572aec645ddb85c80f995dc8e7e9a0c78845fd6f419f747360c824efa1ec5da0a031e071 SHA512 15901e5ac974bee92cf2de43b5cd48f38d3625e2a6049dcae767dc128334a92419eda4a8db77f31503e79b72ff495e4ead4b9e34c5ed2e4ae4124c9a100133f3
-DIST amdvlk-pal-4a23f7ca61e25c06fda9d9e3630da54182ca1ff3.tar.gz 11333128 BLAKE2B 86f747765430b8fbee5085a92a4fdceab3de0181c7cedf45f5e2c461cbd6a09d2592b2a2a2d08ad271bffeb3edbdf60223813dd60188c9cf4c9a19759dd39ae7 SHA512 cb62cd476f75a5fa5ca08379eb5fa4bd71014f14bf93c01f06d5226c6f3d96c9d19df61f61e852c00d5cf3b2b69bd21d7588690bdc10296a752feb00a733c695
DIST amdvlk-xgl-8aa0e76a110fa264608ee1b4e412aa8fb40286d3.tar.gz 1229896 BLAKE2B 9b005c01cd77476888319064fac7dcb89a065279d1b1ad2738be7e5c05f246d524fc8794dcd20d0671a3119c4927deb5cefefaaf94832d1cad19cd971ac60487 SHA512 37cdeb33f943c3093495a25650ed50cbe494d76c7dbd7fb2594b062b5c269b6e92d73a85a0631529053bda11aceacbca1c484a5688292a96db126d8e5fcf0306
-DIST amdvlk-xgl-b358df5460810b00d0cc779e4d000e4a901d2047.tar.gz 1227551 BLAKE2B 6ed056f5156319c18cc31a5cb37d5d46a0c76b9aa44b03fcedb5870121d4041f8a2da77d97781411c4777795368ebefd334449a61fe18f10462f1086b6c99826 SHA512 d77efd4828541ed9428d1d9911bb87aed9f1dab10b61fb80b083cc315fe4b472c60a082a3fe51a16c79608ee614b16773097b4c7ff390569345e10f08215420c
diff --git a/media-libs/amdvlk/amdvlk-2022.4.3.ebuild b/media-libs/amdvlk/amdvlk-2022.4.3.ebuild
deleted file mode 100644
index 8b4692f9a..000000000
--- a/media-libs/amdvlk/amdvlk-2022.4.3.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit check-reqs python-any-r1 cmake-multilib
-
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="wayland +raytracing"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
- ${BUNDLED_LLVM_DEPEND}
- >=dev-util/vulkan-headers-1.3.224
- raytracing? ( dev-util/DirectXShaderCompiler )
- dev-util/glslang[${MULTILIB_USEDEP}]"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
- ${PYTHON_DEPS}
- dev-util/cmake
- virtual/linux-sources"
-RDEPEND=" ${DEPEND}
- x11-libs/libdrm[${MULTILIB_USEDEP}]
- x11-libs/libXrandr[${MULTILIB_USEDEP}]
- x11-libs/libxcb[${MULTILIB_USEDEP}]
- x11-libs/libxshmfence[${MULTILIB_USEDEP}]
- >=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
- dev-util/glslang[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="16G"
-CHECKREQS_DISK_BUILD="4G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-### SOURCE CODE PER_VERSION VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-## For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/${VERSION}/default.xml
-## e.g. https://github.com/GPUOpen-Drivers/AMDVLK/blob/v-2022.Q3.5/default.xml
-## and place commits in the desired variables
-## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
-## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="b358df5460810b00d0cc779e4d000e4a901d2047"
-PAL_COMMIT="4a23f7ca61e25c06fda9d9e3630da54182ca1ff3"
-LLPC_COMMIT="6c817737b6545906db56da44c12f39b6470d8903"
-GPURT_COMMIT="385af58e0f1bbe2b4da5e0774c423f39fdaf3067"
-LLVM_PROJECT_COMMIT="42a4d92d3c68995d04f1ed580613d162054f5795"
-METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
-CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
-# end of variables
-SRC_URI="${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> amdvlk-xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> amdvlk-pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> amdvlk-llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/gpurt/archive/${GPURT_COMMIT}.tar.gz -> amdvlk-gpurt-${GPURT_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> amdvlk-llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> amdvlk-MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> amdvlk-CWPack-${CWPACK_COMMIT}.tar.gz"
-
-PATCHES=(
- "${FILESDIR}/amdvlk-2022.3.5-no-compiler-presets.patch" #875821
- "${FILESDIR}/amdvlk-2022.4.1-proper-libdir.patch"
- "${FILESDIR}/amdvlk-2022.4.2-license-path.patch" #878803
- "${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations.patch"
- "${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations-part2.patch"
-)
-
-src_prepare() {
- einfo "moving src to proper directories"
- mkdir -p "${S}"
- mkdir -p "${S}/third_party"
- mv xgl-${XGL_COMMIT}/ "${S}/xgl"
- mv pal-${PAL_COMMIT}/ "${S}/pal"
- mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
- mv gpurt-${GPURT_COMMIT}/ "${S}/gpurt"
- mv llvm-project-${LLVM_PROJECT_COMMIT}/ "${S}/llvm-project"
- mv MetroHash-${METROHASH_COMMIT}/ "${S}/third_party/metrohash"
- mv CWPack-${CWPACK_COMMIT}/ "${S}/third_party/cwpack"
- cmake_src_prepare
-}
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DBUILD_WAYLAND_SUPPORT=$(usex wayland)
- -DVKI_RAY_TRACING=$(usex raytracing)
- -DLLVM_VERSION_SUFFIX="-amdvlk"
- -DLLVM_HOST_TRIPLE="${CHOST}"
- -DBUILD_SHARED_LIBS=OFF #LLVM parts don't support shared libs
- -DPython3_EXECUTABLE="${PYTHON}"
- -DPACKAGE_VERSION="${PV}"
- -DPACKAGE_NAME="${PN}"
- -DLLVM_INSTALL_TOOLCHAIN_ONLY=On #Disable installation of various LLVM parts which we had to clean up.
- -Wno-dev
- )
- cmake_src_configure
-}
-multilib_check_headers() {
- einfo "Checking headers skipped: there is no headers"
-}
-
-multilib_src_install_all() {
- default
- einfo "Removing unused LLVM parts…"
- rm "${D}"/usr/lib/libLTO* || die "Can't remove unused LLVM lto library"
- rm "${D}"/usr/lib/libRemarks* || die "Can't remove unused LLVM libRemarks library"
- rm -r "${D}"/usr/lib/cmake || die "Can't remove unused LLVM cmake folder"
- einfo "Removal done"
-}
-
-pkg_postinst() {
- ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
- ewarn "| Driver \"modesetting\""
- ewarn "and make sure you use DRI3 mode for Xorg (not revelant for wayland)"
- elog "More information about the configuration can be found here:"
- elog "https://github.com/GPUOpen-Drivers/AMDVLK"
- elog "You can use AMD_VULKAN_ICD variable to switch to the required driver."
- elog "AMD_VULKAN_ICD=RADV application - for using radv."
- elog "AMD_VULKAN_ICD=AMDVLK application - for using amdvlk."
-}