aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Reva <denis7774@gmail.com>2023-02-28 17:54:41 +0500
committerDenis Reva <denis7774@gmail.com>2023-02-28 17:57:56 +0500
commite5ade618451942a1fb01a6392d1bc14500132414 (patch)
tree5fb4b2bbfb8d047b68ca67b268e994ede75da51a /media-libs
parentdwarfs: unorphaned, work in progress (diff)
downloadguru-e5ade618451942a1fb01a6392d1bc14500132414.tar.gz
guru-e5ade618451942a1fb01a6392d1bc14500132414.tar.bz2
guru-e5ade618451942a1fb01a6392d1bc14500132414.zip
media-libs/amdvlk: removed obsolete version
Signed-off-by: Denis Reva <denis7774@gmail.com>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/amdvlk/Manifest5
-rw-r--r--media-libs/amdvlk/amdvlk-2022.4.4.ebuild141
2 files changed, 0 insertions, 146 deletions
diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 065054eba..6576690d9 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,13 +1,8 @@
DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
DIST amdvlk-LLVM-dialects-d12df4e895733e0adf8364f22349d92a000ae30d.tar.gz 33556 BLAKE2B c8e005345e965b1ce2d3977886a4939291d00fc4483f7a22b18399c1e0c7e39f766f50d7fb873e5defee58c2f57980b0692e70a11144d0e08e29ac9a57c9fa40 SHA512 77f37150bfcb26f657461c457b4240ba1d339b661521b1633d625439ee5cbcd1765b1eba9dd8239548692058a2e69df6cb359baee5bbb4d3e45d9d664ce04bc7
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-e19c8ceca056f0b0d24ca4ecd654ef21d40ea063.tar.gz 303085 BLAKE2B 51efb5bfc62496225ff2ef82760b7d6e5b7b484a43f100a6eec870d6f29c353c3d83c66896687d1ff6a0f2a8569cae157b120642ea1185d1157d95606b08cb2c SHA512 998570f5df17ac2ce457acf5732f0e4ce813403362ea7b88e9805eb6180d92f55933494f204d85549a02e804a8204b35ddfc83e8bd166a8d0c212078cac27ec9
-DIST amdvlk-llpc-37dcb2e5cedb00bb025c84238d816f19c93b3060.tar.gz 2577832 BLAKE2B 2a8dfd168174997d15af685b5b51519698821fe9032917bae2271a32c6ad981376182cfdc3dcfdbe84369bff9de031af49a6bc838c12ca20950f0e26f99c4a5b SHA512 0366e402696354cd377e3e476970e006acd9b2dabb50d0b1434833946e28e8d5b250c51ede2efb9de4fbf71de1322724f68e9f5e0748001e0401d7549a48c19d
DIST amdvlk-llpc-ffc49b2a07dea2754c1f7f3457a4ab5b4129c422.tar.gz 2599441 BLAKE2B 38c7596947afaf1a40b1e834714d98404aa40a5101a6f989f9cb0a08cae57c8229165241aae1f232511e91b7f1f9bb8c8ba668960dae888e06e2e9f80d6cf386 SHA512 831645a6a107569cec5823a9383de0fb01d7ad469cc14d21e9fd673d3c2efaa4dcb7e7e2453437ced7a2e73c35bcae4b72eb0e9f662b16849ddf310c37dd913d
-DIST amdvlk-llvm-project-42a4d92d3c68995d04f1ed580613d162054f5795.tar.gz 167651563 BLAKE2B 4cfd4932dc15b4e0c8cf3b70403498c6fe77928a4a38d6d806f58d2399214eff4cef20ddd99c3f98675ffb02ec87e6931bfe05aa7d983fda2f4b6d2146d503ac SHA512 5372052bfe99a5b9f6b4d3c90d50912c90a4336361ff26c0b86cd0d1584e162e1fd9b3402bc65d6be6ab53290450dec0e6a051505d323e6b236640721d271dbe
DIST amdvlk-llvm-project-916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4.tar.gz 167651090 BLAKE2B 5d5be2f308f7ca4e12b9bb67fcb33f05245719c0388befe28fd327a4d17b15298a5730ef65dbecb260c4d3f436b5c1204c111e31953fe8ce402df6f4430e865f SHA512 13f87d75d11c779c3e791ee619ba847ca36951d3a6db11441bde455e82936dfee29c21f15412bde711ac5f957be908c80d9248e945be3b0aa59777608b91cd9e
DIST amdvlk-pal-042362399cdac1019fbc7f0ace8489aee2907883.tar.gz 12426374 BLAKE2B b4cd6f3496e9146e481de339128cb6b4be735aec2982f45af9806ce8647cd5e5cc3470dc4bcf82f354f03c227faff3f63148444ac26fd1a54ecdfd9844cff7e7 SHA512 5845d3bdc312915b07b1b59df387d4611ad280c499a8fdb1fa2ec0eba37a286179461b0eb445ac32646cd2c4842670f5e48f26b15a2a4b76864d7efb3fba3e69
-DIST amdvlk-pal-287ef684bc36a86af55d4ed1c4c4f4c35577e21e.tar.gz 12279943 BLAKE2B ffe41d37ce2c744196520296fd7e4e91445a1e0b8f8c25aa90c5cc0f572aec645ddb85c80f995dc8e7e9a0c78845fd6f419f747360c824efa1ec5da0a031e071 SHA512 15901e5ac974bee92cf2de43b5cd48f38d3625e2a6049dcae767dc128334a92419eda4a8db77f31503e79b72ff495e4ead4b9e34c5ed2e4ae4124c9a100133f3
DIST amdvlk-xgl-67cd9d1d3016c0522ddf83ba0a0b2bda0de27d4c.tar.gz 1243619 BLAKE2B 46f133a057158f293daa0c37bb60ca87d96728f7becffe5c78839b0658f9237ed1c5b11d57e569f0b62e7542a4f48afbada6527eb5e9c2cb62cbda8b4dd2bd2c SHA512 d7b9970a3bd444149e1801ffc268796a02833db39132c32f7745350bc423c40d111e9e338e9f0e35fa8b6b84c527d313669ff9f7b1488fcf2d4c834ab7495bf2
-DIST amdvlk-xgl-8aa0e76a110fa264608ee1b4e412aa8fb40286d3.tar.gz 1229896 BLAKE2B 9b005c01cd77476888319064fac7dcb89a065279d1b1ad2738be7e5c05f246d524fc8794dcd20d0671a3119c4927deb5cefefaaf94832d1cad19cd971ac60487 SHA512 37cdeb33f943c3093495a25650ed50cbe494d76c7dbd7fb2594b062b5c269b6e92d73a85a0631529053bda11aceacbca1c484a5688292a96db126d8e5fcf0306
diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
deleted file mode 100644
index cbb989145..000000000
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ /dev/null
@@ -1,141 +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}]
- dev-libs/openssl[${MULTILIB_USEDEP}]" #890449
-
-CHECKREQS_MEMORY="7G"
-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="8aa0e76a110fa264608ee1b4e412aa8fb40286d3"
-PAL_COMMIT="287ef684bc36a86af55d4ed1c4c4f4c35577e21e"
-LLPC_COMMIT="37dcb2e5cedb00bb025c84238d816f19c93b3060"
-GPURT_COMMIT="1f0c4f7e9cea22452e5e20a6cdfc4a84a2bf5bac"
-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"
- "${FILESDIR}/amdvlk-2022.4.4-r1-disable-Werror.patch" #887777
-)
-
-pkg_pretend(){
- ewarn "It's generally recomended to have at least 16GB memory to build"
- ewarn "However, experiments shows that if you'll use MAKEOPTS=\"-j1\" you can build it with 4GB RAM"
- ewarn "or you can use MAKEOPTS=\"-j3\" with 7.5GB system memory"
- ewarn "See https://wiki.gentoo.org/wiki/AMDVLK#Additional_system_requirements_to_build"
- ewarn "Use CHECKREQS_DONOTHING=1 if you need to bypass memory checking"
-
- check-reqs_pkg_pretend
-}
-
-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}"
- -DLLVM_ENABLE_WERROR=OFF
- -DENABLE_WERROR=OFF
- -DVAM_ENABLE_WERROR=OFF
- -DICD_ANALYSIS_WARNINGS_AS_ERRORS=OFF
- -DMETROHASH_ENABLE_WERROR=OFF
- -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."
-}