public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-04-11  8:21 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-04-11  8:21 UTC (permalink / raw
  To: gentoo-commits

commit:     8d8302677aeb2906313ea1214b7c3b46f18f187c
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Apr 11 08:19:27 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Apr 11 08:20:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d830267

media-libs/amdvlk:

new ebuild from Github's pull request
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
All Unquoted variables is needed for fetching

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Reva Denis <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   8 ++
 media-libs/amdvlk/amdvlk-2020.1.4.ebuild | 125 +++++++++++++++++++++++++++++++
 media-libs/amdvlk/metadata.xml           |  16 ++++
 3 files changed, 149 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
new file mode 100644
index 0000000..22a1c38
--- /dev/null
+++ b/media-libs/amdvlk/Manifest
@@ -0,0 +1,8 @@
+DIST AMDVLK-v-2020.Q1.4.tar.gz 30348 BLAKE2B fc3e4f03d52c064f8b028b1afd2aad6aab3196811d2d6e9535399f39619dc88317e3fb94e1faa9048fc6a3cbe64b1ee6ddc66a759fd38f5408e9cf8b9f535caa SHA512 53fd24eee13c38360b9f962a5d28a1598cdb180357a1ba8ba7c4460d6cd43f909fac25b8cb3231ec29ee172d85ff23faaa135970683072aa468bd15a5505353f
+DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
+DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
+DIST llpc-7686a2ddba683f7a361460f3806b0d45e615ca76.tar.gz 1955263 BLAKE2B f9c6ad489f4998ede751d0b35b129a27d91d0e9d0e86a6d05652adb016eaae9ae40f3756c12ad2139040ab7543aeb1399988f28bda70417f480f42b0a8980ae9 SHA512 dc737957da89f6af4fdb85df2113857d8b9418df4396e7e362d029c696a11cf691b5aaff1ce14ab8ad0c1301d10af5f689394a76351eb965cba6be0e0194cb5d
+DIST llvm-project-5c958c70bc6366298296dc778e903f65528c3b0f.tar.gz 116288565 BLAKE2B 438a04e6f3394e94bcfdcf97ecb240216050e723e1685ba05b10333061e7c8a6a79023071f35547509c88ed55541ed4e51988e06a89013201154dd89240b6f94 SHA512 57da73edda674e10ed799a06fa16f3dc5d241307bc28b463ab1cf4f359daa07c186fd64e242053fc4a3869efa604176c92a7850fc6005b1333e5aa92f6bf0bdd
+DIST pal-bb7398b1c7509a30ba4f7d947b5ad5549a4d58db.tar.gz 7340860 BLAKE2B 66c0055ecff085b4ad762cba70f5c8448c448bcdebc2ebffd368a8a953cf40eb6e114e3c97cdd772b0c8c98982288f04915f647d247d21bd4dc7135491f98d28 SHA512 ed5cecd0243322f6c9885203677faabf4245b7af88b0eac2b0a736af971491690ce123b243b1d76af06249f0549aa2a724b67120ac413c6f4f6de0651d8c6b60
+DIST spvgen-d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1.tar.gz 17745 BLAKE2B b4244e0eb7e2967b692569090481e21cf87ee2124f9e9c0bc550be5e9c26baa08a6be33785cb15c05b54d57805cb1489f7f9abcc3490ed1f374f7c2a4b7dee61 SHA512 48ba6708eae2409af54165eb8577eded0f3adc228963807ef4a49496c954e1ee256c00b243fa1caa070cbc4931c1d8b6dcbc702620d6361bd3ab0a1a3414bce3
+DIST xgl-2db4177e78133c868e2c6b4dcc46aeb2f512163a.tar.gz 841923 BLAKE2B e67ae03976a806ed1eaddfd694270ea58d18a0d9cb60a8fe4ac67cbddf765df958127258aa28d8d824c5267fbcd3066abb3ffdb0fb2064c580cbdc4d7daf638b SHA512 26fdf2003c32d63792b80942d59bdda56c26e809a26031f77c0f31383df280c8b76ef7c9d321d193e2512075f197461b27db356f8170887c25fda01c85b9f5ed

diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
new file mode 100644
index 0000000..f8b5424
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.133"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.133[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="2db4177e78133c868e2c6b4dcc46aeb2f512163a"
+PAL_COMMIT="bb7398b1c7509a30ba4f7d947b5ad5549a4d58db"
+LLPC_COMMIT="7686a2ddba683f7a361460f3806b0d45e615ca76"
+SPVGEN_COMMIT="d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1"
+LLVM_PROJECT_COMMIT="5c958c70bc6366298296dc778e903f65528c3b0f"
+METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
+CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p ${S}
+	mkdir -p ${S}/third_party
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ ${S}/AMDVLK
+	mv xgl-${XGL_COMMIT}/ ${S}/xgl
+	mv pal-${PAL_COMMIT}/ ${S}/pal
+	mv llpc-${LLPC_COMMIT}/ ${S}/llpc
+	mv spvgen-${SPVGEN_COMMIT}/ ${S}/spvgen
+	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
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd ${S}/xgl
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=( \
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
+			-B${BUILD_DIR} )
+	cd ${S}/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p ${D}/usr/lib64/
+		mv "${BUILD_DIR}/icd/amdvlk64.so" ${D}/usr/lib64/
+		insinto /usr/share/vulkan/icd.d
+		doins ${S}/AMDVLK/json/Redhat/amd_icd64.json
+	else
+		mkdir -p ${D}/usr/lib/
+		mv "${BUILD_DIR}/icd/amdvlk32.so" ${D}/usr/lib/
+		insinto /usr/share/vulkan/icd.d
+		doins ${S}/AMDVLK/json/Redhat/amd_icd32.json
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins ${T}/10-amdvlk-dri3.conf
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
new file mode 100644
index 0000000..d986303
--- /dev/null
+++ b/media-libs/amdvlk/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>denis7774@gmail.com</email>
+		<name>Reva Denis aka RarogCmex</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
+		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-04-11 14:06 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-04-11 14:06 UTC (permalink / raw
  To: gentoo-commits

commit:     74dd58ec47c8788639667a0335e048940db8fda5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Apr 11 14:05:57 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Apr 11 14:05:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74dd58ec

media-libs/amdvlk:

Fixed manifest, slightly improved ebuild.
Unquoted variables is a neccessary part of ebuild

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2020.1.4.ebuild | 4 ++--
 media-libs/amdvlk/metadata.xml           | 4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
index f8b5424..3971a41 100644
--- a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
@@ -1,15 +1,15 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=7
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
 
 inherit multilib-minimal check-reqs
 
-#cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
 DESCRIPTION="AMD Open Source Driver for Vulkan"
 HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index d986303..b5b5e7e 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -5,10 +5,6 @@
 		<email>denis7774@gmail.com</email>
 		<name>Reva Denis aka RarogCmex</name>
 	</maintainer>
-	<maintainer type="project">
-		<email>proxy-maint@gentoo.org</email>
-		<name>Proxy Maintainers</name>
-	</maintainer>
 	<longdescription>
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-04-11 20:32 Andrew Ammerlaan
  0 siblings, 0 replies; 56+ messages in thread
From: Andrew Ammerlaan @ 2020-04-11 20:32 UTC (permalink / raw
  To: gentoo-commits

commit:     114edb092c3aaa0ccb3e414a5fb0ff8e934688e1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Apr 11 20:31:55 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Apr 11 20:31:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=114edb09

media-libs/amdvlk: quote S,D and T variables

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 media-libs/amdvlk/amdvlk-2020.1.4.ebuild | 38 ++++++++++++++++----------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
index 3971a41..e249ecf 100644
--- a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
@@ -61,16 +61,16 @@ ${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.t
 ###EBUILD FUNCTIONS
 src_prepare() {
 	##moving src to proper directories
-	mkdir -p ${S}
-	mkdir -p ${S}/third_party
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ ${S}/AMDVLK
-	mv xgl-${XGL_COMMIT}/ ${S}/xgl
-	mv pal-${PAL_COMMIT}/ ${S}/pal
-	mv llpc-${LLPC_COMMIT}/ ${S}/llpc
-	mv spvgen-${SPVGEN_COMMIT}/ ${S}/spvgen
-	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
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
 	##Installing rule
 	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
 Section "Device"
@@ -78,7 +78,7 @@ Identifier "AMDgpu"
 Option  "DRI" "3"
 EndSection
 EOF
-	cd ${S}/xgl
+	cd "${S}/xgl"
 	default
 }
 
@@ -87,27 +87,27 @@ multilib_src_configure() {
 			-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
 			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
 			-B${BUILD_DIR} )
-	cd ${S}/xgl
+	cd "${S}"/xgl
 	cmake -H. "${mycmakeargs[@]}"
 }
 
 multilib_src_install() {
 	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p ${D}/usr/lib64/
-		mv "${BUILD_DIR}/icd/amdvlk64.so" ${D}/usr/lib64/
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
 		insinto /usr/share/vulkan/icd.d
-		doins ${S}/AMDVLK/json/Redhat/amd_icd64.json
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
 	else
-		mkdir -p ${D}/usr/lib/
-		mv "${BUILD_DIR}/icd/amdvlk32.so" ${D}/usr/lib/
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
 		insinto /usr/share/vulkan/icd.d
-		doins ${S}/AMDVLK/json/Redhat/amd_icd32.json
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
 	fi
 }
 
 multilib_src_install_all() {
 	insinto /usr/share/X11/xorg.conf.d/
-	doins ${T}/10-amdvlk-dri3.conf
+	doins "${T}/10-amdvlk-dri3.conf"
 	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
 	einfo "It's safe to double xorg configuration files if you have already had ones"
 }


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-04-16 15:03 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-04-16 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     4c93566be5435711f20bb5cd8d649fb9d831da57
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Apr 16 15:03:22 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Apr 16 15:03:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c93566b

media-libs/amdvlk: new version 2020.2.1

Simply updating the package, please push its to master
Just about about a hour after upstream release

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   6 ++
 media-libs/amdvlk/amdvlk-2020.2.1.ebuild | 125 +++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 22a1c38..c700a31 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,14 @@
 DIST AMDVLK-v-2020.Q1.4.tar.gz 30348 BLAKE2B fc3e4f03d52c064f8b028b1afd2aad6aab3196811d2d6e9535399f39619dc88317e3fb94e1faa9048fc6a3cbe64b1ee6ddc66a759fd38f5408e9cf8b9f535caa SHA512 53fd24eee13c38360b9f962a5d28a1598cdb180357a1ba8ba7c4460d6cd43f909fac25b8cb3231ec29ee172d85ff23faaa135970683072aa468bd15a5505353f
+DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad45442fd1915de165afac127a6339cdc2c7a855a9ff150a58f7ff3bf280a5dd5b6fd8d36a88e39eab98ce1e62670739 SHA512 daa3ce7402651a5f4ea6f932485650286d5658f95cb119a3c572b9a4cad642f6b35dd3cd07fbfc6927b9bbb0a7bd9d52c2f04b60c7d08f976b64cf10ec4d91a2
 DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
 DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
 DIST llpc-7686a2ddba683f7a361460f3806b0d45e615ca76.tar.gz 1955263 BLAKE2B f9c6ad489f4998ede751d0b35b129a27d91d0e9d0e86a6d05652adb016eaae9ae40f3756c12ad2139040ab7543aeb1399988f28bda70417f480f42b0a8980ae9 SHA512 dc737957da89f6af4fdb85df2113857d8b9418df4396e7e362d029c696a11cf691b5aaff1ce14ab8ad0c1301d10af5f689394a76351eb965cba6be0e0194cb5d
+DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
+DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAKE2B 3eac7f4646100a5e3d1f57e5524c2bfaf62aa119d24d34d9145d060dcb1cef6243eacc7ffa154760741f0597b6ebe2c56ca1f636f1f2e26f79fdd476c46ab20b SHA512 efb9898687315a2105383f47c2175335097815a66377b048b82fc910fa0be937da101de5f97c22f132c95ffaa08db68aa6f7d5b4516d1e94623138e27263e4b1
 DIST llvm-project-5c958c70bc6366298296dc778e903f65528c3b0f.tar.gz 116288565 BLAKE2B 438a04e6f3394e94bcfdcf97ecb240216050e723e1685ba05b10333061e7c8a6a79023071f35547509c88ed55541ed4e51988e06a89013201154dd89240b6f94 SHA512 57da73edda674e10ed799a06fa16f3dc5d241307bc28b463ab1cf4f359daa07c186fd64e242053fc4a3869efa604176c92a7850fc6005b1333e5aa92f6bf0bdd
+DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
 DIST pal-bb7398b1c7509a30ba4f7d947b5ad5549a4d58db.tar.gz 7340860 BLAKE2B 66c0055ecff085b4ad762cba70f5c8448c448bcdebc2ebffd368a8a953cf40eb6e114e3c97cdd772b0c8c98982288f04915f647d247d21bd4dc7135491f98d28 SHA512 ed5cecd0243322f6c9885203677faabf4245b7af88b0eac2b0a736af971491690ce123b243b1d76af06249f0549aa2a724b67120ac413c6f4f6de0651d8c6b60
+DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
 DIST spvgen-d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1.tar.gz 17745 BLAKE2B b4244e0eb7e2967b692569090481e21cf87ee2124f9e9c0bc550be5e9c26baa08a6be33785cb15c05b54d57805cb1489f7f9abcc3490ed1f374f7c2a4b7dee61 SHA512 48ba6708eae2409af54165eb8577eded0f3adc228963807ef4a49496c954e1ee256c00b243fa1caa070cbc4931c1d8b6dcbc702620d6361bd3ab0a1a3414bce3
+DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
 DIST xgl-2db4177e78133c868e2c6b4dcc46aeb2f512163a.tar.gz 841923 BLAKE2B e67ae03976a806ed1eaddfd694270ea58d18a0d9cb60a8fe4ac67cbddf765df958127258aa28d8d824c5267fbcd3066abb3ffdb0fb2064c580cbdc4d7daf638b SHA512 26fdf2003c32d63792b80942d59bdda56c26e809a26031f77c0f31383df280c8b76ef7c9d321d193e2512075f197461b27db356f8170887c25fda01c85b9f5ed

diff --git a/media-libs/amdvlk/amdvlk-2020.2.1.ebuild b/media-libs/amdvlk/amdvlk-2020.2.1.ebuild
new file mode 100644
index 0000000..3b33518
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.2.1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.135"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.135[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="1f6143fb951622e06fe7b9396957976fc9feddc7"
+PAL_COMMIT="8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a"
+LLPC_COMMIT="9889f54c9a31743b48f3dafcb8ca0c106ed15da4"
+SPVGEN_COMMIT="a223c8636f8306697f6fdc86f742b99fbd8c5dbd"
+LLVM_PROJECT_COMMIT="50077fcc15e5844dacd820dcdb02edb23fc00330"
+METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
+CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=( \
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
+			-B${BUILD_DIR} )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-04-25  0:37 Alessandro Barbieri
  0 siblings, 0 replies; 56+ messages in thread
From: Alessandro Barbieri @ 2020-04-25  0:37 UTC (permalink / raw
  To: gentoo-commits

commit:     8886ea1d02f17102055c89c2f80d0924b5a0cf6d
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 19 17:32:49 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 00:37:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8886ea1d

media-libs/amdvlk:  lang="en"

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/amdvlk/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index b5b5e7e..3c5a2b9 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -5,7 +5,7 @@
 		<email>denis7774@gmail.com</email>
 		<name>Reva Denis aka RarogCmex</name>
 	</maintainer>
-	<longdescription>
+	<longdescription lang="en">
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.
 	</longdescription>


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-04-30 11:25 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-04-30 11:25 UTC (permalink / raw
  To: gentoo-commits

commit:     a95600d22f8ab3076b9edd6fbeb212e7de3da69a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Apr 30 11:25:15 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Apr 30 11:25:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a95600d2

media-libs/amdvlk: Updated to 2020.Q2.2

2020-4-30 update

>New feature and improvement

Enable pipeline binary cache by default
Support VK_MEMORY_PROPERTY_PROTECTED_BIT
Shadow of Tomb Raider benchmark performance tuning
>Issue fix

ANGLE conformance test functional_transform_feedback crash
[RGP] incorrect start/stop frame/tag values reported back
	to SQTT file
EDID parsing bugs for HDR support

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   6 ++
 media-libs/amdvlk/amdvlk-2020.2.2.ebuild | 125 +++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index c700a31..ba07864 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,14 +1,20 @@
 DIST AMDVLK-v-2020.Q1.4.tar.gz 30348 BLAKE2B fc3e4f03d52c064f8b028b1afd2aad6aab3196811d2d6e9535399f39619dc88317e3fb94e1faa9048fc6a3cbe64b1ee6ddc66a759fd38f5408e9cf8b9f535caa SHA512 53fd24eee13c38360b9f962a5d28a1598cdb180357a1ba8ba7c4460d6cd43f909fac25b8cb3231ec29ee172d85ff23faaa135970683072aa468bd15a5505353f
 DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad45442fd1915de165afac127a6339cdc2c7a855a9ff150a58f7ff3bf280a5dd5b6fd8d36a88e39eab98ce1e62670739 SHA512 daa3ce7402651a5f4ea6f932485650286d5658f95cb119a3c572b9a4cad642f6b35dd3cd07fbfc6927b9bbb0a7bd9d52c2f04b60c7d08f976b64cf10ec4d91a2
+DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04fe5a8645827312bb84b803adab29a50c8074e609c11cda74786af623dd13a17c74202c47812781e2fd7149d12eb9e6 SHA512 1fdbd3b83493e0303acac4987c3770e0fec2912c13eb404895471456e3d74e7a600d63a1c191d979299d869051bdb11a643b70d2a8acaa9af24cb766093c295f
 DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
 DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
+DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
 DIST llpc-7686a2ddba683f7a361460f3806b0d45e615ca76.tar.gz 1955263 BLAKE2B f9c6ad489f4998ede751d0b35b129a27d91d0e9d0e86a6d05652adb016eaae9ae40f3756c12ad2139040ab7543aeb1399988f28bda70417f480f42b0a8980ae9 SHA512 dc737957da89f6af4fdb85df2113857d8b9418df4396e7e362d029c696a11cf691b5aaff1ce14ab8ad0c1301d10af5f689394a76351eb965cba6be0e0194cb5d
 DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
 DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAKE2B 3eac7f4646100a5e3d1f57e5524c2bfaf62aa119d24d34d9145d060dcb1cef6243eacc7ffa154760741f0597b6ebe2c56ca1f636f1f2e26f79fdd476c46ab20b SHA512 efb9898687315a2105383f47c2175335097815a66377b048b82fc910fa0be937da101de5f97c22f132c95ffaa08db68aa6f7d5b4516d1e94623138e27263e4b1
 DIST llvm-project-5c958c70bc6366298296dc778e903f65528c3b0f.tar.gz 116288565 BLAKE2B 438a04e6f3394e94bcfdcf97ecb240216050e723e1685ba05b10333061e7c8a6a79023071f35547509c88ed55541ed4e51988e06a89013201154dd89240b6f94 SHA512 57da73edda674e10ed799a06fa16f3dc5d241307bc28b463ab1cf4f359daa07c186fd64e242053fc4a3869efa604176c92a7850fc6005b1333e5aa92f6bf0bdd
+DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
 DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
 DIST pal-bb7398b1c7509a30ba4f7d947b5ad5549a4d58db.tar.gz 7340860 BLAKE2B 66c0055ecff085b4ad762cba70f5c8448c448bcdebc2ebffd368a8a953cf40eb6e114e3c97cdd772b0c8c98982288f04915f647d247d21bd4dc7135491f98d28 SHA512 ed5cecd0243322f6c9885203677faabf4245b7af88b0eac2b0a736af971491690ce123b243b1d76af06249f0549aa2a724b67120ac413c6f4f6de0651d8c6b60
+DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
 DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
 DIST spvgen-d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1.tar.gz 17745 BLAKE2B b4244e0eb7e2967b692569090481e21cf87ee2124f9e9c0bc550be5e9c26baa08a6be33785cb15c05b54d57805cb1489f7f9abcc3490ed1f374f7c2a4b7dee61 SHA512 48ba6708eae2409af54165eb8577eded0f3adc228963807ef4a49496c954e1ee256c00b243fa1caa070cbc4931c1d8b6dcbc702620d6361bd3ab0a1a3414bce3
+DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
 DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
 DIST xgl-2db4177e78133c868e2c6b4dcc46aeb2f512163a.tar.gz 841923 BLAKE2B e67ae03976a806ed1eaddfd694270ea58d18a0d9cb60a8fe4ac67cbddf765df958127258aa28d8d824c5267fbcd3066abb3ffdb0fb2064c580cbdc4d7daf638b SHA512 26fdf2003c32d63792b80942d59bdda56c26e809a26031f77c0f31383df280c8b76ef7c9d321d193e2512075f197461b27db356f8170887c25fda01c85b9f5ed
+DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

diff --git a/media-libs/amdvlk/amdvlk-2020.2.2.ebuild b/media-libs/amdvlk/amdvlk-2020.2.2.ebuild
new file mode 100644
index 0000000..93465d2
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.2.2.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.135"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.135[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="d8c926b86b1245badc67e5d55b0eaa45d4a910a0"
+PAL_COMMIT="e1b2dde021a2efd34da6593994f87317a803b065"
+LLPC_COMMIT="3864fc733e437a6e6ae729c6858b92b39194eada"
+SPVGEN_COMMIT="d4817ab957f79762da83b7fc1d3f2816dbdc13fd"
+LLVM_PROJECT_COMMIT="a1299ba9c8e2337f00bdec73e2031144d9811ed7"
+METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
+CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=( \
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
+			-B${BUILD_DIR} )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-05-01  6:16 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-05-01  6:16 UTC (permalink / raw
  To: gentoo-commits

commit:     ad88e09f6628c6884f0d4ff1b57b97991370b5f0
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri May  1 06:16:43 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri May  1 06:16:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad88e09f

media-libs/amdvlk: fixed missprints in bash array

removed missprints like local mycmakeargs=( \
					    ^

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2020.1.4.ebuild | 8 ++++----
 media-libs/amdvlk/amdvlk-2020.2.1.ebuild | 8 ++++----
 media-libs/amdvlk/amdvlk-2020.2.2.ebuild | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
index e249ecf..01a3e4a 100644
--- a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
@@ -83,10 +83,10 @@ EOF
 }
 
 multilib_src_configure() {
-	local mycmakeargs=( \
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
-			-B${BUILD_DIR} )
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
 	cd "${S}"/xgl
 	cmake -H. "${mycmakeargs[@]}"
 }

diff --git a/media-libs/amdvlk/amdvlk-2020.2.1.ebuild b/media-libs/amdvlk/amdvlk-2020.2.1.ebuild
index 3b33518..2e32603 100644
--- a/media-libs/amdvlk/amdvlk-2020.2.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.2.1.ebuild
@@ -83,10 +83,10 @@ EOF
 }
 
 multilib_src_configure() {
-	local mycmakeargs=( \
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
-			-B${BUILD_DIR} )
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
 	cd "${S}"/xgl
 	cmake -H. "${mycmakeargs[@]}"
 }

diff --git a/media-libs/amdvlk/amdvlk-2020.2.2.ebuild b/media-libs/amdvlk/amdvlk-2020.2.2.ebuild
index 93465d2..1859bf3 100644
--- a/media-libs/amdvlk/amdvlk-2020.2.2.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.2.2.ebuild
@@ -83,10 +83,10 @@ EOF
 }
 
 multilib_src_configure() {
-	local mycmakeargs=( \
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
-			-B${BUILD_DIR} )
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
 	cd "${S}"/xgl
 	cmake -H. "${mycmakeargs[@]}"
 }


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-05-14 14:56 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-05-14 14:56 UTC (permalink / raw
  To: gentoo-commits

commit:     ff672d6aa546d0321b5675c25bb7e5a54929026c
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu May 14 14:56:34 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu May 14 14:56:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff672d6a

media-libs/amdvlk: updated to 2020.2.3, dropped 2020.1*

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                                 | 11 +++++------
 .../{amdvlk-2020.1.4.ebuild => amdvlk-2020.2.3.ebuild}     | 14 +++++++-------
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index ba07864..d625de7 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,20 +1,19 @@
-DIST AMDVLK-v-2020.Q1.4.tar.gz 30348 BLAKE2B fc3e4f03d52c064f8b028b1afd2aad6aab3196811d2d6e9535399f39619dc88317e3fb94e1faa9048fc6a3cbe64b1ee6ddc66a759fd38f5408e9cf8b9f535caa SHA512 53fd24eee13c38360b9f962a5d28a1598cdb180357a1ba8ba7c4460d6cd43f909fac25b8cb3231ec29ee172d85ff23faaa135970683072aa468bd15a5505353f
 DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad45442fd1915de165afac127a6339cdc2c7a855a9ff150a58f7ff3bf280a5dd5b6fd8d36a88e39eab98ce1e62670739 SHA512 daa3ce7402651a5f4ea6f932485650286d5658f95cb119a3c572b9a4cad642f6b35dd3cd07fbfc6927b9bbb0a7bd9d52c2f04b60c7d08f976b64cf10ec4d91a2
 DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04fe5a8645827312bb84b803adab29a50c8074e609c11cda74786af623dd13a17c74202c47812781e2fd7149d12eb9e6 SHA512 1fdbd3b83493e0303acac4987c3770e0fec2912c13eb404895471456e3d74e7a600d63a1c191d979299d869051bdb11a643b70d2a8acaa9af24cb766093c295f
+DIST AMDVLK-v-2020.Q2.3.tar.gz 30324 BLAKE2B 1060a9d7d62fb066ed79d9cbf47c83999d79b3e386ebe0a5ebf55ffa2e028d8c238f61438313d60de3f1cc69138d3236ae025362c0080b6c906a2765ad0807a4 SHA512 be6e3a12ad6f2cea531ad16f918d4688c96ea10b6b118faddfe3e3be7b58daa39226a42c88be266ff24949e724c5ffd1b7cec3b40d4566bfa7b0165b575cfb47
 DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
 DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
 DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
-DIST llpc-7686a2ddba683f7a361460f3806b0d45e615ca76.tar.gz 1955263 BLAKE2B f9c6ad489f4998ede751d0b35b129a27d91d0e9d0e86a6d05652adb016eaae9ae40f3756c12ad2139040ab7543aeb1399988f28bda70417f480f42b0a8980ae9 SHA512 dc737957da89f6af4fdb85df2113857d8b9418df4396e7e362d029c696a11cf691b5aaff1ce14ab8ad0c1301d10af5f689394a76351eb965cba6be0e0194cb5d
+DIST llpc-61b5d58e8891dc37e473064d429f0496d5254e52.tar.gz 1897849 BLAKE2B 86cea7f1503468a1598d05d2514c47e98f6841c5b189e73b3483a185af18fc32a0ec2b3f907764e62c0f196198f19349ac6e15154a540d97908ce9be6feeff48 SHA512 06b3afe61cab46687a6344331a60d76676679b47f24d6719bdf516b06253c0336ce0effbddb2f67292ca14adefb3aa5a831b70a418a7e0f538691552f5f7b82b
 DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
 DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAKE2B 3eac7f4646100a5e3d1f57e5524c2bfaf62aa119d24d34d9145d060dcb1cef6243eacc7ffa154760741f0597b6ebe2c56ca1f636f1f2e26f79fdd476c46ab20b SHA512 efb9898687315a2105383f47c2175335097815a66377b048b82fc910fa0be937da101de5f97c22f132c95ffaa08db68aa6f7d5b4516d1e94623138e27263e4b1
-DIST llvm-project-5c958c70bc6366298296dc778e903f65528c3b0f.tar.gz 116288565 BLAKE2B 438a04e6f3394e94bcfdcf97ecb240216050e723e1685ba05b10333061e7c8a6a79023071f35547509c88ed55541ed4e51988e06a89013201154dd89240b6f94 SHA512 57da73edda674e10ed799a06fa16f3dc5d241307bc28b463ab1cf4f359daa07c186fd64e242053fc4a3869efa604176c92a7850fc6005b1333e5aa92f6bf0bdd
+DIST llvm-project-53692d985a53a336e07907c2d4b86bf2deb66908.tar.gz 118308755 BLAKE2B 23ce6c4d5fc521272d943377c421c18dcec5593588c95548514764d6ca4fc75a661811560fe92e7c7f6ca50903052179a89879aca4705c2dd25644f44c462eb3 SHA512 d014b9f380251c6df94f17d3d8313035c7d4541e86b41c384dcbc44afeb6fed45cf452e1798602510732687a033bb06d1b34fa0507e8c086aaccce54c26bf865
 DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
 DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
-DIST pal-bb7398b1c7509a30ba4f7d947b5ad5549a4d58db.tar.gz 7340860 BLAKE2B 66c0055ecff085b4ad762cba70f5c8448c448bcdebc2ebffd368a8a953cf40eb6e114e3c97cdd772b0c8c98982288f04915f647d247d21bd4dc7135491f98d28 SHA512 ed5cecd0243322f6c9885203677faabf4245b7af88b0eac2b0a736af971491690ce123b243b1d76af06249f0549aa2a724b67120ac413c6f4f6de0651d8c6b60
+DIST pal-a83f67db9f0d2f16bbc698aeefa9c5e9476c993a.tar.gz 7415912 BLAKE2B 586513239be7d50b3c8a6111cb761dde3f67271e02a69aff0973fa7df3767438977b94ce74f015e1c607389692243a78c9c879b1a04f9016a7d23ce58fb61ea6 SHA512 00a3828a47d3dad542265b535ca3bd915339ab23d167a6ace330e6faaba716f8be7393ae680b1094c629858143937128561641d1c3ef1febac7932e3bff8a138
 DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
 DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
-DIST spvgen-d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1.tar.gz 17745 BLAKE2B b4244e0eb7e2967b692569090481e21cf87ee2124f9e9c0bc550be5e9c26baa08a6be33785cb15c05b54d57805cb1489f7f9abcc3490ed1f374f7c2a4b7dee61 SHA512 48ba6708eae2409af54165eb8577eded0f3adc228963807ef4a49496c954e1ee256c00b243fa1caa070cbc4931c1d8b6dcbc702620d6361bd3ab0a1a3414bce3
 DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
 DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
-DIST xgl-2db4177e78133c868e2c6b4dcc46aeb2f512163a.tar.gz 841923 BLAKE2B e67ae03976a806ed1eaddfd694270ea58d18a0d9cb60a8fe4ac67cbddf765df958127258aa28d8d824c5267fbcd3066abb3ffdb0fb2064c580cbdc4d7daf638b SHA512 26fdf2003c32d63792b80942d59bdda56c26e809a26031f77c0f31383df280c8b76ef7c9d321d193e2512075f197461b27db356f8170887c25fda01c85b9f5ed
+DIST xgl-877b773000248dffa025c42d9c4074d1a07b9e47.tar.gz 777782 BLAKE2B 7d7f8bf471a3a45180a83ba80a21280f0254fe7d80b2b1325aa7fef1dcf3a8de5552a6b930e884e0c7ed5936c9268a05d74398589089e3565b4375ac3dc59aa5 SHA512 8189ccb08c6e6ae33d36a6ee691afb60f0c1ea010c15e2883d2bc8a2e68c794bd7a70e48ecf3038d128e1c5894d4fed26a777bc9c4bea3ddeddc0b4c239993fd
 DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.2.3.ebuild
similarity index 92%
rename from media-libs/amdvlk/amdvlk-2020.1.4.ebuild
rename to media-libs/amdvlk/amdvlk-2020.2.3.ebuild
index 01a3e4a..0ab0383 100644
--- a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.2.3.ebuild
@@ -19,7 +19,7 @@ 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.2.133"
+	>=dev-util/vulkan-headers-1.2.137"
 BDEPEND="${BUNDLED_LLVM_DEPEND}
 	dev-util/cmake"
 RDEPEND=" ${DEPEND}
@@ -27,7 +27,7 @@ RDEPEND=" ${DEPEND}
 	x11-libs/libXrandr[${MULTILIB_USEDEP}]
 	x11-libs/libxcb[${MULTILIB_USEDEP}]
 	x11-libs/libxshmfence[${MULTILIB_USEDEP}]
-	>=media-libs/vulkan-loader-1.2.133[${MULTILIB_USEDEP}]"
+	>=media-libs/vulkan-loader-1.2.137[${MULTILIB_USEDEP}]"
 
 CHECKREQS_MEMORY="4G"
 CHECKREQS_DISK_BUILD="2G"
@@ -41,11 +41,11 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
 ##and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="2db4177e78133c868e2c6b4dcc46aeb2f512163a"
-PAL_COMMIT="bb7398b1c7509a30ba4f7d947b5ad5549a4d58db"
-LLPC_COMMIT="7686a2ddba683f7a361460f3806b0d45e615ca76"
-SPVGEN_COMMIT="d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1"
-LLVM_PROJECT_COMMIT="5c958c70bc6366298296dc778e903f65528c3b0f"
+XGL_COMMIT="877b773000248dffa025c42d9c4074d1a07b9e47"
+PAL_COMMIT="a83f67db9f0d2f16bbc698aeefa9c5e9476c993a"
+LLPC_COMMIT="61b5d58e8891dc37e473064d429f0496d5254e52"
+SPVGEN_COMMIT="d4817ab957f79762da83b7fc1d3f2816dbdc13fd"
+LLVM_PROJECT_COMMIT="53692d985a53a336e07907c2d4b86bf2deb66908"
 METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
 CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
 ## SRC_URI


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-05-29 12:34 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-05-29 12:34 UTC (permalink / raw
  To: gentoo-commits

commit:     587dd4833b5bf1d60b8405a1f49c4390997b83ad
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri May 29 12:33:19 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri May 29 12:33:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=587dd483

media-libs/amdvlk: bumped to 2020.2.4

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   8 ++
 media-libs/amdvlk/amdvlk-2020.2.4.ebuild | 125 +++++++++++++++++++++++++++++++
 2 files changed, 133 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index d625de7..e1a61f2 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,19 +1,27 @@
 DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad45442fd1915de165afac127a6339cdc2c7a855a9ff150a58f7ff3bf280a5dd5b6fd8d36a88e39eab98ce1e62670739 SHA512 daa3ce7402651a5f4ea6f932485650286d5658f95cb119a3c572b9a4cad642f6b35dd3cd07fbfc6927b9bbb0a7bd9d52c2f04b60c7d08f976b64cf10ec4d91a2
 DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04fe5a8645827312bb84b803adab29a50c8074e609c11cda74786af623dd13a17c74202c47812781e2fd7149d12eb9e6 SHA512 1fdbd3b83493e0303acac4987c3770e0fec2912c13eb404895471456e3d74e7a600d63a1c191d979299d869051bdb11a643b70d2a8acaa9af24cb766093c295f
 DIST AMDVLK-v-2020.Q2.3.tar.gz 30324 BLAKE2B 1060a9d7d62fb066ed79d9cbf47c83999d79b3e386ebe0a5ebf55ffa2e028d8c238f61438313d60de3f1cc69138d3236ae025362c0080b6c906a2765ad0807a4 SHA512 be6e3a12ad6f2cea531ad16f918d4688c96ea10b6b118faddfe3e3be7b58daa39226a42c88be266ff24949e724c5ffd1b7cec3b40d4566bfa7b0165b575cfb47
+DIST AMDVLK-v-2020.Q2.4.tar.gz 30423 BLAKE2B ac22e46cc94e818f9072d940174f2d51acc08db004df445adfa0be609bdfd21781517d3bb5628e7c76ae75e2abecb1610c6973c3798c7c454da97a880f6c0b4f SHA512 dd57bfbeb23744b730342720054a96f486a10e17cf41472cdd9c0d4ee9a0d2bdcb8b7e16e5a5f725b55d174827d2568826db31527793304aa22760d060e4e92e
+DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
 DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
+DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
 DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
 DIST llpc-61b5d58e8891dc37e473064d429f0496d5254e52.tar.gz 1897849 BLAKE2B 86cea7f1503468a1598d05d2514c47e98f6841c5b189e73b3483a185af18fc32a0ec2b3f907764e62c0f196198f19349ac6e15154a540d97908ce9be6feeff48 SHA512 06b3afe61cab46687a6344331a60d76676679b47f24d6719bdf516b06253c0336ce0effbddb2f67292ca14adefb3aa5a831b70a418a7e0f538691552f5f7b82b
 DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
+DIST llpc-9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa.tar.gz 1905709 BLAKE2B 4333d25ef6e6ad24cadc38024c5639edc21b3d5e59953b8754dcf4766782eefe2fbf93d3c05294294b68c87458d073e2076931b482376f93867ffa756a39730e SHA512 e7200dac8ce8e87ee022ca94e57bded00ef8e9860d937e1b9eee4b46c123bd72c45a232aca563b3bbb556a6f0ddbb03b98d71789f88fec32766b8af01493600a
 DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAKE2B 3eac7f4646100a5e3d1f57e5524c2bfaf62aa119d24d34d9145d060dcb1cef6243eacc7ffa154760741f0597b6ebe2c56ca1f636f1f2e26f79fdd476c46ab20b SHA512 efb9898687315a2105383f47c2175335097815a66377b048b82fc910fa0be937da101de5f97c22f132c95ffaa08db68aa6f7d5b4516d1e94623138e27263e4b1
 DIST llvm-project-53692d985a53a336e07907c2d4b86bf2deb66908.tar.gz 118308755 BLAKE2B 23ce6c4d5fc521272d943377c421c18dcec5593588c95548514764d6ca4fc75a661811560fe92e7c7f6ca50903052179a89879aca4705c2dd25644f44c462eb3 SHA512 d014b9f380251c6df94f17d3d8313035c7d4541e86b41c384dcbc44afeb6fed45cf452e1798602510732687a033bb06d1b34fa0507e8c086aaccce54c26bf865
 DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
+DIST llvm-project-c57487b76215ee74b1038039f47b210a28cad65e.tar.gz 118301225 BLAKE2B 8f3b53d8eda602ad3c4b444166cddc6d90fdf95b781cb9c52e57a01b41d03c82bf3d6a944488a87a948e097bb12bd18c2f6fd46fa21402713e7a2b76744a5620 SHA512 3b4706041919bae446f0b5362f7133e04f2d9a16518dc6c3e2dd0e33b7d1f640f85cf825d4c1ec0e9c5618a384be521ac8da876978fe1ea1ad9b09d81c1a7a32
+DIST pal-13b6271de2f72f62adf098e681c5000f47db2a6c.tar.gz 7440115 BLAKE2B 326d24b2b5739697cbd84f6eb9076aff10d668f8ce4985ef03428b3b6e0cb07ff52480287928b7d43acb5a757f0ec1a75a88ab6d21b108e5223eadf32c00adec SHA512 4b170696379da94101fa5c6813c705d2f5dea3f613cda54e70e84762296090201b419570e0e6e3b8cc62d81f519e21f76c2daafcf9c523aeaed7651c2476cc27
 DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
 DIST pal-a83f67db9f0d2f16bbc698aeefa9c5e9476c993a.tar.gz 7415912 BLAKE2B 586513239be7d50b3c8a6111cb761dde3f67271e02a69aff0973fa7df3767438977b94ce74f015e1c607389692243a78c9c879b1a04f9016a7d23ce58fb61ea6 SHA512 00a3828a47d3dad542265b535ca3bd915339ab23d167a6ace330e6faaba716f8be7393ae680b1094c629858143937128561641d1c3ef1febac7932e3bff8a138
 DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
+DIST spvgen-2f679769a8491f423f5cf2f06adfa2870a82935d.tar.gz 17809 BLAKE2B c32014f2464a92863f4eba15bcf378edc6b813bacb991713fe62e04fece6c9569bd3695d36e2a338fb6202fa49b7e15fc0fdec42d78cb990c5263828f938f60f SHA512 7cfb10420ca4b23a874aaa02637dc64a65061ed98faa35492be0abb0de755628662c1afedb814aaf53e9aa6f60cf26092839e9b4446cb39c098dd20adaf11933
 DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
 DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
+DIST xgl-116d28a446eba3a9f8e6f577bab34fc07e090993.tar.gz 781417 BLAKE2B c5fe7359c091f4d910bea1b9478a6666a2f461870e70d5ed6b0d640079fbc23ad0de9206a8d35a5a9de55313fb45f1f78592098b74ed13391e62a4687c03ae29 SHA512 60bdc263f68f031f66e50746b64c8774596dcd83dbdab1a0660ee618df34bee24d4b24f89821e7b3952f7bbe040741fe2ebb3665b12156ee56585b64938effc6
 DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
 DIST xgl-877b773000248dffa025c42d9c4074d1a07b9e47.tar.gz 777782 BLAKE2B 7d7f8bf471a3a45180a83ba80a21280f0254fe7d80b2b1325aa7fef1dcf3a8de5552a6b930e884e0c7ed5936c9268a05d74398589089e3565b4375ac3dc59aa5 SHA512 8189ccb08c6e6ae33d36a6ee691afb60f0c1ea010c15e2883d2bc8a2e68c794bd7a70e48ecf3038d128e1c5894d4fed26a777bc9c4bea3ddeddc0b4c239993fd
 DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

diff --git a/media-libs/amdvlk/amdvlk-2020.2.4.ebuild b/media-libs/amdvlk/amdvlk-2020.2.4.ebuild
new file mode 100644
index 0000000..a4243a6
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.2.4.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.137"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.137[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="116d28a446eba3a9f8e6f577bab34fc07e090993"
+PAL_COMMIT="13b6271de2f72f62adf098e681c5000f47db2a6c"
+LLPC_COMMIT="9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa"
+SPVGEN_COMMIT="2f679769a8491f423f5cf2f06adfa2870a82935d"
+LLVM_PROJECT_COMMIT="c57487b76215ee74b1038039f47b210a28cad65e"
+METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-06-27  9:37 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-06-27  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     322dbf8cb43da77c127cd7a39faacb73e8843d53
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Jun 27 09:37:20 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Jun 27 09:37:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=322dbf8c

media-libs/amdvlk: new version 2019.2.5

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   6 ++
 media-libs/amdvlk/amdvlk-2020.2.5.ebuild | 125 +++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index e1a61f2..008a10d 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -2,11 +2,13 @@ DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad4
 DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04fe5a8645827312bb84b803adab29a50c8074e609c11cda74786af623dd13a17c74202c47812781e2fd7149d12eb9e6 SHA512 1fdbd3b83493e0303acac4987c3770e0fec2912c13eb404895471456e3d74e7a600d63a1c191d979299d869051bdb11a643b70d2a8acaa9af24cb766093c295f
 DIST AMDVLK-v-2020.Q2.3.tar.gz 30324 BLAKE2B 1060a9d7d62fb066ed79d9cbf47c83999d79b3e386ebe0a5ebf55ffa2e028d8c238f61438313d60de3f1cc69138d3236ae025362c0080b6c906a2765ad0807a4 SHA512 be6e3a12ad6f2cea531ad16f918d4688c96ea10b6b118faddfe3e3be7b58daa39226a42c88be266ff24949e724c5ffd1b7cec3b40d4566bfa7b0165b575cfb47
 DIST AMDVLK-v-2020.Q2.4.tar.gz 30423 BLAKE2B ac22e46cc94e818f9072d940174f2d51acc08db004df445adfa0be609bdfd21781517d3bb5628e7c76ae75e2abecb1610c6973c3798c7c454da97a880f6c0b4f SHA512 dd57bfbeb23744b730342720054a96f486a10e17cf41472cdd9c0d4ee9a0d2bdcb8b7e16e5a5f725b55d174827d2568826db31527793304aa22760d060e4e92e
+DIST AMDVLK-v-2020.Q2.5.tar.gz 30424 BLAKE2B 73072b20fffd25120a3680424cbd6b368bd3464c51cc5b66a889b5b8896447e26f8d725e9692772cc8ac10d8a6df1032e7511a8a153a5db823ff1a843aecfc15 SHA512 0923875749c373fc4914bf214acf8fc7eb04894b1ef442fdc7b21b7dcfa2374f2b669b0287df40f7e05ba4c49c2ebefc3617118953805ab6c1d68acb0b627c4d
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
 DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
 DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
+DIST llpc-48fff0a75bb413b55a5e89647cdb37e109aa9eb8.tar.gz 1943993 BLAKE2B 8fffccf7bd109d397788a48e9636f3a5c69da39cd35d98bcf651bc43051535252a1ea34192c4fa458ab9b86223146289676b8d28b122b8674746c721145c1786 SHA512 744f54b3cb7b9be1f7bb6dbb256433d3a289000c19d9e2c2ec276cfcd54183180bbd53212dd977e3e22c95c9a2269eb50008d49a9b47c9f2e20546dd7924b938
 DIST llpc-61b5d58e8891dc37e473064d429f0496d5254e52.tar.gz 1897849 BLAKE2B 86cea7f1503468a1598d05d2514c47e98f6841c5b189e73b3483a185af18fc32a0ec2b3f907764e62c0f196198f19349ac6e15154a540d97908ce9be6feeff48 SHA512 06b3afe61cab46687a6344331a60d76676679b47f24d6719bdf516b06253c0336ce0effbddb2f67292ca14adefb3aa5a831b70a418a7e0f538691552f5f7b82b
 DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
 DIST llpc-9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa.tar.gz 1905709 BLAKE2B 4333d25ef6e6ad24cadc38024c5639edc21b3d5e59953b8754dcf4766782eefe2fbf93d3c05294294b68c87458d073e2076931b482376f93867ffa756a39730e SHA512 e7200dac8ce8e87ee022ca94e57bded00ef8e9860d937e1b9eee4b46c123bd72c45a232aca563b3bbb556a6f0ddbb03b98d71789f88fec32766b8af01493600a
@@ -14,14 +16,18 @@ DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAK
 DIST llvm-project-53692d985a53a336e07907c2d4b86bf2deb66908.tar.gz 118308755 BLAKE2B 23ce6c4d5fc521272d943377c421c18dcec5593588c95548514764d6ca4fc75a661811560fe92e7c7f6ca50903052179a89879aca4705c2dd25644f44c462eb3 SHA512 d014b9f380251c6df94f17d3d8313035c7d4541e86b41c384dcbc44afeb6fed45cf452e1798602510732687a033bb06d1b34fa0507e8c086aaccce54c26bf865
 DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
 DIST llvm-project-c57487b76215ee74b1038039f47b210a28cad65e.tar.gz 118301225 BLAKE2B 8f3b53d8eda602ad3c4b444166cddc6d90fdf95b781cb9c52e57a01b41d03c82bf3d6a944488a87a948e097bb12bd18c2f6fd46fa21402713e7a2b76744a5620 SHA512 3b4706041919bae446f0b5362f7133e04f2d9a16518dc6c3e2dd0e33b7d1f640f85cf825d4c1ec0e9c5618a384be521ac8da876978fe1ea1ad9b09d81c1a7a32
+DIST llvm-project-da64bde85194f895002dbca05ec66e016f1a5a5d.tar.gz 119674337 BLAKE2B 5aa9c62868b80ed24f5b1b3f9061b46e52df5ee66a2f484319aac9f01bb6d613b1471286eac67b31170b42848e17a89401237ec67b09c9f562e5a4a36b103070 SHA512 678c7eb39a95ea01343092c4fa0bd39a3f0868af857dee3a8fae168e4545ddf2bfbd80107b13664eed819bf94702293c6158127c4b3a2c1835282b68b50e74ee
 DIST pal-13b6271de2f72f62adf098e681c5000f47db2a6c.tar.gz 7440115 BLAKE2B 326d24b2b5739697cbd84f6eb9076aff10d668f8ce4985ef03428b3b6e0cb07ff52480287928b7d43acb5a757f0ec1a75a88ab6d21b108e5223eadf32c00adec SHA512 4b170696379da94101fa5c6813c705d2f5dea3f613cda54e70e84762296090201b419570e0e6e3b8cc62d81f519e21f76c2daafcf9c523aeaed7651c2476cc27
 DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
 DIST pal-a83f67db9f0d2f16bbc698aeefa9c5e9476c993a.tar.gz 7415912 BLAKE2B 586513239be7d50b3c8a6111cb761dde3f67271e02a69aff0973fa7df3767438977b94ce74f015e1c607389692243a78c9c879b1a04f9016a7d23ce58fb61ea6 SHA512 00a3828a47d3dad542265b535ca3bd915339ab23d167a6ace330e6faaba716f8be7393ae680b1094c629858143937128561641d1c3ef1febac7932e3bff8a138
+DIST pal-b687ca1828258076ac79f08738f6fce3fa688d4a.tar.gz 7507511 BLAKE2B 47be922a527152a393e1bf6097faa83b13fe2dbd113f82e8d80bdd843d0379e1b549da5e488fb00c3f98ba86bb34e9bdf11e9dbc78ee389f93b839b71b40571c SHA512 8042af4aae9bb64c486bb74cee95c015b1d17b81aa304545b7fd4ba1c26878890f64ec88ea344fbf915932a07b8be32b4a85a36cf6ab9dacad5ade9c9d67b691
 DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
+DIST spvgen-0179fdb99e3d4b51e50d1a4c6ef65f065b0df967.tar.gz 17770 BLAKE2B 97b0425af86dfb5be5c7863cd059dd0530a05ecb99d3a21a378ce383f3969a14ac0a86e18d2b56b37b8b9efc76b7469b581509c6085826ef24ba54eeb1deaf6d SHA512 b85c00c8f2672b9ed23113ecf0b13539ec7b98163801627fa333e4662e1d0d35fc839e53f319d597286682447788444a1f520063a18b8d3d197f172fe1bdd6be
 DIST spvgen-2f679769a8491f423f5cf2f06adfa2870a82935d.tar.gz 17809 BLAKE2B c32014f2464a92863f4eba15bcf378edc6b813bacb991713fe62e04fece6c9569bd3695d36e2a338fb6202fa49b7e15fc0fdec42d78cb990c5263828f938f60f SHA512 7cfb10420ca4b23a874aaa02637dc64a65061ed98faa35492be0abb0de755628662c1afedb814aaf53e9aa6f60cf26092839e9b4446cb39c098dd20adaf11933
 DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
 DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
 DIST xgl-116d28a446eba3a9f8e6f577bab34fc07e090993.tar.gz 781417 BLAKE2B c5fe7359c091f4d910bea1b9478a6666a2f461870e70d5ed6b0d640079fbc23ad0de9206a8d35a5a9de55313fb45f1f78592098b74ed13391e62a4687c03ae29 SHA512 60bdc263f68f031f66e50746b64c8774596dcd83dbdab1a0660ee618df34bee24d4b24f89821e7b3952f7bbe040741fe2ebb3665b12156ee56585b64938effc6
 DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
+DIST xgl-6e79dcb897452121463e79d8c4e21c6fc668a6fe.tar.gz 784732 BLAKE2B b695bbd49d0a77673bc0940d50b00b6852808968b0175b7ff618ed0d72f9ff339b2c037aba47654a48dcca9a2c0d0feec3d867a6c8fdc36d9e0244c9f49fb89d SHA512 6bd361cd51e325890c7da5065bd0056c417cb4df92f9fd55eeec7a42afa374a76f4f325966bc3cab4f0f12b549146c76492c694d592da59412061408a626fb3d
 DIST xgl-877b773000248dffa025c42d9c4074d1a07b9e47.tar.gz 777782 BLAKE2B 7d7f8bf471a3a45180a83ba80a21280f0254fe7d80b2b1325aa7fef1dcf3a8de5552a6b930e884e0c7ed5936c9268a05d74398589089e3565b4375ac3dc59aa5 SHA512 8189ccb08c6e6ae33d36a6ee691afb60f0c1ea010c15e2883d2bc8a2e68c794bd7a70e48ecf3038d128e1c5894d4fed26a777bc9c4bea3ddeddc0b4c239993fd
 DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

diff --git a/media-libs/amdvlk/amdvlk-2020.2.5.ebuild b/media-libs/amdvlk/amdvlk-2020.2.5.ebuild
new file mode 100644
index 0000000..8d684de
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.2.5.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.137"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.137[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="6e79dcb897452121463e79d8c4e21c6fc668a6fe"
+PAL_COMMIT="b687ca1828258076ac79f08738f6fce3fa688d4a"
+LLPC_COMMIT="48fff0a75bb413b55a5e89647cdb37e109aa9eb8"
+SPVGEN_COMMIT="0179fdb99e3d4b51e50d1a4c6ef65f065b0df967"
+LLVM_PROJECT_COMMIT="da64bde85194f895002dbca05ec66e016f1a5a5d"
+METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-07-04 15:01 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-07-04 15:01 UTC (permalink / raw
  To: gentoo-commits

commit:     3c997d4ae41dd6ad8e5bdd7fa5df1f0ea3f075a3
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Jul  4 15:01:19 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Jul  4 15:01:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c997d4a

media-libs/amdvlk: new version 2020.2.6

2020-6-30 update

New feature and improvement
Add support for extension: VK_GOOGLE_user_type
Performance tuning for Ghost Recon Breakpoint
Performance tuning for Zombie Army 4: Dead War
Improve performance of pipeline compiler by using
 PipelineAbiReader instead of Processor
Update api version to 1.2.143

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   6 ++
 media-libs/amdvlk/amdvlk-2020.2.6.ebuild | 125 +++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 008a10d..6dff374 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -3,6 +3,7 @@ DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04f
 DIST AMDVLK-v-2020.Q2.3.tar.gz 30324 BLAKE2B 1060a9d7d62fb066ed79d9cbf47c83999d79b3e386ebe0a5ebf55ffa2e028d8c238f61438313d60de3f1cc69138d3236ae025362c0080b6c906a2765ad0807a4 SHA512 be6e3a12ad6f2cea531ad16f918d4688c96ea10b6b118faddfe3e3be7b58daa39226a42c88be266ff24949e724c5ffd1b7cec3b40d4566bfa7b0165b575cfb47
 DIST AMDVLK-v-2020.Q2.4.tar.gz 30423 BLAKE2B ac22e46cc94e818f9072d940174f2d51acc08db004df445adfa0be609bdfd21781517d3bb5628e7c76ae75e2abecb1610c6973c3798c7c454da97a880f6c0b4f SHA512 dd57bfbeb23744b730342720054a96f486a10e17cf41472cdd9c0d4ee9a0d2bdcb8b7e16e5a5f725b55d174827d2568826db31527793304aa22760d060e4e92e
 DIST AMDVLK-v-2020.Q2.5.tar.gz 30424 BLAKE2B 73072b20fffd25120a3680424cbd6b368bd3464c51cc5b66a889b5b8896447e26f8d725e9692772cc8ac10d8a6df1032e7511a8a153a5db823ff1a843aecfc15 SHA512 0923875749c373fc4914bf214acf8fc7eb04894b1ef442fdc7b21b7dcfa2374f2b669b0287df40f7e05ba4c49c2ebefc3617118953805ab6c1d68acb0b627c4d
+DIST AMDVLK-v-2020.Q2.6.tar.gz 30423 BLAKE2B f087a98e148be5fe632eb6eb4459de306d949aa1a51cf6bca0b456ae442e0f153f7e058f735de11c332c512eda910bbf27c2d2ee7bf57e7a2c86dfd333cbd47e SHA512 8fc402d09c0c0c30075f904cbc8378ad819834bd3e3745be689403095af6b64830e06662907d7a52ebefa77220adc2b047bbbf5487459a36a0a55c6c69a31786
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
 DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
@@ -10,11 +11,13 @@ DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08
 DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
 DIST llpc-48fff0a75bb413b55a5e89647cdb37e109aa9eb8.tar.gz 1943993 BLAKE2B 8fffccf7bd109d397788a48e9636f3a5c69da39cd35d98bcf651bc43051535252a1ea34192c4fa458ab9b86223146289676b8d28b122b8674746c721145c1786 SHA512 744f54b3cb7b9be1f7bb6dbb256433d3a289000c19d9e2c2ec276cfcd54183180bbd53212dd977e3e22c95c9a2269eb50008d49a9b47c9f2e20546dd7924b938
 DIST llpc-61b5d58e8891dc37e473064d429f0496d5254e52.tar.gz 1897849 BLAKE2B 86cea7f1503468a1598d05d2514c47e98f6841c5b189e73b3483a185af18fc32a0ec2b3f907764e62c0f196198f19349ac6e15154a540d97908ce9be6feeff48 SHA512 06b3afe61cab46687a6344331a60d76676679b47f24d6719bdf516b06253c0336ce0effbddb2f67292ca14adefb3aa5a831b70a418a7e0f538691552f5f7b82b
+DIST llpc-6c94115883d99ce6f4c2edb16b0f7cd513289188.tar.gz 1945382 BLAKE2B 2f985402f21ef375ded888fd4fbadda86a01dd46c0956c6dddb91e905b003623090c7733f1e95293b52ba294dd46dab8bc61f2acf6eb576a469dbd23f9026be1 SHA512 68c981ce9bdb76294df7c32b19d044f03151d061ac02cb951a67bc234e543d7cb00588d9d36e5b24c485f5c457b23992eafe79f3f7bff37eafd1bbb147ec6a2a
 DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
 DIST llpc-9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa.tar.gz 1905709 BLAKE2B 4333d25ef6e6ad24cadc38024c5639edc21b3d5e59953b8754dcf4766782eefe2fbf93d3c05294294b68c87458d073e2076931b482376f93867ffa756a39730e SHA512 e7200dac8ce8e87ee022ca94e57bded00ef8e9860d937e1b9eee4b46c123bd72c45a232aca563b3bbb556a6f0ddbb03b98d71789f88fec32766b8af01493600a
 DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAKE2B 3eac7f4646100a5e3d1f57e5524c2bfaf62aa119d24d34d9145d060dcb1cef6243eacc7ffa154760741f0597b6ebe2c56ca1f636f1f2e26f79fdd476c46ab20b SHA512 efb9898687315a2105383f47c2175335097815a66377b048b82fc910fa0be937da101de5f97c22f132c95ffaa08db68aa6f7d5b4516d1e94623138e27263e4b1
 DIST llvm-project-53692d985a53a336e07907c2d4b86bf2deb66908.tar.gz 118308755 BLAKE2B 23ce6c4d5fc521272d943377c421c18dcec5593588c95548514764d6ca4fc75a661811560fe92e7c7f6ca50903052179a89879aca4705c2dd25644f44c462eb3 SHA512 d014b9f380251c6df94f17d3d8313035c7d4541e86b41c384dcbc44afeb6fed45cf452e1798602510732687a033bb06d1b34fa0507e8c086aaccce54c26bf865
 DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
+DIST llvm-project-a458b2991a6fb6d345b088380f6a9a570a8031a5.tar.gz 119689214 BLAKE2B 34f90e60bb1f47d3deb7a57bc2444975bcc070e9317058716ba4a1e99b8286a9c502c2a3ea7c36c4bc3b140ecd247b68d8ca891c955cb21ddee4d1868755f033 SHA512 aa9c90e9b2a798ab6ca396790c58983133f2869bebc0aec043a69bec7e252ecb8604d3403193fccdbb84c95595958e76a92853b5c514d9ce45aaf15a65e86b6a
 DIST llvm-project-c57487b76215ee74b1038039f47b210a28cad65e.tar.gz 118301225 BLAKE2B 8f3b53d8eda602ad3c4b444166cddc6d90fdf95b781cb9c52e57a01b41d03c82bf3d6a944488a87a948e097bb12bd18c2f6fd46fa21402713e7a2b76744a5620 SHA512 3b4706041919bae446f0b5362f7133e04f2d9a16518dc6c3e2dd0e33b7d1f640f85cf825d4c1ec0e9c5618a384be521ac8da876978fe1ea1ad9b09d81c1a7a32
 DIST llvm-project-da64bde85194f895002dbca05ec66e016f1a5a5d.tar.gz 119674337 BLAKE2B 5aa9c62868b80ed24f5b1b3f9061b46e52df5ee66a2f484319aac9f01bb6d613b1471286eac67b31170b42848e17a89401237ec67b09c9f562e5a4a36b103070 SHA512 678c7eb39a95ea01343092c4fa0bd39a3f0868af857dee3a8fae168e4545ddf2bfbd80107b13664eed819bf94702293c6158127c4b3a2c1835282b68b50e74ee
 DIST pal-13b6271de2f72f62adf098e681c5000f47db2a6c.tar.gz 7440115 BLAKE2B 326d24b2b5739697cbd84f6eb9076aff10d668f8ce4985ef03428b3b6e0cb07ff52480287928b7d43acb5a757f0ec1a75a88ab6d21b108e5223eadf32c00adec SHA512 4b170696379da94101fa5c6813c705d2f5dea3f613cda54e70e84762296090201b419570e0e6e3b8cc62d81f519e21f76c2daafcf9c523aeaed7651c2476cc27
@@ -22,12 +25,15 @@ DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac29
 DIST pal-a83f67db9f0d2f16bbc698aeefa9c5e9476c993a.tar.gz 7415912 BLAKE2B 586513239be7d50b3c8a6111cb761dde3f67271e02a69aff0973fa7df3767438977b94ce74f015e1c607389692243a78c9c879b1a04f9016a7d23ce58fb61ea6 SHA512 00a3828a47d3dad542265b535ca3bd915339ab23d167a6ace330e6faaba716f8be7393ae680b1094c629858143937128561641d1c3ef1febac7932e3bff8a138
 DIST pal-b687ca1828258076ac79f08738f6fce3fa688d4a.tar.gz 7507511 BLAKE2B 47be922a527152a393e1bf6097faa83b13fe2dbd113f82e8d80bdd843d0379e1b549da5e488fb00c3f98ba86bb34e9bdf11e9dbc78ee389f93b839b71b40571c SHA512 8042af4aae9bb64c486bb74cee95c015b1d17b81aa304545b7fd4ba1c26878890f64ec88ea344fbf915932a07b8be32b4a85a36cf6ab9dacad5ade9c9d67b691
 DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
+DIST pal-f632b07d42e9dc46f73e1d31c157130cb1647155.tar.gz 7515183 BLAKE2B b1ad09612059d25d3286a179552dd57921941033b503523adc11fc5a3dda6b4e0457f13d7d9d3ec4a6136d491eb06b6b160947d0f3e22f85173b9c28f3d42baa SHA512 9a63bcbb1b2d452ab516f20e15c5f1c8c767e88c5faa3d38e6e978e051ab9531487ae5cce6080f85431a947c33caf65b027cd502e99450fcea30f70e7430992a
 DIST spvgen-0179fdb99e3d4b51e50d1a4c6ef65f065b0df967.tar.gz 17770 BLAKE2B 97b0425af86dfb5be5c7863cd059dd0530a05ecb99d3a21a378ce383f3969a14ac0a86e18d2b56b37b8b9efc76b7469b581509c6085826ef24ba54eeb1deaf6d SHA512 b85c00c8f2672b9ed23113ecf0b13539ec7b98163801627fa333e4662e1d0d35fc839e53f319d597286682447788444a1f520063a18b8d3d197f172fe1bdd6be
 DIST spvgen-2f679769a8491f423f5cf2f06adfa2870a82935d.tar.gz 17809 BLAKE2B c32014f2464a92863f4eba15bcf378edc6b813bacb991713fe62e04fece6c9569bd3695d36e2a338fb6202fa49b7e15fc0fdec42d78cb990c5263828f938f60f SHA512 7cfb10420ca4b23a874aaa02637dc64a65061ed98faa35492be0abb0de755628662c1afedb814aaf53e9aa6f60cf26092839e9b4446cb39c098dd20adaf11933
+DIST spvgen-3f41158716709d96b5748a9ff0458ba9d2880576.tar.gz 17851 BLAKE2B c4e1cb58474cded7f86b02a2abfef825b7c1c7c06dad3fce6b0bfe6014e4a8f61444bc593463a01777a94cdc5f3e02c53ace3eff512f618dd4609c8633369841 SHA512 e501c71e327f8af2b9cf5988809a680223c5ffbc87e1e2695c9facb7b16314accdb91f009f91b14237af64a86e7397c3c4b1852d5e17df7071beb8457c42ca5f
 DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
 DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
 DIST xgl-116d28a446eba3a9f8e6f577bab34fc07e090993.tar.gz 781417 BLAKE2B c5fe7359c091f4d910bea1b9478a6666a2f461870e70d5ed6b0d640079fbc23ad0de9206a8d35a5a9de55313fb45f1f78592098b74ed13391e62a4687c03ae29 SHA512 60bdc263f68f031f66e50746b64c8774596dcd83dbdab1a0660ee618df34bee24d4b24f89821e7b3952f7bbe040741fe2ebb3665b12156ee56585b64938effc6
 DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
 DIST xgl-6e79dcb897452121463e79d8c4e21c6fc668a6fe.tar.gz 784732 BLAKE2B b695bbd49d0a77673bc0940d50b00b6852808968b0175b7ff618ed0d72f9ff339b2c037aba47654a48dcca9a2c0d0feec3d867a6c8fdc36d9e0244c9f49fb89d SHA512 6bd361cd51e325890c7da5065bd0056c417cb4df92f9fd55eeec7a42afa374a76f4f325966bc3cab4f0f12b549146c76492c694d592da59412061408a626fb3d
 DIST xgl-877b773000248dffa025c42d9c4074d1a07b9e47.tar.gz 777782 BLAKE2B 7d7f8bf471a3a45180a83ba80a21280f0254fe7d80b2b1325aa7fef1dcf3a8de5552a6b930e884e0c7ed5936c9268a05d74398589089e3565b4375ac3dc59aa5 SHA512 8189ccb08c6e6ae33d36a6ee691afb60f0c1ea010c15e2883d2bc8a2e68c794bd7a70e48ecf3038d128e1c5894d4fed26a777bc9c4bea3ddeddc0b4c239993fd
+DIST xgl-cc812115fd720dd47c9f0d603c5da3ac2fea6e53.tar.gz 785027 BLAKE2B 6ebc5e571a548f29b665bbc9415bc3deaff47f569242c59a0f4b0268e45772310bc9f09262e132a30b5435ff8dd8d24819e266336532c350de1954ae2f9229a2 SHA512 631acaf7a40016f0fc0e85ac329de0a6139cf7c10878dc731e3ec4af2b24231798d339541a160b2c8cd85e3ccf34c332aff8e6c08d9ed4f58ae814e42cc60386
 DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

diff --git a/media-libs/amdvlk/amdvlk-2020.2.6.ebuild b/media-libs/amdvlk/amdvlk-2020.2.6.ebuild
new file mode 100644
index 0000000..1353722
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.2.6.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.141"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.141[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="cc812115fd720dd47c9f0d603c5da3ac2fea6e53"
+PAL_COMMIT="f632b07d42e9dc46f73e1d31c157130cb1647155"
+LLPC_COMMIT="6c94115883d99ce6f4c2edb16b0f7cd513289188"
+SPVGEN_COMMIT="3f41158716709d96b5748a9ff0458ba9d2880576"
+LLVM_PROJECT_COMMIT="a458b2991a6fb6d345b088380f6a9a570a8031a5"
+METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-07-21  9:05 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-07-21  9:05 UTC (permalink / raw
  To: gentoo-commits

commit:     81995494b23fe919eb5b62cb9209220ab0db36c5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Jul 21 09:05:05 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Jul 21 09:05:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81995494

media-libs/amdvlk: new version 2020.3.1

Removed obsolete versions <2020.2.4
2020-7-10 update
New feature and improvement
Add support for extension: VK_EXT_extended_dynamic_state
Performance tuning for The Talos Principle in ultra mode
Performance tuning for Doom: Eternal
Performance tuning for Mad Max
Update api version to 1.2.145

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                         |  25 +----
 media-libs/amdvlk/amdvlk-2020.2.2.ebuild           | 125 ---------------------
 media-libs/amdvlk/amdvlk-2020.2.3.ebuild           | 125 ---------------------
 ...dvlk-2020.2.1.ebuild => amdvlk-2020.3.1.ebuild} |  18 +--
 4 files changed, 15 insertions(+), 278 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 6dff374..9363808 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,39 +1,26 @@
-DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad45442fd1915de165afac127a6339cdc2c7a855a9ff150a58f7ff3bf280a5dd5b6fd8d36a88e39eab98ce1e62670739 SHA512 daa3ce7402651a5f4ea6f932485650286d5658f95cb119a3c572b9a4cad642f6b35dd3cd07fbfc6927b9bbb0a7bd9d52c2f04b60c7d08f976b64cf10ec4d91a2
-DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04fe5a8645827312bb84b803adab29a50c8074e609c11cda74786af623dd13a17c74202c47812781e2fd7149d12eb9e6 SHA512 1fdbd3b83493e0303acac4987c3770e0fec2912c13eb404895471456e3d74e7a600d63a1c191d979299d869051bdb11a643b70d2a8acaa9af24cb766093c295f
-DIST AMDVLK-v-2020.Q2.3.tar.gz 30324 BLAKE2B 1060a9d7d62fb066ed79d9cbf47c83999d79b3e386ebe0a5ebf55ffa2e028d8c238f61438313d60de3f1cc69138d3236ae025362c0080b6c906a2765ad0807a4 SHA512 be6e3a12ad6f2cea531ad16f918d4688c96ea10b6b118faddfe3e3be7b58daa39226a42c88be266ff24949e724c5ffd1b7cec3b40d4566bfa7b0165b575cfb47
 DIST AMDVLK-v-2020.Q2.4.tar.gz 30423 BLAKE2B ac22e46cc94e818f9072d940174f2d51acc08db004df445adfa0be609bdfd21781517d3bb5628e7c76ae75e2abecb1610c6973c3798c7c454da97a880f6c0b4f SHA512 dd57bfbeb23744b730342720054a96f486a10e17cf41472cdd9c0d4ee9a0d2bdcb8b7e16e5a5f725b55d174827d2568826db31527793304aa22760d060e4e92e
 DIST AMDVLK-v-2020.Q2.5.tar.gz 30424 BLAKE2B 73072b20fffd25120a3680424cbd6b368bd3464c51cc5b66a889b5b8896447e26f8d725e9692772cc8ac10d8a6df1032e7511a8a153a5db823ff1a843aecfc15 SHA512 0923875749c373fc4914bf214acf8fc7eb04894b1ef442fdc7b21b7dcfa2374f2b669b0287df40f7e05ba4c49c2ebefc3617118953805ab6c1d68acb0b627c4d
 DIST AMDVLK-v-2020.Q2.6.tar.gz 30423 BLAKE2B f087a98e148be5fe632eb6eb4459de306d949aa1a51cf6bca0b456ae442e0f153f7e058f735de11c332c512eda910bbf27c2d2ee7bf57e7a2c86dfd333cbd47e SHA512 8fc402d09c0c0c30075f904cbc8378ad819834bd3e3745be689403095af6b64830e06662907d7a52ebefa77220adc2b047bbbf5487459a36a0a55c6c69a31786
+DIST AMDVLK-v-2020.Q3.1.tar.gz 31567 BLAKE2B a3dc1ceba086f8f16dcd561974f26547bb736bf18aa34d872b56be0950821a0d1468e3030037820d34fd2fd464481ebdf74def5a7d754b87c4a2d6c38371242a SHA512 ecac7c4ee10a8e2ce3224e52ed375c01a6796c129d890ff4dcc3390587635158f7cbf3d6dac6777133c65be2cd3f7defdda6bd82b52161276fe389688608b3e7
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
-DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
-DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
-DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
 DIST llpc-48fff0a75bb413b55a5e89647cdb37e109aa9eb8.tar.gz 1943993 BLAKE2B 8fffccf7bd109d397788a48e9636f3a5c69da39cd35d98bcf651bc43051535252a1ea34192c4fa458ab9b86223146289676b8d28b122b8674746c721145c1786 SHA512 744f54b3cb7b9be1f7bb6dbb256433d3a289000c19d9e2c2ec276cfcd54183180bbd53212dd977e3e22c95c9a2269eb50008d49a9b47c9f2e20546dd7924b938
-DIST llpc-61b5d58e8891dc37e473064d429f0496d5254e52.tar.gz 1897849 BLAKE2B 86cea7f1503468a1598d05d2514c47e98f6841c5b189e73b3483a185af18fc32a0ec2b3f907764e62c0f196198f19349ac6e15154a540d97908ce9be6feeff48 SHA512 06b3afe61cab46687a6344331a60d76676679b47f24d6719bdf516b06253c0336ce0effbddb2f67292ca14adefb3aa5a831b70a418a7e0f538691552f5f7b82b
 DIST llpc-6c94115883d99ce6f4c2edb16b0f7cd513289188.tar.gz 1945382 BLAKE2B 2f985402f21ef375ded888fd4fbadda86a01dd46c0956c6dddb91e905b003623090c7733f1e95293b52ba294dd46dab8bc61f2acf6eb576a469dbd23f9026be1 SHA512 68c981ce9bdb76294df7c32b19d044f03151d061ac02cb951a67bc234e543d7cb00588d9d36e5b24c485f5c457b23992eafe79f3f7bff37eafd1bbb147ec6a2a
-DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
 DIST llpc-9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa.tar.gz 1905709 BLAKE2B 4333d25ef6e6ad24cadc38024c5639edc21b3d5e59953b8754dcf4766782eefe2fbf93d3c05294294b68c87458d073e2076931b482376f93867ffa756a39730e SHA512 e7200dac8ce8e87ee022ca94e57bded00ef8e9860d937e1b9eee4b46c123bd72c45a232aca563b3bbb556a6f0ddbb03b98d71789f88fec32766b8af01493600a
-DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAKE2B 3eac7f4646100a5e3d1f57e5524c2bfaf62aa119d24d34d9145d060dcb1cef6243eacc7ffa154760741f0597b6ebe2c56ca1f636f1f2e26f79fdd476c46ab20b SHA512 efb9898687315a2105383f47c2175335097815a66377b048b82fc910fa0be937da101de5f97c22f132c95ffaa08db68aa6f7d5b4516d1e94623138e27263e4b1
-DIST llvm-project-53692d985a53a336e07907c2d4b86bf2deb66908.tar.gz 118308755 BLAKE2B 23ce6c4d5fc521272d943377c421c18dcec5593588c95548514764d6ca4fc75a661811560fe92e7c7f6ca50903052179a89879aca4705c2dd25644f44c462eb3 SHA512 d014b9f380251c6df94f17d3d8313035c7d4541e86b41c384dcbc44afeb6fed45cf452e1798602510732687a033bb06d1b34fa0507e8c086aaccce54c26bf865
-DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
+DIST llpc-be51df411e14ae19145ab046f95338ed38243b91.tar.gz 1963173 BLAKE2B 0dfabfbb74d1ad78a981e8c576a65ac2e42adc8e0f1b5bc55f9e947d154d4f39556ecd9ae6e77a3824cb988b7ed7398df8c5717bcc15d67ac5819562ccd30030 SHA512 861957e9441b76851899ea6699546a52fa4f548709ad30734eeaf2f0d165af2be219985025ad3b0c620a2dcc2fad0deb6375789ced6aa99cc91ec4018cd8c944
+DIST llvm-project-56e1f9b8df3d414ab7acc2fa07272d318725d440.tar.gz 120318547 BLAKE2B 2cae71a1e4eb67e932402406e350e1dc86e645e82253df28f94f616680d48b20c3b2a72e9fb1985f5398cca0055eb1cfb1bb142a704a55ae4bf7c00f49803ff7 SHA512 906b0bf6d4d48c108871cf5400540db70cdbe53a95b25ed5f445183c638778062e57ae63d9f3e0fae8f3cb5659cc8fbf76c6e60a001a0eeb3956b27fbb372e68
 DIST llvm-project-a458b2991a6fb6d345b088380f6a9a570a8031a5.tar.gz 119689214 BLAKE2B 34f90e60bb1f47d3deb7a57bc2444975bcc070e9317058716ba4a1e99b8286a9c502c2a3ea7c36c4bc3b140ecd247b68d8ca891c955cb21ddee4d1868755f033 SHA512 aa9c90e9b2a798ab6ca396790c58983133f2869bebc0aec043a69bec7e252ecb8604d3403193fccdbb84c95595958e76a92853b5c514d9ce45aaf15a65e86b6a
 DIST llvm-project-c57487b76215ee74b1038039f47b210a28cad65e.tar.gz 118301225 BLAKE2B 8f3b53d8eda602ad3c4b444166cddc6d90fdf95b781cb9c52e57a01b41d03c82bf3d6a944488a87a948e097bb12bd18c2f6fd46fa21402713e7a2b76744a5620 SHA512 3b4706041919bae446f0b5362f7133e04f2d9a16518dc6c3e2dd0e33b7d1f640f85cf825d4c1ec0e9c5618a384be521ac8da876978fe1ea1ad9b09d81c1a7a32
 DIST llvm-project-da64bde85194f895002dbca05ec66e016f1a5a5d.tar.gz 119674337 BLAKE2B 5aa9c62868b80ed24f5b1b3f9061b46e52df5ee66a2f484319aac9f01bb6d613b1471286eac67b31170b42848e17a89401237ec67b09c9f562e5a4a36b103070 SHA512 678c7eb39a95ea01343092c4fa0bd39a3f0868af857dee3a8fae168e4545ddf2bfbd80107b13664eed819bf94702293c6158127c4b3a2c1835282b68b50e74ee
 DIST pal-13b6271de2f72f62adf098e681c5000f47db2a6c.tar.gz 7440115 BLAKE2B 326d24b2b5739697cbd84f6eb9076aff10d668f8ce4985ef03428b3b6e0cb07ff52480287928b7d43acb5a757f0ec1a75a88ab6d21b108e5223eadf32c00adec SHA512 4b170696379da94101fa5c6813c705d2f5dea3f613cda54e70e84762296090201b419570e0e6e3b8cc62d81f519e21f76c2daafcf9c523aeaed7651c2476cc27
-DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
-DIST pal-a83f67db9f0d2f16bbc698aeefa9c5e9476c993a.tar.gz 7415912 BLAKE2B 586513239be7d50b3c8a6111cb761dde3f67271e02a69aff0973fa7df3767438977b94ce74f015e1c607389692243a78c9c879b1a04f9016a7d23ce58fb61ea6 SHA512 00a3828a47d3dad542265b535ca3bd915339ab23d167a6ace330e6faaba716f8be7393ae680b1094c629858143937128561641d1c3ef1febac7932e3bff8a138
+DIST pal-6604885c5d60be4a29346f1774a6f7e331879428.tar.gz 7595895 BLAKE2B bbdb96d131c9bd6d862e20b7be880ee73b7337accec36200cc3027c3b57974dc2b3608fe01c43a0599712ebcc380617dcf7b751cc0d7c48272c3d41e2e81cf80 SHA512 f1086fa3cf4ec12eef8c1fb447abda29ac618bb2535a42f2258d01a96bb8df903daae6eec402a4aa3b7253b31dd028fe29ac202107c1f152d108755f4c988179
 DIST pal-b687ca1828258076ac79f08738f6fce3fa688d4a.tar.gz 7507511 BLAKE2B 47be922a527152a393e1bf6097faa83b13fe2dbd113f82e8d80bdd843d0379e1b549da5e488fb00c3f98ba86bb34e9bdf11e9dbc78ee389f93b839b71b40571c SHA512 8042af4aae9bb64c486bb74cee95c015b1d17b81aa304545b7fd4ba1c26878890f64ec88ea344fbf915932a07b8be32b4a85a36cf6ab9dacad5ade9c9d67b691
-DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
 DIST pal-f632b07d42e9dc46f73e1d31c157130cb1647155.tar.gz 7515183 BLAKE2B b1ad09612059d25d3286a179552dd57921941033b503523adc11fc5a3dda6b4e0457f13d7d9d3ec4a6136d491eb06b6b160947d0f3e22f85173b9c28f3d42baa SHA512 9a63bcbb1b2d452ab516f20e15c5f1c8c767e88c5faa3d38e6e978e051ab9531487ae5cce6080f85431a947c33caf65b027cd502e99450fcea30f70e7430992a
 DIST spvgen-0179fdb99e3d4b51e50d1a4c6ef65f065b0df967.tar.gz 17770 BLAKE2B 97b0425af86dfb5be5c7863cd059dd0530a05ecb99d3a21a378ce383f3969a14ac0a86e18d2b56b37b8b9efc76b7469b581509c6085826ef24ba54eeb1deaf6d SHA512 b85c00c8f2672b9ed23113ecf0b13539ec7b98163801627fa333e4662e1d0d35fc839e53f319d597286682447788444a1f520063a18b8d3d197f172fe1bdd6be
 DIST spvgen-2f679769a8491f423f5cf2f06adfa2870a82935d.tar.gz 17809 BLAKE2B c32014f2464a92863f4eba15bcf378edc6b813bacb991713fe62e04fece6c9569bd3695d36e2a338fb6202fa49b7e15fc0fdec42d78cb990c5263828f938f60f SHA512 7cfb10420ca4b23a874aaa02637dc64a65061ed98faa35492be0abb0de755628662c1afedb814aaf53e9aa6f60cf26092839e9b4446cb39c098dd20adaf11933
 DIST spvgen-3f41158716709d96b5748a9ff0458ba9d2880576.tar.gz 17851 BLAKE2B c4e1cb58474cded7f86b02a2abfef825b7c1c7c06dad3fce6b0bfe6014e4a8f61444bc593463a01777a94cdc5f3e02c53ace3eff512f618dd4609c8633369841 SHA512 e501c71e327f8af2b9cf5988809a680223c5ffbc87e1e2695c9facb7b16314accdb91f009f91b14237af64a86e7397c3c4b1852d5e17df7071beb8457c42ca5f
-DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
-DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
+DIST spvgen-e0e6fdae66d8e2cd9949e514f4e6ce6c7e21cce9.tar.gz 17845 BLAKE2B e14871d7e582eb2c2c7074ab120b8a236b0eeb5c8118f897553f3036a8e7cb93959a3741a7e0457a95c2f45ca361e5d95fb7302f00a3ea35e2b5f6a693ed9601 SHA512 31757f66d68482674f648a80ea10c4f5732382391ce6df1a9d7214dd27e83d144c8da872e87daa881c5e01ce473e68ef3f2fda9667bf9074bf7f58753740b744
 DIST xgl-116d28a446eba3a9f8e6f577bab34fc07e090993.tar.gz 781417 BLAKE2B c5fe7359c091f4d910bea1b9478a6666a2f461870e70d5ed6b0d640079fbc23ad0de9206a8d35a5a9de55313fb45f1f78592098b74ed13391e62a4687c03ae29 SHA512 60bdc263f68f031f66e50746b64c8774596dcd83dbdab1a0660ee618df34bee24d4b24f89821e7b3952f7bbe040741fe2ebb3665b12156ee56585b64938effc6
-DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
 DIST xgl-6e79dcb897452121463e79d8c4e21c6fc668a6fe.tar.gz 784732 BLAKE2B b695bbd49d0a77673bc0940d50b00b6852808968b0175b7ff618ed0d72f9ff339b2c037aba47654a48dcca9a2c0d0feec3d867a6c8fdc36d9e0244c9f49fb89d SHA512 6bd361cd51e325890c7da5065bd0056c417cb4df92f9fd55eeec7a42afa374a76f4f325966bc3cab4f0f12b549146c76492c694d592da59412061408a626fb3d
-DIST xgl-877b773000248dffa025c42d9c4074d1a07b9e47.tar.gz 777782 BLAKE2B 7d7f8bf471a3a45180a83ba80a21280f0254fe7d80b2b1325aa7fef1dcf3a8de5552a6b930e884e0c7ed5936c9268a05d74398589089e3565b4375ac3dc59aa5 SHA512 8189ccb08c6e6ae33d36a6ee691afb60f0c1ea010c15e2883d2bc8a2e68c794bd7a70e48ecf3038d128e1c5894d4fed26a777bc9c4bea3ddeddc0b4c239993fd
+DIST xgl-9a577aa9c496e2c77844fb91ede978da25b5afd3.tar.gz 792820 BLAKE2B 864f561cf1225c6f654bba297a37c678590d0a100ab5402b4358ca6ba2a5c6762455539aef0422da73fab0385ad1a69299c03c9cf4bbccf9b2c6b7939f02fbaa SHA512 04af3d8f3ac9d3e20386c082352d24cee0e72ffbeb642c3bb4ae6605c4464192214509b44a74e375c67f17108d16e64a47eef2d894eb7bee8c8bab851750c85f
 DIST xgl-cc812115fd720dd47c9f0d603c5da3ac2fea6e53.tar.gz 785027 BLAKE2B 6ebc5e571a548f29b665bbc9415bc3deaff47f569242c59a0f4b0268e45772310bc9f09262e132a30b5435ff8dd8d24819e266336532c350de1954ae2f9229a2 SHA512 631acaf7a40016f0fc0e85ac329de0a6139cf7c10878dc731e3ec4af2b24231798d339541a160b2c8cd85e3ccf34c332aff8e6c08d9ed4f58ae814e42cc60386
-DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

diff --git a/media-libs/amdvlk/amdvlk-2020.2.2.ebuild b/media-libs/amdvlk/amdvlk-2020.2.2.ebuild
deleted file mode 100644
index 1859bf3..0000000
--- a/media-libs/amdvlk/amdvlk-2020.2.2.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.135"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.135[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="d8c926b86b1245badc67e5d55b0eaa45d4a910a0"
-PAL_COMMIT="e1b2dde021a2efd34da6593994f87317a803b065"
-LLPC_COMMIT="3864fc733e437a6e6ae729c6858b92b39194eada"
-SPVGEN_COMMIT="d4817ab957f79762da83b7fc1d3f2816dbdc13fd"
-LLVM_PROJECT_COMMIT="a1299ba9c8e2337f00bdec73e2031144d9811ed7"
-METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
-CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.2.3.ebuild b/media-libs/amdvlk/amdvlk-2020.2.3.ebuild
deleted file mode 100644
index 0ab0383..0000000
--- a/media-libs/amdvlk/amdvlk-2020.2.3.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.137"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.137[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="877b773000248dffa025c42d9c4074d1a07b9e47"
-PAL_COMMIT="a83f67db9f0d2f16bbc698aeefa9c5e9476c993a"
-LLPC_COMMIT="61b5d58e8891dc37e473064d429f0496d5254e52"
-SPVGEN_COMMIT="d4817ab957f79762da83b7fc1d3f2816dbdc13fd"
-LLVM_PROJECT_COMMIT="53692d985a53a336e07907c2d4b86bf2deb66908"
-METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
-CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.2.1.ebuild b/media-libs/amdvlk/amdvlk-2020.3.1.ebuild
similarity index 90%
rename from media-libs/amdvlk/amdvlk-2020.2.1.ebuild
rename to media-libs/amdvlk/amdvlk-2020.3.1.ebuild
index 2e32603..668203e 100644
--- a/media-libs/amdvlk/amdvlk-2020.2.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.3.1.ebuild
@@ -19,7 +19,7 @@ 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.2.135"
+	>=dev-util/vulkan-headers-1.2.143"
 BDEPEND="${BUNDLED_LLVM_DEPEND}
 	dev-util/cmake"
 RDEPEND=" ${DEPEND}
@@ -27,7 +27,7 @@ RDEPEND=" ${DEPEND}
 	x11-libs/libXrandr[${MULTILIB_USEDEP}]
 	x11-libs/libxcb[${MULTILIB_USEDEP}]
 	x11-libs/libxshmfence[${MULTILIB_USEDEP}]
-	>=media-libs/vulkan-loader-1.2.135[${MULTILIB_USEDEP}]"
+	>=media-libs/vulkan-loader-1.2.141[${MULTILIB_USEDEP}]"
 
 CHECKREQS_MEMORY="4G"
 CHECKREQS_DISK_BUILD="2G"
@@ -41,13 +41,13 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
 ##and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="1f6143fb951622e06fe7b9396957976fc9feddc7"
-PAL_COMMIT="8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a"
-LLPC_COMMIT="9889f54c9a31743b48f3dafcb8ca0c106ed15da4"
-SPVGEN_COMMIT="a223c8636f8306697f6fdc86f742b99fbd8c5dbd"
-LLVM_PROJECT_COMMIT="50077fcc15e5844dacd820dcdb02edb23fc00330"
-METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
-CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
+XGL_COMMIT="9a577aa9c496e2c77844fb91ede978da25b5afd3"
+PAL_COMMIT="6604885c5d60be4a29346f1774a6f7e331879428"
+LLPC_COMMIT="be51df411e14ae19145ab046f95338ed38243b91"
+SPVGEN_COMMIT="e0e6fdae66d8e2cd9949e514f4e6ce6c7e21cce9"
+LLVM_PROJECT_COMMIT="56e1f9b8df3d414ab7acc2fa07272d318725d440"
+METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
 ## SRC_URI
 SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
 ${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-07-23 16:33 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-07-23 16:33 UTC (permalink / raw
  To: gentoo-commits

commit:     3d3ef8d84330bdaca19edc5f964d73bbca519ee5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Jul 23 16:33:41 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Jul 23 16:33:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d3ef8d8

media-libs/amdvlk: new version 2020.3.2

2020-7-22 update

New feature and improvement
Prefer y-coordinate major swizzle modes for 3D color
	attachments on GFX10
Extend “defer reusing command stream chunk” concept to
	all scenario
Restrict pipelined cache flush optimization to only
	cases where it's definitely legal
Update api version to 1.2.146
Issue fix
Fixing shared metadata bug of gfx6
Don't disable alpha and color RB+ blend opts individually
	to fix some 999e5 format failures

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                         |  18 +--
 media-libs/amdvlk/amdvlk-2020.2.5.ebuild           | 125 ---------------------
 ...dvlk-2020.2.4.ebuild => amdvlk-2020.3.2.ebuild} |  14 +--
 3 files changed, 13 insertions(+), 144 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 9363808..e939ab0 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,26 +1,20 @@
-DIST AMDVLK-v-2020.Q2.4.tar.gz 30423 BLAKE2B ac22e46cc94e818f9072d940174f2d51acc08db004df445adfa0be609bdfd21781517d3bb5628e7c76ae75e2abecb1610c6973c3798c7c454da97a880f6c0b4f SHA512 dd57bfbeb23744b730342720054a96f486a10e17cf41472cdd9c0d4ee9a0d2bdcb8b7e16e5a5f725b55d174827d2568826db31527793304aa22760d060e4e92e
-DIST AMDVLK-v-2020.Q2.5.tar.gz 30424 BLAKE2B 73072b20fffd25120a3680424cbd6b368bd3464c51cc5b66a889b5b8896447e26f8d725e9692772cc8ac10d8a6df1032e7511a8a153a5db823ff1a843aecfc15 SHA512 0923875749c373fc4914bf214acf8fc7eb04894b1ef442fdc7b21b7dcfa2374f2b669b0287df40f7e05ba4c49c2ebefc3617118953805ab6c1d68acb0b627c4d
 DIST AMDVLK-v-2020.Q2.6.tar.gz 30423 BLAKE2B f087a98e148be5fe632eb6eb4459de306d949aa1a51cf6bca0b456ae442e0f153f7e058f735de11c332c512eda910bbf27c2d2ee7bf57e7a2c86dfd333cbd47e SHA512 8fc402d09c0c0c30075f904cbc8378ad819834bd3e3745be689403095af6b64830e06662907d7a52ebefa77220adc2b047bbbf5487459a36a0a55c6c69a31786
 DIST AMDVLK-v-2020.Q3.1.tar.gz 31567 BLAKE2B a3dc1ceba086f8f16dcd561974f26547bb736bf18aa34d872b56be0950821a0d1468e3030037820d34fd2fd464481ebdf74def5a7d754b87c4a2d6c38371242a SHA512 ecac7c4ee10a8e2ce3224e52ed375c01a6796c129d890ff4dcc3390587635158f7cbf3d6dac6777133c65be2cd3f7defdda6bd82b52161276fe389688608b3e7
+DIST AMDVLK-v-2020.Q3.2.tar.gz 32254 BLAKE2B 79819667860cb2b75845fae90f595a4f2aede8405227915f568f9d83ea98d1c74b41197279f0fd146a2d37e7da489b47172853e554e486b7bef836787ac54356 SHA512 81a53f98d2c622b89367a47062b212a5ddeb238874f87e1fe6489ab2c17e4389accc3d1c5240ff2f4e4518816c8aeee4f70f996e16687a9feb0ea967e52d281d
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
-DIST llpc-48fff0a75bb413b55a5e89647cdb37e109aa9eb8.tar.gz 1943993 BLAKE2B 8fffccf7bd109d397788a48e9636f3a5c69da39cd35d98bcf651bc43051535252a1ea34192c4fa458ab9b86223146289676b8d28b122b8674746c721145c1786 SHA512 744f54b3cb7b9be1f7bb6dbb256433d3a289000c19d9e2c2ec276cfcd54183180bbd53212dd977e3e22c95c9a2269eb50008d49a9b47c9f2e20546dd7924b938
 DIST llpc-6c94115883d99ce6f4c2edb16b0f7cd513289188.tar.gz 1945382 BLAKE2B 2f985402f21ef375ded888fd4fbadda86a01dd46c0956c6dddb91e905b003623090c7733f1e95293b52ba294dd46dab8bc61f2acf6eb576a469dbd23f9026be1 SHA512 68c981ce9bdb76294df7c32b19d044f03151d061ac02cb951a67bc234e543d7cb00588d9d36e5b24c485f5c457b23992eafe79f3f7bff37eafd1bbb147ec6a2a
-DIST llpc-9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa.tar.gz 1905709 BLAKE2B 4333d25ef6e6ad24cadc38024c5639edc21b3d5e59953b8754dcf4766782eefe2fbf93d3c05294294b68c87458d073e2076931b482376f93867ffa756a39730e SHA512 e7200dac8ce8e87ee022ca94e57bded00ef8e9860d937e1b9eee4b46c123bd72c45a232aca563b3bbb556a6f0ddbb03b98d71789f88fec32766b8af01493600a
+DIST llpc-9acb06852cdf043b0e7b6867800be3cc3bf61383.tar.gz 1971257 BLAKE2B 9d4ea121efd4ea0f5f447599fa5a1846a38a93ee6c15b7e95b96d9c88d876d2fad486bc93d75e68e8a6b5e376d3de2b0ddc2c19bd000623af6b581cd260f3145 SHA512 7096684f7e52f004e17f079c3184332bb5cb20c3e67115b6f425d55f6294e8bc04c653c2cc1bad2cf8c255cdc260fdb3ad09d2288ff9df13041f34d39ab50561
 DIST llpc-be51df411e14ae19145ab046f95338ed38243b91.tar.gz 1963173 BLAKE2B 0dfabfbb74d1ad78a981e8c576a65ac2e42adc8e0f1b5bc55f9e947d154d4f39556ecd9ae6e77a3824cb988b7ed7398df8c5717bcc15d67ac5819562ccd30030 SHA512 861957e9441b76851899ea6699546a52fa4f548709ad30734eeaf2f0d165af2be219985025ad3b0c620a2dcc2fad0deb6375789ced6aa99cc91ec4018cd8c944
+DIST llvm-project-319fe935a7a607e83d2885c881ae5aeff9b08b22.tar.gz 120709172 BLAKE2B f671d6d88128d46ec1e6570cb5dd62de13ee85fe23ed0f9eb4209a8b26e4fdd644c60328d6d1d951da7b7764d3c1ee64dcd66c30b04f5e5f604a7c6215006f8d SHA512 5e836c60fd2461838d8b1f598cdafb0739bb9cb09732e39102b9cd87af3d6f9348e62737ac21ddda3e52a750114bee096d49051da0c024d33095b1e9b6e43b1a
 DIST llvm-project-56e1f9b8df3d414ab7acc2fa07272d318725d440.tar.gz 120318547 BLAKE2B 2cae71a1e4eb67e932402406e350e1dc86e645e82253df28f94f616680d48b20c3b2a72e9fb1985f5398cca0055eb1cfb1bb142a704a55ae4bf7c00f49803ff7 SHA512 906b0bf6d4d48c108871cf5400540db70cdbe53a95b25ed5f445183c638778062e57ae63d9f3e0fae8f3cb5659cc8fbf76c6e60a001a0eeb3956b27fbb372e68
 DIST llvm-project-a458b2991a6fb6d345b088380f6a9a570a8031a5.tar.gz 119689214 BLAKE2B 34f90e60bb1f47d3deb7a57bc2444975bcc070e9317058716ba4a1e99b8286a9c502c2a3ea7c36c4bc3b140ecd247b68d8ca891c955cb21ddee4d1868755f033 SHA512 aa9c90e9b2a798ab6ca396790c58983133f2869bebc0aec043a69bec7e252ecb8604d3403193fccdbb84c95595958e76a92853b5c514d9ce45aaf15a65e86b6a
-DIST llvm-project-c57487b76215ee74b1038039f47b210a28cad65e.tar.gz 118301225 BLAKE2B 8f3b53d8eda602ad3c4b444166cddc6d90fdf95b781cb9c52e57a01b41d03c82bf3d6a944488a87a948e097bb12bd18c2f6fd46fa21402713e7a2b76744a5620 SHA512 3b4706041919bae446f0b5362f7133e04f2d9a16518dc6c3e2dd0e33b7d1f640f85cf825d4c1ec0e9c5618a384be521ac8da876978fe1ea1ad9b09d81c1a7a32
-DIST llvm-project-da64bde85194f895002dbca05ec66e016f1a5a5d.tar.gz 119674337 BLAKE2B 5aa9c62868b80ed24f5b1b3f9061b46e52df5ee66a2f484319aac9f01bb6d613b1471286eac67b31170b42848e17a89401237ec67b09c9f562e5a4a36b103070 SHA512 678c7eb39a95ea01343092c4fa0bd39a3f0868af857dee3a8fae168e4545ddf2bfbd80107b13664eed819bf94702293c6158127c4b3a2c1835282b68b50e74ee
-DIST pal-13b6271de2f72f62adf098e681c5000f47db2a6c.tar.gz 7440115 BLAKE2B 326d24b2b5739697cbd84f6eb9076aff10d668f8ce4985ef03428b3b6e0cb07ff52480287928b7d43acb5a757f0ec1a75a88ab6d21b108e5223eadf32c00adec SHA512 4b170696379da94101fa5c6813c705d2f5dea3f613cda54e70e84762296090201b419570e0e6e3b8cc62d81f519e21f76c2daafcf9c523aeaed7651c2476cc27
 DIST pal-6604885c5d60be4a29346f1774a6f7e331879428.tar.gz 7595895 BLAKE2B bbdb96d131c9bd6d862e20b7be880ee73b7337accec36200cc3027c3b57974dc2b3608fe01c43a0599712ebcc380617dcf7b751cc0d7c48272c3d41e2e81cf80 SHA512 f1086fa3cf4ec12eef8c1fb447abda29ac618bb2535a42f2258d01a96bb8df903daae6eec402a4aa3b7253b31dd028fe29ac202107c1f152d108755f4c988179
-DIST pal-b687ca1828258076ac79f08738f6fce3fa688d4a.tar.gz 7507511 BLAKE2B 47be922a527152a393e1bf6097faa83b13fe2dbd113f82e8d80bdd843d0379e1b549da5e488fb00c3f98ba86bb34e9bdf11e9dbc78ee389f93b839b71b40571c SHA512 8042af4aae9bb64c486bb74cee95c015b1d17b81aa304545b7fd4ba1c26878890f64ec88ea344fbf915932a07b8be32b4a85a36cf6ab9dacad5ade9c9d67b691
+DIST pal-ea5db60841dab7d067f5010f28a980ef222bdf81.tar.gz 7602594 BLAKE2B 79e517f6a5395c6406e05f4a282e28a8e10fd8d2c6dde873c273f8b61a781e5a19ed94ddaf366e5ed5ddb9633412321e916da79cbf63249aaad6ad83a444af6a SHA512 7388cacd526d0b0c04859eb30404d2b430250e85d95e6069f570eaa0cfb1beb3657dd55c3411d76c78efc4cdfd54eb48189da98f969d1338029f9b287d835506
 DIST pal-f632b07d42e9dc46f73e1d31c157130cb1647155.tar.gz 7515183 BLAKE2B b1ad09612059d25d3286a179552dd57921941033b503523adc11fc5a3dda6b4e0457f13d7d9d3ec4a6136d491eb06b6b160947d0f3e22f85173b9c28f3d42baa SHA512 9a63bcbb1b2d452ab516f20e15c5f1c8c767e88c5faa3d38e6e978e051ab9531487ae5cce6080f85431a947c33caf65b027cd502e99450fcea30f70e7430992a
-DIST spvgen-0179fdb99e3d4b51e50d1a4c6ef65f065b0df967.tar.gz 17770 BLAKE2B 97b0425af86dfb5be5c7863cd059dd0530a05ecb99d3a21a378ce383f3969a14ac0a86e18d2b56b37b8b9efc76b7469b581509c6085826ef24ba54eeb1deaf6d SHA512 b85c00c8f2672b9ed23113ecf0b13539ec7b98163801627fa333e4662e1d0d35fc839e53f319d597286682447788444a1f520063a18b8d3d197f172fe1bdd6be
-DIST spvgen-2f679769a8491f423f5cf2f06adfa2870a82935d.tar.gz 17809 BLAKE2B c32014f2464a92863f4eba15bcf378edc6b813bacb991713fe62e04fece6c9569bd3695d36e2a338fb6202fa49b7e15fc0fdec42d78cb990c5263828f938f60f SHA512 7cfb10420ca4b23a874aaa02637dc64a65061ed98faa35492be0abb0de755628662c1afedb814aaf53e9aa6f60cf26092839e9b4446cb39c098dd20adaf11933
+DIST spvgen-34ba176fc2fa8a9997a8a7bd0c731259e2578854.tar.gz 17881 BLAKE2B 78bcda972664c3fef421d1b34ca4cf2bba10a99231a97cc25d4bab510026fff11ad3d770a66e26670eca9025fdd45217104ad7e5d61a5b0cbae840cc02064537 SHA512 e302f0076548b8c3c353b7ab869e0ee4ceb69945f53fd69a291b0eef405e8fb4b7f16ba7454ef3bdb13bbaae9cbd9d4a4ceaf3bb3a62ff031e2a90bf1c2190a7
 DIST spvgen-3f41158716709d96b5748a9ff0458ba9d2880576.tar.gz 17851 BLAKE2B c4e1cb58474cded7f86b02a2abfef825b7c1c7c06dad3fce6b0bfe6014e4a8f61444bc593463a01777a94cdc5f3e02c53ace3eff512f618dd4609c8633369841 SHA512 e501c71e327f8af2b9cf5988809a680223c5ffbc87e1e2695c9facb7b16314accdb91f009f91b14237af64a86e7397c3c4b1852d5e17df7071beb8457c42ca5f
 DIST spvgen-e0e6fdae66d8e2cd9949e514f4e6ce6c7e21cce9.tar.gz 17845 BLAKE2B e14871d7e582eb2c2c7074ab120b8a236b0eeb5c8118f897553f3036a8e7cb93959a3741a7e0457a95c2f45ca361e5d95fb7302f00a3ea35e2b5f6a693ed9601 SHA512 31757f66d68482674f648a80ea10c4f5732382391ce6df1a9d7214dd27e83d144c8da872e87daa881c5e01ce473e68ef3f2fda9667bf9074bf7f58753740b744
-DIST xgl-116d28a446eba3a9f8e6f577bab34fc07e090993.tar.gz 781417 BLAKE2B c5fe7359c091f4d910bea1b9478a6666a2f461870e70d5ed6b0d640079fbc23ad0de9206a8d35a5a9de55313fb45f1f78592098b74ed13391e62a4687c03ae29 SHA512 60bdc263f68f031f66e50746b64c8774596dcd83dbdab1a0660ee618df34bee24d4b24f89821e7b3952f7bbe040741fe2ebb3665b12156ee56585b64938effc6
-DIST xgl-6e79dcb897452121463e79d8c4e21c6fc668a6fe.tar.gz 784732 BLAKE2B b695bbd49d0a77673bc0940d50b00b6852808968b0175b7ff618ed0d72f9ff339b2c037aba47654a48dcca9a2c0d0feec3d867a6c8fdc36d9e0244c9f49fb89d SHA512 6bd361cd51e325890c7da5065bd0056c417cb4df92f9fd55eeec7a42afa374a76f4f325966bc3cab4f0f12b549146c76492c694d592da59412061408a626fb3d
+DIST xgl-39a4e9c63456ed421b1704179730e95883f26a1b.tar.gz 796505 BLAKE2B 4e81621c9b9538e20ad7910d2908c4760ddb72a329fa9d7376c02decf0b790dc45f5c5eb61afc529027be13a2785b51c495c478b74953e6c52b08ad844c43671 SHA512 291f7f1fba9b9c31874a8cc33f4748339a86b5d81d5b7840891a00372445f365c38908a26106a99992bee3a8c684deb52d293e11580cba10d3b160576fde942a
 DIST xgl-9a577aa9c496e2c77844fb91ede978da25b5afd3.tar.gz 792820 BLAKE2B 864f561cf1225c6f654bba297a37c678590d0a100ab5402b4358ca6ba2a5c6762455539aef0422da73fab0385ad1a69299c03c9cf4bbccf9b2c6b7939f02fbaa SHA512 04af3d8f3ac9d3e20386c082352d24cee0e72ffbeb642c3bb4ae6605c4464192214509b44a74e375c67f17108d16e64a47eef2d894eb7bee8c8bab851750c85f
 DIST xgl-cc812115fd720dd47c9f0d603c5da3ac2fea6e53.tar.gz 785027 BLAKE2B 6ebc5e571a548f29b665bbc9415bc3deaff47f569242c59a0f4b0268e45772310bc9f09262e132a30b5435ff8dd8d24819e266336532c350de1954ae2f9229a2 SHA512 631acaf7a40016f0fc0e85ac329de0a6139cf7c10878dc731e3ec4af2b24231798d339541a160b2c8cd85e3ccf34c332aff8e6c08d9ed4f58ae814e42cc60386

diff --git a/media-libs/amdvlk/amdvlk-2020.2.5.ebuild b/media-libs/amdvlk/amdvlk-2020.2.5.ebuild
deleted file mode 100644
index 8d684de..0000000
--- a/media-libs/amdvlk/amdvlk-2020.2.5.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.137"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.137[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="6e79dcb897452121463e79d8c4e21c6fc668a6fe"
-PAL_COMMIT="b687ca1828258076ac79f08738f6fce3fa688d4a"
-LLPC_COMMIT="48fff0a75bb413b55a5e89647cdb37e109aa9eb8"
-SPVGEN_COMMIT="0179fdb99e3d4b51e50d1a4c6ef65f065b0df967"
-LLVM_PROJECT_COMMIT="da64bde85194f895002dbca05ec66e016f1a5a5d"
-METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.2.4.ebuild b/media-libs/amdvlk/amdvlk-2020.3.2.ebuild
similarity index 92%
rename from media-libs/amdvlk/amdvlk-2020.2.4.ebuild
rename to media-libs/amdvlk/amdvlk-2020.3.2.ebuild
index a4243a6..239e251 100644
--- a/media-libs/amdvlk/amdvlk-2020.2.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.3.2.ebuild
@@ -19,7 +19,7 @@ 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.2.137"
+	>=dev-util/vulkan-headers-1.2.143"
 BDEPEND="${BUNDLED_LLVM_DEPEND}
 	dev-util/cmake"
 RDEPEND=" ${DEPEND}
@@ -27,7 +27,7 @@ RDEPEND=" ${DEPEND}
 	x11-libs/libXrandr[${MULTILIB_USEDEP}]
 	x11-libs/libxcb[${MULTILIB_USEDEP}]
 	x11-libs/libxshmfence[${MULTILIB_USEDEP}]
-	>=media-libs/vulkan-loader-1.2.137[${MULTILIB_USEDEP}]"
+	>=media-libs/vulkan-loader-1.2.141[${MULTILIB_USEDEP}]"
 
 CHECKREQS_MEMORY="4G"
 CHECKREQS_DISK_BUILD="2G"
@@ -41,11 +41,11 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
 ##and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="116d28a446eba3a9f8e6f577bab34fc07e090993"
-PAL_COMMIT="13b6271de2f72f62adf098e681c5000f47db2a6c"
-LLPC_COMMIT="9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa"
-SPVGEN_COMMIT="2f679769a8491f423f5cf2f06adfa2870a82935d"
-LLVM_PROJECT_COMMIT="c57487b76215ee74b1038039f47b210a28cad65e"
+XGL_COMMIT="39a4e9c63456ed421b1704179730e95883f26a1b"
+PAL_COMMIT="ea5db60841dab7d067f5010f28a980ef222bdf81"
+LLPC_COMMIT="9acb06852cdf043b0e7b6867800be3cc3bf61383"
+SPVGEN_COMMIT="34ba176fc2fa8a9997a8a7bd0c731259e2578854"
+LLVM_PROJECT_COMMIT="319fe935a7a607e83d2885c881ae5aeff9b08b22"
 METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
 CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
 ## SRC_URI


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-08-07 12:02 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-08-07 12:02 UTC (permalink / raw
  To: gentoo-commits

commit:     62233df2747046a22da0a0f53fbc11870688198f
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Aug  7 12:02:16 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Aug  7 12:02:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62233df2

media-libs/amdvlk: new version 2020.3.3

2020-8-6 update

New feature and improvement
Enable pipeline cache
Enable sharing metadata of images.
CmdBufferLogger: Add dump Viewports
Improve the implementation of defer-freeing command chunk in QueueContext
Add support for DispatchMeshIndirectMutli
Issue fix
Fix for memory leak in VaMgr Singleton

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   5 ++
 media-libs/amdvlk/amdvlk-2020.3.3.ebuild | 125 +++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index e939ab0..1b2c437 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,20 +1,25 @@
 DIST AMDVLK-v-2020.Q2.6.tar.gz 30423 BLAKE2B f087a98e148be5fe632eb6eb4459de306d949aa1a51cf6bca0b456ae442e0f153f7e058f735de11c332c512eda910bbf27c2d2ee7bf57e7a2c86dfd333cbd47e SHA512 8fc402d09c0c0c30075f904cbc8378ad819834bd3e3745be689403095af6b64830e06662907d7a52ebefa77220adc2b047bbbf5487459a36a0a55c6c69a31786
 DIST AMDVLK-v-2020.Q3.1.tar.gz 31567 BLAKE2B a3dc1ceba086f8f16dcd561974f26547bb736bf18aa34d872b56be0950821a0d1468e3030037820d34fd2fd464481ebdf74def5a7d754b87c4a2d6c38371242a SHA512 ecac7c4ee10a8e2ce3224e52ed375c01a6796c129d890ff4dcc3390587635158f7cbf3d6dac6777133c65be2cd3f7defdda6bd82b52161276fe389688608b3e7
 DIST AMDVLK-v-2020.Q3.2.tar.gz 32254 BLAKE2B 79819667860cb2b75845fae90f595a4f2aede8405227915f568f9d83ea98d1c74b41197279f0fd146a2d37e7da489b47172853e554e486b7bef836787ac54356 SHA512 81a53f98d2c622b89367a47062b212a5ddeb238874f87e1fe6489ab2c17e4389accc3d1c5240ff2f4e4518816c8aeee4f70f996e16687a9feb0ea967e52d281d
+DIST AMDVLK-v-2020.Q3.3.tar.gz 32259 BLAKE2B 5b380007bc134768d4f4cfc2fb47ddfefd241781849a02664f6b755ea290ba9acdde040a5d0c897ded41460ec95e60a56dd5014717b22ee27ea03589575a5270 SHA512 6773fc68daf0c00a5c5bd7f35e17f09e9f40d83eaa11b62d6ae69448ed8349bf5bfab9edd6b245665a2abf29032158e28c8cfca5d2b2e97e9878b0964ff68306
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
 DIST llpc-6c94115883d99ce6f4c2edb16b0f7cd513289188.tar.gz 1945382 BLAKE2B 2f985402f21ef375ded888fd4fbadda86a01dd46c0956c6dddb91e905b003623090c7733f1e95293b52ba294dd46dab8bc61f2acf6eb576a469dbd23f9026be1 SHA512 68c981ce9bdb76294df7c32b19d044f03151d061ac02cb951a67bc234e543d7cb00588d9d36e5b24c485f5c457b23992eafe79f3f7bff37eafd1bbb147ec6a2a
+DIST llpc-897de5981ede47587bf4bd0205b860338eb45fa7.tar.gz 1973412 BLAKE2B 45f363c4bafa5c8c8f3802c6e5b80ce539e96c89432a0820ee7fb1d9b6fb5aa09a8b2a34fc38f9579e6de5280566cd7c9206137ab9464d0c6b0f9bfa297ae67d SHA512 3bc8aa27b70c81e46a262b10978c1ad6d942bc05963dac077a11b20fcacf2a8ef204608d30493f39e870cb07de22dc02fcdb49e13bd09e2d457148d4bc0cb943
 DIST llpc-9acb06852cdf043b0e7b6867800be3cc3bf61383.tar.gz 1971257 BLAKE2B 9d4ea121efd4ea0f5f447599fa5a1846a38a93ee6c15b7e95b96d9c88d876d2fad486bc93d75e68e8a6b5e376d3de2b0ddc2c19bd000623af6b581cd260f3145 SHA512 7096684f7e52f004e17f079c3184332bb5cb20c3e67115b6f425d55f6294e8bc04c653c2cc1bad2cf8c255cdc260fdb3ad09d2288ff9df13041f34d39ab50561
 DIST llpc-be51df411e14ae19145ab046f95338ed38243b91.tar.gz 1963173 BLAKE2B 0dfabfbb74d1ad78a981e8c576a65ac2e42adc8e0f1b5bc55f9e947d154d4f39556ecd9ae6e77a3824cb988b7ed7398df8c5717bcc15d67ac5819562ccd30030 SHA512 861957e9441b76851899ea6699546a52fa4f548709ad30734eeaf2f0d165af2be219985025ad3b0c620a2dcc2fad0deb6375789ced6aa99cc91ec4018cd8c944
 DIST llvm-project-319fe935a7a607e83d2885c881ae5aeff9b08b22.tar.gz 120709172 BLAKE2B f671d6d88128d46ec1e6570cb5dd62de13ee85fe23ed0f9eb4209a8b26e4fdd644c60328d6d1d951da7b7764d3c1ee64dcd66c30b04f5e5f604a7c6215006f8d SHA512 5e836c60fd2461838d8b1f598cdafb0739bb9cb09732e39102b9cd87af3d6f9348e62737ac21ddda3e52a750114bee096d49051da0c024d33095b1e9b6e43b1a
 DIST llvm-project-56e1f9b8df3d414ab7acc2fa07272d318725d440.tar.gz 120318547 BLAKE2B 2cae71a1e4eb67e932402406e350e1dc86e645e82253df28f94f616680d48b20c3b2a72e9fb1985f5398cca0055eb1cfb1bb142a704a55ae4bf7c00f49803ff7 SHA512 906b0bf6d4d48c108871cf5400540db70cdbe53a95b25ed5f445183c638778062e57ae63d9f3e0fae8f3cb5659cc8fbf76c6e60a001a0eeb3956b27fbb372e68
 DIST llvm-project-a458b2991a6fb6d345b088380f6a9a570a8031a5.tar.gz 119689214 BLAKE2B 34f90e60bb1f47d3deb7a57bc2444975bcc070e9317058716ba4a1e99b8286a9c502c2a3ea7c36c4bc3b140ecd247b68d8ca891c955cb21ddee4d1868755f033 SHA512 aa9c90e9b2a798ab6ca396790c58983133f2869bebc0aec043a69bec7e252ecb8604d3403193fccdbb84c95595958e76a92853b5c514d9ce45aaf15a65e86b6a
+DIST pal-477c8e78bc4f8c7f8b4cd312e708935b0e04b1cc.tar.gz 7651927 BLAKE2B ef9515c26c0531d4da2bff62b133c608a3f0cf28d03a42f75e41611afaf843d13844155a7b722b76c1d2fa25f4262eef7698262dceb17a06428232a13ae61b20 SHA512 0c95441ea1b5bf28c6394ec69729e4aa9a1a86e811352dbcee1f3261859a6c0835f83144fe1e81dd811cb4bc501ece81bcedac4cfd66ed0cf9111d92248a590e
 DIST pal-6604885c5d60be4a29346f1774a6f7e331879428.tar.gz 7595895 BLAKE2B bbdb96d131c9bd6d862e20b7be880ee73b7337accec36200cc3027c3b57974dc2b3608fe01c43a0599712ebcc380617dcf7b751cc0d7c48272c3d41e2e81cf80 SHA512 f1086fa3cf4ec12eef8c1fb447abda29ac618bb2535a42f2258d01a96bb8df903daae6eec402a4aa3b7253b31dd028fe29ac202107c1f152d108755f4c988179
 DIST pal-ea5db60841dab7d067f5010f28a980ef222bdf81.tar.gz 7602594 BLAKE2B 79e517f6a5395c6406e05f4a282e28a8e10fd8d2c6dde873c273f8b61a781e5a19ed94ddaf366e5ed5ddb9633412321e916da79cbf63249aaad6ad83a444af6a SHA512 7388cacd526d0b0c04859eb30404d2b430250e85d95e6069f570eaa0cfb1beb3657dd55c3411d76c78efc4cdfd54eb48189da98f969d1338029f9b287d835506
 DIST pal-f632b07d42e9dc46f73e1d31c157130cb1647155.tar.gz 7515183 BLAKE2B b1ad09612059d25d3286a179552dd57921941033b503523adc11fc5a3dda6b4e0457f13d7d9d3ec4a6136d491eb06b6b160947d0f3e22f85173b9c28f3d42baa SHA512 9a63bcbb1b2d452ab516f20e15c5f1c8c767e88c5faa3d38e6e978e051ab9531487ae5cce6080f85431a947c33caf65b027cd502e99450fcea30f70e7430992a
 DIST spvgen-34ba176fc2fa8a9997a8a7bd0c731259e2578854.tar.gz 17881 BLAKE2B 78bcda972664c3fef421d1b34ca4cf2bba10a99231a97cc25d4bab510026fff11ad3d770a66e26670eca9025fdd45217104ad7e5d61a5b0cbae840cc02064537 SHA512 e302f0076548b8c3c353b7ab869e0ee4ceb69945f53fd69a291b0eef405e8fb4b7f16ba7454ef3bdb13bbaae9cbd9d4a4ceaf3bb3a62ff031e2a90bf1c2190a7
 DIST spvgen-3f41158716709d96b5748a9ff0458ba9d2880576.tar.gz 17851 BLAKE2B c4e1cb58474cded7f86b02a2abfef825b7c1c7c06dad3fce6b0bfe6014e4a8f61444bc593463a01777a94cdc5f3e02c53ace3eff512f618dd4609c8633369841 SHA512 e501c71e327f8af2b9cf5988809a680223c5ffbc87e1e2695c9facb7b16314accdb91f009f91b14237af64a86e7397c3c4b1852d5e17df7071beb8457c42ca5f
+DIST spvgen-8dc855026f2502ab3f45dadaf0bb802a57d6ad60.tar.gz 17875 BLAKE2B 432579d22368d4c2b6e67c0264c6c4cda07875bcb962b400d5e89ad39bb662537a0e131f67fead71cd1ec81366c993d3c3cf24a99a378867f7ce8eefc11f92ef SHA512 7ba69f5be5a3b6663c041d8091615ccada8c28fd16eba793423a1327060339344d4ef6fdf37891fd4490fc9632dc7b8f01050e8167d7f2abc8112837fabefa30
 DIST spvgen-e0e6fdae66d8e2cd9949e514f4e6ce6c7e21cce9.tar.gz 17845 BLAKE2B e14871d7e582eb2c2c7074ab120b8a236b0eeb5c8118f897553f3036a8e7cb93959a3741a7e0457a95c2f45ca361e5d95fb7302f00a3ea35e2b5f6a693ed9601 SHA512 31757f66d68482674f648a80ea10c4f5732382391ce6df1a9d7214dd27e83d144c8da872e87daa881c5e01ce473e68ef3f2fda9667bf9074bf7f58753740b744
 DIST xgl-39a4e9c63456ed421b1704179730e95883f26a1b.tar.gz 796505 BLAKE2B 4e81621c9b9538e20ad7910d2908c4760ddb72a329fa9d7376c02decf0b790dc45f5c5eb61afc529027be13a2785b51c495c478b74953e6c52b08ad844c43671 SHA512 291f7f1fba9b9c31874a8cc33f4748339a86b5d81d5b7840891a00372445f365c38908a26106a99992bee3a8c684deb52d293e11580cba10d3b160576fde942a
 DIST xgl-9a577aa9c496e2c77844fb91ede978da25b5afd3.tar.gz 792820 BLAKE2B 864f561cf1225c6f654bba297a37c678590d0a100ab5402b4358ca6ba2a5c6762455539aef0422da73fab0385ad1a69299c03c9cf4bbccf9b2c6b7939f02fbaa SHA512 04af3d8f3ac9d3e20386c082352d24cee0e72ffbeb642c3bb4ae6605c4464192214509b44a74e375c67f17108d16e64a47eef2d894eb7bee8c8bab851750c85f
 DIST xgl-cc812115fd720dd47c9f0d603c5da3ac2fea6e53.tar.gz 785027 BLAKE2B 6ebc5e571a548f29b665bbc9415bc3deaff47f569242c59a0f4b0268e45772310bc9f09262e132a30b5435ff8dd8d24819e266336532c350de1954ae2f9229a2 SHA512 631acaf7a40016f0fc0e85ac329de0a6139cf7c10878dc731e3ec4af2b24231798d339541a160b2c8cd85e3ccf34c332aff8e6c08d9ed4f58ae814e42cc60386
+DIST xgl-f4a992dd7e556ed5e7e2ffa2c830f1cd79bd4596.tar.gz 796925 BLAKE2B ff42c8698c3e3a7b6fcd5dd0f8de8ac74f38e1ccdab8a9146e8bc7244d29e4909660c10a1337ff5de0aa52e04e56a464fa1c1c0786612a23d18ef60481a9b626 SHA512 174a2aacf90cc866583627b0ed01f061dbe9d992172185d82411e51c126bb7b4a361c171aea0c6135fd9e11f2d8fedd4fb0fbfe5788e30302684cd902a8452ce

diff --git a/media-libs/amdvlk/amdvlk-2020.3.3.ebuild b/media-libs/amdvlk/amdvlk-2020.3.3.ebuild
new file mode 100644
index 0000000..bef5d48
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.3.3.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.143"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.141[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="f4a992dd7e556ed5e7e2ffa2c830f1cd79bd4596"
+PAL_COMMIT="477c8e78bc4f8c7f8b4cd312e708935b0e04b1cc"
+LLPC_COMMIT="897de5981ede47587bf4bd0205b860338eb45fa7"
+SPVGEN_COMMIT="8dc855026f2502ab3f45dadaf0bb802a57d6ad60"
+LLVM_PROJECT_COMMIT="319fe935a7a607e83d2885c881ae5aeff9b08b22"
+METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-09-14 12:56 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-09-14 12:56 UTC (permalink / raw
  To: gentoo-commits

commit:     ece1e11f7ac08e9a6902bb7b015ed249bb099e61
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Sep 14 12:56:08 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Sep 14 12:56:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ece1e11f

media-libs/amdvlk: bumped to 2020.3.5

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                         |  17 +--
 media-libs/amdvlk/amdvlk-2020.3.2.ebuild           | 125 ---------------------
 ...dvlk-2020.3.1.ebuild => amdvlk-2020.3.5.ebuild} |  10 +-
 3 files changed, 11 insertions(+), 141 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 1b2c437e..1114fd90 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,25 +1,20 @@
 DIST AMDVLK-v-2020.Q2.6.tar.gz 30423 BLAKE2B f087a98e148be5fe632eb6eb4459de306d949aa1a51cf6bca0b456ae442e0f153f7e058f735de11c332c512eda910bbf27c2d2ee7bf57e7a2c86dfd333cbd47e SHA512 8fc402d09c0c0c30075f904cbc8378ad819834bd3e3745be689403095af6b64830e06662907d7a52ebefa77220adc2b047bbbf5487459a36a0a55c6c69a31786
-DIST AMDVLK-v-2020.Q3.1.tar.gz 31567 BLAKE2B a3dc1ceba086f8f16dcd561974f26547bb736bf18aa34d872b56be0950821a0d1468e3030037820d34fd2fd464481ebdf74def5a7d754b87c4a2d6c38371242a SHA512 ecac7c4ee10a8e2ce3224e52ed375c01a6796c129d890ff4dcc3390587635158f7cbf3d6dac6777133c65be2cd3f7defdda6bd82b52161276fe389688608b3e7
-DIST AMDVLK-v-2020.Q3.2.tar.gz 32254 BLAKE2B 79819667860cb2b75845fae90f595a4f2aede8405227915f568f9d83ea98d1c74b41197279f0fd146a2d37e7da489b47172853e554e486b7bef836787ac54356 SHA512 81a53f98d2c622b89367a47062b212a5ddeb238874f87e1fe6489ab2c17e4389accc3d1c5240ff2f4e4518816c8aeee4f70f996e16687a9feb0ea967e52d281d
 DIST AMDVLK-v-2020.Q3.3.tar.gz 32259 BLAKE2B 5b380007bc134768d4f4cfc2fb47ddfefd241781849a02664f6b755ea290ba9acdde040a5d0c897ded41460ec95e60a56dd5014717b22ee27ea03589575a5270 SHA512 6773fc68daf0c00a5c5bd7f35e17f09e9f40d83eaa11b62d6ae69448ed8349bf5bfab9edd6b245665a2abf29032158e28c8cfca5d2b2e97e9878b0964ff68306
+DIST AMDVLK-v-2020.Q3.5.tar.gz 32258 BLAKE2B f0779cb5659881d72d8d316a2ccf3907674b7182b969d21c392131d6122db66bf0fcbe8f693d9e332ea03240285b602ffe9e70c1e96e06694a0ba1810d3bf752 SHA512 7cc9c1f306bca846a25335231f9354f22bf7d65fc5c639123322f05ab7d8cf3c6c01f323eb5c1c3b64cba818295784bd583df6b2fee9334600cbd28350afc4a1
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
 DIST llpc-6c94115883d99ce6f4c2edb16b0f7cd513289188.tar.gz 1945382 BLAKE2B 2f985402f21ef375ded888fd4fbadda86a01dd46c0956c6dddb91e905b003623090c7733f1e95293b52ba294dd46dab8bc61f2acf6eb576a469dbd23f9026be1 SHA512 68c981ce9bdb76294df7c32b19d044f03151d061ac02cb951a67bc234e543d7cb00588d9d36e5b24c485f5c457b23992eafe79f3f7bff37eafd1bbb147ec6a2a
 DIST llpc-897de5981ede47587bf4bd0205b860338eb45fa7.tar.gz 1973412 BLAKE2B 45f363c4bafa5c8c8f3802c6e5b80ce539e96c89432a0820ee7fb1d9b6fb5aa09a8b2a34fc38f9579e6de5280566cd7c9206137ab9464d0c6b0f9bfa297ae67d SHA512 3bc8aa27b70c81e46a262b10978c1ad6d942bc05963dac077a11b20fcacf2a8ef204608d30493f39e870cb07de22dc02fcdb49e13bd09e2d457148d4bc0cb943
-DIST llpc-9acb06852cdf043b0e7b6867800be3cc3bf61383.tar.gz 1971257 BLAKE2B 9d4ea121efd4ea0f5f447599fa5a1846a38a93ee6c15b7e95b96d9c88d876d2fad486bc93d75e68e8a6b5e376d3de2b0ddc2c19bd000623af6b581cd260f3145 SHA512 7096684f7e52f004e17f079c3184332bb5cb20c3e67115b6f425d55f6294e8bc04c653c2cc1bad2cf8c255cdc260fdb3ad09d2288ff9df13041f34d39ab50561
-DIST llpc-be51df411e14ae19145ab046f95338ed38243b91.tar.gz 1963173 BLAKE2B 0dfabfbb74d1ad78a981e8c576a65ac2e42adc8e0f1b5bc55f9e947d154d4f39556ecd9ae6e77a3824cb988b7ed7398df8c5717bcc15d67ac5819562ccd30030 SHA512 861957e9441b76851899ea6699546a52fa4f548709ad30734eeaf2f0d165af2be219985025ad3b0c620a2dcc2fad0deb6375789ced6aa99cc91ec4018cd8c944
+DIST llpc-a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d.tar.gz 1996525 BLAKE2B dd220c1b191da80c09f9139e41b3e8a1960376587dde9a7823667d2c92c2bda4ab8026e12de1d000fe20a6227b9b826bacd687e290d29c1f406a5a32c17c2e03 SHA512 63ae344d7542c0ef6b86f18ec3ffc017399977bbc0414bac588b4e269319efc3761f506fab9de5cd6712fd721233ea19d317d7dd7fdcddda80c592a2e3b9f5f6
 DIST llvm-project-319fe935a7a607e83d2885c881ae5aeff9b08b22.tar.gz 120709172 BLAKE2B f671d6d88128d46ec1e6570cb5dd62de13ee85fe23ed0f9eb4209a8b26e4fdd644c60328d6d1d951da7b7764d3c1ee64dcd66c30b04f5e5f604a7c6215006f8d SHA512 5e836c60fd2461838d8b1f598cdafb0739bb9cb09732e39102b9cd87af3d6f9348e62737ac21ddda3e52a750114bee096d49051da0c024d33095b1e9b6e43b1a
-DIST llvm-project-56e1f9b8df3d414ab7acc2fa07272d318725d440.tar.gz 120318547 BLAKE2B 2cae71a1e4eb67e932402406e350e1dc86e645e82253df28f94f616680d48b20c3b2a72e9fb1985f5398cca0055eb1cfb1bb142a704a55ae4bf7c00f49803ff7 SHA512 906b0bf6d4d48c108871cf5400540db70cdbe53a95b25ed5f445183c638778062e57ae63d9f3e0fae8f3cb5659cc8fbf76c6e60a001a0eeb3956b27fbb372e68
 DIST llvm-project-a458b2991a6fb6d345b088380f6a9a570a8031a5.tar.gz 119689214 BLAKE2B 34f90e60bb1f47d3deb7a57bc2444975bcc070e9317058716ba4a1e99b8286a9c502c2a3ea7c36c4bc3b140ecd247b68d8ca891c955cb21ddee4d1868755f033 SHA512 aa9c90e9b2a798ab6ca396790c58983133f2869bebc0aec043a69bec7e252ecb8604d3403193fccdbb84c95595958e76a92853b5c514d9ce45aaf15a65e86b6a
+DIST llvm-project-baf9929eed02f75d0a429fc72ba76b9286ba1996.tar.gz 124197545 BLAKE2B 3857ab9ce3cc98463559110f4ec28ba6392b8a1f2808a9766ef9f5ab052f9dc8a5d5bd476c442af528aa187404da8c0a1eed82a60a56afb6ff00499e90f26705 SHA512 e59e72b2102b633b972455f74ccaeda9416041f66869e7c1cabf9e2a4459c65245e086ca1e7e0cfe23710d3d43346646c548f509a7339c56a28bf1a4635ebaf9
 DIST pal-477c8e78bc4f8c7f8b4cd312e708935b0e04b1cc.tar.gz 7651927 BLAKE2B ef9515c26c0531d4da2bff62b133c608a3f0cf28d03a42f75e41611afaf843d13844155a7b722b76c1d2fa25f4262eef7698262dceb17a06428232a13ae61b20 SHA512 0c95441ea1b5bf28c6394ec69729e4aa9a1a86e811352dbcee1f3261859a6c0835f83144fe1e81dd811cb4bc501ece81bcedac4cfd66ed0cf9111d92248a590e
-DIST pal-6604885c5d60be4a29346f1774a6f7e331879428.tar.gz 7595895 BLAKE2B bbdb96d131c9bd6d862e20b7be880ee73b7337accec36200cc3027c3b57974dc2b3608fe01c43a0599712ebcc380617dcf7b751cc0d7c48272c3d41e2e81cf80 SHA512 f1086fa3cf4ec12eef8c1fb447abda29ac618bb2535a42f2258d01a96bb8df903daae6eec402a4aa3b7253b31dd028fe29ac202107c1f152d108755f4c988179
-DIST pal-ea5db60841dab7d067f5010f28a980ef222bdf81.tar.gz 7602594 BLAKE2B 79e517f6a5395c6406e05f4a282e28a8e10fd8d2c6dde873c273f8b61a781e5a19ed94ddaf366e5ed5ddb9633412321e916da79cbf63249aaad6ad83a444af6a SHA512 7388cacd526d0b0c04859eb30404d2b430250e85d95e6069f570eaa0cfb1beb3657dd55c3411d76c78efc4cdfd54eb48189da98f969d1338029f9b287d835506
+DIST pal-a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc.tar.gz 7668665 BLAKE2B 4d6c84c2d3a7ac18f54919bbfdc632601ab6faed5ff2c5877911362aa93b5079056eb8de09d900448c5e9a60a37b79a64134a42c7215997ce3d3952920a365c9 SHA512 8227b1c81da72afd5c91faedb1fbb62d16b75d20366334f29ac2bb57e615daba02c48915893338c1322e9f3d4e45cfdc974c05706fbe68fc3337efb38b36a139
 DIST pal-f632b07d42e9dc46f73e1d31c157130cb1647155.tar.gz 7515183 BLAKE2B b1ad09612059d25d3286a179552dd57921941033b503523adc11fc5a3dda6b4e0457f13d7d9d3ec4a6136d491eb06b6b160947d0f3e22f85173b9c28f3d42baa SHA512 9a63bcbb1b2d452ab516f20e15c5f1c8c767e88c5faa3d38e6e978e051ab9531487ae5cce6080f85431a947c33caf65b027cd502e99450fcea30f70e7430992a
-DIST spvgen-34ba176fc2fa8a9997a8a7bd0c731259e2578854.tar.gz 17881 BLAKE2B 78bcda972664c3fef421d1b34ca4cf2bba10a99231a97cc25d4bab510026fff11ad3d770a66e26670eca9025fdd45217104ad7e5d61a5b0cbae840cc02064537 SHA512 e302f0076548b8c3c353b7ab869e0ee4ceb69945f53fd69a291b0eef405e8fb4b7f16ba7454ef3bdb13bbaae9cbd9d4a4ceaf3bb3a62ff031e2a90bf1c2190a7
+DIST spvgen-2557aaa0e96695c51de0d66903e24194a1af054e.tar.gz 19477 BLAKE2B a25db4fa8ba234a9a33f4b20981f1118ed54239b2b37083d5530ffe4fc1544c58d400a3a7fd87b83da29fa21a6d925b135b6bf16c436ebeee941072e01b12613 SHA512 852379ff654e3c41131e483b944bb38aebcfe466e84155acf62bb3cc847c16c53789dcd51f5da1ee36130ff9b58ae00c8504191129c5293346b7021c6dd91431
 DIST spvgen-3f41158716709d96b5748a9ff0458ba9d2880576.tar.gz 17851 BLAKE2B c4e1cb58474cded7f86b02a2abfef825b7c1c7c06dad3fce6b0bfe6014e4a8f61444bc593463a01777a94cdc5f3e02c53ace3eff512f618dd4609c8633369841 SHA512 e501c71e327f8af2b9cf5988809a680223c5ffbc87e1e2695c9facb7b16314accdb91f009f91b14237af64a86e7397c3c4b1852d5e17df7071beb8457c42ca5f
 DIST spvgen-8dc855026f2502ab3f45dadaf0bb802a57d6ad60.tar.gz 17875 BLAKE2B 432579d22368d4c2b6e67c0264c6c4cda07875bcb962b400d5e89ad39bb662537a0e131f67fead71cd1ec81366c993d3c3cf24a99a378867f7ce8eefc11f92ef SHA512 7ba69f5be5a3b6663c041d8091615ccada8c28fd16eba793423a1327060339344d4ef6fdf37891fd4490fc9632dc7b8f01050e8167d7f2abc8112837fabefa30
-DIST spvgen-e0e6fdae66d8e2cd9949e514f4e6ce6c7e21cce9.tar.gz 17845 BLAKE2B e14871d7e582eb2c2c7074ab120b8a236b0eeb5c8118f897553f3036a8e7cb93959a3741a7e0457a95c2f45ca361e5d95fb7302f00a3ea35e2b5f6a693ed9601 SHA512 31757f66d68482674f648a80ea10c4f5732382391ce6df1a9d7214dd27e83d144c8da872e87daa881c5e01ce473e68ef3f2fda9667bf9074bf7f58753740b744
-DIST xgl-39a4e9c63456ed421b1704179730e95883f26a1b.tar.gz 796505 BLAKE2B 4e81621c9b9538e20ad7910d2908c4760ddb72a329fa9d7376c02decf0b790dc45f5c5eb61afc529027be13a2785b51c495c478b74953e6c52b08ad844c43671 SHA512 291f7f1fba9b9c31874a8cc33f4748339a86b5d81d5b7840891a00372445f365c38908a26106a99992bee3a8c684deb52d293e11580cba10d3b160576fde942a
-DIST xgl-9a577aa9c496e2c77844fb91ede978da25b5afd3.tar.gz 792820 BLAKE2B 864f561cf1225c6f654bba297a37c678590d0a100ab5402b4358ca6ba2a5c6762455539aef0422da73fab0385ad1a69299c03c9cf4bbccf9b2c6b7939f02fbaa SHA512 04af3d8f3ac9d3e20386c082352d24cee0e72ffbeb642c3bb4ae6605c4464192214509b44a74e375c67f17108d16e64a47eef2d894eb7bee8c8bab851750c85f
+DIST xgl-6e4aaa87a128f91cc62d337642949ee8cfcaeec8.tar.gz 800766 BLAKE2B 985f832b73ac9b12f09b8e7d58fe322b84b0d02f7f79255051f5ec9abc1258a162e19d757f5e47b4a0a4ff601700f81548bef810e0ab6d615d979313bba52d66 SHA512 f9d8a33e9d3ff5b48efbdc03f476253e485ac87b10af846af55fc754f3be2a186374efe1f598ec2b4abc441fd2c7de146f95630e9dc6d81b74034d3ea9682a18
 DIST xgl-cc812115fd720dd47c9f0d603c5da3ac2fea6e53.tar.gz 785027 BLAKE2B 6ebc5e571a548f29b665bbc9415bc3deaff47f569242c59a0f4b0268e45772310bc9f09262e132a30b5435ff8dd8d24819e266336532c350de1954ae2f9229a2 SHA512 631acaf7a40016f0fc0e85ac329de0a6139cf7c10878dc731e3ec4af2b24231798d339541a160b2c8cd85e3ccf34c332aff8e6c08d9ed4f58ae814e42cc60386
 DIST xgl-f4a992dd7e556ed5e7e2ffa2c830f1cd79bd4596.tar.gz 796925 BLAKE2B ff42c8698c3e3a7b6fcd5dd0f8de8ac74f38e1ccdab8a9146e8bc7244d29e4909660c10a1337ff5de0aa52e04e56a464fa1c1c0786612a23d18ef60481a9b626 SHA512 174a2aacf90cc866583627b0ed01f061dbe9d992172185d82411e51c126bb7b4a361c171aea0c6135fd9e11f2d8fedd4fb0fbfe5788e30302684cd902a8452ce

diff --git a/media-libs/amdvlk/amdvlk-2020.3.2.ebuild b/media-libs/amdvlk/amdvlk-2020.3.2.ebuild
deleted file mode 100644
index 239e251c..00000000
--- a/media-libs/amdvlk/amdvlk-2020.3.2.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.143"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.141[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="39a4e9c63456ed421b1704179730e95883f26a1b"
-PAL_COMMIT="ea5db60841dab7d067f5010f28a980ef222bdf81"
-LLPC_COMMIT="9acb06852cdf043b0e7b6867800be3cc3bf61383"
-SPVGEN_COMMIT="34ba176fc2fa8a9997a8a7bd0c731259e2578854"
-LLVM_PROJECT_COMMIT="319fe935a7a607e83d2885c881ae5aeff9b08b22"
-METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.3.1.ebuild b/media-libs/amdvlk/amdvlk-2020.3.5.ebuild
similarity index 94%
rename from media-libs/amdvlk/amdvlk-2020.3.1.ebuild
rename to media-libs/amdvlk/amdvlk-2020.3.5.ebuild
index 668203ef..2e9cd6f8 100644
--- a/media-libs/amdvlk/amdvlk-2020.3.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.3.5.ebuild
@@ -41,11 +41,11 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
 ##and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="9a577aa9c496e2c77844fb91ede978da25b5afd3"
-PAL_COMMIT="6604885c5d60be4a29346f1774a6f7e331879428"
-LLPC_COMMIT="be51df411e14ae19145ab046f95338ed38243b91"
-SPVGEN_COMMIT="e0e6fdae66d8e2cd9949e514f4e6ce6c7e21cce9"
-LLVM_PROJECT_COMMIT="56e1f9b8df3d414ab7acc2fa07272d318725d440"
+XGL_COMMIT="6e4aaa87a128f91cc62d337642949ee8cfcaeec8"
+PAL_COMMIT="a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc"
+LLPC_COMMIT="a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d"
+SPVGEN_COMMIT="2557aaa0e96695c51de0d66903e24194a1af054e"
+LLVM_PROJECT_COMMIT="baf9929eed02f75d0a429fc72ba76b9286ba1996"
 METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
 CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
 ## SRC_URI


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-09-22 15:32 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-09-22 15:32 UTC (permalink / raw
  To: gentoo-commits

commit:     2f97a4143a41598be66647a7952c9f083d8ce7e4
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Sep 22 15:19:44 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Sep 22 15:32:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f97a414

media-libs/amdvlk: maintainer retire #744112

Also remove deprecated versions.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |  12 ---
 media-libs/amdvlk/amdvlk-2020.2.6.ebuild | 125 -------------------------------
 media-libs/amdvlk/amdvlk-2020.3.3.ebuild | 125 -------------------------------
 media-libs/amdvlk/metadata.xml           |   5 +-
 4 files changed, 1 insertion(+), 266 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 1114fd90..b96a72ee 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,20 +1,8 @@
-DIST AMDVLK-v-2020.Q2.6.tar.gz 30423 BLAKE2B f087a98e148be5fe632eb6eb4459de306d949aa1a51cf6bca0b456ae442e0f153f7e058f735de11c332c512eda910bbf27c2d2ee7bf57e7a2c86dfd333cbd47e SHA512 8fc402d09c0c0c30075f904cbc8378ad819834bd3e3745be689403095af6b64830e06662907d7a52ebefa77220adc2b047bbbf5487459a36a0a55c6c69a31786
-DIST AMDVLK-v-2020.Q3.3.tar.gz 32259 BLAKE2B 5b380007bc134768d4f4cfc2fb47ddfefd241781849a02664f6b755ea290ba9acdde040a5d0c897ded41460ec95e60a56dd5014717b22ee27ea03589575a5270 SHA512 6773fc68daf0c00a5c5bd7f35e17f09e9f40d83eaa11b62d6ae69448ed8349bf5bfab9edd6b245665a2abf29032158e28c8cfca5d2b2e97e9878b0964ff68306
 DIST AMDVLK-v-2020.Q3.5.tar.gz 32258 BLAKE2B f0779cb5659881d72d8d316a2ccf3907674b7182b969d21c392131d6122db66bf0fcbe8f693d9e332ea03240285b602ffe9e70c1e96e06694a0ba1810d3bf752 SHA512 7cc9c1f306bca846a25335231f9354f22bf7d65fc5c639123322f05ab7d8cf3c6c01f323eb5c1c3b64cba818295784bd583df6b2fee9334600cbd28350afc4a1
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
-DIST llpc-6c94115883d99ce6f4c2edb16b0f7cd513289188.tar.gz 1945382 BLAKE2B 2f985402f21ef375ded888fd4fbadda86a01dd46c0956c6dddb91e905b003623090c7733f1e95293b52ba294dd46dab8bc61f2acf6eb576a469dbd23f9026be1 SHA512 68c981ce9bdb76294df7c32b19d044f03151d061ac02cb951a67bc234e543d7cb00588d9d36e5b24c485f5c457b23992eafe79f3f7bff37eafd1bbb147ec6a2a
-DIST llpc-897de5981ede47587bf4bd0205b860338eb45fa7.tar.gz 1973412 BLAKE2B 45f363c4bafa5c8c8f3802c6e5b80ce539e96c89432a0820ee7fb1d9b6fb5aa09a8b2a34fc38f9579e6de5280566cd7c9206137ab9464d0c6b0f9bfa297ae67d SHA512 3bc8aa27b70c81e46a262b10978c1ad6d942bc05963dac077a11b20fcacf2a8ef204608d30493f39e870cb07de22dc02fcdb49e13bd09e2d457148d4bc0cb943
 DIST llpc-a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d.tar.gz 1996525 BLAKE2B dd220c1b191da80c09f9139e41b3e8a1960376587dde9a7823667d2c92c2bda4ab8026e12de1d000fe20a6227b9b826bacd687e290d29c1f406a5a32c17c2e03 SHA512 63ae344d7542c0ef6b86f18ec3ffc017399977bbc0414bac588b4e269319efc3761f506fab9de5cd6712fd721233ea19d317d7dd7fdcddda80c592a2e3b9f5f6
-DIST llvm-project-319fe935a7a607e83d2885c881ae5aeff9b08b22.tar.gz 120709172 BLAKE2B f671d6d88128d46ec1e6570cb5dd62de13ee85fe23ed0f9eb4209a8b26e4fdd644c60328d6d1d951da7b7764d3c1ee64dcd66c30b04f5e5f604a7c6215006f8d SHA512 5e836c60fd2461838d8b1f598cdafb0739bb9cb09732e39102b9cd87af3d6f9348e62737ac21ddda3e52a750114bee096d49051da0c024d33095b1e9b6e43b1a
-DIST llvm-project-a458b2991a6fb6d345b088380f6a9a570a8031a5.tar.gz 119689214 BLAKE2B 34f90e60bb1f47d3deb7a57bc2444975bcc070e9317058716ba4a1e99b8286a9c502c2a3ea7c36c4bc3b140ecd247b68d8ca891c955cb21ddee4d1868755f033 SHA512 aa9c90e9b2a798ab6ca396790c58983133f2869bebc0aec043a69bec7e252ecb8604d3403193fccdbb84c95595958e76a92853b5c514d9ce45aaf15a65e86b6a
 DIST llvm-project-baf9929eed02f75d0a429fc72ba76b9286ba1996.tar.gz 124197545 BLAKE2B 3857ab9ce3cc98463559110f4ec28ba6392b8a1f2808a9766ef9f5ab052f9dc8a5d5bd476c442af528aa187404da8c0a1eed82a60a56afb6ff00499e90f26705 SHA512 e59e72b2102b633b972455f74ccaeda9416041f66869e7c1cabf9e2a4459c65245e086ca1e7e0cfe23710d3d43346646c548f509a7339c56a28bf1a4635ebaf9
-DIST pal-477c8e78bc4f8c7f8b4cd312e708935b0e04b1cc.tar.gz 7651927 BLAKE2B ef9515c26c0531d4da2bff62b133c608a3f0cf28d03a42f75e41611afaf843d13844155a7b722b76c1d2fa25f4262eef7698262dceb17a06428232a13ae61b20 SHA512 0c95441ea1b5bf28c6394ec69729e4aa9a1a86e811352dbcee1f3261859a6c0835f83144fe1e81dd811cb4bc501ece81bcedac4cfd66ed0cf9111d92248a590e
 DIST pal-a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc.tar.gz 7668665 BLAKE2B 4d6c84c2d3a7ac18f54919bbfdc632601ab6faed5ff2c5877911362aa93b5079056eb8de09d900448c5e9a60a37b79a64134a42c7215997ce3d3952920a365c9 SHA512 8227b1c81da72afd5c91faedb1fbb62d16b75d20366334f29ac2bb57e615daba02c48915893338c1322e9f3d4e45cfdc974c05706fbe68fc3337efb38b36a139
-DIST pal-f632b07d42e9dc46f73e1d31c157130cb1647155.tar.gz 7515183 BLAKE2B b1ad09612059d25d3286a179552dd57921941033b503523adc11fc5a3dda6b4e0457f13d7d9d3ec4a6136d491eb06b6b160947d0f3e22f85173b9c28f3d42baa SHA512 9a63bcbb1b2d452ab516f20e15c5f1c8c767e88c5faa3d38e6e978e051ab9531487ae5cce6080f85431a947c33caf65b027cd502e99450fcea30f70e7430992a
 DIST spvgen-2557aaa0e96695c51de0d66903e24194a1af054e.tar.gz 19477 BLAKE2B a25db4fa8ba234a9a33f4b20981f1118ed54239b2b37083d5530ffe4fc1544c58d400a3a7fd87b83da29fa21a6d925b135b6bf16c436ebeee941072e01b12613 SHA512 852379ff654e3c41131e483b944bb38aebcfe466e84155acf62bb3cc847c16c53789dcd51f5da1ee36130ff9b58ae00c8504191129c5293346b7021c6dd91431
-DIST spvgen-3f41158716709d96b5748a9ff0458ba9d2880576.tar.gz 17851 BLAKE2B c4e1cb58474cded7f86b02a2abfef825b7c1c7c06dad3fce6b0bfe6014e4a8f61444bc593463a01777a94cdc5f3e02c53ace3eff512f618dd4609c8633369841 SHA512 e501c71e327f8af2b9cf5988809a680223c5ffbc87e1e2695c9facb7b16314accdb91f009f91b14237af64a86e7397c3c4b1852d5e17df7071beb8457c42ca5f
-DIST spvgen-8dc855026f2502ab3f45dadaf0bb802a57d6ad60.tar.gz 17875 BLAKE2B 432579d22368d4c2b6e67c0264c6c4cda07875bcb962b400d5e89ad39bb662537a0e131f67fead71cd1ec81366c993d3c3cf24a99a378867f7ce8eefc11f92ef SHA512 7ba69f5be5a3b6663c041d8091615ccada8c28fd16eba793423a1327060339344d4ef6fdf37891fd4490fc9632dc7b8f01050e8167d7f2abc8112837fabefa30
 DIST xgl-6e4aaa87a128f91cc62d337642949ee8cfcaeec8.tar.gz 800766 BLAKE2B 985f832b73ac9b12f09b8e7d58fe322b84b0d02f7f79255051f5ec9abc1258a162e19d757f5e47b4a0a4ff601700f81548bef810e0ab6d615d979313bba52d66 SHA512 f9d8a33e9d3ff5b48efbdc03f476253e485ac87b10af846af55fc754f3be2a186374efe1f598ec2b4abc441fd2c7de146f95630e9dc6d81b74034d3ea9682a18
-DIST xgl-cc812115fd720dd47c9f0d603c5da3ac2fea6e53.tar.gz 785027 BLAKE2B 6ebc5e571a548f29b665bbc9415bc3deaff47f569242c59a0f4b0268e45772310bc9f09262e132a30b5435ff8dd8d24819e266336532c350de1954ae2f9229a2 SHA512 631acaf7a40016f0fc0e85ac329de0a6139cf7c10878dc731e3ec4af2b24231798d339541a160b2c8cd85e3ccf34c332aff8e6c08d9ed4f58ae814e42cc60386
-DIST xgl-f4a992dd7e556ed5e7e2ffa2c830f1cd79bd4596.tar.gz 796925 BLAKE2B ff42c8698c3e3a7b6fcd5dd0f8de8ac74f38e1ccdab8a9146e8bc7244d29e4909660c10a1337ff5de0aa52e04e56a464fa1c1c0786612a23d18ef60481a9b626 SHA512 174a2aacf90cc866583627b0ed01f061dbe9d992172185d82411e51c126bb7b4a361c171aea0c6135fd9e11f2d8fedd4fb0fbfe5788e30302684cd902a8452ce

diff --git a/media-libs/amdvlk/amdvlk-2020.2.6.ebuild b/media-libs/amdvlk/amdvlk-2020.2.6.ebuild
deleted file mode 100644
index 1353722c..00000000
--- a/media-libs/amdvlk/amdvlk-2020.2.6.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.141"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.141[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="cc812115fd720dd47c9f0d603c5da3ac2fea6e53"
-PAL_COMMIT="f632b07d42e9dc46f73e1d31c157130cb1647155"
-LLPC_COMMIT="6c94115883d99ce6f4c2edb16b0f7cd513289188"
-SPVGEN_COMMIT="3f41158716709d96b5748a9ff0458ba9d2880576"
-LLVM_PROJECT_COMMIT="a458b2991a6fb6d345b088380f6a9a570a8031a5"
-METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.3.3.ebuild b/media-libs/amdvlk/amdvlk-2020.3.3.ebuild
deleted file mode 100644
index bef5d480..00000000
--- a/media-libs/amdvlk/amdvlk-2020.3.3.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.143"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.141[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="f4a992dd7e556ed5e7e2ffa2c830f1cd79bd4596"
-PAL_COMMIT="477c8e78bc4f8c7f8b4cd312e708935b0e04b1cc"
-LLPC_COMMIT="897de5981ede47587bf4bd0205b860338eb45fa7"
-SPVGEN_COMMIT="8dc855026f2502ab3f45dadaf0bb802a57d6ad60"
-LLVM_PROJECT_COMMIT="319fe935a7a607e83d2885c881ae5aeff9b08b22"
-METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index 3c5a2b96..ca953a98 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
-	<maintainer type="person">
-		<email>denis7774@gmail.com</email>
-		<name>Reva Denis aka RarogCmex</name>
-	</maintainer>
+	<!-- maintainer-needed -->
 	<longdescription lang="en">
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-10-16  9:39 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-10-16  9:39 UTC (permalink / raw
  To: gentoo-commits

commit:     99991746af653db240ff10684662cb4e5a715470
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Oct 16 09:39:46 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Oct 16 09:39:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99991746

media-libs/amdvlk: new version 2020.3.6, I'm back

I recover enought to perform maintainership if my
health enables for me.
Changelog:
New feature and improvement
Enable extension VK_EXT_robustness2
Issue fix
Junk Screen is observed during gameplay on Doom VFR Game on Navi10
Baldur's Gate 3 stops responding after enabling Vsync
Flickering corruption visible in shadows in Baldur's Gate 3
Green color corruption flashes and disappears on
	launching the jesse-cube demo
Red Dead Redemption 2 game is not launching with LLPC
	driver with latest Game update
[AMDVLK issue #170] Blank screen is observed while playing
	"Little Witch Nobeta demo" game

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   7 ++
 media-libs/amdvlk/amdvlk-2020.3.6.ebuild | 125 +++++++++++++++++++++++++++++++
 media-libs/amdvlk/metadata.xml           |   6 +-
 3 files changed, 137 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index b96a72ee..46b16c1f 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,15 @@
 DIST AMDVLK-v-2020.Q3.5.tar.gz 32258 BLAKE2B f0779cb5659881d72d8d316a2ccf3907674b7182b969d21c392131d6122db66bf0fcbe8f693d9e332ea03240285b602ffe9e70c1e96e06694a0ba1810d3bf752 SHA512 7cc9c1f306bca846a25335231f9354f22bf7d65fc5c639123322f05ab7d8cf3c6c01f323eb5c1c3b64cba818295784bd583df6b2fee9334600cbd28350afc4a1
+DIST AMDVLK-v-2020.Q3.6.tar.gz 32264 BLAKE2B 6e6f57e4c238b7a54c8b4731e31f66b1975043f0ee36735ead3a3eb8a9ee7db11ef420a7e75e3bbbc66869b41d3fe381856dc25de50ed560aa73f1a4fbb5ea18 SHA512 5fc25249ee624d931b6bd7ee4542350f7ba64e0e1e3e9b5dd1face62659f315460b35d75c71aac24b7cb8cac432e3627bfddd131c0572db1ae06d755b68d542a
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
+DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
+DIST llpc-6ff17fa6136e4bba8b6ae496e90e40c6e7750820.tar.gz 2006145 BLAKE2B 1e8c8c33a5d5792d786c76198dfa8e2e6425fba156af3810a9756c6663ed2fe58086ad973a912e218ec1a91bab8640900e914f8d91453371ca33bd19bcbcf371 SHA512 a4abc112c299fbd4443baabcce26a2582c0b81c457eb17538e6fbdb169cf78999d203e666ca17b41074ae524b0da5102eafb7ce7275faf75570caef03b34eef1
 DIST llpc-a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d.tar.gz 1996525 BLAKE2B dd220c1b191da80c09f9139e41b3e8a1960376587dde9a7823667d2c92c2bda4ab8026e12de1d000fe20a6227b9b826bacd687e290d29c1f406a5a32c17c2e03 SHA512 63ae344d7542c0ef6b86f18ec3ffc017399977bbc0414bac588b4e269319efc3761f506fab9de5cd6712fd721233ea19d317d7dd7fdcddda80c592a2e3b9f5f6
+DIST llvm-project-1a8b53e02a92dbc7d40087c483d03c45c6c63f2e.tar.gz 125181540 BLAKE2B 2bd22252921892ba00a5388349baec28b9c0ffc72965c56c1ca262265c371efc1ad8feb573baa6d186a792e17d5a81f75e2df43d755d76fa5bfae9a289eaa77d SHA512 8f5ad47fdf5923232611b129567ca67a7de5f37080ceffa47fcb65a872bb2d605ed3c13515dd597f508b0257178e0d018633698cb3112f8eb3301c1dcc0e1d39
 DIST llvm-project-baf9929eed02f75d0a429fc72ba76b9286ba1996.tar.gz 124197545 BLAKE2B 3857ab9ce3cc98463559110f4ec28ba6392b8a1f2808a9766ef9f5ab052f9dc8a5d5bd476c442af528aa187404da8c0a1eed82a60a56afb6ff00499e90f26705 SHA512 e59e72b2102b633b972455f74ccaeda9416041f66869e7c1cabf9e2a4459c65245e086ca1e7e0cfe23710d3d43346646c548f509a7339c56a28bf1a4635ebaf9
+DIST pal-6fa4f8ac88b95688241d266ff9d8f02da6ec3c22.tar.gz 7670536 BLAKE2B aad1ccbf3f40b0dbe04409f86efed83074f5c82e23e7fd806d85e0aa3a79ef51111a72e4ed6ea9db68c74133e4767e60016505e9e02a088f89ccd98efd356802 SHA512 014ba1b8628093fddbfb26d121f07d8ab4694a94c3f67e3cc82bcc3b6d94e59d53a926d647d97e8c5bb4147d40889810d529ae79b8019c6ecdbdf684cdb02cab
 DIST pal-a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc.tar.gz 7668665 BLAKE2B 4d6c84c2d3a7ac18f54919bbfdc632601ab6faed5ff2c5877911362aa93b5079056eb8de09d900448c5e9a60a37b79a64134a42c7215997ce3d3952920a365c9 SHA512 8227b1c81da72afd5c91faedb1fbb62d16b75d20366334f29ac2bb57e615daba02c48915893338c1322e9f3d4e45cfdc974c05706fbe68fc3337efb38b36a139
 DIST spvgen-2557aaa0e96695c51de0d66903e24194a1af054e.tar.gz 19477 BLAKE2B a25db4fa8ba234a9a33f4b20981f1118ed54239b2b37083d5530ffe4fc1544c58d400a3a7fd87b83da29fa21a6d925b135b6bf16c436ebeee941072e01b12613 SHA512 852379ff654e3c41131e483b944bb38aebcfe466e84155acf62bb3cc847c16c53789dcd51f5da1ee36130ff9b58ae00c8504191129c5293346b7021c6dd91431
+DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
+DIST xgl-07bb2eb097cd90983902118388cabd49f3530e8b.tar.gz 802016 BLAKE2B d17fb5b16267e799d2f2779be7adeac49c2916f50701436f8c84d462b5bbe3525eb53e4acf9d9eb0dbfbf6d2e2e8ba209752222627e21268c4b2e2fce4ddc135 SHA512 f7143a734a0864533005926a17130fe4203f6f9aa2b2bc85a6d543cb747e0e863fd8f26a642390f4d34e86f5b3a8847542ffcd3ad31ed8531f58611fbc61e106
 DIST xgl-6e4aaa87a128f91cc62d337642949ee8cfcaeec8.tar.gz 800766 BLAKE2B 985f832b73ac9b12f09b8e7d58fe322b84b0d02f7f79255051f5ec9abc1258a162e19d757f5e47b4a0a4ff601700f81548bef810e0ab6d615d979313bba52d66 SHA512 f9d8a33e9d3ff5b48efbdc03f476253e485ac87b10af846af55fc754f3be2a186374efe1f598ec2b4abc441fd2c7de146f95630e9dc6d81b74034d3ea9682a18

diff --git a/media-libs/amdvlk/amdvlk-2020.3.6.ebuild b/media-libs/amdvlk/amdvlk-2020.3.6.ebuild
new file mode 100644
index 00000000..dade187a
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.3.6.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.143"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.141[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="07bb2eb097cd90983902118388cabd49f3530e8b"
+PAL_COMMIT="6fa4f8ac88b95688241d266ff9d8f02da6ec3c22"
+LLPC_COMMIT="6ff17fa6136e4bba8b6ae496e90e40c6e7750820"
+SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
+LLVM_PROJECT_COMMIT="1a8b53e02a92dbc7d40087c483d03c45c6c63f2e"
+METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index ca953a98..4db59269 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -1,7 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>denis7774@gmail.com</email>
+		<name>Denis Reva</name>
+		<description>Partial maintainer</description>
+	</maintainer>
 	<longdescription lang="en">
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-10-27  4:55 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-10-27  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     b20671bda1c5ded26d02a018667006c2cd67b4b6
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Oct 27 04:54:56 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Oct 27 04:55:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b20671bd

media-libs/amdvlk: new version 2020.4.1

Changes:
New feature and improvement
Update Vulkan API version to 1.2.156
Enable extension: VK_EXT_shader_image_atomic_int64
Issue fix
50% performance drop in 4k low for X-plane new update
System hangs while playing Wolfenstein II: The New
	Colossus for 5-10 mins
[Regression in v-2020.Q1.2 AMDVLK on Polaris GPU] Some shadow
	fails to be rendered
Second Extinction crashes during launch

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   5 ++
 media-libs/amdvlk/amdvlk-2020.4.1.ebuild | 125 +++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 46b16c1f..df753baa 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,15 +1,20 @@
 DIST AMDVLK-v-2020.Q3.5.tar.gz 32258 BLAKE2B f0779cb5659881d72d8d316a2ccf3907674b7182b969d21c392131d6122db66bf0fcbe8f693d9e332ea03240285b602ffe9e70c1e96e06694a0ba1810d3bf752 SHA512 7cc9c1f306bca846a25335231f9354f22bf7d65fc5c639123322f05ab7d8cf3c6c01f323eb5c1c3b64cba818295784bd583df6b2fee9334600cbd28350afc4a1
 DIST AMDVLK-v-2020.Q3.6.tar.gz 32264 BLAKE2B 6e6f57e4c238b7a54c8b4731e31f66b1975043f0ee36735ead3a3eb8a9ee7db11ef420a7e75e3bbbc66869b41d3fe381856dc25de50ed560aa73f1a4fbb5ea18 SHA512 5fc25249ee624d931b6bd7ee4542350f7ba64e0e1e3e9b5dd1face62659f315460b35d75c71aac24b7cb8cac432e3627bfddd131c0572db1ae06d755b68d542a
+DIST AMDVLK-v-2020.Q4.1.tar.gz 32259 BLAKE2B 628e4df092541c0ce2391991f1a4a8417226c043a1bc3e22ef64272b89fde17cce8480c3bffdf711ae72abbe028cf62d8cda32d5764d39586f60eb36070e6f45 SHA512 76af2e7844e4cd25b3e8dccd7e8d2a7c63dc48ae434354628cd74492dfff543c5b2acbf9b3eb300d1d0d01cc3858ebced92987832c75510571e1352190c87505
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
 DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
+DIST llpc-1d2d77c7533f41707ccf89b66db2e0feac3dea83.tar.gz 2048145 BLAKE2B fc1cca5dc1589d563264fc72ff396d8fcb4107eb30df04fb6eee29f049b01151b8710ad469117d8a3524fa2a667305d0a381d9b3b92e8385dfa399d414717897 SHA512 fe609c4c78f5596b7c019414e89848d86ce2a5af6a0a38caaeaf829c41bac4885c998269775d395b8a76a8c50cd7758214f7ca261c7deffdd8b644d7c6b1ded6
 DIST llpc-6ff17fa6136e4bba8b6ae496e90e40c6e7750820.tar.gz 2006145 BLAKE2B 1e8c8c33a5d5792d786c76198dfa8e2e6425fba156af3810a9756c6663ed2fe58086ad973a912e218ec1a91bab8640900e914f8d91453371ca33bd19bcbcf371 SHA512 a4abc112c299fbd4443baabcce26a2582c0b81c457eb17538e6fbdb169cf78999d203e666ca17b41074ae524b0da5102eafb7ce7275faf75570caef03b34eef1
 DIST llpc-a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d.tar.gz 1996525 BLAKE2B dd220c1b191da80c09f9139e41b3e8a1960376587dde9a7823667d2c92c2bda4ab8026e12de1d000fe20a6227b9b826bacd687e290d29c1f406a5a32c17c2e03 SHA512 63ae344d7542c0ef6b86f18ec3ffc017399977bbc0414bac588b4e269319efc3761f506fab9de5cd6712fd721233ea19d317d7dd7fdcddda80c592a2e3b9f5f6
 DIST llvm-project-1a8b53e02a92dbc7d40087c483d03c45c6c63f2e.tar.gz 125181540 BLAKE2B 2bd22252921892ba00a5388349baec28b9c0ffc72965c56c1ca262265c371efc1ad8feb573baa6d186a792e17d5a81f75e2df43d755d76fa5bfae9a289eaa77d SHA512 8f5ad47fdf5923232611b129567ca67a7de5f37080ceffa47fcb65a872bb2d605ed3c13515dd597f508b0257178e0d018633698cb3112f8eb3301c1dcc0e1d39
+DIST llvm-project-61625276e878ae29f79a052e2d4b495616d8180c.tar.gz 127411128 BLAKE2B 578e4e622dd3bffd9a012a45e222f8d3bbdbaee0416bc189b4fbc6ff45528081063aece3454c605896c7e71afc3cf8d02798bbae0d66388174c2a32fe82b311e SHA512 746ff1d59958188cd84653e92ddc025b004cfa4e92ebdf7c3f07b4e8a5c5d0f85b8d2588bf6d6456337c46a7b0803116d8a08aad158f339ff657c599c95e1297
 DIST llvm-project-baf9929eed02f75d0a429fc72ba76b9286ba1996.tar.gz 124197545 BLAKE2B 3857ab9ce3cc98463559110f4ec28ba6392b8a1f2808a9766ef9f5ab052f9dc8a5d5bd476c442af528aa187404da8c0a1eed82a60a56afb6ff00499e90f26705 SHA512 e59e72b2102b633b972455f74ccaeda9416041f66869e7c1cabf9e2a4459c65245e086ca1e7e0cfe23710d3d43346646c548f509a7339c56a28bf1a4635ebaf9
+DIST pal-3c0809b87958d3751bf2892e04579b6b1d03c7ad.tar.gz 7629346 BLAKE2B a49833e393c5c4ecca0a0687f7cd979624f1cf21cc4c6ee37f50e20f482d2f6ec490a161a8f850261934b57ddc25fc1f9f7825d28f0661c000aa0dfa22c32699 SHA512 66dde5b8a603349b7962b4dbb0c1bdde81719b269393a5c43d3c53a661733177acc148101c9b51da7e189a3fc26c82d4d2d8f2aacda052be7ef3020de4a6728a
 DIST pal-6fa4f8ac88b95688241d266ff9d8f02da6ec3c22.tar.gz 7670536 BLAKE2B aad1ccbf3f40b0dbe04409f86efed83074f5c82e23e7fd806d85e0aa3a79ef51111a72e4ed6ea9db68c74133e4767e60016505e9e02a088f89ccd98efd356802 SHA512 014ba1b8628093fddbfb26d121f07d8ab4694a94c3f67e3cc82bcc3b6d94e59d53a926d647d97e8c5bb4147d40889810d529ae79b8019c6ecdbdf684cdb02cab
 DIST pal-a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc.tar.gz 7668665 BLAKE2B 4d6c84c2d3a7ac18f54919bbfdc632601ab6faed5ff2c5877911362aa93b5079056eb8de09d900448c5e9a60a37b79a64134a42c7215997ce3d3952920a365c9 SHA512 8227b1c81da72afd5c91faedb1fbb62d16b75d20366334f29ac2bb57e615daba02c48915893338c1322e9f3d4e45cfdc974c05706fbe68fc3337efb38b36a139
 DIST spvgen-2557aaa0e96695c51de0d66903e24194a1af054e.tar.gz 19477 BLAKE2B a25db4fa8ba234a9a33f4b20981f1118ed54239b2b37083d5530ffe4fc1544c58d400a3a7fd87b83da29fa21a6d925b135b6bf16c436ebeee941072e01b12613 SHA512 852379ff654e3c41131e483b944bb38aebcfe466e84155acf62bb3cc847c16c53789dcd51f5da1ee36130ff9b58ae00c8504191129c5293346b7021c6dd91431
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
 DIST xgl-07bb2eb097cd90983902118388cabd49f3530e8b.tar.gz 802016 BLAKE2B d17fb5b16267e799d2f2779be7adeac49c2916f50701436f8c84d462b5bbe3525eb53e4acf9d9eb0dbfbf6d2e2e8ba209752222627e21268c4b2e2fce4ddc135 SHA512 f7143a734a0864533005926a17130fe4203f6f9aa2b2bc85a6d543cb747e0e863fd8f26a642390f4d34e86f5b3a8847542ffcd3ad31ed8531f58611fbc61e106
 DIST xgl-6e4aaa87a128f91cc62d337642949ee8cfcaeec8.tar.gz 800766 BLAKE2B 985f832b73ac9b12f09b8e7d58fe322b84b0d02f7f79255051f5ec9abc1258a162e19d757f5e47b4a0a4ff601700f81548bef810e0ab6d615d979313bba52d66 SHA512 f9d8a33e9d3ff5b48efbdc03f476253e485ac87b10af846af55fc754f3be2a186374efe1f598ec2b4abc441fd2c7de146f95630e9dc6d81b74034d3ea9682a18
+DIST xgl-99aaaa0cd14293edf100b986bc004c886e6b2ef6.tar.gz 805754 BLAKE2B dda9c8b10349927cc2535d78ca9cc65eb877ebf5246447024516172027c04c87af9a86dbe9c54f0e6e7f754d2c49bd0f33466f4e2cfefd62d34cb9ec48352f1e SHA512 401221495d5687203893a4a925982d44e7d55e3cd8aaafe376b5da8604cdff7c96b296810efd52c1af29819787369b44a77e88aec250d21cc4cdd86662397936

diff --git a/media-libs/amdvlk/amdvlk-2020.4.1.ebuild b/media-libs/amdvlk/amdvlk-2020.4.1.ebuild
new file mode 100644
index 00000000..9235e576
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.4.1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.143"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.141[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="99aaaa0cd14293edf100b986bc004c886e6b2ef6"
+PAL_COMMIT="3c0809b87958d3751bf2892e04579b6b1d03c7ad"
+LLPC_COMMIT="1d2d77c7533f41707ccf89b66db2e0feac3dea83"
+SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
+LLVM_PROJECT_COMMIT="61625276e878ae29f79a052e2d4b495616d8180c"
+METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	##Installing rule
+	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
+Section "Device"
+Identifier "AMDgpu"
+Option  "DRI" "3"
+EndSection
+EOF
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+multilib_src_install_all() {
+	insinto /usr/share/X11/xorg.conf.d/
+	doins "${T}/10-amdvlk-dri3.conf"
+	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
+	einfo "It's safe to double xorg configuration files if you have already had ones"
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
+	ewarn "Driver      \"modesetting\""
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-11-05 11:36 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-11-05 11:36 UTC (permalink / raw
  To: gentoo-commits

commit:     e5c3947eed83c75569b699798c012984df235d72
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Nov  5 11:36:10 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Nov  5 11:36:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5c3947e

media-libs/amdvlk: updated to 2020.4.3

2020-11-5 update

New feature and improvement
Enable VK_EXT_robustness2 for pre GFX9
Update Vulkan API version to 1.2.158
Issue fix
Vulkan apps fails in Wayland on upstream since Mesa 20.1
[GPA] Counter collection hangs RenderDoc

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                         |  22 +---
 media-libs/amdvlk/amdvlk-2020.3.5.ebuild           | 125 ---------------------
 media-libs/amdvlk/amdvlk-2020.4.1.ebuild           | 125 ---------------------
 ...dvlk-2020.3.6.ebuild => amdvlk-2020.4.3.ebuild} |   8 +-
 4 files changed, 9 insertions(+), 271 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index df753baa..876f9bd0 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,20 +1,8 @@
-DIST AMDVLK-v-2020.Q3.5.tar.gz 32258 BLAKE2B f0779cb5659881d72d8d316a2ccf3907674b7182b969d21c392131d6122db66bf0fcbe8f693d9e332ea03240285b602ffe9e70c1e96e06694a0ba1810d3bf752 SHA512 7cc9c1f306bca846a25335231f9354f22bf7d65fc5c639123322f05ab7d8cf3c6c01f323eb5c1c3b64cba818295784bd583df6b2fee9334600cbd28350afc4a1
-DIST AMDVLK-v-2020.Q3.6.tar.gz 32264 BLAKE2B 6e6f57e4c238b7a54c8b4731e31f66b1975043f0ee36735ead3a3eb8a9ee7db11ef420a7e75e3bbbc66869b41d3fe381856dc25de50ed560aa73f1a4fbb5ea18 SHA512 5fc25249ee624d931b6bd7ee4542350f7ba64e0e1e3e9b5dd1face62659f315460b35d75c71aac24b7cb8cac432e3627bfddd131c0572db1ae06d755b68d542a
-DIST AMDVLK-v-2020.Q4.1.tar.gz 32259 BLAKE2B 628e4df092541c0ce2391991f1a4a8417226c043a1bc3e22ef64272b89fde17cce8480c3bffdf711ae72abbe028cf62d8cda32d5764d39586f60eb36070e6f45 SHA512 76af2e7844e4cd25b3e8dccd7e8d2a7c63dc48ae434354628cd74492dfff543c5b2acbf9b3eb300d1d0d01cc3858ebced92987832c75510571e1352190c87505
+DIST AMDVLK-v-2020.Q4.3.tar.gz 32265 BLAKE2B f676d8e104f02a99a280457040384c1e2b2333e487c0fe2b69e3c1f669d73c36692783209502e5745c90819e7160b60df07a941a8a0be8ebd5ebd87952b5bebd SHA512 eee54d071860eb9b1e29b90eb3a94229e525493ca9c06a14bce706c40c056eb1115a488d0e12850cb551e6ac5406dcd30aa9560cac07baa141952aa023542347
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
-DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
-DIST llpc-1d2d77c7533f41707ccf89b66db2e0feac3dea83.tar.gz 2048145 BLAKE2B fc1cca5dc1589d563264fc72ff396d8fcb4107eb30df04fb6eee29f049b01151b8710ad469117d8a3524fa2a667305d0a381d9b3b92e8385dfa399d414717897 SHA512 fe609c4c78f5596b7c019414e89848d86ce2a5af6a0a38caaeaf829c41bac4885c998269775d395b8a76a8c50cd7758214f7ca261c7deffdd8b644d7c6b1ded6
-DIST llpc-6ff17fa6136e4bba8b6ae496e90e40c6e7750820.tar.gz 2006145 BLAKE2B 1e8c8c33a5d5792d786c76198dfa8e2e6425fba156af3810a9756c6663ed2fe58086ad973a912e218ec1a91bab8640900e914f8d91453371ca33bd19bcbcf371 SHA512 a4abc112c299fbd4443baabcce26a2582c0b81c457eb17538e6fbdb169cf78999d203e666ca17b41074ae524b0da5102eafb7ce7275faf75570caef03b34eef1
-DIST llpc-a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d.tar.gz 1996525 BLAKE2B dd220c1b191da80c09f9139e41b3e8a1960376587dde9a7823667d2c92c2bda4ab8026e12de1d000fe20a6227b9b826bacd687e290d29c1f406a5a32c17c2e03 SHA512 63ae344d7542c0ef6b86f18ec3ffc017399977bbc0414bac588b4e269319efc3761f506fab9de5cd6712fd721233ea19d317d7dd7fdcddda80c592a2e3b9f5f6
-DIST llvm-project-1a8b53e02a92dbc7d40087c483d03c45c6c63f2e.tar.gz 125181540 BLAKE2B 2bd22252921892ba00a5388349baec28b9c0ffc72965c56c1ca262265c371efc1ad8feb573baa6d186a792e17d5a81f75e2df43d755d76fa5bfae9a289eaa77d SHA512 8f5ad47fdf5923232611b129567ca67a7de5f37080ceffa47fcb65a872bb2d605ed3c13515dd597f508b0257178e0d018633698cb3112f8eb3301c1dcc0e1d39
-DIST llvm-project-61625276e878ae29f79a052e2d4b495616d8180c.tar.gz 127411128 BLAKE2B 578e4e622dd3bffd9a012a45e222f8d3bbdbaee0416bc189b4fbc6ff45528081063aece3454c605896c7e71afc3cf8d02798bbae0d66388174c2a32fe82b311e SHA512 746ff1d59958188cd84653e92ddc025b004cfa4e92ebdf7c3f07b4e8a5c5d0f85b8d2588bf6d6456337c46a7b0803116d8a08aad158f339ff657c599c95e1297
-DIST llvm-project-baf9929eed02f75d0a429fc72ba76b9286ba1996.tar.gz 124197545 BLAKE2B 3857ab9ce3cc98463559110f4ec28ba6392b8a1f2808a9766ef9f5ab052f9dc8a5d5bd476c442af528aa187404da8c0a1eed82a60a56afb6ff00499e90f26705 SHA512 e59e72b2102b633b972455f74ccaeda9416041f66869e7c1cabf9e2a4459c65245e086ca1e7e0cfe23710d3d43346646c548f509a7339c56a28bf1a4635ebaf9
-DIST pal-3c0809b87958d3751bf2892e04579b6b1d03c7ad.tar.gz 7629346 BLAKE2B a49833e393c5c4ecca0a0687f7cd979624f1cf21cc4c6ee37f50e20f482d2f6ec490a161a8f850261934b57ddc25fc1f9f7825d28f0661c000aa0dfa22c32699 SHA512 66dde5b8a603349b7962b4dbb0c1bdde81719b269393a5c43d3c53a661733177acc148101c9b51da7e189a3fc26c82d4d2d8f2aacda052be7ef3020de4a6728a
-DIST pal-6fa4f8ac88b95688241d266ff9d8f02da6ec3c22.tar.gz 7670536 BLAKE2B aad1ccbf3f40b0dbe04409f86efed83074f5c82e23e7fd806d85e0aa3a79ef51111a72e4ed6ea9db68c74133e4767e60016505e9e02a088f89ccd98efd356802 SHA512 014ba1b8628093fddbfb26d121f07d8ab4694a94c3f67e3cc82bcc3b6d94e59d53a926d647d97e8c5bb4147d40889810d529ae79b8019c6ecdbdf684cdb02cab
-DIST pal-a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc.tar.gz 7668665 BLAKE2B 4d6c84c2d3a7ac18f54919bbfdc632601ab6faed5ff2c5877911362aa93b5079056eb8de09d900448c5e9a60a37b79a64134a42c7215997ce3d3952920a365c9 SHA512 8227b1c81da72afd5c91faedb1fbb62d16b75d20366334f29ac2bb57e615daba02c48915893338c1322e9f3d4e45cfdc974c05706fbe68fc3337efb38b36a139
-DIST spvgen-2557aaa0e96695c51de0d66903e24194a1af054e.tar.gz 19477 BLAKE2B a25db4fa8ba234a9a33f4b20981f1118ed54239b2b37083d5530ffe4fc1544c58d400a3a7fd87b83da29fa21a6d925b135b6bf16c436ebeee941072e01b12613 SHA512 852379ff654e3c41131e483b944bb38aebcfe466e84155acf62bb3cc847c16c53789dcd51f5da1ee36130ff9b58ae00c8504191129c5293346b7021c6dd91431
+DIST llpc-3b3506161572475b0c163a5d44444fd98922b7d8.tar.gz 2056085 BLAKE2B a831de4834279ce0d53cf7d0c3c0ca44e9628ba1c8c8197b7f7daf3514be43c73fef3d83f1c2ad44ff24ab5abbe123502eedea5610b64d2e52863ff235c4e627 SHA512 3a7fdd3f2fee85f3a7856097f0cde647c3deb980144cc42d372cb1349900b9d100b83bd31dacb1b47b0b5a617bba4f6a8e55d1b8cafd56671e10a8d49c5aa060
+DIST llvm-project-11778b213e0e979cbe185901b365f0b2e9a66522.tar.gz 127824632 BLAKE2B df269eee12bc5428d7f0cc614a11684ba95818bcdadeea5046c33e577c29e0b5202f475b5145d9c6a6fe6a922e3edda1f0f99c2aca83dba73310c5a1b7c9ba0f SHA512 de0b92422b3d5f4a3bfe43b10c4f989a8890a9f2c901275f078cea64e7a4b8456cf6697621648d877bd2dbc7af4b9bb03a7a16a92a1d1e6ed1608eb5d9625000
+DIST pal-4ae736bdbc5d5dee59851ac564c5e21d807b44b0.tar.gz 7675348 BLAKE2B 912c5efdb03631506de599e9992b8b20037b115d925962304ee94a153623e170f7618fd033f84fb25d78354137b54d9857f4967d242cb56e69f03da8675926a1 SHA512 355887de38afcf96764ff09be9167d7dc7c6c32980014f2e30cbf0ffe4074721c3d6ba0f4624ce03a94efc197d57c047a40cd2e6b04339951e60b32a11619405
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
-DIST xgl-07bb2eb097cd90983902118388cabd49f3530e8b.tar.gz 802016 BLAKE2B d17fb5b16267e799d2f2779be7adeac49c2916f50701436f8c84d462b5bbe3525eb53e4acf9d9eb0dbfbf6d2e2e8ba209752222627e21268c4b2e2fce4ddc135 SHA512 f7143a734a0864533005926a17130fe4203f6f9aa2b2bc85a6d543cb747e0e863fd8f26a642390f4d34e86f5b3a8847542ffcd3ad31ed8531f58611fbc61e106
-DIST xgl-6e4aaa87a128f91cc62d337642949ee8cfcaeec8.tar.gz 800766 BLAKE2B 985f832b73ac9b12f09b8e7d58fe322b84b0d02f7f79255051f5ec9abc1258a162e19d757f5e47b4a0a4ff601700f81548bef810e0ab6d615d979313bba52d66 SHA512 f9d8a33e9d3ff5b48efbdc03f476253e485ac87b10af846af55fc754f3be2a186374efe1f598ec2b4abc441fd2c7de146f95630e9dc6d81b74034d3ea9682a18
-DIST xgl-99aaaa0cd14293edf100b986bc004c886e6b2ef6.tar.gz 805754 BLAKE2B dda9c8b10349927cc2535d78ca9cc65eb877ebf5246447024516172027c04c87af9a86dbe9c54f0e6e7f754d2c49bd0f33466f4e2cfefd62d34cb9ec48352f1e SHA512 401221495d5687203893a4a925982d44e7d55e3cd8aaafe376b5da8604cdff7c96b296810efd52c1af29819787369b44a77e88aec250d21cc4cdd86662397936
+DIST xgl-87430a6fa88da11473eed49603def2fa47b51fa0.tar.gz 807418 BLAKE2B 890e79400a422321c2ef5760c0ecc3c62d8b0a83bea976ddaf9b04c423319baa19988b7ea9a0c304eec349cb3e338b722c0eb955440b44fd94e1c6e187104573 SHA512 e124d0b9734210d4a047e1a0c50e2a698615eea33f1235a381e26a07f4784590e9ec610b30c223de30d69a7152f5ad6e4c6c07e05acc50aecd5d1593c6e7ce40

diff --git a/media-libs/amdvlk/amdvlk-2020.3.5.ebuild b/media-libs/amdvlk/amdvlk-2020.3.5.ebuild
deleted file mode 100644
index 2e9cd6f8..00000000
--- a/media-libs/amdvlk/amdvlk-2020.3.5.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.143"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.141[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="6e4aaa87a128f91cc62d337642949ee8cfcaeec8"
-PAL_COMMIT="a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc"
-LLPC_COMMIT="a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d"
-SPVGEN_COMMIT="2557aaa0e96695c51de0d66903e24194a1af054e"
-LLVM_PROJECT_COMMIT="baf9929eed02f75d0a429fc72ba76b9286ba1996"
-METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.4.1.ebuild b/media-libs/amdvlk/amdvlk-2020.4.1.ebuild
deleted file mode 100644
index 9235e576..00000000
--- a/media-libs/amdvlk/amdvlk-2020.4.1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.143"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.141[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="99aaaa0cd14293edf100b986bc004c886e6b2ef6"
-PAL_COMMIT="3c0809b87958d3751bf2892e04579b6b1d03c7ad"
-LLPC_COMMIT="1d2d77c7533f41707ccf89b66db2e0feac3dea83"
-SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
-LLVM_PROJECT_COMMIT="61625276e878ae29f79a052e2d4b495616d8180c"
-METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.3.6.ebuild b/media-libs/amdvlk/amdvlk-2020.4.3.ebuild
similarity index 95%
rename from media-libs/amdvlk/amdvlk-2020.3.6.ebuild
rename to media-libs/amdvlk/amdvlk-2020.4.3.ebuild
index dade187a..1197bb36 100644
--- a/media-libs/amdvlk/amdvlk-2020.3.6.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.4.3.ebuild
@@ -41,11 +41,11 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
 ##and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="07bb2eb097cd90983902118388cabd49f3530e8b"
-PAL_COMMIT="6fa4f8ac88b95688241d266ff9d8f02da6ec3c22"
-LLPC_COMMIT="6ff17fa6136e4bba8b6ae496e90e40c6e7750820"
+XGL_COMMIT="87430a6fa88da11473eed49603def2fa47b51fa0"
+PAL_COMMIT="4ae736bdbc5d5dee59851ac564c5e21d807b44b0"
+LLPC_COMMIT="3b3506161572475b0c163a5d44444fd98922b7d8"
 SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
-LLVM_PROJECT_COMMIT="1a8b53e02a92dbc7d40087c483d03c45c6c63f2e"
+LLVM_PROJECT_COMMIT="11778b213e0e979cbe185901b365f0b2e9a66522"
 METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
 CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
 ## SRC_URI


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-11-17  8:11 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-11-17  8:11 UTC (permalink / raw
  To: gentoo-commits

commit:     ceafe4bc1ae017bb68a57d005c953ebb63157dc3
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 17 08:11:30 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Nov 17 08:11:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ceafe4bc

media-libs/amdvlk: bumped to 2020.4.4

2020-11-13 update

New feature and improvement
Update Vulkan API version to 1.2.159
Issue fix
Driver does not work with two videocards: radeon+amdgpu
[AMDVLK issue #135]Tropico 4 demo:
	Corrpution observed during game play

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                                     | 10 +++++-----
 .../amdvlk/{amdvlk-2020.4.3.ebuild => amdvlk-2020.4.4.ebuild}  |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 876f9bd0..540c0af7 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,8 @@
-DIST AMDVLK-v-2020.Q4.3.tar.gz 32265 BLAKE2B f676d8e104f02a99a280457040384c1e2b2333e487c0fe2b69e3c1f669d73c36692783209502e5745c90819e7160b60df07a941a8a0be8ebd5ebd87952b5bebd SHA512 eee54d071860eb9b1e29b90eb3a94229e525493ca9c06a14bce706c40c056eb1115a488d0e12850cb551e6ac5406dcd30aa9560cac07baa141952aa023542347
+DIST AMDVLK-v-2020.Q4.4.tar.gz 32268 BLAKE2B e1cf7c61b7894e6d0d5d0253b08647056b4ad444aa0caaf1b6aed578c96571f7f5c2d6cde3faa3a72d729115534c58f6d1dc53b393132cc7a040e83b400a1f7d SHA512 a90606520758d8114e117fa80ca1e08b70c5898ddc9a9c1e3e3508743a550a1bd7b264bdbe3ac29c9b090af9bbae213eb8981a0e1a551215405683fc9df7fcb2
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
-DIST llpc-3b3506161572475b0c163a5d44444fd98922b7d8.tar.gz 2056085 BLAKE2B a831de4834279ce0d53cf7d0c3c0ca44e9628ba1c8c8197b7f7daf3514be43c73fef3d83f1c2ad44ff24ab5abbe123502eedea5610b64d2e52863ff235c4e627 SHA512 3a7fdd3f2fee85f3a7856097f0cde647c3deb980144cc42d372cb1349900b9d100b83bd31dacb1b47b0b5a617bba4f6a8e55d1b8cafd56671e10a8d49c5aa060
-DIST llvm-project-11778b213e0e979cbe185901b365f0b2e9a66522.tar.gz 127824632 BLAKE2B df269eee12bc5428d7f0cc614a11684ba95818bcdadeea5046c33e577c29e0b5202f475b5145d9c6a6fe6a922e3edda1f0f99c2aca83dba73310c5a1b7c9ba0f SHA512 de0b92422b3d5f4a3bfe43b10c4f989a8890a9f2c901275f078cea64e7a4b8456cf6697621648d877bd2dbc7af4b9bb03a7a16a92a1d1e6ed1608eb5d9625000
-DIST pal-4ae736bdbc5d5dee59851ac564c5e21d807b44b0.tar.gz 7675348 BLAKE2B 912c5efdb03631506de599e9992b8b20037b115d925962304ee94a153623e170f7618fd033f84fb25d78354137b54d9857f4967d242cb56e69f03da8675926a1 SHA512 355887de38afcf96764ff09be9167d7dc7c6c32980014f2e30cbf0ffe4074721c3d6ba0f4624ce03a94efc197d57c047a40cd2e6b04339951e60b32a11619405
+DIST llpc-d2180485db6cde18b2ead1eda0925be409507b78.tar.gz 2056752 BLAKE2B 8e1bf62ddadc4fd30630923f46a4be3041adc2b75a5cb9c775d821c7f91f7f479564f056764d70c3511a42b8c564d21af71b37d1542a0fca39fd179fddc47da6 SHA512 8a8d4d69c12f6a6126770cbb6c5c4092a7f9bf5038abab15defbc2b8d3e34d1299a3318dbb016fc7c8f6aeccd68a2d0e7090744d4434be993ff0fa107cf2c880
+DIST llvm-project-7ff363c8283c1d41ecbdcdc45c8b724b52312d67.tar.gz 128585110 BLAKE2B 2902b68f08f6a978a08061a145e93d0cbea57e4c47431b0249a06ae986e739d9fbb749b2e59996abcc25834cff59ab2dc837debc7acc7ee12c3ec488cb300cab SHA512 b8e4a6858f1c4ffb26206e545095e64641fef4cee47188d5481d14780f6b8276f70b5c485da1fc26025ee42b6b984c2901caf85ade1599f1a6aa73e0ab190087
+DIST pal-29117a3431d163a2e9e7bfe87e63d0d8d3c28b11.tar.gz 7706930 BLAKE2B bd6f20e76e3cfcdba086e42c9a0b71022baa9269e8de5426e24885996f0bf318b53e38bd911a5b757dcabe9f3f20e74adaec91437abb1492ff8b11137647570b SHA512 6b6ec7840651abc4e16d4941dd265aa5ec8dfbe183c42f57693070d9c3f40a06db1513d3c19352560ebcbdd949494563abfb7ee496113ea8abf28161476ee25c
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
-DIST xgl-87430a6fa88da11473eed49603def2fa47b51fa0.tar.gz 807418 BLAKE2B 890e79400a422321c2ef5760c0ecc3c62d8b0a83bea976ddaf9b04c423319baa19988b7ea9a0c304eec349cb3e338b722c0eb955440b44fd94e1c6e187104573 SHA512 e124d0b9734210d4a047e1a0c50e2a698615eea33f1235a381e26a07f4784590e9ec610b30c223de30d69a7152f5ad6e4c6c07e05acc50aecd5d1593c6e7ce40
+DIST xgl-f623fc7ca78c3cec2123a16700a8819f3ccf0656.tar.gz 807009 BLAKE2B fdc5b67657467fa2843404558fd0a7452744bcf444652dc790c2a15285188f9360e2f8e46d2986fc87ca77cfe47e5f812b918427b44e92a9d3f0385ed7f59f31 SHA512 f35cdf0303a6125fd762484b02fa1f4b0d2fdfbb05e4f7c0a518edc8fa96c89fb5bf730f1b82c894a95354468877e47ceecf628b9f9b4a14b50852b76e7a9e86

diff --git a/media-libs/amdvlk/amdvlk-2020.4.3.ebuild b/media-libs/amdvlk/amdvlk-2020.4.4.ebuild
similarity index 95%
rename from media-libs/amdvlk/amdvlk-2020.4.3.ebuild
rename to media-libs/amdvlk/amdvlk-2020.4.4.ebuild
index 1197bb36..1912cf51 100644
--- a/media-libs/amdvlk/amdvlk-2020.4.3.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.4.4.ebuild
@@ -41,11 +41,11 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
 ##and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="87430a6fa88da11473eed49603def2fa47b51fa0"
-PAL_COMMIT="4ae736bdbc5d5dee59851ac564c5e21d807b44b0"
-LLPC_COMMIT="3b3506161572475b0c163a5d44444fd98922b7d8"
+XGL_COMMIT="f623fc7ca78c3cec2123a16700a8819f3ccf0656"
+PAL_COMMIT="29117a3431d163a2e9e7bfe87e63d0d8d3c28b11"
+LLPC_COMMIT="d2180485db6cde18b2ead1eda0925be409507b78"
 SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
-LLVM_PROJECT_COMMIT="11778b213e0e979cbe185901b365f0b2e9a66522"
+LLVM_PROJECT_COMMIT="7ff363c8283c1d41ecbdcdc45c8b724b52312d67"
 METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
 CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
 ## SRC_URI


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-11-19  6:28 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-11-19  6:28 UTC (permalink / raw
  To: gentoo-commits

commit:     814bba966e905216d0577bb1cdcc5d7a37e2d0a2
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Nov 19 06:26:34 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Nov 19 06:26:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=814bba96

media-libs/amdvlk: new version 2020.4.5

Official changes:
Add support for Navi21
Ebuild changes:
Ebuild no longer installs rule for Xorg.
Added tip for DXVK

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                         |  8 ++++----
 ...dvlk-2020.4.4.ebuild => amdvlk-2020.4.5.ebuild} | 23 ++++++----------------
 2 files changed, 10 insertions(+), 21 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 540c0af7..26ae47c1 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,8 @@
-DIST AMDVLK-v-2020.Q4.4.tar.gz 32268 BLAKE2B e1cf7c61b7894e6d0d5d0253b08647056b4ad444aa0caaf1b6aed578c96571f7f5c2d6cde3faa3a72d729115534c58f6d1dc53b393132cc7a040e83b400a1f7d SHA512 a90606520758d8114e117fa80ca1e08b70c5898ddc9a9c1e3e3508743a550a1bd7b264bdbe3ac29c9b090af9bbae213eb8981a0e1a551215405683fc9df7fcb2
+DIST AMDVLK-v-2020.Q4.5.tar.gz 32258 BLAKE2B e2acdbb87c0a53b45cbbceeda0b7a6432db5713891dc35d9c3c3932e20799fe0ab219de9f2d042ebd403c1904c5a1b0bdf23f8d1a033b7c6d7a17e7c65132373 SHA512 98158c82c08657d130d462f1e5e70f6c77749eb0f139c3b392984c1b44eed0828aab71c580747799a734fa0d581720c5b70779c4c5f5bd3dc269b128df95cec8
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
-DIST llpc-d2180485db6cde18b2ead1eda0925be409507b78.tar.gz 2056752 BLAKE2B 8e1bf62ddadc4fd30630923f46a4be3041adc2b75a5cb9c775d821c7f91f7f479564f056764d70c3511a42b8c564d21af71b37d1542a0fca39fd179fddc47da6 SHA512 8a8d4d69c12f6a6126770cbb6c5c4092a7f9bf5038abab15defbc2b8d3e34d1299a3318dbb016fc7c8f6aeccd68a2d0e7090744d4434be993ff0fa107cf2c880
+DIST llpc-38dcb76aadf729b67cabe15c2cc07a784020f704.tar.gz 2079177 BLAKE2B eb3f594b195af82faeeb9e9f5d73cc294d8178d7390183c083b4231f17a8382f0e72480f3e883b7d3e3b1f7a654974efd4d2dec1c60f6d9ae019696f467f296a SHA512 599ea375fc87621d0085bc9a1d68f00bbde42408c1b9f745ea7da8658c041cdc24722b763e53981a2ad844efa042348be7df939cee4459503ab66d462403ce32
 DIST llvm-project-7ff363c8283c1d41ecbdcdc45c8b724b52312d67.tar.gz 128585110 BLAKE2B 2902b68f08f6a978a08061a145e93d0cbea57e4c47431b0249a06ae986e739d9fbb749b2e59996abcc25834cff59ab2dc837debc7acc7ee12c3ec488cb300cab SHA512 b8e4a6858f1c4ffb26206e545095e64641fef4cee47188d5481d14780f6b8276f70b5c485da1fc26025ee42b6b984c2901caf85ade1599f1a6aa73e0ab190087
-DIST pal-29117a3431d163a2e9e7bfe87e63d0d8d3c28b11.tar.gz 7706930 BLAKE2B bd6f20e76e3cfcdba086e42c9a0b71022baa9269e8de5426e24885996f0bf318b53e38bd911a5b757dcabe9f3f20e74adaec91437abb1492ff8b11137647570b SHA512 6b6ec7840651abc4e16d4941dd265aa5ec8dfbe183c42f57693070d9c3f40a06db1513d3c19352560ebcbdd949494563abfb7ee496113ea8abf28161476ee25c
+DIST pal-b1e752d402592628f61eb7e1aa2a802a205de798.tar.gz 8029839 BLAKE2B 776b85c0d5780a3b6a5a50d04609a20f1552a0afa0caff090013c2506bc9f97592b42f69941ac29697f3dced45e4619ca8be918e1b68fabd5c651893ba689d35 SHA512 5d98bcf1631d70620bb56a380c7b510f6f517d48e1cc0b2f7007687b929fc36af69d7478984756bf84e2f7e6934034c10f7bfce24b83df812de93e3a6b9b9faa
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
-DIST xgl-f623fc7ca78c3cec2123a16700a8819f3ccf0656.tar.gz 807009 BLAKE2B fdc5b67657467fa2843404558fd0a7452744bcf444652dc790c2a15285188f9360e2f8e46d2986fc87ca77cfe47e5f812b918427b44e92a9d3f0385ed7f59f31 SHA512 f35cdf0303a6125fd762484b02fa1f4b0d2fdfbb05e4f7c0a518edc8fa96c89fb5bf730f1b82c894a95354468877e47ceecf628b9f9b4a14b50852b76e7a9e86
+DIST xgl-fc11e79aab63337702d8efc05e5433dec9efdf06.tar.gz 810567 BLAKE2B 452a9264df787d42f18618e8d49cad9fb79f4a6ece505d238f5a09652505886555db892c8c6f4f6139c28cf7db6efc387330f101e32c1262f00fc5c6e1c17e74 SHA512 db50fcdac279eb17b977f47ca66397c7194d021dd4db9b4e34e4a0eccb6fdbda5222a57c306ac8fba8eec2986703596a5cb1b2130d8a1bcf81c30f69be0f2808

diff --git a/media-libs/amdvlk/amdvlk-2020.4.4.ebuild b/media-libs/amdvlk/amdvlk-2020.4.5.ebuild
similarity index 87%
rename from media-libs/amdvlk/amdvlk-2020.4.4.ebuild
rename to media-libs/amdvlk/amdvlk-2020.4.5.ebuild
index 1912cf51..0ab0eed4 100644
--- a/media-libs/amdvlk/amdvlk-2020.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.4.5.ebuild
@@ -41,9 +41,9 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
 ##and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="f623fc7ca78c3cec2123a16700a8819f3ccf0656"
-PAL_COMMIT="29117a3431d163a2e9e7bfe87e63d0d8d3c28b11"
-LLPC_COMMIT="d2180485db6cde18b2ead1eda0925be409507b78"
+XGL_COMMIT="fc11e79aab63337702d8efc05e5433dec9efdf06"
+PAL_COMMIT="b1e752d402592628f61eb7e1aa2a802a205de798"
+LLPC_COMMIT="38dcb76aadf729b67cabe15c2cc07a784020f704"
 SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
 LLVM_PROJECT_COMMIT="7ff363c8283c1d41ecbdcdc45c8b724b52312d67"
 METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
@@ -71,13 +71,6 @@ src_prepare() {
 	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"
-	##Installing rule
-	cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
-Section "Device"
-Identifier "AMDgpu"
-Option  "DRI" "3"
-EndSection
-EOF
 	cd "${S}/xgl"
 	default
 }
@@ -105,21 +98,17 @@ multilib_src_install() {
 	fi
 }
 
-multilib_src_install_all() {
-	insinto /usr/share/X11/xorg.conf.d/
-	doins "${T}/10-amdvlk-dri3.conf"
-	einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
-	einfo "It's safe to double xorg configuration files if you have already had ones"
-}
 
 pkg_postinst() {
 	elog "More information about the configuration can be found here:"
 	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
 	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "Driver      \"modesetting\""
+	ewarn "| Driver      \"modesetting\""
+	ewarn "and make sure you use DRI3 mode for Xorg (not revelant for wayland)"
 	ewarn "Else AMDVLK breaks things"
 	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
 	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
 	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
 	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
 }


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
  2020-11-20 16:03 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-11-20 16:03 ` Andrew Ammerlaan
  0 siblings, 0 replies; 56+ messages in thread
From: Andrew Ammerlaan @ 2020-11-20 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     eb6f11d8d2e67992825972ce4f15e8218e0fe0bf
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Nov 20 16:02:17 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Nov 20 16:02:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb6f11d8

media-libs/amdvlk: remove blank line

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 media-libs/amdvlk/amdvlk-2020.4.5.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2020.4.5.ebuild b/media-libs/amdvlk/amdvlk-2020.4.5.ebuild
index 0ab0eed4..d5c514a4 100644
--- a/media-libs/amdvlk/amdvlk-2020.4.5.ebuild
+++ b/media-libs/amdvlk/amdvlk-2020.4.5.ebuild
@@ -98,7 +98,6 @@ multilib_src_install() {
 	fi
 }
 
-
 pkg_postinst() {
 	elog "More information about the configuration can be found here:"
 	elog " https://github.com/GPUOpen-Drivers/AMDVLK"


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2020-12-23 12:02 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2020-12-23 12:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6f92fd911f30ea7f7206209fa4ee44bd16f9da9a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Dec 23 12:01:51 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Dec 23 12:02:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f92fd91

media-libs/amdvlk: new version 2020.4.6

2020-12-14 update. Upstream changes:

New feature and improvement
Update Vulkan API version to 1.2.162
Performance tuning for Shadow of the Tomb Raider on Navi21
Enable extension VK_EXT_shader_terminate_invocation
Enable extension VK_KHR_fragment_shading_rate

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   5 ++
 media-libs/amdvlk/amdvlk-2020.4.6.ebuild | 113 +++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 26ae47c1..24db624c 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,13 @@
 DIST AMDVLK-v-2020.Q4.5.tar.gz 32258 BLAKE2B e2acdbb87c0a53b45cbbceeda0b7a6432db5713891dc35d9c3c3932e20799fe0ab219de9f2d042ebd403c1904c5a1b0bdf23f8d1a033b7c6d7a17e7c65132373 SHA512 98158c82c08657d130d462f1e5e70f6c77749eb0f139c3b392984c1b44eed0828aab71c580747799a734fa0d581720c5b70779c4c5f5bd3dc269b128df95cec8
+DIST AMDVLK-v-2020.Q4.6.tar.gz 32275 BLAKE2B f7bb0e5df49df9fe5d0a2f5bb169a2fdec7c36548f53c5bd23702465373a754aa43659a2fc7c4b57882ffe64be4438911dcda3766cba26d5a9c08a4e5816e66f SHA512 be8b28ef15e9e7941c97296342393a645095617b96f189939be3885f1e430d7ee683868ec0b1aa6c9642f2572aa066f638b3f770bc425dcb5b284dbf655b32f3
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
 DIST llpc-38dcb76aadf729b67cabe15c2cc07a784020f704.tar.gz 2079177 BLAKE2B eb3f594b195af82faeeb9e9f5d73cc294d8178d7390183c083b4231f17a8382f0e72480f3e883b7d3e3b1f7a654974efd4d2dec1c60f6d9ae019696f467f296a SHA512 599ea375fc87621d0085bc9a1d68f00bbde42408c1b9f745ea7da8658c041cdc24722b763e53981a2ad844efa042348be7df939cee4459503ab66d462403ce32
+DIST llpc-e2d38b0c8042efbc435e51696aba5c1abd256c88.tar.gz 2091062 BLAKE2B 64dbba4f1a9c1739e56015b149143ece3795022f81eb28cb05930a1b86e505789d474ab5e6483e9700f3dba07d30a21591417564e630b2fc0e4827ab7f61a0e3 SHA512 04c3f12e6c89cae9b44703bca545e824e9f6ccb6bd88d3be80efe5edc29956fa3b8368bf79f026a691f916567f12643cf7f38a09265db656457d34600a7fe6e6
 DIST llvm-project-7ff363c8283c1d41ecbdcdc45c8b724b52312d67.tar.gz 128585110 BLAKE2B 2902b68f08f6a978a08061a145e93d0cbea57e4c47431b0249a06ae986e739d9fbb749b2e59996abcc25834cff59ab2dc837debc7acc7ee12c3ec488cb300cab SHA512 b8e4a6858f1c4ffb26206e545095e64641fef4cee47188d5481d14780f6b8276f70b5c485da1fc26025ee42b6b984c2901caf85ade1599f1a6aa73e0ab190087
+DIST llvm-project-a0777f49050191c9e215a4880c855395ba805508.tar.gz 129045563 BLAKE2B 1234834158b43c7609037cf8eadbc2564dd432eae476f6993383c48164dc4718f450616c35fbddd451a01382ad633c2980c81d27c57b1275dd72a7afc22fe437 SHA512 952843621edfa2f60c08f4c934091acfaed50463f59c24e18821a0023f383840a7346d250e56d1df3ac40fb573957357d4f61f155a2e747508b3748ceaa4df25
 DIST pal-b1e752d402592628f61eb7e1aa2a802a205de798.tar.gz 8029839 BLAKE2B 776b85c0d5780a3b6a5a50d04609a20f1552a0afa0caff090013c2506bc9f97592b42f69941ac29697f3dced45e4619ca8be918e1b68fabd5c651893ba689d35 SHA512 5d98bcf1631d70620bb56a380c7b510f6f517d48e1cc0b2f7007687b929fc36af69d7478984756bf84e2f7e6934034c10f7bfce24b83df812de93e3a6b9b9faa
+DIST pal-f92844ecbba39be3d2663717ad69c3dffc282211.tar.gz 8049042 BLAKE2B a11b40deb3d9645b88861f9bb3ed198fab07baace72ee5c9566601d71b0cda94178161ea59d4ba09384b3c9f88fb40a956243aacbc5ccc3e1b6b58bc053ab98f SHA512 bc2bcfbfc6d1d39ae3ed0f409e9708c9ef7fe01c83d4941f68f3afd4936c014b143a82c65c4d59714c24d85c8dde4338de426ad3b48d68fb4077d0d08382a33c
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
+DIST xgl-86f61a31988a626371131a1633547b0d0ebfcfcb.tar.gz 818497 BLAKE2B 17973a57d15c96568107f6b27096f275a59405c97465f7788876282d1082e1d30f20a48b8a2c83553ec5ff0a7ba36c8a89885596386a8788192ed4a476035554 SHA512 028336666bc83a9df29b090852cfd1781a4dca70b477d8ddeb29e2347f01ff50c457f2da3ea9ad8880e6223451543cd8d695bd99108e2240b63e3b176a120536
 DIST xgl-fc11e79aab63337702d8efc05e5433dec9efdf06.tar.gz 810567 BLAKE2B 452a9264df787d42f18618e8d49cad9fb79f4a6ece505d238f5a09652505886555db892c8c6f4f6139c28cf7db6efc387330f101e32c1262f00fc5c6e1c17e74 SHA512 db50fcdac279eb17b977f47ca66397c7194d021dd4db9b4e34e4a0eccb6fdbda5222a57c306ac8fba8eec2986703596a5cb1b2130d8a1bcf81c30f69be0f2808

diff --git a/media-libs/amdvlk/amdvlk-2020.4.6.ebuild b/media-libs/amdvlk/amdvlk-2020.4.6.ebuild
new file mode 100644
index 00000000..f8984567
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2020.4.6.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.162"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.162[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="86f61a31988a626371131a1633547b0d0ebfcfcb"
+PAL_COMMIT="f92844ecbba39be3d2663717ad69c3dffc282211"
+LLPC_COMMIT="e2d38b0c8042efbc435e51696aba5c1abd256c88"
+SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
+LLVM_PROJECT_COMMIT="a0777f49050191c9e215a4880c855395ba805508"
+METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+			-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	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)"
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2021-02-06  5:14 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2021-02-06  5:14 UTC (permalink / raw
  To: gentoo-commits

commit:     3658362785c5a3fa1ef8ce354e18800af62304d8
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Feb  6 05:14:29 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Feb  6 05:14:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36583627

media-libs/amdvlk: experimental version of package

It might be unbuildable so I decided to temporary drop keywords

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   6 ++
 media-libs/amdvlk/amdvlk-2021.1.2.ebuild | 113 +++++++++++++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 24db624c..9e894294 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,13 +1,19 @@
 DIST AMDVLK-v-2020.Q4.5.tar.gz 32258 BLAKE2B e2acdbb87c0a53b45cbbceeda0b7a6432db5713891dc35d9c3c3932e20799fe0ab219de9f2d042ebd403c1904c5a1b0bdf23f8d1a033b7c6d7a17e7c65132373 SHA512 98158c82c08657d130d462f1e5e70f6c77749eb0f139c3b392984c1b44eed0828aab71c580747799a734fa0d581720c5b70779c4c5f5bd3dc269b128df95cec8
 DIST AMDVLK-v-2020.Q4.6.tar.gz 32275 BLAKE2B f7bb0e5df49df9fe5d0a2f5bb169a2fdec7c36548f53c5bd23702465373a754aa43659a2fc7c4b57882ffe64be4438911dcda3766cba26d5a9c08a4e5816e66f SHA512 be8b28ef15e9e7941c97296342393a645095617b96f189939be3885f1e430d7ee683868ec0b1aa6c9642f2572aa066f638b3f770bc425dcb5b284dbf655b32f3
+DIST AMDVLK-v-2021.Q1.2.tar.gz 32689 BLAKE2B 13269d8cf77c4dd808c160cce50b03160c6f639a65fe69bafb654f2e5045b595a17c8dc0e6e8a5e4801bcfa1818d0b4a4f3099ba4475ff627b2ec01c625e32fd SHA512 5f3a3cc408b18a5b6f94f816e0af14b499367097888bc28acd17f9ef4630f7f7fe9753d43855b4f9615f0bd73c0101151b2983174db73fe2b3477408ebce5dd2
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
 DIST llpc-38dcb76aadf729b67cabe15c2cc07a784020f704.tar.gz 2079177 BLAKE2B eb3f594b195af82faeeb9e9f5d73cc294d8178d7390183c083b4231f17a8382f0e72480f3e883b7d3e3b1f7a654974efd4d2dec1c60f6d9ae019696f467f296a SHA512 599ea375fc87621d0085bc9a1d68f00bbde42408c1b9f745ea7da8658c041cdc24722b763e53981a2ad844efa042348be7df939cee4459503ab66d462403ce32
+DIST llpc-86ed348f405120042a2540ec3157e28baf45dc81.tar.gz 2138674 BLAKE2B fc29be141042803de90ca1402bd3cc94ac465889ec139fb0bc39946b4798ec1c145e451938c1e3a28961d2d0d453774722ea23838b6a9cc55a7bf427ae3db49d SHA512 f814d1f084e22b5316fb47499ac2b48e389cb01e50083e2b0b7c531d9d2d22dc27aa3f525f9f3cb20b6cfdc85e1791f67415c2b90fd847828ea8229a0de67102
 DIST llpc-e2d38b0c8042efbc435e51696aba5c1abd256c88.tar.gz 2091062 BLAKE2B 64dbba4f1a9c1739e56015b149143ece3795022f81eb28cb05930a1b86e505789d474ab5e6483e9700f3dba07d30a21591417564e630b2fc0e4827ab7f61a0e3 SHA512 04c3f12e6c89cae9b44703bca545e824e9f6ccb6bd88d3be80efe5edc29956fa3b8368bf79f026a691f916567f12643cf7f38a09265db656457d34600a7fe6e6
+DIST llvm-project-1551e626ea6b19f81928d2e4eddab657eb82af9b.tar.gz 132456009 BLAKE2B eb17a949da39dafa46c9ff8de0e7e994a39167919981a0bc5c5281cb6c65100a4bc76dd5bdcfbef4a05b7cc0606a8f29c8c25775a722e8842950a730a81641e9 SHA512 1b5ebd367e5a978b3f39b203d5497862d57921ab2027239da798fdab92e7dccf1ecdc8ee80b8f3ec49474097576bcc2ab9b0cfb6660cd56ba1f87adb564addfe
 DIST llvm-project-7ff363c8283c1d41ecbdcdc45c8b724b52312d67.tar.gz 128585110 BLAKE2B 2902b68f08f6a978a08061a145e93d0cbea57e4c47431b0249a06ae986e739d9fbb749b2e59996abcc25834cff59ab2dc837debc7acc7ee12c3ec488cb300cab SHA512 b8e4a6858f1c4ffb26206e545095e64641fef4cee47188d5481d14780f6b8276f70b5c485da1fc26025ee42b6b984c2901caf85ade1599f1a6aa73e0ab190087
 DIST llvm-project-a0777f49050191c9e215a4880c855395ba805508.tar.gz 129045563 BLAKE2B 1234834158b43c7609037cf8eadbc2564dd432eae476f6993383c48164dc4718f450616c35fbddd451a01382ad633c2980c81d27c57b1275dd72a7afc22fe437 SHA512 952843621edfa2f60c08f4c934091acfaed50463f59c24e18821a0023f383840a7346d250e56d1df3ac40fb573957357d4f61f155a2e747508b3748ceaa4df25
+DIST pal-57cd977c79e4321c28dcb1a18a4aa23880aa48f4.tar.gz 8097698 BLAKE2B c3a644c61b9448155158333e870eac484bf1e529984306d9717e1e2a17d1f3acd7118a4ab794066303b4262759a7c8b58b4eb790c94ee19b610f85ef4e80b701 SHA512 610e9aa8f76dc7a9b1d742ce03551ba74dc35bd2e8e4428fc64d88d7daf406606af6006a0f227d4aed9ea2e14b86caf104630ada35f3cb98543db158646099e4
 DIST pal-b1e752d402592628f61eb7e1aa2a802a205de798.tar.gz 8029839 BLAKE2B 776b85c0d5780a3b6a5a50d04609a20f1552a0afa0caff090013c2506bc9f97592b42f69941ac29697f3dced45e4619ca8be918e1b68fabd5c651893ba689d35 SHA512 5d98bcf1631d70620bb56a380c7b510f6f517d48e1cc0b2f7007687b929fc36af69d7478984756bf84e2f7e6934034c10f7bfce24b83df812de93e3a6b9b9faa
 DIST pal-f92844ecbba39be3d2663717ad69c3dffc282211.tar.gz 8049042 BLAKE2B a11b40deb3d9645b88861f9bb3ed198fab07baace72ee5c9566601d71b0cda94178161ea59d4ba09384b3c9f88fb40a956243aacbc5ccc3e1b6b58bc053ab98f SHA512 bc2bcfbfc6d1d39ae3ed0f409e9708c9ef7fe01c83d4941f68f3afd4936c014b143a82c65c4d59714c24d85c8dde4338de426ad3b48d68fb4077d0d08382a33c
+DIST spvgen-6b84106b7e107173428647850b4ba93a75b23d84.tar.gz 19676 BLAKE2B 93560bdb1810685d36e1f9d42e95b5b7b4c5c22740c46178be5c05d6d5055000b1c01a71403f89d2091339e13ab2083ad02f24e7a3c687794eb34f1e1c557a78 SHA512 01f2012bb5c894e0ae4f267d903b835f5197699ce00a55b249f7525146da036dee1ac195df6d4e3f67e9e222b826458595e4d1fb2c8f9b2c05749bf2c98d1136
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
 DIST xgl-86f61a31988a626371131a1633547b0d0ebfcfcb.tar.gz 818497 BLAKE2B 17973a57d15c96568107f6b27096f275a59405c97465f7788876282d1082e1d30f20a48b8a2c83553ec5ff0a7ba36c8a89885596386a8788192ed4a476035554 SHA512 028336666bc83a9df29b090852cfd1781a4dca70b477d8ddeb29e2347f01ff50c457f2da3ea9ad8880e6223451543cd8d695bd99108e2240b63e3b176a120536
+DIST xgl-88a4f8c5657824f93790eefe3c9e078806c2a768.tar.gz 804535 BLAKE2B 6cf6db041857f3f32cd35766611871c739b0b7c6eed8c05c63e54c9cd210cce05f9e9dc4f5fe9bbdf028de3336f525b886afe8df39f215a78dff15412448309b SHA512 c37846c53850a4c5c5c7021e837f9dcc6bac94dca49a9eaa48663ada8e32de02aebaab3cbca7d99c1d38f39c9f7d2eadcb52fa52a12de8310b7e3e3bbd591211
 DIST xgl-fc11e79aab63337702d8efc05e5433dec9efdf06.tar.gz 810567 BLAKE2B 452a9264df787d42f18618e8d49cad9fb79f4a6ece505d238f5a09652505886555db892c8c6f4f6139c28cf7db6efc387330f101e32c1262f00fc5c6e1c17e74 SHA512 db50fcdac279eb17b977f47ca66397c7194d021dd4db9b4e34e4a0eccb6fdbda5222a57c306ac8fba8eec2986703596a5cb1b2130d8a1bcf81c30f69be0f2808

diff --git a/media-libs/amdvlk/amdvlk-2021.1.2.ebuild b/media-libs/amdvlk/amdvlk-2021.1.2.ebuild
new file mode 100644
index 00000000..eca5dccd
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2021.1.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+CMAKE_ECLASS=cmake
+
+inherit cmake-multilib check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
+DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.2.162"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.2.162[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="88a4f8c5657824f93790eefe3c9e078806c2a768"
+PAL_COMMIT="57cd977c79e4321c28dcb1a18a4aa23880aa48f4"
+LLPC_COMMIT="86ed348f405120042a2540ec3157e28baf45dc81"
+SPVGEN_COMMIT="6b84106b7e107173428647850b4ba93a75b23d84"
+LLVM_PROJECT_COMMIT="1551e626ea6b19f81928d2e4eddab657eb82af9b"
+METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
+CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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 )
+			)
+	CMAKE_BUILD_TYPE=$(usex debug "Debug" "Release")
+	cmake_src_configure
+}
+
+multilib_src_install() {
+	cmake_src_install
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+	fi
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	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)"
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2021-04-25 17:05 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2021-04-25 17:05 UTC (permalink / raw
  To: gentoo-commits

commit:     04ab21923071d6a4c1a70ae8e5030bfd8815f9cc
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Apr 25 16:36:23 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Apr 25 16:36:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04ab2192

media-libs/amdvlk: maintainership resigned

Closes: https://bugs.gentoo.org/775548
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/metadata.xml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index 4db592697..b8a13fdbe 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -1,11 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
-	<maintainer type="person">
-		<email>denis7774@gmail.com</email>
-		<name>Denis Reva</name>
-		<description>Partial maintainer</description>
-	</maintainer>
 	<longdescription lang="en">
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2021-05-05  7:32 Alessandro Barbieri
  0 siblings, 0 replies; 56+ messages in thread
From: Alessandro Barbieri @ 2021-05-05  7:32 UTC (permalink / raw
  To: gentoo-commits

commit:     98137c69c174ee59f388155a7cae7ddd3385d2c6
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May  5 07:30:27 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed May  5 07:32:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98137c69

media-libs/amdvlk: m-n

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/amdvlk/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index b8a13fdbe..ca953a98b 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
+	<!-- maintainer-needed -->
 	<longdescription lang="en">
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2021-12-16  8:47 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2021-12-16  8:47 UTC (permalink / raw
  To: gentoo-commits

commit:     7dac5c2206c41dd7855db2b5ef9830d7ee297c62
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Dec 16 08:47:25 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Dec 16 08:47:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7dac5c22

media-libs/amdvlk: See #665590

I've burned out trying to make it buildable
https://bugs.gentoo.org/665590#c73

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                         | 14 ++++---
 ...dvlk-2021.1.2.ebuild => amdvlk-2021.4.2.ebuild} | 44 +++++++++++-----------
 2 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 9e894294b..e329dd756 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,19 +1,21 @@
 DIST AMDVLK-v-2020.Q4.5.tar.gz 32258 BLAKE2B e2acdbb87c0a53b45cbbceeda0b7a6432db5713891dc35d9c3c3932e20799fe0ab219de9f2d042ebd403c1904c5a1b0bdf23f8d1a033b7c6d7a17e7c65132373 SHA512 98158c82c08657d130d462f1e5e70f6c77749eb0f139c3b392984c1b44eed0828aab71c580747799a734fa0d581720c5b70779c4c5f5bd3dc269b128df95cec8
 DIST AMDVLK-v-2020.Q4.6.tar.gz 32275 BLAKE2B f7bb0e5df49df9fe5d0a2f5bb169a2fdec7c36548f53c5bd23702465373a754aa43659a2fc7c4b57882ffe64be4438911dcda3766cba26d5a9c08a4e5816e66f SHA512 be8b28ef15e9e7941c97296342393a645095617b96f189939be3885f1e430d7ee683868ec0b1aa6c9642f2572aa066f638b3f770bc425dcb5b284dbf655b32f3
-DIST AMDVLK-v-2021.Q1.2.tar.gz 32689 BLAKE2B 13269d8cf77c4dd808c160cce50b03160c6f639a65fe69bafb654f2e5045b595a17c8dc0e6e8a5e4801bcfa1818d0b4a4f3099ba4475ff627b2ec01c625e32fd SHA512 5f3a3cc408b18a5b6f94f816e0af14b499367097888bc28acd17f9ef4630f7f7fe9753d43855b4f9615f0bd73c0101151b2983174db73fe2b3477408ebce5dd2
+DIST AMDVLK-v-2021.Q4.2-CWPack-39f8940199e60c44d4211cf8165dfd12876316fa.tar.gz 39581 BLAKE2B a3cf15d6525a886f5b95e7c3de7d283d4c637266c36312d7b44b7e240aa1b970ea1ee59e421e0fed4ad581ffcf5796cf91cf92162ac380b4fea9532e5c0ca28c SHA512 d642e693856df0808f499e34f36204b748eb969d6eb5a51138d7f894d78f92c955b89b743fde3b8f28904e407e7694a6092b85f3a91fc68c37477c57e1b59d3c
+DIST AMDVLK-v-2021.Q4.2-MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
+DIST AMDVLK-v-2021.Q4.2-llpc-80b124752f5f689b21d46a3fd459b2df659de187.tar.gz 2259366 BLAKE2B a304f87ddbfd3dbc9a5599ffa43c85b2615b185368543bb82672239a1834ea3ecc919f7b7ed34718229a93e3983dc09e5530e6449f128bf53b5eba14365b8699 SHA512 3307846069f17478daeb4174377cf37d1e490137cdfaf738d5b15a4ce017b102699bad004bb17ce9e9efeb89190693f2fd24b73f64d81b43a89de9082e4fcb6e
+DIST AMDVLK-v-2021.Q4.2-llvm-project-63581e1504f3854df7d1ea7aab6af935da1b515d.tar.gz 150625232 BLAKE2B 07b7a6ad6f0a7443ba81d029191bbd8a8f94abf3445697f96a65df0ba17bcc2b21af1bcad669210e6049e8371da9e0908032f8490d00ba11a06045b86ba21ada SHA512 651267c622e8e9d52a4732d7e7414e8c5b94ba98cd7d1ab59a5e36e69a26afbad98bd36c0cfd9a71c9b5e354a255c9807ebfe11d2105a1992402e576c18f7128
+DIST AMDVLK-v-2021.Q4.2-pal-61409c1cea19a2ca5ad00461b1e75b3ab46c4389.tar.gz 8773968 BLAKE2B e79dda192865235831f07069deafe7b17113f415436026cff81ecae45192e725c45ea8d65ee910a08f3c23fc74be0915f19e43b9b9580d5d4a91a624b6b5c344 SHA512 3a56fa25c10c9b99aa77d3a5bef09817c48ef62d9b03bac0d7216099404120496b7fb13d979e6ded5b406ad59b1472d54729d75f6025b4469aa8343de8604c1c
+DIST AMDVLK-v-2021.Q4.2-spvgen-0aa19873514a8272dfdc5cb8861859a52f5de503.tar.gz 20466 BLAKE2B 7cce36d8f5a6952b4eb49a5c7bc7b5e5ffac268d6ba6e852f5a959004f5626d27f06db6ae3d318a12ca164406d042db09df610f09e664de358aadf3e20b6d604 SHA512 1cc221f8665ed35b4ea867ee0b1059f81d9b7009b847e4795d10817f2e357330b07e254118f73392f4bf6ee74e9b61f8961719564203cf43ee9917006aa0b802
+DIST AMDVLK-v-2021.Q4.2-xgl-da1a583a51c69c115f9144b68ec2bdf5b6519056.tar.gz 960709 BLAKE2B 825e7d349da18e8a0beb42c4125bb208bd2e62780d97d5131e76e9ddc08dc6d60b2d78455aa245bb4172bb7ee7d64084307e48df2c18598cee638911fce8074c SHA512 a626459503b50a511ac04f4973036468336e9d55baecda5a84165f7209d867291ef35a9292734f38a53d13aaf70cd46fc8e3068fc3748d80278fcf3c5f8a54bb
+DIST AMDVLK-v-2021.Q4.2.tar.gz 30012 BLAKE2B 27d11126d54df299ce702adb7c66bd0aa8a905074dac0e2cd8560f2fa9c39deafd16885c15ae9df4f70f4008a446d8e90e1dcc50514afa7ab0a874d12b2e5334 SHA512 15fb89bb78039c36435fb9534588f08e0e0e6e6099d5e803e9bacafef8b5e81eedc19e0fcc7cd7ca7dad919397cab8b87b30b22950ae32945a5465da542d6d99
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
 DIST llpc-38dcb76aadf729b67cabe15c2cc07a784020f704.tar.gz 2079177 BLAKE2B eb3f594b195af82faeeb9e9f5d73cc294d8178d7390183c083b4231f17a8382f0e72480f3e883b7d3e3b1f7a654974efd4d2dec1c60f6d9ae019696f467f296a SHA512 599ea375fc87621d0085bc9a1d68f00bbde42408c1b9f745ea7da8658c041cdc24722b763e53981a2ad844efa042348be7df939cee4459503ab66d462403ce32
-DIST llpc-86ed348f405120042a2540ec3157e28baf45dc81.tar.gz 2138674 BLAKE2B fc29be141042803de90ca1402bd3cc94ac465889ec139fb0bc39946b4798ec1c145e451938c1e3a28961d2d0d453774722ea23838b6a9cc55a7bf427ae3db49d SHA512 f814d1f084e22b5316fb47499ac2b48e389cb01e50083e2b0b7c531d9d2d22dc27aa3f525f9f3cb20b6cfdc85e1791f67415c2b90fd847828ea8229a0de67102
 DIST llpc-e2d38b0c8042efbc435e51696aba5c1abd256c88.tar.gz 2091062 BLAKE2B 64dbba4f1a9c1739e56015b149143ece3795022f81eb28cb05930a1b86e505789d474ab5e6483e9700f3dba07d30a21591417564e630b2fc0e4827ab7f61a0e3 SHA512 04c3f12e6c89cae9b44703bca545e824e9f6ccb6bd88d3be80efe5edc29956fa3b8368bf79f026a691f916567f12643cf7f38a09265db656457d34600a7fe6e6
-DIST llvm-project-1551e626ea6b19f81928d2e4eddab657eb82af9b.tar.gz 132456009 BLAKE2B eb17a949da39dafa46c9ff8de0e7e994a39167919981a0bc5c5281cb6c65100a4bc76dd5bdcfbef4a05b7cc0606a8f29c8c25775a722e8842950a730a81641e9 SHA512 1b5ebd367e5a978b3f39b203d5497862d57921ab2027239da798fdab92e7dccf1ecdc8ee80b8f3ec49474097576bcc2ab9b0cfb6660cd56ba1f87adb564addfe
 DIST llvm-project-7ff363c8283c1d41ecbdcdc45c8b724b52312d67.tar.gz 128585110 BLAKE2B 2902b68f08f6a978a08061a145e93d0cbea57e4c47431b0249a06ae986e739d9fbb749b2e59996abcc25834cff59ab2dc837debc7acc7ee12c3ec488cb300cab SHA512 b8e4a6858f1c4ffb26206e545095e64641fef4cee47188d5481d14780f6b8276f70b5c485da1fc26025ee42b6b984c2901caf85ade1599f1a6aa73e0ab190087
 DIST llvm-project-a0777f49050191c9e215a4880c855395ba805508.tar.gz 129045563 BLAKE2B 1234834158b43c7609037cf8eadbc2564dd432eae476f6993383c48164dc4718f450616c35fbddd451a01382ad633c2980c81d27c57b1275dd72a7afc22fe437 SHA512 952843621edfa2f60c08f4c934091acfaed50463f59c24e18821a0023f383840a7346d250e56d1df3ac40fb573957357d4f61f155a2e747508b3748ceaa4df25
-DIST pal-57cd977c79e4321c28dcb1a18a4aa23880aa48f4.tar.gz 8097698 BLAKE2B c3a644c61b9448155158333e870eac484bf1e529984306d9717e1e2a17d1f3acd7118a4ab794066303b4262759a7c8b58b4eb790c94ee19b610f85ef4e80b701 SHA512 610e9aa8f76dc7a9b1d742ce03551ba74dc35bd2e8e4428fc64d88d7daf406606af6006a0f227d4aed9ea2e14b86caf104630ada35f3cb98543db158646099e4
 DIST pal-b1e752d402592628f61eb7e1aa2a802a205de798.tar.gz 8029839 BLAKE2B 776b85c0d5780a3b6a5a50d04609a20f1552a0afa0caff090013c2506bc9f97592b42f69941ac29697f3dced45e4619ca8be918e1b68fabd5c651893ba689d35 SHA512 5d98bcf1631d70620bb56a380c7b510f6f517d48e1cc0b2f7007687b929fc36af69d7478984756bf84e2f7e6934034c10f7bfce24b83df812de93e3a6b9b9faa
 DIST pal-f92844ecbba39be3d2663717ad69c3dffc282211.tar.gz 8049042 BLAKE2B a11b40deb3d9645b88861f9bb3ed198fab07baace72ee5c9566601d71b0cda94178161ea59d4ba09384b3c9f88fb40a956243aacbc5ccc3e1b6b58bc053ab98f SHA512 bc2bcfbfc6d1d39ae3ed0f409e9708c9ef7fe01c83d4941f68f3afd4936c014b143a82c65c4d59714c24d85c8dde4338de426ad3b48d68fb4077d0d08382a33c
-DIST spvgen-6b84106b7e107173428647850b4ba93a75b23d84.tar.gz 19676 BLAKE2B 93560bdb1810685d36e1f9d42e95b5b7b4c5c22740c46178be5c05d6d5055000b1c01a71403f89d2091339e13ab2083ad02f24e7a3c687794eb34f1e1c557a78 SHA512 01f2012bb5c894e0ae4f267d903b835f5197699ce00a55b249f7525146da036dee1ac195df6d4e3f67e9e222b826458595e4d1fb2c8f9b2c05749bf2c98d1136
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
 DIST xgl-86f61a31988a626371131a1633547b0d0ebfcfcb.tar.gz 818497 BLAKE2B 17973a57d15c96568107f6b27096f275a59405c97465f7788876282d1082e1d30f20a48b8a2c83553ec5ff0a7ba36c8a89885596386a8788192ed4a476035554 SHA512 028336666bc83a9df29b090852cfd1781a4dca70b477d8ddeb29e2347f01ff50c457f2da3ea9ad8880e6223451543cd8d695bd99108e2240b63e3b176a120536
-DIST xgl-88a4f8c5657824f93790eefe3c9e078806c2a768.tar.gz 804535 BLAKE2B 6cf6db041857f3f32cd35766611871c739b0b7c6eed8c05c63e54c9cd210cce05f9e9dc4f5fe9bbdf028de3336f525b886afe8df39f215a78dff15412448309b SHA512 c37846c53850a4c5c5c7021e837f9dcc6bac94dca49a9eaa48663ada8e32de02aebaab3cbca7d99c1d38f39c9f7d2eadcb52fa52a12de8310b7e3e3bbd591211
 DIST xgl-fc11e79aab63337702d8efc05e5433dec9efdf06.tar.gz 810567 BLAKE2B 452a9264df787d42f18618e8d49cad9fb79f4a6ece505d238f5a09652505886555db892c8c6f4f6139c28cf7db6efc387330f101e32c1262f00fc5c6e1c17e74 SHA512 db50fcdac279eb17b977f47ca66397c7194d021dd4db9b4e34e4a0eccb6fdbda5222a57c306ac8fba8eec2986703596a5cb1b2130d8a1bcf81c30f69be0f2808

diff --git a/media-libs/amdvlk/amdvlk-2021.1.2.ebuild b/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
similarity index 71%
rename from media-libs/amdvlk/amdvlk-2021.1.2.ebuild
rename to media-libs/amdvlk/amdvlk-2021.4.2.ebuild
index eca5dccd5..a4b9ef85d 100644
--- a/media-libs/amdvlk/amdvlk-2021.1.2.ebuild
+++ b/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
@@ -1,37 +1,35 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-CMAKE_ECLASS=cmake
 
 inherit cmake-multilib check-reqs
 
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
 DESCRIPTION="AMD Open Source Driver for Vulkan"
 HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="" # Package is broken: https://github.com/GPUOpen-Drivers/llpc/issues/1594
 IUSE="debug wayland"
 REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
 ###DEPENDS
 BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
 DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.162"
+	${BUNDLED_LLVM_DEPEND}"
 BDEPEND="${BUNDLED_LLVM_DEPEND}
 	dev-util/cmake"
 RDEPEND=" ${DEPEND}
+	dev-util/vulkan-headers
 	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.2.162[${MULTILIB_USEDEP}]"
+	media-libs/vulkan-loader[${MULTILIB_USEDEP}]"
 
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
+CHECKREQS_MEMORY="8G"
+CHECKREQS_DISK_BUILD="4G"
 S="${WORKDIR}"
 CMAKE_USE_DIR="${S}/xgl"
 
@@ -40,24 +38,24 @@ FETCH_URI="https://github.com/GPUOpen-Drivers"
 CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
 ##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/default.xml
 ##and place commits in the desired variables
-## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
+## PSEUDOEXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="88a4f8c5657824f93790eefe3c9e078806c2a768"
-PAL_COMMIT="57cd977c79e4321c28dcb1a18a4aa23880aa48f4"
-LLPC_COMMIT="86ed348f405120042a2540ec3157e28baf45dc81"
-SPVGEN_COMMIT="6b84106b7e107173428647850b4ba93a75b23d84"
-LLVM_PROJECT_COMMIT="1551e626ea6b19f81928d2e4eddab657eb82af9b"
+XGL_COMMIT="da1a583a51c69c115f9144b68ec2bdf5b6519056"
+PAL_COMMIT="61409c1cea19a2ca5ad00461b1e75b3ab46c4389"
+LLPC_COMMIT="80b124752f5f689b21d46a3fd459b2df659de187"
+SPVGEN_COMMIT="0aa19873514a8272dfdc5cb8861859a52f5de503"
+LLVM_PROJECT_COMMIT="63581e1504f3854df7d1ea7aab6af935da1b515d"
 METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
+CWPACK_COMMIT="39f8940199e60c44d4211cf8165dfd12876316fa"
 ## SRC_URI
 SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-CWPack-${CWPACK_COMMIT}.tar.gz"
 
 ###EBUILD FUNCTIONS
 src_prepare() {


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-09-19 10:25 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-09-19 10:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9b98861fd042989de5f76e21561a96e76039c62c
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Sep 19 10:25:01 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Sep 19 10:25:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b98861f

media-libs/amdvlk: Version from gentoo bug

Bug: https://bugs.gentoo.org/665590
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   8 ++
 media-libs/amdvlk/amdvlk-2022.3.1.ebuild | 121 +++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index e329dd756..4aca432ad 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -8,14 +8,22 @@ DIST AMDVLK-v-2021.Q4.2-pal-61409c1cea19a2ca5ad00461b1e75b3ab46c4389.tar.gz 8773
 DIST AMDVLK-v-2021.Q4.2-spvgen-0aa19873514a8272dfdc5cb8861859a52f5de503.tar.gz 20466 BLAKE2B 7cce36d8f5a6952b4eb49a5c7bc7b5e5ffac268d6ba6e852f5a959004f5626d27f06db6ae3d318a12ca164406d042db09df610f09e664de358aadf3e20b6d604 SHA512 1cc221f8665ed35b4ea867ee0b1059f81d9b7009b847e4795d10817f2e357330b07e254118f73392f4bf6ee74e9b61f8961719564203cf43ee9917006aa0b802
 DIST AMDVLK-v-2021.Q4.2-xgl-da1a583a51c69c115f9144b68ec2bdf5b6519056.tar.gz 960709 BLAKE2B 825e7d349da18e8a0beb42c4125bb208bd2e62780d97d5131e76e9ddc08dc6d60b2d78455aa245bb4172bb7ee7d64084307e48df2c18598cee638911fce8074c SHA512 a626459503b50a511ac04f4973036468336e9d55baecda5a84165f7209d867291ef35a9292734f38a53d13aaf70cd46fc8e3068fc3748d80278fcf3c5f8a54bb
 DIST AMDVLK-v-2021.Q4.2.tar.gz 30012 BLAKE2B 27d11126d54df299ce702adb7c66bd0aa8a905074dac0e2cd8560f2fa9c39deafd16885c15ae9df4f70f4008a446d8e90e1dcc50514afa7ab0a874d12b2e5334 SHA512 15fb89bb78039c36435fb9534588f08e0e0e6e6099d5e803e9bacafef8b5e81eedc19e0fcc7cd7ca7dad919397cab8b87b30b22950ae32945a5465da542d6d99
+DIST AMDVLK-v-2022.Q3.1.tar.gz 30017 BLAKE2B 4abbdb709d6d61331185f7cef3e78228a9a7ad633ddf96e4ca18870fb9f7b04c1dd393864d6f85e349c56d20bffded81d95556f6625d7a8be7dc2ef6ed78de10 SHA512 e8a1662e14861fbb90ca4bad3dcff15932ce0e43b27e2fc0bfefd5f7eff359e1c46acedb6e168583646237e030da6948ef8640fe6b4ff1693f9a7ba16f1081a4
+DIST CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
+DIST MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
 DIST llpc-38dcb76aadf729b67cabe15c2cc07a784020f704.tar.gz 2079177 BLAKE2B eb3f594b195af82faeeb9e9f5d73cc294d8178d7390183c083b4231f17a8382f0e72480f3e883b7d3e3b1f7a654974efd4d2dec1c60f6d9ae019696f467f296a SHA512 599ea375fc87621d0085bc9a1d68f00bbde42408c1b9f745ea7da8658c041cdc24722b763e53981a2ad844efa042348be7df939cee4459503ab66d462403ce32
+DIST llpc-d4763a9dcab538955bc5ad4b5c6e0139d8fe8949.tar.gz 2344266 BLAKE2B 30243cef585f77a9a7edaa162696926c5f4ee0c9612e0339b2e28d06968f57760f3ab31ddfd028bab8d0f4c78e3e46cc23a1139b244f21860af067c3a363e2af SHA512 51e17e92ab6ed9ba10d974326f9c25cd9bb994a305c781851c48cca48a868eb5977f5b733f5bd57ee22863a93a695fab2a527badf9eb46b7e16c284bdfa98b3d
 DIST llpc-e2d38b0c8042efbc435e51696aba5c1abd256c88.tar.gz 2091062 BLAKE2B 64dbba4f1a9c1739e56015b149143ece3795022f81eb28cb05930a1b86e505789d474ab5e6483e9700f3dba07d30a21591417564e630b2fc0e4827ab7f61a0e3 SHA512 04c3f12e6c89cae9b44703bca545e824e9f6ccb6bd88d3be80efe5edc29956fa3b8368bf79f026a691f916567f12643cf7f38a09265db656457d34600a7fe6e6
+DIST llvm-project-48f1931b2b7afd7e0800fa084b7c0c2176dabfd4.tar.gz 165520733 BLAKE2B a1cdcbf9fef341e50b640fd27f0c3c86b926df4fd165615a6c35462bb61cf42d5c559fde0d92569cf697e7346de9f080db479e85c27ead331a8cd2fe5d61b99f SHA512 92d68c73ef7bdec96fc1eff351019b95791240d3c7d1862888fa7f584106453dccdfe243d053e09128717cd1b0257956b4cdedb1fc53525f7bdbb88091e26ea9
 DIST llvm-project-7ff363c8283c1d41ecbdcdc45c8b724b52312d67.tar.gz 128585110 BLAKE2B 2902b68f08f6a978a08061a145e93d0cbea57e4c47431b0249a06ae986e739d9fbb749b2e59996abcc25834cff59ab2dc837debc7acc7ee12c3ec488cb300cab SHA512 b8e4a6858f1c4ffb26206e545095e64641fef4cee47188d5481d14780f6b8276f70b5c485da1fc26025ee42b6b984c2901caf85ade1599f1a6aa73e0ab190087
 DIST llvm-project-a0777f49050191c9e215a4880c855395ba805508.tar.gz 129045563 BLAKE2B 1234834158b43c7609037cf8eadbc2564dd432eae476f6993383c48164dc4718f450616c35fbddd451a01382ad633c2980c81d27c57b1275dd72a7afc22fe437 SHA512 952843621edfa2f60c08f4c934091acfaed50463f59c24e18821a0023f383840a7346d250e56d1df3ac40fb573957357d4f61f155a2e747508b3748ceaa4df25
+DIST pal-8a99ffaa533ee561af7075d413f6052ea37a1a04.tar.gz 9107352 BLAKE2B eef5aa21f9fa2b121362848f0ca21e7c0ac8455a75502d9b8e6eb0d608ea1a39c843f5a0af9e3726264f8abe98b03027de7d87a82fe5550ccad7366c3fbf8aa7 SHA512 edb9fba33ca8a75d9f9cc5e89ed36c9f4a7914dc8e04564e7bad12113faa2bbd773fc94a2f9d34dc52ff22f5595f0b30c59408f869a654aa819bee97720c71d8
 DIST pal-b1e752d402592628f61eb7e1aa2a802a205de798.tar.gz 8029839 BLAKE2B 776b85c0d5780a3b6a5a50d04609a20f1552a0afa0caff090013c2506bc9f97592b42f69941ac29697f3dced45e4619ca8be918e1b68fabd5c651893ba689d35 SHA512 5d98bcf1631d70620bb56a380c7b510f6f517d48e1cc0b2f7007687b929fc36af69d7478984756bf84e2f7e6934034c10f7bfce24b83df812de93e3a6b9b9faa
 DIST pal-f92844ecbba39be3d2663717ad69c3dffc282211.tar.gz 8049042 BLAKE2B a11b40deb3d9645b88861f9bb3ed198fab07baace72ee5c9566601d71b0cda94178161ea59d4ba09384b3c9f88fb40a956243aacbc5ccc3e1b6b58bc053ab98f SHA512 bc2bcfbfc6d1d39ae3ed0f409e9708c9ef7fe01c83d4941f68f3afd4936c014b143a82c65c4d59714c24d85c8dde4338de426ad3b48d68fb4077d0d08382a33c
+DIST spvgen-3b61d0ce836d3832e19931be198f6f619206de4c.tar.gz 19986 BLAKE2B 3719d480dcc7a9751fd6ed7d0cf50a206eafac5ce53159758f7363ce13571daa2d95b4c61c2ba04b5d2520824f392f735abe9237b19bfd0d3ab204a01af9e149 SHA512 b3d5c71a0d801f21864fdd8b558adfc6ef048c0fc7368586d956112e6ed11779e09a583c4c8cb4593e3242043ee15230b122711e8abe837a9032dc88d1f6e353
 DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
+DIST xgl-394cbffcf388482354c7874a841a30d386d9abc8.tar.gz 1082157 BLAKE2B 956cf15de7a9027d954afa4ce43e7e68ec1cfae0bb0ed50250ea7bb73cf5ce2670591bc8963256b481ee08094177057caaaa4fba5350b3b211bc1081822c0e91 SHA512 88d867aa3a958206c3c1416ecde64dd1193f6b232d79e5f4658e9da13c8e2b5ef838ba5c56c79cfad4bfa43caee4abe5bd92b64448958e23ae7e856e54716089
 DIST xgl-86f61a31988a626371131a1633547b0d0ebfcfcb.tar.gz 818497 BLAKE2B 17973a57d15c96568107f6b27096f275a59405c97465f7788876282d1082e1d30f20a48b8a2c83553ec5ff0a7ba36c8a89885596386a8788192ed4a476035554 SHA512 028336666bc83a9df29b090852cfd1781a4dca70b477d8ddeb29e2347f01ff50c457f2da3ea9ad8880e6223451543cd8d695bd99108e2240b63e3b176a120536
 DIST xgl-fc11e79aab63337702d8efc05e5433dec9efdf06.tar.gz 810567 BLAKE2B 452a9264df787d42f18618e8d49cad9fb79f4a6ece505d238f5a09652505886555db892c8c6f4f6139c28cf7db6efc387330f101e32c1262f00fc5c6e1c17e74 SHA512 db50fcdac279eb17b977f47ca66397c7194d021dd4db9b4e34e4a0eccb6fdbda5222a57c306ac8fba8eec2986703596a5cb1b2130d8a1bcf81c30f69be0f2808

diff --git a/media-libs/amdvlk/amdvlk-2022.3.1.ebuild b/media-libs/amdvlk/amdvlk-2022.3.1.ebuild
new file mode 100644
index 000000000..5af901592
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2022.3.1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-minimal check-reqs
+
+#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
+DESCRIPTION="AMD Open Source Driver for Vulkan"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug wayland"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
+###DEPENDS
+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.210"
+BDEPEND="${BUNDLED_LLVM_DEPEND}
+	dev-util/cmake"
+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.210[${MULTILIB_USEDEP}]"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="2G"
+S="${WORKDIR}"
+CMAKE_USE_DIR="${S}/xgl"
+
+###SOURCE CODE VARIABLES
+FETCH_URI="https://github.com/GPUOpen-Drivers"
+CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
+##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="394cbffcf388482354c7874a841a30d386d9abc8"
+PAL_COMMIT="8a99ffaa533ee561af7075d413f6052ea37a1a04"
+LLPC_COMMIT="d4763a9dcab538955bc5ad4b5c6e0139d8fe8949"
+SPVGEN_COMMIT="3b61d0ce836d3832e19931be198f6f619206de4c"
+LLVM_PROJECT_COMMIT="48f1931b2b7afd7e0800fa084b7c0c2176dabfd4"
+METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
+CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
+## SRC_URI
+SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
+${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
+${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
+${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
+${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
+${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
+${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
+${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
+
+###EBUILD FUNCTIONS
+src_prepare() {
+	##moving src to proper directories
+	mkdir -p "${S}"
+	mkdir -p "${S}/third_party"
+	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
+	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
+	mv pal-${PAL_COMMIT}/ "${S}/pal"
+	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
+	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
+	cd "${S}/xgl"
+	default
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+		-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
+		-B"${BUILD_DIR}" )
+	cd "${S}"/xgl
+	cmake -H. "${mycmakeargs[@]}"
+}
+
+multilib_src_install() {
+	if use abi_x86_64 && multilib_is_native_abi; then
+		mkdir -p "${D}/usr/lib64/"
+		cp "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
+		insinto /usr/share/vulkan/implicit_layer.d
+		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
+	else
+		mkdir -p "${D}/usr/lib/"
+		cp "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
+		insinto /usr/share/vulkan/implicit_layer.d
+		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
+	fi
+}
+
+pkg_postinst() {
+	elog "More information about the configuration can be found here:"
+	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
+	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)"
+	ewarn "Else AMDVLK breaks things"
+	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
+	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
+	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
+	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
+	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
+	elog ""
+	elog "You can also use AMD_VULKAN_ICD to switch to the required driver."
+	elog "AMD_VULKAN_ICD=RADV application   - for using radv."
+	elog "AMD_VULKAN_ICD=AMDVLK application - for using amdvlk."
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-09-22  5:28 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-09-22  5:28 UTC (permalink / raw
  To: gentoo-commits

commit:     53f88efa2406c4a025836264a8f7cb7cd2ee2474
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Sep 22 05:28:14 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Sep 22 05:28:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53f88efa

media-libs/amdvlk: 2022.3.4 is experimental version, still not ready

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest                         |  8 ++
 media-libs/amdvlk/amdvlk-2021.4.2.ebuild           | 28 +++----
 ...dvlk-2021.4.2.ebuild => amdvlk-2022.3.4.ebuild} | 96 ++++++++++++----------
 3 files changed, 73 insertions(+), 59 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 4aca432ad..e6a1fe5a9 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -9,10 +9,18 @@ DIST AMDVLK-v-2021.Q4.2-spvgen-0aa19873514a8272dfdc5cb8861859a52f5de503.tar.gz 2
 DIST AMDVLK-v-2021.Q4.2-xgl-da1a583a51c69c115f9144b68ec2bdf5b6519056.tar.gz 960709 BLAKE2B 825e7d349da18e8a0beb42c4125bb208bd2e62780d97d5131e76e9ddc08dc6d60b2d78455aa245bb4172bb7ee7d64084307e48df2c18598cee638911fce8074c SHA512 a626459503b50a511ac04f4973036468336e9d55baecda5a84165f7209d867291ef35a9292734f38a53d13aaf70cd46fc8e3068fc3748d80278fcf3c5f8a54bb
 DIST AMDVLK-v-2021.Q4.2.tar.gz 30012 BLAKE2B 27d11126d54df299ce702adb7c66bd0aa8a905074dac0e2cd8560f2fa9c39deafd16885c15ae9df4f70f4008a446d8e90e1dcc50514afa7ab0a874d12b2e5334 SHA512 15fb89bb78039c36435fb9534588f08e0e0e6e6099d5e803e9bacafef8b5e81eedc19e0fcc7cd7ca7dad919397cab8b87b30b22950ae32945a5465da542d6d99
 DIST AMDVLK-v-2022.Q3.1.tar.gz 30017 BLAKE2B 4abbdb709d6d61331185f7cef3e78228a9a7ad633ddf96e4ca18870fb9f7b04c1dd393864d6f85e349c56d20bffded81d95556f6625d7a8be7dc2ef6ed78de10 SHA512 e8a1662e14861fbb90ca4bad3dcff15932ce0e43b27e2fc0bfefd5f7eff359e1c46acedb6e168583646237e030da6948ef8640fe6b4ff1693f9a7ba16f1081a4
+DIST AMDVLK-v-2022.Q3.4.tar.gz 29752 BLAKE2B a20c33d06034337a1786f0701a5798416e33e008c1b3f49f069f12352647635a62053d40eafe847e8bc0b2917cc59d10fdd843b7283a229725249616c4b15bfc SHA512 cbc161d1ab88cd43fd98b7c73244f53d838935cd7255a97b5fd5b01f02c9c014f763324363f379cc1fd1cf17151955186f01b1209a880aea9e463ef5e7be3916
 DIST CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
+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-c1df7354336aba18d54c0e32a95b58eac0d44c07.tar.gz 273130 BLAKE2B ae88ac12ab34f6f9934bb5f151812a5f4a8c055e0f3665754608344fba85c4fc2fd743eb9d770f741ebb4392b364ca8bcd57d43a35ab0710bca52c92c437f46b SHA512 078cc01979c4b8944f6a4196317ab6de7d8aea24df6b7882d258e72fbf85559a2260042eb65e82143e3af41ee154adb5fe54e767b074d46d302d82fa88fa07e4
+DIST amdvlk-llpc-58214602f9bc8583795d60c21bf2f122df02d6b5.tar.gz 2444994 BLAKE2B 941ec7e7e4538dfe84ff14382389b20757276105f6d3d1744b55beb6ab5af809a525b77be14087f28797ca5ba623e65d18fe3d6db738c1276ea7559cae6ee9cc SHA512 f27a5cc61121d61cfc58b4e0c28435d678c9dc1e0b9839462ee746ef4089d49aa599ad852b2f5df01746db38589e306fb029e098f4dd60cf74e021362c4243a2
+DIST amdvlk-llvm-project-f5023e507645c8178128891b96bf463f9a1a81a0.tar.gz 165884582 BLAKE2B d59d58ef37526690bf691f84915ab8353277c14241d097af82fddb225a37fd664c67711d572d02ab17eb9222e53d000f1e7e73a53db9afeefe65f42a705e3764 SHA512 57a48854b118a8204b06c7bd48417856708353eee36a6bdf0b7b98111a7fd5f6e6650f7a4e81d1646c6c12ba0e26bbb1fbcd2b477e17f16db35054400392b446
+DIST amdvlk-pal-9078fd5c95e2afd5331b414c07464efd37e4e0fb.tar.gz 11671512 BLAKE2B 2b796a10869cdb22b31944912866b01dfde49cf97446ab9711f98a6028caf54f7a16c88a173c57c57c5538e29d21a572852cc663b59633abc8f9aaab0e707791 SHA512 aefda31b77afdda11e8e0f8597fb159b5701a7f56f25a5b865185e81238fa45a7426af49ebfad57c0b3ec299cda417bd2a570d04e8c6f8e0d493d7c71a46bbea
+DIST amdvlk-xgl-6a26878147ab246a8885ab5b4b8897626870c1cd.tar.gz 1177671 BLAKE2B 30b857230adf2174d6c51367ffb407bd347e3d8299d56e902dddc3129514376b564f48f06f4659ed558f5631d3f4c83d00d3e423f9d7aacd88578511b9c634a8 SHA512 06600624542ca549892fde15286102d8cdcbe0cb9bdba5b83da2ab19c05774b62990d73fae6a29ce623a7ce54d2bf4ab248743cbd3f41ee899bde941b71c5d79
 DIST llpc-38dcb76aadf729b67cabe15c2cc07a784020f704.tar.gz 2079177 BLAKE2B eb3f594b195af82faeeb9e9f5d73cc294d8178d7390183c083b4231f17a8382f0e72480f3e883b7d3e3b1f7a654974efd4d2dec1c60f6d9ae019696f467f296a SHA512 599ea375fc87621d0085bc9a1d68f00bbde42408c1b9f745ea7da8658c041cdc24722b763e53981a2ad844efa042348be7df939cee4459503ab66d462403ce32
 DIST llpc-d4763a9dcab538955bc5ad4b5c6e0139d8fe8949.tar.gz 2344266 BLAKE2B 30243cef585f77a9a7edaa162696926c5f4ee0c9612e0339b2e28d06968f57760f3ab31ddfd028bab8d0f4c78e3e46cc23a1139b244f21860af067c3a363e2af SHA512 51e17e92ab6ed9ba10d974326f9c25cd9bb994a305c781851c48cca48a868eb5977f5b733f5bd57ee22863a93a695fab2a527badf9eb46b7e16c284bdfa98b3d
 DIST llpc-e2d38b0c8042efbc435e51696aba5c1abd256c88.tar.gz 2091062 BLAKE2B 64dbba4f1a9c1739e56015b149143ece3795022f81eb28cb05930a1b86e505789d474ab5e6483e9700f3dba07d30a21591417564e630b2fc0e4827ab7f61a0e3 SHA512 04c3f12e6c89cae9b44703bca545e824e9f6ccb6bd88d3be80efe5edc29956fa3b8368bf79f026a691f916567f12643cf7f38a09265db656457d34600a7fe6e6

diff --git a/media-libs/amdvlk/amdvlk-2021.4.2.ebuild b/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
index a4b9ef85d..29a40e23e 100644
--- a/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
+++ b/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
@@ -81,20 +81,20 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 
-multilib_src_install() {
-	cmake_src_install
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
+# multilib_src_install() {
+# 	cmake_src_install
+# 	if use abi_x86_64 && multilib_is_native_abi; then
+# 		mkdir -p "${D}/usr/lib64/"
+# 		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+# 		insinto /usr/share/vulkan/icd.d
+# 		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
+# 	else
+# 		mkdir -p "${D}/usr/lib/"
+# 		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+# 		insinto /usr/share/vulkan/icd.d
+# 		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
+# 	fi
+# }
 
 pkg_postinst() {
 	elog "More information about the configuration can be found here:"

diff --git a/media-libs/amdvlk/amdvlk-2021.4.2.ebuild b/media-libs/amdvlk/amdvlk-2022.3.4.ebuild
similarity index 52%
copy from media-libs/amdvlk/amdvlk-2021.4.2.ebuild
copy to media-libs/amdvlk/amdvlk-2022.3.4.ebuild
index a4b9ef85d..5294089ea 100644
--- a/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,62 +11,63 @@ DESCRIPTION="AMD Open Source Driver for Vulkan"
 HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="" # Package is broken: https://github.com/GPUOpen-Drivers/llpc/issues/1594
-IUSE="debug wayland"
+KEYWORDS=""
+IUSE="wayland"
 REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
 ###DEPENDS
 BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
 DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}"
+	${BUNDLED_LLVM_DEPEND}
+	>=dev-util/vulkan-headers-1.3.224"
 BDEPEND="${BUNDLED_LLVM_DEPEND}
 	dev-util/cmake"
 RDEPEND=" ${DEPEND}
-	dev-util/vulkan-headers
 	x11-libs/libdrm[${MULTILIB_USEDEP}]
 	x11-libs/libXrandr[${MULTILIB_USEDEP}]
 	x11-libs/libxcb[${MULTILIB_USEDEP}]
 	x11-libs/libxshmfence[${MULTILIB_USEDEP}]
-	media-libs/vulkan-loader[${MULTILIB_USEDEP}]"
+	>=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
+	dev-util/glslang
+	dev-util/DirectXShaderCompiler"
 
-CHECKREQS_MEMORY="8G"
+CHECKREQS_MEMORY="16G"
 CHECKREQS_DISK_BUILD="4G"
 S="${WORKDIR}"
 CMAKE_USE_DIR="${S}/xgl"
 
-###SOURCE CODE VARIABLES
+###SOURCE CODE PER_VERSION VARIABLES
 FETCH_URI="https://github.com/GPUOpen-Drivers"
 CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
 ##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/default.xml
 ##and place commits in the desired variables
-## PSEUDOEXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
+## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="da1a583a51c69c115f9144b68ec2bdf5b6519056"
-PAL_COMMIT="61409c1cea19a2ca5ad00461b1e75b3ab46c4389"
-LLPC_COMMIT="80b124752f5f689b21d46a3fd459b2df659de187"
-SPVGEN_COMMIT="0aa19873514a8272dfdc5cb8861859a52f5de503"
-LLVM_PROJECT_COMMIT="63581e1504f3854df7d1ea7aab6af935da1b515d"
-METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
-CWPACK_COMMIT="39f8940199e60c44d4211cf8165dfd12876316fa"
-## SRC_URI
+XGL_COMMIT="6a26878147ab246a8885ab5b4b8897626870c1cd"
+PAL_COMMIT="9078fd5c95e2afd5331b414c07464efd37e4e0fb"
+LLPC_COMMIT="58214602f9bc8583795d60c21bf2f122df02d6b5"
+GPURT_COMMIT="c1df7354336aba18d54c0e32a95b58eac0d44c07"
+LLVM_PROJECT_COMMIT="f5023e507645c8178128891b96bf463f9a1a81a0"
+METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
+CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
+# end
 SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-CWPack-${CWPACK_COMMIT}.tar.gz"
+${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"
 
-###EBUILD FUNCTIONS
 src_prepare() {
-	##moving src to proper directories
+	einfo "moving src to proper directories"
 	mkdir -p "${S}"
 	mkdir -p "${S}/third_party"
 	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
 	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
 	mv pal-${PAL_COMMIT}/ "${S}/pal"
 	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
+	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"
@@ -75,32 +76,33 @@ src_prepare() {
 
 multilib_src_configure() {
 	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
+			-DBUILD_WAYLAND_SUPPORT=$(usex wayland)
 			)
-	CMAKE_BUILD_TYPE=$(usex debug "Debug" "Release")
 	cmake_src_configure
 }
-
-multilib_src_install() {
-	cmake_src_install
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
+# multilib_src_install() {
+# 	if use abi_x86_64 && multilib_is_native_abi; then
+# 		mkdir -p "${D}/usr/lib64/"
+# 		cp "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
+# 		insinto /usr/share/vulkan/icd.d
+# 		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
+# 		insinto /usr/share/vulkan/implicit_layer.d
+# 		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
+# 	else
+# 		mkdir -p "${D}/usr/lib/"
+# 		cp "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
+# 		insinto /usr/share/vulkan/icd.d
+# 		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
+# 		insinto /usr/share/vulkan/implicit_layer.d
+# 		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
+# 	fi
+# }
 
 pkg_postinst() {
 	elog "More information about the configuration can be found here:"
 	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
 	ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
-	ewarn "| Driver      \"modesetting\""
+	ewarn "| Driver	  \"modesetting\""
 	ewarn "and make sure you use DRI3 mode for Xorg (not revelant for wayland)"
 	ewarn "Else AMDVLK breaks things"
 	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
@@ -108,4 +110,8 @@ pkg_postinst() {
 	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
 	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
 	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
+	elog ""
+	elog "You can also use AMD_VULKAN_ICD to switch to the required driver."
+	elog "AMD_VULKAN_ICD=RADV application   - for using radv."
+	elog "AMD_VULKAN_ICD=AMDVLK application - for using amdvlk."
 }


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-04 13:15 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-04 13:15 UTC (permalink / raw
  To: gentoo-commits

commit:     d768dde28dcc9cb2a0746c41fa22dfbe052955e5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Oct  4 12:59:12 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Oct  4 12:59:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d768dde2

media-libs/amdvlk: amdvlk updated to 2022.3.4 with refactoring

Significant changes in dependencies and in build system, it uses cmake-multilib to
build

Now the package depends on DirectXShaderCompiler and glslang

Changed installation directory to /usr/lib/llvm/amdvlk

Using dynamic linking instead of static build

Bug: https://bugs.gentoo.org/665590
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |  1 -
 media-libs/amdvlk/amdvlk-2022.3.4.ebuild | 73 +++++++++++++++-----------------
 media-libs/amdvlk/metadata.xml           |  6 ++-
 3 files changed, 38 insertions(+), 42 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index e6a1fe5a9..0346e757c 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -9,7 +9,6 @@ DIST AMDVLK-v-2021.Q4.2-spvgen-0aa19873514a8272dfdc5cb8861859a52f5de503.tar.gz 2
 DIST AMDVLK-v-2021.Q4.2-xgl-da1a583a51c69c115f9144b68ec2bdf5b6519056.tar.gz 960709 BLAKE2B 825e7d349da18e8a0beb42c4125bb208bd2e62780d97d5131e76e9ddc08dc6d60b2d78455aa245bb4172bb7ee7d64084307e48df2c18598cee638911fce8074c SHA512 a626459503b50a511ac04f4973036468336e9d55baecda5a84165f7209d867291ef35a9292734f38a53d13aaf70cd46fc8e3068fc3748d80278fcf3c5f8a54bb
 DIST AMDVLK-v-2021.Q4.2.tar.gz 30012 BLAKE2B 27d11126d54df299ce702adb7c66bd0aa8a905074dac0e2cd8560f2fa9c39deafd16885c15ae9df4f70f4008a446d8e90e1dcc50514afa7ab0a874d12b2e5334 SHA512 15fb89bb78039c36435fb9534588f08e0e0e6e6099d5e803e9bacafef8b5e81eedc19e0fcc7cd7ca7dad919397cab8b87b30b22950ae32945a5465da542d6d99
 DIST AMDVLK-v-2022.Q3.1.tar.gz 30017 BLAKE2B 4abbdb709d6d61331185f7cef3e78228a9a7ad633ddf96e4ca18870fb9f7b04c1dd393864d6f85e349c56d20bffded81d95556f6625d7a8be7dc2ef6ed78de10 SHA512 e8a1662e14861fbb90ca4bad3dcff15932ce0e43b27e2fc0bfefd5f7eff359e1c46acedb6e168583646237e030da6948ef8640fe6b4ff1693f9a7ba16f1081a4
-DIST AMDVLK-v-2022.Q3.4.tar.gz 29752 BLAKE2B a20c33d06034337a1786f0701a5798416e33e008c1b3f49f069f12352647635a62053d40eafe847e8bc0b2917cc59d10fdd843b7283a229725249616c4b15bfc SHA512 cbc161d1ab88cd43fd98b7c73244f53d838935cd7255a97b5fd5b01f02c9c014f763324363f379cc1fd1cf17151955186f01b1209a880aea9e463ef5e7be3916
 DIST CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
 DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9

diff --git a/media-libs/amdvlk/amdvlk-2022.3.4.ebuild b/media-libs/amdvlk/amdvlk-2022.3.4.ebuild
index 5294089ea..05624b9ba 100644
--- a/media-libs/amdvlk/amdvlk-2022.3.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.3.4.ebuild
@@ -4,30 +4,33 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
+PYTHON_COMPAT=( python3_{8..11} )
 
-inherit cmake-multilib check-reqs
+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=""
+KEYWORDS="~amd64 ~x86"
 IUSE="wayland"
 REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
+
 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"
 BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
+	${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
+	dev-util/glslang[${MULTILIB_USEDEP}]
 	dev-util/DirectXShaderCompiler"
 
 CHECKREQS_MEMORY="16G"
@@ -37,8 +40,7 @@ CMAKE_USE_DIR="${S}/xgl"
 
 ###SOURCE CODE PER_VERSION VARIABLES
 FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/default.xml
+##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 ..."
@@ -49,9 +51,8 @@ GPURT_COMMIT="c1df7354336aba18d54c0e32a95b58eac0d44c07"
 LLVM_PROJECT_COMMIT="f5023e507645c8178128891b96bf463f9a1a81a0"
 METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
 CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
-# end
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> amdvlk-xgl-${XGL_COMMIT}.tar.gz
+# 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
@@ -63,7 +64,6 @@ src_prepare() {
 	einfo "moving src to proper directories"
 	mkdir -p "${S}"
 	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
 	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
 	mv pal-${PAL_COMMIT}/ "${S}/pal"
 	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
@@ -76,42 +76,35 @@ src_prepare() {
 
 multilib_src_configure() {
 	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland)
-			)
+		-DBUILD_WAYLAND_SUPPORT=$(usex wayland)
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/amdvlk"
+		-DLLVM_VERSION_SUFFIX="-$(get_libdir)-amdvlk"
+		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
+		-Wno-dev
+		)
 	cmake_src_configure
 }
-# multilib_src_install() {
-# 	if use abi_x86_64 && multilib_is_native_abi; then
-# 		mkdir -p "${D}/usr/lib64/"
-# 		cp "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-# 		insinto /usr/share/vulkan/icd.d
-# 		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
-# 		insinto /usr/share/vulkan/implicit_layer.d
-# 		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
-# 	else
-# 		mkdir -p "${D}/usr/lib/"
-# 		cp "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-# 		insinto /usr/share/vulkan/icd.d
-# 		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
-# 		insinto /usr/share/vulkan/implicit_layer.d
-# 		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
-# 	fi
-# }
+multilib_src_install(){
+	cmake_src_install
+	rm -r "${D}"/var/ || die "can't remove incorrect temporary files of amdvlk"
+	einfo "Correcting permissions of amdvlk $(get_libdir) libraries"
+	fperms -R 775 /usr/lib/llvm/amdvlk/$(get_libdir)
+}
+
+multilib_src_install_all() {
+	cat > "99${PN}" <<-EOF
+		LDPATH="${EPREFIX}/usr/lib/llvm/amdvlk/lib:${EPREFIX}/usr/lib/llvm/amdvlk/lib64"
+	EOF
+	doenvd "99${PN}"
+}
 
 pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
 	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)"
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
-	elog ""
-	elog "You can also use AMD_VULKAN_ICD to switch to the required driver."
+	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."
 }

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index ca953a98b..86929ff1a 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -1,7 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>denis7774@gmail.com</email>
+		<name>Denis Reva</name>
+		<description>rarogcmex</description>
+	</maintainer>
 	<longdescription lang="en">
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-04 13:15 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-04 13:15 UTC (permalink / raw
  To: gentoo-commits

commit:     8ceb17f61a4df6c10ff513a1917da9dc7f2583dd
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Oct  4 13:15:00 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Oct  4 13:15:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ceb17f6

media-libs/amdvlk: amdvlk updated to latest 2022.3.5

Bug: https://bugs.gentoo.org/665590
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   5 ++
 media-libs/amdvlk/amdvlk-2022.3.5.ebuild | 110 +++++++++++++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 3087560bd..bd3709874 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -3,10 +3,15 @@ DIST CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a8
 DIST MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 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-b89f22aadd0a335be632055434a7f8ba152fcb37.tar.gz 278191 BLAKE2B 9774616f6875601136108f2e9d6336f18c5d58a98cd9dc01839df210cc5d484bcd0b6a754cec8660216ab92275aa88fa20bcc4d5b36fa727e258abd7d2e23a7f SHA512 9fa3ac42ec8ac416a1fe92ece3573f4a3ba874f6c3e8fce42754b89aace825f4ee680789ddd7e5ab3cac83b5eb04934d2e659a7543925b5ecdb7d8dbb91c4b92
 DIST amdvlk-gpurt-c1df7354336aba18d54c0e32a95b58eac0d44c07.tar.gz 273130 BLAKE2B ae88ac12ab34f6f9934bb5f151812a5f4a8c055e0f3665754608344fba85c4fc2fd743eb9d770f741ebb4392b364ca8bcd57d43a35ab0710bca52c92c437f46b SHA512 078cc01979c4b8944f6a4196317ab6de7d8aea24df6b7882d258e72fbf85559a2260042eb65e82143e3af41ee154adb5fe54e767b074d46d302d82fa88fa07e4
 DIST amdvlk-llpc-58214602f9bc8583795d60c21bf2f122df02d6b5.tar.gz 2444994 BLAKE2B 941ec7e7e4538dfe84ff14382389b20757276105f6d3d1744b55beb6ab5af809a525b77be14087f28797ca5ba623e65d18fe3d6db738c1276ea7559cae6ee9cc SHA512 f27a5cc61121d61cfc58b4e0c28435d678c9dc1e0b9839462ee746ef4089d49aa599ad852b2f5df01746db38589e306fb029e098f4dd60cf74e021362c4243a2
+DIST amdvlk-llpc-7857f2e209fc65374f2891be52e3a4a22fbae483.tar.gz 2467228 BLAKE2B 9715d5721770725371c1faa2d33f0217e998b5fc77aeb6a665d0a200db54d337fdfb3d9561abf54cf035009fb1dfd41b3e2e0ecf78eaceb5890877303d67a3ab SHA512 8a5a18ad64ee97d36aa7ae87c31112985c49c6755ae850fea141710cf54ff1610828eb5d35ea8f2a0148be9090f0c04099c94948e0c2489f68b0b58966847d03
+DIST amdvlk-llvm-project-5c82ef808fd269c95f5bd166d1846149e3afadc2.tar.gz 167121209 BLAKE2B 7a3da40252e68a58588a5b8e640f324f89ab750f98e4d5d58ba164ba4fa9a19561100b1e84cc75d93347101837e50a70c8d33bc3bca211990134fefd11e31a12 SHA512 d2b68885737ab77e976b6cddce733ad1ca5295e390b6900765b54d82b6d5d9fe9099d5c16dbb2e8c8e1c266c9e22e1c6298be2b41e7d48ecfc5521f3d960a692
 DIST amdvlk-llvm-project-f5023e507645c8178128891b96bf463f9a1a81a0.tar.gz 165884582 BLAKE2B d59d58ef37526690bf691f84915ab8353277c14241d097af82fddb225a37fd664c67711d572d02ab17eb9222e53d000f1e7e73a53db9afeefe65f42a705e3764 SHA512 57a48854b118a8204b06c7bd48417856708353eee36a6bdf0b7b98111a7fd5f6e6650f7a4e81d1646c6c12ba0e26bbb1fbcd2b477e17f16db35054400392b446
 DIST amdvlk-pal-9078fd5c95e2afd5331b414c07464efd37e4e0fb.tar.gz 11671512 BLAKE2B 2b796a10869cdb22b31944912866b01dfde49cf97446ab9711f98a6028caf54f7a16c88a173c57c57c5538e29d21a572852cc663b59633abc8f9aaab0e707791 SHA512 aefda31b77afdda11e8e0f8597fb159b5701a7f56f25a5b865185e81238fa45a7426af49ebfad57c0b3ec299cda417bd2a570d04e8c6f8e0d493d7c71a46bbea
+DIST amdvlk-pal-ae55b19b7553bf204b4945de9c11c5b05bc0e167.tar.gz 11241268 BLAKE2B f2fc5db1070493e3d79342143ec5005880d6a71669b8d741bde5d1c0f40b54b60f9e2f68a8092d6a398606ec97a95d0c7ab79ecbfe6568fee335e5a99b6631f1 SHA512 249ceb603a2f18391419053f11606a14483a2bbb097ce6b270b50a723a209db8125f08c719d61891f75cf9edbbaac20217bdcf4f820e35e933ea84594094d6e9
+DIST amdvlk-xgl-4118707939c2f4783d28ce2a383184a3794ca477.tar.gz 1188889 BLAKE2B 7e51c1fb954c2eca42544f6a890e996cbfb196cc3ad216d43a56feacbe16242240b1e2eefc8ebc13cb1c43d5541151e15369541a59abcef83c15daf15dedc14a SHA512 8735d6e0d008a066d2ac1ac9c7bdb31e162380a08c06e8f57c6d3e0c4a768b7a11484a5542c4b60c0ce91e560ea6d38c784ae8a6af25a72adcbefd7d95c88152
 DIST amdvlk-xgl-6a26878147ab246a8885ab5b4b8897626870c1cd.tar.gz 1177671 BLAKE2B 30b857230adf2174d6c51367ffb407bd347e3d8299d56e902dddc3129514376b564f48f06f4659ed558f5631d3f4c83d00d3e423f9d7aacd88578511b9c634a8 SHA512 06600624542ca549892fde15286102d8cdcbe0cb9bdba5b83da2ab19c05774b62990d73fae6a29ce623a7ce54d2bf4ab248743cbd3f41ee899bde941b71c5d79
 DIST llpc-d4763a9dcab538955bc5ad4b5c6e0139d8fe8949.tar.gz 2344266 BLAKE2B 30243cef585f77a9a7edaa162696926c5f4ee0c9612e0339b2e28d06968f57760f3ab31ddfd028bab8d0f4c78e3e46cc23a1139b244f21860af067c3a363e2af SHA512 51e17e92ab6ed9ba10d974326f9c25cd9bb994a305c781851c48cca48a868eb5977f5b733f5bd57ee22863a93a695fab2a527badf9eb46b7e16c284bdfa98b3d
 DIST llvm-project-48f1931b2b7afd7e0800fa084b7c0c2176dabfd4.tar.gz 165520733 BLAKE2B a1cdcbf9fef341e50b640fd27f0c3c86b926df4fd165615a6c35462bb61cf42d5c559fde0d92569cf697e7346de9f080db479e85c27ead331a8cd2fe5d61b99f SHA512 92d68c73ef7bdec96fc1eff351019b95791240d3c7d1862888fa7f584106453dccdfe243d053e09128717cd1b0257956b4cdedb1fc53525f7bdbb88091e26ea9

diff --git a/media-libs/amdvlk/amdvlk-2022.3.5.ebuild b/media-libs/amdvlk/amdvlk-2022.3.5.ebuild
new file mode 100644
index 000000000..8328310d3
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2022.3.5.ebuild
@@ -0,0 +1,110 @@
+# 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"
+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"
+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-util/DirectXShaderCompiler"
+
+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="4118707939c2f4783d28ce2a383184a3794ca477"
+PAL_COMMIT="ae55b19b7553bf204b4945de9c11c5b05bc0e167"
+LLPC_COMMIT="7857f2e209fc65374f2891be52e3a4a22fbae483"
+GPURT_COMMIT="b89f22aadd0a335be632055434a7f8ba152fcb37"
+LLVM_PROJECT_COMMIT="5c82ef808fd269c95f5bd166d1846149e3afadc2"
+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"
+
+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)
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/amdvlk"
+		-DLLVM_VERSION_SUFFIX="-$(get_libdir)-amdvlk"
+		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
+		-Wno-dev
+		)
+	cmake_src_configure
+}
+multilib_src_install(){
+	cmake_src_install
+	rm -r "${D}"/var/ || die "can't remove incorrect temporary files of amdvlk"
+	einfo "Correcting permissions of amdvlk $(get_libdir) libraries"
+	fperms -R 775 /usr/lib/llvm/amdvlk/$(get_libdir)
+}
+
+multilib_src_install_all() {
+	cat > "99${PN}" <<-EOF
+		LDPATH="${EPREFIX}/usr/lib/llvm/amdvlk/lib:${EPREFIX}/usr/lib/llvm/amdvlk/lib64"
+	EOF
+	doenvd "99${PN}"
+}
+
+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."
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-04 13:15 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-04 13:15 UTC (permalink / raw
  To: gentoo-commits

commit:     d2709216c4454f41b19982146f8086ff921da6f3
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Oct  4 13:00:38 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Oct  4 13:00:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2709216

media-libs/amdvlk: Removed obsolete and experimental versions of amdvlk

Bug: https://bugs.gentoo.org/665590
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |  21 ------
 media-libs/amdvlk/amdvlk-2020.4.5.ebuild | 113 -------------------------------
 media-libs/amdvlk/amdvlk-2020.4.6.ebuild | 113 -------------------------------
 media-libs/amdvlk/amdvlk-2021.4.2.ebuild | 111 ------------------------------
 4 files changed, 358 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 0346e757c..3087560bd 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,18 +1,6 @@
-DIST AMDVLK-v-2020.Q4.5.tar.gz 32258 BLAKE2B e2acdbb87c0a53b45cbbceeda0b7a6432db5713891dc35d9c3c3932e20799fe0ab219de9f2d042ebd403c1904c5a1b0bdf23f8d1a033b7c6d7a17e7c65132373 SHA512 98158c82c08657d130d462f1e5e70f6c77749eb0f139c3b392984c1b44eed0828aab71c580747799a734fa0d581720c5b70779c4c5f5bd3dc269b128df95cec8
-DIST AMDVLK-v-2020.Q4.6.tar.gz 32275 BLAKE2B f7bb0e5df49df9fe5d0a2f5bb169a2fdec7c36548f53c5bd23702465373a754aa43659a2fc7c4b57882ffe64be4438911dcda3766cba26d5a9c08a4e5816e66f SHA512 be8b28ef15e9e7941c97296342393a645095617b96f189939be3885f1e430d7ee683868ec0b1aa6c9642f2572aa066f638b3f770bc425dcb5b284dbf655b32f3
-DIST AMDVLK-v-2021.Q4.2-CWPack-39f8940199e60c44d4211cf8165dfd12876316fa.tar.gz 39581 BLAKE2B a3cf15d6525a886f5b95e7c3de7d283d4c637266c36312d7b44b7e240aa1b970ea1ee59e421e0fed4ad581ffcf5796cf91cf92162ac380b4fea9532e5c0ca28c SHA512 d642e693856df0808f499e34f36204b748eb969d6eb5a51138d7f894d78f92c955b89b743fde3b8f28904e407e7694a6092b85f3a91fc68c37477c57e1b59d3c
-DIST AMDVLK-v-2021.Q4.2-MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
-DIST AMDVLK-v-2021.Q4.2-llpc-80b124752f5f689b21d46a3fd459b2df659de187.tar.gz 2259366 BLAKE2B a304f87ddbfd3dbc9a5599ffa43c85b2615b185368543bb82672239a1834ea3ecc919f7b7ed34718229a93e3983dc09e5530e6449f128bf53b5eba14365b8699 SHA512 3307846069f17478daeb4174377cf37d1e490137cdfaf738d5b15a4ce017b102699bad004bb17ce9e9efeb89190693f2fd24b73f64d81b43a89de9082e4fcb6e
-DIST AMDVLK-v-2021.Q4.2-llvm-project-63581e1504f3854df7d1ea7aab6af935da1b515d.tar.gz 150625232 BLAKE2B 07b7a6ad6f0a7443ba81d029191bbd8a8f94abf3445697f96a65df0ba17bcc2b21af1bcad669210e6049e8371da9e0908032f8490d00ba11a06045b86ba21ada SHA512 651267c622e8e9d52a4732d7e7414e8c5b94ba98cd7d1ab59a5e36e69a26afbad98bd36c0cfd9a71c9b5e354a255c9807ebfe11d2105a1992402e576c18f7128
-DIST AMDVLK-v-2021.Q4.2-pal-61409c1cea19a2ca5ad00461b1e75b3ab46c4389.tar.gz 8773968 BLAKE2B e79dda192865235831f07069deafe7b17113f415436026cff81ecae45192e725c45ea8d65ee910a08f3c23fc74be0915f19e43b9b9580d5d4a91a624b6b5c344 SHA512 3a56fa25c10c9b99aa77d3a5bef09817c48ef62d9b03bac0d7216099404120496b7fb13d979e6ded5b406ad59b1472d54729d75f6025b4469aa8343de8604c1c
-DIST AMDVLK-v-2021.Q4.2-spvgen-0aa19873514a8272dfdc5cb8861859a52f5de503.tar.gz 20466 BLAKE2B 7cce36d8f5a6952b4eb49a5c7bc7b5e5ffac268d6ba6e852f5a959004f5626d27f06db6ae3d318a12ca164406d042db09df610f09e664de358aadf3e20b6d604 SHA512 1cc221f8665ed35b4ea867ee0b1059f81d9b7009b847e4795d10817f2e357330b07e254118f73392f4bf6ee74e9b61f8961719564203cf43ee9917006aa0b802
-DIST AMDVLK-v-2021.Q4.2-xgl-da1a583a51c69c115f9144b68ec2bdf5b6519056.tar.gz 960709 BLAKE2B 825e7d349da18e8a0beb42c4125bb208bd2e62780d97d5131e76e9ddc08dc6d60b2d78455aa245bb4172bb7ee7d64084307e48df2c18598cee638911fce8074c SHA512 a626459503b50a511ac04f4973036468336e9d55baecda5a84165f7209d867291ef35a9292734f38a53d13aaf70cd46fc8e3068fc3748d80278fcf3c5f8a54bb
-DIST AMDVLK-v-2021.Q4.2.tar.gz 30012 BLAKE2B 27d11126d54df299ce702adb7c66bd0aa8a905074dac0e2cd8560f2fa9c39deafd16885c15ae9df4f70f4008a446d8e90e1dcc50514afa7ab0a874d12b2e5334 SHA512 15fb89bb78039c36435fb9534588f08e0e0e6e6099d5e803e9bacafef8b5e81eedc19e0fcc7cd7ca7dad919397cab8b87b30b22950ae32945a5465da542d6d99
 DIST AMDVLK-v-2022.Q3.1.tar.gz 30017 BLAKE2B 4abbdb709d6d61331185f7cef3e78228a9a7ad633ddf96e4ca18870fb9f7b04c1dd393864d6f85e349c56d20bffded81d95556f6625d7a8be7dc2ef6ed78de10 SHA512 e8a1662e14861fbb90ca4bad3dcff15932ce0e43b27e2fc0bfefd5f7eff359e1c46acedb6e168583646237e030da6948ef8640fe6b4ff1693f9a7ba16f1081a4
 DIST CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
-DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
 DIST MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
-DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
 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-c1df7354336aba18d54c0e32a95b58eac0d44c07.tar.gz 273130 BLAKE2B ae88ac12ab34f6f9934bb5f151812a5f4a8c055e0f3665754608344fba85c4fc2fd743eb9d770f741ebb4392b364ca8bcd57d43a35ab0710bca52c92c437f46b SHA512 078cc01979c4b8944f6a4196317ab6de7d8aea24df6b7882d258e72fbf85559a2260042eb65e82143e3af41ee154adb5fe54e767b074d46d302d82fa88fa07e4
@@ -20,17 +8,8 @@ DIST amdvlk-llpc-58214602f9bc8583795d60c21bf2f122df02d6b5.tar.gz 2444994 BLAKE2B
 DIST amdvlk-llvm-project-f5023e507645c8178128891b96bf463f9a1a81a0.tar.gz 165884582 BLAKE2B d59d58ef37526690bf691f84915ab8353277c14241d097af82fddb225a37fd664c67711d572d02ab17eb9222e53d000f1e7e73a53db9afeefe65f42a705e3764 SHA512 57a48854b118a8204b06c7bd48417856708353eee36a6bdf0b7b98111a7fd5f6e6650f7a4e81d1646c6c12ba0e26bbb1fbcd2b477e17f16db35054400392b446
 DIST amdvlk-pal-9078fd5c95e2afd5331b414c07464efd37e4e0fb.tar.gz 11671512 BLAKE2B 2b796a10869cdb22b31944912866b01dfde49cf97446ab9711f98a6028caf54f7a16c88a173c57c57c5538e29d21a572852cc663b59633abc8f9aaab0e707791 SHA512 aefda31b77afdda11e8e0f8597fb159b5701a7f56f25a5b865185e81238fa45a7426af49ebfad57c0b3ec299cda417bd2a570d04e8c6f8e0d493d7c71a46bbea
 DIST amdvlk-xgl-6a26878147ab246a8885ab5b4b8897626870c1cd.tar.gz 1177671 BLAKE2B 30b857230adf2174d6c51367ffb407bd347e3d8299d56e902dddc3129514376b564f48f06f4659ed558f5631d3f4c83d00d3e423f9d7aacd88578511b9c634a8 SHA512 06600624542ca549892fde15286102d8cdcbe0cb9bdba5b83da2ab19c05774b62990d73fae6a29ce623a7ce54d2bf4ab248743cbd3f41ee899bde941b71c5d79
-DIST llpc-38dcb76aadf729b67cabe15c2cc07a784020f704.tar.gz 2079177 BLAKE2B eb3f594b195af82faeeb9e9f5d73cc294d8178d7390183c083b4231f17a8382f0e72480f3e883b7d3e3b1f7a654974efd4d2dec1c60f6d9ae019696f467f296a SHA512 599ea375fc87621d0085bc9a1d68f00bbde42408c1b9f745ea7da8658c041cdc24722b763e53981a2ad844efa042348be7df939cee4459503ab66d462403ce32
 DIST llpc-d4763a9dcab538955bc5ad4b5c6e0139d8fe8949.tar.gz 2344266 BLAKE2B 30243cef585f77a9a7edaa162696926c5f4ee0c9612e0339b2e28d06968f57760f3ab31ddfd028bab8d0f4c78e3e46cc23a1139b244f21860af067c3a363e2af SHA512 51e17e92ab6ed9ba10d974326f9c25cd9bb994a305c781851c48cca48a868eb5977f5b733f5bd57ee22863a93a695fab2a527badf9eb46b7e16c284bdfa98b3d
-DIST llpc-e2d38b0c8042efbc435e51696aba5c1abd256c88.tar.gz 2091062 BLAKE2B 64dbba4f1a9c1739e56015b149143ece3795022f81eb28cb05930a1b86e505789d474ab5e6483e9700f3dba07d30a21591417564e630b2fc0e4827ab7f61a0e3 SHA512 04c3f12e6c89cae9b44703bca545e824e9f6ccb6bd88d3be80efe5edc29956fa3b8368bf79f026a691f916567f12643cf7f38a09265db656457d34600a7fe6e6
 DIST llvm-project-48f1931b2b7afd7e0800fa084b7c0c2176dabfd4.tar.gz 165520733 BLAKE2B a1cdcbf9fef341e50b640fd27f0c3c86b926df4fd165615a6c35462bb61cf42d5c559fde0d92569cf697e7346de9f080db479e85c27ead331a8cd2fe5d61b99f SHA512 92d68c73ef7bdec96fc1eff351019b95791240d3c7d1862888fa7f584106453dccdfe243d053e09128717cd1b0257956b4cdedb1fc53525f7bdbb88091e26ea9
-DIST llvm-project-7ff363c8283c1d41ecbdcdc45c8b724b52312d67.tar.gz 128585110 BLAKE2B 2902b68f08f6a978a08061a145e93d0cbea57e4c47431b0249a06ae986e739d9fbb749b2e59996abcc25834cff59ab2dc837debc7acc7ee12c3ec488cb300cab SHA512 b8e4a6858f1c4ffb26206e545095e64641fef4cee47188d5481d14780f6b8276f70b5c485da1fc26025ee42b6b984c2901caf85ade1599f1a6aa73e0ab190087
-DIST llvm-project-a0777f49050191c9e215a4880c855395ba805508.tar.gz 129045563 BLAKE2B 1234834158b43c7609037cf8eadbc2564dd432eae476f6993383c48164dc4718f450616c35fbddd451a01382ad633c2980c81d27c57b1275dd72a7afc22fe437 SHA512 952843621edfa2f60c08f4c934091acfaed50463f59c24e18821a0023f383840a7346d250e56d1df3ac40fb573957357d4f61f155a2e747508b3748ceaa4df25
 DIST pal-8a99ffaa533ee561af7075d413f6052ea37a1a04.tar.gz 9107352 BLAKE2B eef5aa21f9fa2b121362848f0ca21e7c0ac8455a75502d9b8e6eb0d608ea1a39c843f5a0af9e3726264f8abe98b03027de7d87a82fe5550ccad7366c3fbf8aa7 SHA512 edb9fba33ca8a75d9f9cc5e89ed36c9f4a7914dc8e04564e7bad12113faa2bbd773fc94a2f9d34dc52ff22f5595f0b30c59408f869a654aa819bee97720c71d8
-DIST pal-b1e752d402592628f61eb7e1aa2a802a205de798.tar.gz 8029839 BLAKE2B 776b85c0d5780a3b6a5a50d04609a20f1552a0afa0caff090013c2506bc9f97592b42f69941ac29697f3dced45e4619ca8be918e1b68fabd5c651893ba689d35 SHA512 5d98bcf1631d70620bb56a380c7b510f6f517d48e1cc0b2f7007687b929fc36af69d7478984756bf84e2f7e6934034c10f7bfce24b83df812de93e3a6b9b9faa
-DIST pal-f92844ecbba39be3d2663717ad69c3dffc282211.tar.gz 8049042 BLAKE2B a11b40deb3d9645b88861f9bb3ed198fab07baace72ee5c9566601d71b0cda94178161ea59d4ba09384b3c9f88fb40a956243aacbc5ccc3e1b6b58bc053ab98f SHA512 bc2bcfbfc6d1d39ae3ed0f409e9708c9ef7fe01c83d4941f68f3afd4936c014b143a82c65c4d59714c24d85c8dde4338de426ad3b48d68fb4077d0d08382a33c
 DIST spvgen-3b61d0ce836d3832e19931be198f6f619206de4c.tar.gz 19986 BLAKE2B 3719d480dcc7a9751fd6ed7d0cf50a206eafac5ce53159758f7363ce13571daa2d95b4c61c2ba04b5d2520824f392f735abe9237b19bfd0d3ab204a01af9e149 SHA512 b3d5c71a0d801f21864fdd8b558adfc6ef048c0fc7368586d956112e6ed11779e09a583c4c8cb4593e3242043ee15230b122711e8abe837a9032dc88d1f6e353
-DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
 DIST xgl-394cbffcf388482354c7874a841a30d386d9abc8.tar.gz 1082157 BLAKE2B 956cf15de7a9027d954afa4ce43e7e68ec1cfae0bb0ed50250ea7bb73cf5ce2670591bc8963256b481ee08094177057caaaa4fba5350b3b211bc1081822c0e91 SHA512 88d867aa3a958206c3c1416ecde64dd1193f6b232d79e5f4658e9da13c8e2b5ef838ba5c56c79cfad4bfa43caee4abe5bd92b64448958e23ae7e856e54716089
-DIST xgl-86f61a31988a626371131a1633547b0d0ebfcfcb.tar.gz 818497 BLAKE2B 17973a57d15c96568107f6b27096f275a59405c97465f7788876282d1082e1d30f20a48b8a2c83553ec5ff0a7ba36c8a89885596386a8788192ed4a476035554 SHA512 028336666bc83a9df29b090852cfd1781a4dca70b477d8ddeb29e2347f01ff50c457f2da3ea9ad8880e6223451543cd8d695bd99108e2240b63e3b176a120536
-DIST xgl-fc11e79aab63337702d8efc05e5433dec9efdf06.tar.gz 810567 BLAKE2B 452a9264df787d42f18618e8d49cad9fb79f4a6ece505d238f5a09652505886555db892c8c6f4f6139c28cf7db6efc387330f101e32c1262f00fc5c6e1c17e74 SHA512 db50fcdac279eb17b977f47ca66397c7194d021dd4db9b4e34e4a0eccb6fdbda5222a57c306ac8fba8eec2986703596a5cb1b2130d8a1bcf81c30f69be0f2808

diff --git a/media-libs/amdvlk/amdvlk-2020.4.5.ebuild b/media-libs/amdvlk/amdvlk-2020.4.5.ebuild
deleted file mode 100644
index d5c514a42..000000000
--- a/media-libs/amdvlk/amdvlk-2020.4.5.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.143"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.141[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="fc11e79aab63337702d8efc05e5433dec9efdf06"
-PAL_COMMIT="b1e752d402592628f61eb7e1aa2a802a205de798"
-LLPC_COMMIT="38dcb76aadf729b67cabe15c2cc07a784020f704"
-SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
-LLVM_PROJECT_COMMIT="7ff363c8283c1d41ecbdcdc45c8b724b52312d67"
-METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	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)"
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
-}

diff --git a/media-libs/amdvlk/amdvlk-2020.4.6.ebuild b/media-libs/amdvlk/amdvlk-2020.4.6.ebuild
deleted file mode 100644
index f89845675..000000000
--- a/media-libs/amdvlk/amdvlk-2020.4.6.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}
-	>=dev-util/vulkan-headers-1.2.162"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.2.162[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="86f61a31988a626371131a1633547b0d0ebfcfcb"
-PAL_COMMIT="f92844ecbba39be3d2663717ad69c3dffc282211"
-LLPC_COMMIT="e2d38b0c8042efbc435e51696aba5c1abd256c88"
-SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
-LLVM_PROJECT_COMMIT="a0777f49050191c9e215a4880c855395ba805508"
-METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
-CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-			-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-			-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-			-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-	fi
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	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)"
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
-}

diff --git a/media-libs/amdvlk/amdvlk-2021.4.2.ebuild b/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
deleted file mode 100644
index 29a40e23e..000000000
--- a/media-libs/amdvlk/amdvlk-2021.4.2.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit cmake-multilib check-reqs
-
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="" # Package is broken: https://github.com/GPUOpen-Drivers/llpc/issues/1594
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
-DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
-	${BUNDLED_LLVM_DEPEND}"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-RDEPEND=" ${DEPEND}
-	dev-util/vulkan-headers
-	x11-libs/libdrm[${MULTILIB_USEDEP}]
-	x11-libs/libXrandr[${MULTILIB_USEDEP}]
-	x11-libs/libxcb[${MULTILIB_USEDEP}]
-	x11-libs/libxshmfence[${MULTILIB_USEDEP}]
-	media-libs/vulkan-loader[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="8G"
-CHECKREQS_DISK_BUILD="4G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/default.xml
-##and place commits in the desired variables
-## PSEUDOEXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
-## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="da1a583a51c69c115f9144b68ec2bdf5b6519056"
-PAL_COMMIT="61409c1cea19a2ca5ad00461b1e75b3ab46c4389"
-LLPC_COMMIT="80b124752f5f689b21d46a3fd459b2df659de187"
-SPVGEN_COMMIT="0aa19873514a8272dfdc5cb8861859a52f5de503"
-LLVM_PROJECT_COMMIT="63581e1504f3854df7d1ea7aab6af935da1b515d"
-METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
-CWPACK_COMMIT="39f8940199e60c44d4211cf8165dfd12876316fa"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}-CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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 )
-			)
-	CMAKE_BUILD_TYPE=$(usex debug "Debug" "Release")
-	cmake_src_configure
-}
-
-# multilib_src_install() {
-# 	cmake_src_install
-# 	if use abi_x86_64 && multilib_is_native_abi; then
-# 		mkdir -p "${D}/usr/lib64/"
-# 		mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-# 		insinto /usr/share/vulkan/icd.d
-# 		doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
-# 	else
-# 		mkdir -p "${D}/usr/lib/"
-# 		mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-# 		insinto /usr/share/vulkan/icd.d
-# 		doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
-# 	fi
-# }
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	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)"
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
-}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-12  8:46 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-12  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     9ebf02cb8db16a568fd684976ac004db6c422357
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Oct 12 08:45:55 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Oct 12 08:45:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ebf02cb

media-libs/amdvlk: Removing obsolete versions of amdvlk

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |  13 ----
 media-libs/amdvlk/amdvlk-2022.3.1.ebuild | 121 -------------------------------
 media-libs/amdvlk/amdvlk-2022.3.4.ebuild | 110 ----------------------------
 3 files changed, 244 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index bd3709874..11df523cf 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,20 +1,7 @@
-DIST AMDVLK-v-2022.Q3.1.tar.gz 30017 BLAKE2B 4abbdb709d6d61331185f7cef3e78228a9a7ad633ddf96e4ca18870fb9f7b04c1dd393864d6f85e349c56d20bffded81d95556f6625d7a8be7dc2ef6ed78de10 SHA512 e8a1662e14861fbb90ca4bad3dcff15932ce0e43b27e2fc0bfefd5f7eff359e1c46acedb6e168583646237e030da6948ef8640fe6b4ff1693f9a7ba16f1081a4
-DIST CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
-DIST MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 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-b89f22aadd0a335be632055434a7f8ba152fcb37.tar.gz 278191 BLAKE2B 9774616f6875601136108f2e9d6336f18c5d58a98cd9dc01839df210cc5d484bcd0b6a754cec8660216ab92275aa88fa20bcc4d5b36fa727e258abd7d2e23a7f SHA512 9fa3ac42ec8ac416a1fe92ece3573f4a3ba874f6c3e8fce42754b89aace825f4ee680789ddd7e5ab3cac83b5eb04934d2e659a7543925b5ecdb7d8dbb91c4b92
-DIST amdvlk-gpurt-c1df7354336aba18d54c0e32a95b58eac0d44c07.tar.gz 273130 BLAKE2B ae88ac12ab34f6f9934bb5f151812a5f4a8c055e0f3665754608344fba85c4fc2fd743eb9d770f741ebb4392b364ca8bcd57d43a35ab0710bca52c92c437f46b SHA512 078cc01979c4b8944f6a4196317ab6de7d8aea24df6b7882d258e72fbf85559a2260042eb65e82143e3af41ee154adb5fe54e767b074d46d302d82fa88fa07e4
-DIST amdvlk-llpc-58214602f9bc8583795d60c21bf2f122df02d6b5.tar.gz 2444994 BLAKE2B 941ec7e7e4538dfe84ff14382389b20757276105f6d3d1744b55beb6ab5af809a525b77be14087f28797ca5ba623e65d18fe3d6db738c1276ea7559cae6ee9cc SHA512 f27a5cc61121d61cfc58b4e0c28435d678c9dc1e0b9839462ee746ef4089d49aa599ad852b2f5df01746db38589e306fb029e098f4dd60cf74e021362c4243a2
 DIST amdvlk-llpc-7857f2e209fc65374f2891be52e3a4a22fbae483.tar.gz 2467228 BLAKE2B 9715d5721770725371c1faa2d33f0217e998b5fc77aeb6a665d0a200db54d337fdfb3d9561abf54cf035009fb1dfd41b3e2e0ecf78eaceb5890877303d67a3ab SHA512 8a5a18ad64ee97d36aa7ae87c31112985c49c6755ae850fea141710cf54ff1610828eb5d35ea8f2a0148be9090f0c04099c94948e0c2489f68b0b58966847d03
 DIST amdvlk-llvm-project-5c82ef808fd269c95f5bd166d1846149e3afadc2.tar.gz 167121209 BLAKE2B 7a3da40252e68a58588a5b8e640f324f89ab750f98e4d5d58ba164ba4fa9a19561100b1e84cc75d93347101837e50a70c8d33bc3bca211990134fefd11e31a12 SHA512 d2b68885737ab77e976b6cddce733ad1ca5295e390b6900765b54d82b6d5d9fe9099d5c16dbb2e8c8e1c266c9e22e1c6298be2b41e7d48ecfc5521f3d960a692
-DIST amdvlk-llvm-project-f5023e507645c8178128891b96bf463f9a1a81a0.tar.gz 165884582 BLAKE2B d59d58ef37526690bf691f84915ab8353277c14241d097af82fddb225a37fd664c67711d572d02ab17eb9222e53d000f1e7e73a53db9afeefe65f42a705e3764 SHA512 57a48854b118a8204b06c7bd48417856708353eee36a6bdf0b7b98111a7fd5f6e6650f7a4e81d1646c6c12ba0e26bbb1fbcd2b477e17f16db35054400392b446
-DIST amdvlk-pal-9078fd5c95e2afd5331b414c07464efd37e4e0fb.tar.gz 11671512 BLAKE2B 2b796a10869cdb22b31944912866b01dfde49cf97446ab9711f98a6028caf54f7a16c88a173c57c57c5538e29d21a572852cc663b59633abc8f9aaab0e707791 SHA512 aefda31b77afdda11e8e0f8597fb159b5701a7f56f25a5b865185e81238fa45a7426af49ebfad57c0b3ec299cda417bd2a570d04e8c6f8e0d493d7c71a46bbea
 DIST amdvlk-pal-ae55b19b7553bf204b4945de9c11c5b05bc0e167.tar.gz 11241268 BLAKE2B f2fc5db1070493e3d79342143ec5005880d6a71669b8d741bde5d1c0f40b54b60f9e2f68a8092d6a398606ec97a95d0c7ab79ecbfe6568fee335e5a99b6631f1 SHA512 249ceb603a2f18391419053f11606a14483a2bbb097ce6b270b50a723a209db8125f08c719d61891f75cf9edbbaac20217bdcf4f820e35e933ea84594094d6e9
 DIST amdvlk-xgl-4118707939c2f4783d28ce2a383184a3794ca477.tar.gz 1188889 BLAKE2B 7e51c1fb954c2eca42544f6a890e996cbfb196cc3ad216d43a56feacbe16242240b1e2eefc8ebc13cb1c43d5541151e15369541a59abcef83c15daf15dedc14a SHA512 8735d6e0d008a066d2ac1ac9c7bdb31e162380a08c06e8f57c6d3e0c4a768b7a11484a5542c4b60c0ce91e560ea6d38c784ae8a6af25a72adcbefd7d95c88152
-DIST amdvlk-xgl-6a26878147ab246a8885ab5b4b8897626870c1cd.tar.gz 1177671 BLAKE2B 30b857230adf2174d6c51367ffb407bd347e3d8299d56e902dddc3129514376b564f48f06f4659ed558f5631d3f4c83d00d3e423f9d7aacd88578511b9c634a8 SHA512 06600624542ca549892fde15286102d8cdcbe0cb9bdba5b83da2ab19c05774b62990d73fae6a29ce623a7ce54d2bf4ab248743cbd3f41ee899bde941b71c5d79
-DIST llpc-d4763a9dcab538955bc5ad4b5c6e0139d8fe8949.tar.gz 2344266 BLAKE2B 30243cef585f77a9a7edaa162696926c5f4ee0c9612e0339b2e28d06968f57760f3ab31ddfd028bab8d0f4c78e3e46cc23a1139b244f21860af067c3a363e2af SHA512 51e17e92ab6ed9ba10d974326f9c25cd9bb994a305c781851c48cca48a868eb5977f5b733f5bd57ee22863a93a695fab2a527badf9eb46b7e16c284bdfa98b3d
-DIST llvm-project-48f1931b2b7afd7e0800fa084b7c0c2176dabfd4.tar.gz 165520733 BLAKE2B a1cdcbf9fef341e50b640fd27f0c3c86b926df4fd165615a6c35462bb61cf42d5c559fde0d92569cf697e7346de9f080db479e85c27ead331a8cd2fe5d61b99f SHA512 92d68c73ef7bdec96fc1eff351019b95791240d3c7d1862888fa7f584106453dccdfe243d053e09128717cd1b0257956b4cdedb1fc53525f7bdbb88091e26ea9
-DIST pal-8a99ffaa533ee561af7075d413f6052ea37a1a04.tar.gz 9107352 BLAKE2B eef5aa21f9fa2b121362848f0ca21e7c0ac8455a75502d9b8e6eb0d608ea1a39c843f5a0af9e3726264f8abe98b03027de7d87a82fe5550ccad7366c3fbf8aa7 SHA512 edb9fba33ca8a75d9f9cc5e89ed36c9f4a7914dc8e04564e7bad12113faa2bbd773fc94a2f9d34dc52ff22f5595f0b30c59408f869a654aa819bee97720c71d8
-DIST spvgen-3b61d0ce836d3832e19931be198f6f619206de4c.tar.gz 19986 BLAKE2B 3719d480dcc7a9751fd6ed7d0cf50a206eafac5ce53159758f7363ce13571daa2d95b4c61c2ba04b5d2520824f392f735abe9237b19bfd0d3ab204a01af9e149 SHA512 b3d5c71a0d801f21864fdd8b558adfc6ef048c0fc7368586d956112e6ed11779e09a583c4c8cb4593e3242043ee15230b122711e8abe837a9032dc88d1f6e353
-DIST xgl-394cbffcf388482354c7874a841a30d386d9abc8.tar.gz 1082157 BLAKE2B 956cf15de7a9027d954afa4ce43e7e68ec1cfae0bb0ed50250ea7bb73cf5ce2670591bc8963256b481ee08094177057caaaa4fba5350b3b211bc1081822c0e91 SHA512 88d867aa3a958206c3c1416ecde64dd1193f6b232d79e5f4658e9da13c8e2b5ef838ba5c56c79cfad4bfa43caee4abe5bd92b64448958e23ae7e856e54716089

diff --git a/media-libs/amdvlk/amdvlk-2022.3.1.ebuild b/media-libs/amdvlk/amdvlk-2022.3.1.ebuild
deleted file mode 100644
index 5af901592..000000000
--- a/media-libs/amdvlk/amdvlk-2022.3.1.ebuild
+++ /dev/null
@@ -1,121 +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} )
-
-inherit multilib-minimal check-reqs
-
-#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
-DESCRIPTION="AMD Open Source Driver for Vulkan"
-HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug wayland"
-REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
-###DEPENDS
-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.210"
-BDEPEND="${BUNDLED_LLVM_DEPEND}
-	dev-util/cmake"
-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.210[${MULTILIB_USEDEP}]"
-
-CHECKREQS_MEMORY="4G"
-CHECKREQS_DISK_BUILD="2G"
-S="${WORKDIR}"
-CMAKE_USE_DIR="${S}/xgl"
-
-###SOURCE CODE VARIABLES
-FETCH_URI="https://github.com/GPUOpen-Drivers"
-CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
-##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/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="394cbffcf388482354c7874a841a30d386d9abc8"
-PAL_COMMIT="8a99ffaa533ee561af7075d413f6052ea37a1a04"
-LLPC_COMMIT="d4763a9dcab538955bc5ad4b5c6e0139d8fe8949"
-SPVGEN_COMMIT="3b61d0ce836d3832e19931be198f6f619206de4c"
-LLVM_PROJECT_COMMIT="48f1931b2b7afd7e0800fa084b7c0c2176dabfd4"
-METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
-CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
-## SRC_URI
-SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
-${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
-${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
-${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
-${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
-${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
-${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
-${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
-
-###EBUILD FUNCTIONS
-src_prepare() {
-	##moving src to proper directories
-	mkdir -p "${S}"
-	mkdir -p "${S}/third_party"
-	mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
-	mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-	mv pal-${PAL_COMMIT}/ "${S}/pal"
-	mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-	mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
-	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"
-	cd "${S}/xgl"
-	default
-}
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-		-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-		-B"${BUILD_DIR}" )
-	cd "${S}"/xgl
-	cmake -H. "${mycmakeargs[@]}"
-}
-
-multilib_src_install() {
-	if use abi_x86_64 && multilib_is_native_abi; then
-		mkdir -p "${D}/usr/lib64/"
-		cp "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
-		insinto /usr/share/vulkan/implicit_layer.d
-		doins "${S}/build-abi_x86_64.amd64/icd/amd_icd64.json"
-	else
-		mkdir -p "${D}/usr/lib/"
-		cp "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
-		insinto /usr/share/vulkan/implicit_layer.d
-		doins "${S}/build-abi_x86_32.x86/icd/amd_icd32.json"
-	fi
-}
-
-pkg_postinst() {
-	elog "More information about the configuration can be found here:"
-	elog " https://github.com/GPUOpen-Drivers/AMDVLK"
-	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)"
-	ewarn "Else AMDVLK breaks things"
-	ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
-	elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
-	elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
-	elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
-	elog "For DXVK: use DXVK_FILTER_DEVICE_NAME= variable"
-	elog ""
-	elog "You can also use AMD_VULKAN_ICD to switch to the required driver."
-	elog "AMD_VULKAN_ICD=RADV application   - for using radv."
-	elog "AMD_VULKAN_ICD=AMDVLK application - for using amdvlk."
-}

diff --git a/media-libs/amdvlk/amdvlk-2022.3.4.ebuild b/media-libs/amdvlk/amdvlk-2022.3.4.ebuild
deleted file mode 100644
index 05624b9ba..000000000
--- a/media-libs/amdvlk/amdvlk-2022.3.4.ebuild
+++ /dev/null
@@ -1,110 +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"
-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"
-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-util/DirectXShaderCompiler"
-
-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="6a26878147ab246a8885ab5b4b8897626870c1cd"
-PAL_COMMIT="9078fd5c95e2afd5331b414c07464efd37e4e0fb"
-LLPC_COMMIT="58214602f9bc8583795d60c21bf2f122df02d6b5"
-GPURT_COMMIT="c1df7354336aba18d54c0e32a95b58eac0d44c07"
-LLVM_PROJECT_COMMIT="f5023e507645c8178128891b96bf463f9a1a81a0"
-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"
-
-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)
-		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/amdvlk"
-		-DLLVM_VERSION_SUFFIX="-$(get_libdir)-amdvlk"
-		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-		-Wno-dev
-		)
-	cmake_src_configure
-}
-multilib_src_install(){
-	cmake_src_install
-	rm -r "${D}"/var/ || die "can't remove incorrect temporary files of amdvlk"
-	einfo "Correcting permissions of amdvlk $(get_libdir) libraries"
-	fperms -R 775 /usr/lib/llvm/amdvlk/$(get_libdir)
-}
-
-multilib_src_install_all() {
-	cat > "99${PN}" <<-EOF
-		LDPATH="${EPREFIX}/usr/lib/llvm/amdvlk/lib:${EPREFIX}/usr/lib/llvm/amdvlk/lib64"
-	EOF
-	doenvd "99${PN}"
-}
-
-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."
-}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-19  6:54 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-19  6:54 UTC (permalink / raw
  To: gentoo-commits

commit:     a2f8fbe503a08532f48e7ff423dfa50ebfdc2ac4
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Oct 19 06:54:03 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Oct 19 06:54:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2f8fbe5

media-libs/amdvlk: Removing version with bug

Closes: https://bugs.gentoo.org/875821
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2022.3.5.ebuild | 110 -------------------------------
 1 file changed, 110 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.3.5.ebuild b/media-libs/amdvlk/amdvlk-2022.3.5.ebuild
deleted file mode 100644
index 8328310d3..000000000
--- a/media-libs/amdvlk/amdvlk-2022.3.5.ebuild
+++ /dev/null
@@ -1,110 +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"
-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"
-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-util/DirectXShaderCompiler"
-
-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="4118707939c2f4783d28ce2a383184a3794ca477"
-PAL_COMMIT="ae55b19b7553bf204b4945de9c11c5b05bc0e167"
-LLPC_COMMIT="7857f2e209fc65374f2891be52e3a4a22fbae483"
-GPURT_COMMIT="b89f22aadd0a335be632055434a7f8ba152fcb37"
-LLVM_PROJECT_COMMIT="5c82ef808fd269c95f5bd166d1846149e3afadc2"
-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"
-
-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)
-		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/amdvlk"
-		-DLLVM_VERSION_SUFFIX="-$(get_libdir)-amdvlk"
-		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-		-Wno-dev
-		)
-	cmake_src_configure
-}
-multilib_src_install(){
-	cmake_src_install
-	rm -r "${D}"/var/ || die "can't remove incorrect temporary files of amdvlk"
-	einfo "Correcting permissions of amdvlk $(get_libdir) libraries"
-	fperms -R 775 /usr/lib/llvm/amdvlk/$(get_libdir)
-}
-
-multilib_src_install_all() {
-	cat > "99${PN}" <<-EOF
-		LDPATH="${EPREFIX}/usr/lib/llvm/amdvlk/lib:${EPREFIX}/usr/lib/llvm/amdvlk/lib64"
-	EOF
-	doenvd "99${PN}"
-}
-
-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."
-}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-27  9:32 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-27  9:32 UTC (permalink / raw
  To: gentoo-commits

commit:     b3bfee0f9e57f6c5dcec711b0c3187f60ae9fc93
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Oct 27 09:30:07 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Oct 27 09:30:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b3bfee0f

media-libs/amdvlk: Fixed improper installation phase to clean things

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.1.ebuild b/media-libs/amdvlk/amdvlk-2022.4.1.ebuild
index a1204099a..7bdf5f66f 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.1.ebuild
@@ -94,8 +94,8 @@ multilib_check_headers() {
 	einfo "There is no headers"
 }
 
-multilib_src_install() {
-	cmake_src_install
+multilib_src_install_all() {
+	default
 	einfo "Removing unused LLVM parts…"
 	rm "${D}"/usr/lib/libLLVM*.a || die "Can't remove unused LLVM static libs"
 	rm "${D}"/usr/lib/libLTO* || die "Can't remove unused LLVM lto library"
@@ -104,7 +104,7 @@ multilib_src_install() {
 	rm -r "${D}"/usr/include || die "Can't remove unused include folder"
 	rm -r "${D}"/usr/lib/cmake || die "Can't remove unused LLVM cmake folder"
 	einfo "Removal done! Moving docs…"
-	mv "${D}"/usr/share/doc/amdvlk/* "${D}"/usr/share/doc/"amdvlk-${PV}"/ || die "Can't move docs"
+	mv "${D}"/usr/share/doc/amdvlk/* "${D}"/usr/share/doc/"amdvlk-${PV}"/ || ewarn "Can't move docs. It is not fatal"
 	einfo "Done!"
 }
 


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-27  9:32 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-27  9:32 UTC (permalink / raw
  To: gentoo-commits

commit:     5e5cc8846ddc65ff449f0c5c23ba731a7e3ba2b2
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Oct 27 09:32:11 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Oct 27 09:32:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e5cc884

media-libs/amdvlk: Changed message about headers

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp | Bin 171 -> 0 bytes
 media-libs/amdvlk/amdvlk-2022.4.1.ebuild           |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp b/media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp
deleted file mode 100644
index c4c106556..000000000
Binary files a/media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp and /dev/null differ

diff --git a/media-libs/amdvlk/amdvlk-2022.4.1.ebuild b/media-libs/amdvlk/amdvlk-2022.4.1.ebuild
index 7bdf5f66f..92d00b81a 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.1.ebuild
@@ -91,7 +91,7 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 multilib_check_headers() {
-	einfo "There is no headers"
+	einfo "Checking headers skipped: there is no headers"
 }
 
 multilib_src_install_all() {


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-10-27  9:32 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-10-27  9:32 UTC (permalink / raw
  To: gentoo-commits

commit:     aeea29b2d15b2d124a573db5875a9bbd1998ab80
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Oct 27 09:32:07 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Oct 27 09:32:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aeea29b2

media-libs/amdvlk: Changed message about headers

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp | Bin 0 -> 171 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp b/media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp
new file mode 100644
index 000000000..c4c106556
Binary files /dev/null and b/media-libs/amdvlk/.amdvlk-2022.4.1.ebuild.kate-swp differ


^ permalink raw reply	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-10  6:48 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-10  6:48 UTC (permalink / raw
  To: gentoo-commits

commit:     c0c680d324fea62c1dae0774d24c322bcfc3057e
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Dec 10 06:47:48 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Dec 10 06:48:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0c680d3

media-libs/amdvlk: Updated amdvlk to 2022.4.3, added use flag for raytracing support, updated metadata.xml

Bug: https://bugs.gentoo.org/665590
Closes: https://bugs.gentoo.org/860165
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   5 ++
 media-libs/amdvlk/amdvlk-2022.4.3.ebuild | 124 +++++++++++++++++++++++++++++++
 media-libs/amdvlk/metadata.xml           |   8 +-
 3 files changed, 136 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 0e8875ec9..184cc26ae 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,7 +1,12 @@
 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-385af58e0f1bbe2b4da5e0774c423f39fdaf3067.tar.gz 293102 BLAKE2B 3e62f7daac1bc412f5415cd43f3f23f1b32de165b074c21437a7c02dcb7e3b4172d333e2f8d6bf0b5a43d882d030af084aab6e8ab3c1391c355241597c9b0b33 SHA512 5d4b3ed4150673650dbfd781fef15d81afafd2227231badfadb2ba396b10213d9196add5c0a7bba45c275d1a9a3312e55310d177dbe8587f8378db6d998e531c
 DIST amdvlk-gpurt-889dd8db7228814a530f0a897ae1ce35543f4662.tar.gz 293078 BLAKE2B 18efc22b0467bd8756e7746169ebd7e7816821c89fe33a04a7d495101fcea136ab6d379d037741f353a5707d4c5f9e2a80a589a009882d380234b23d767cd089 SHA512 ed49a3c88d8e8d91f8e2d733d060a4999051b4fc79ec3b5224c88de32f586e913ea76a48c9fe09acdbacb5be933ab0bac07c321034b0a5703605379b85e11e74
+DIST amdvlk-llpc-6c817737b6545906db56da44c12f39b6470d8903.tar.gz 2497312 BLAKE2B 9d10a2d08bc02603d56708e25ad254bb166404cfa6e141c6c649b67fbd45f088d9b571a7395fc878c87c0defa9cc76dbf40048c72d84479a275a3ad5b9f13339 SHA512 fe8d6164f13bc63278afceefea10c54132834407e2da1f08264fd25eba876a48ff2d8c269413330db9522d717caefe0a7ee03f0188fa2ac50edfcdbdf9c40c01
 DIST amdvlk-llpc-83e59f978821ce09390b25838b6684fc11b04774.tar.gz 2489526 BLAKE2B b9f595245a43cee0499c5dc49abb1071844c9f018b6bd7073fda7942c3ba876eb5c37e130118de95a9acff83064f75db6f39d238e439e75ca5611990b5de0ae1 SHA512 45857a3bf658a98675c81ca29061dd77736e44660a643438aca71e1752104a8c318cb0c96152d9203e740e62278ad74b3e084117f2a7ddc65e43278470e59ffc
 DIST amdvlk-llvm-project-3c87d1ffe0dbaa60927d428afe3a4a2b3352c31b.tar.gz 167640231 BLAKE2B 15199760d50db4af5925f47ffdd4cb13b891cd76becd81dd96d0dbbb5785176ea7d272d12949d9446eccf1dc774150af04379586931e2b9b4faa1d6743cb265f SHA512 bd790236238fd068a7e7d438803ab307df34297f6aeff10c07dde43c6f51e582a92f0f084531f8f5c16e8cc52927ec67e8349eebf836e8cf295a22430aaf46a3
+DIST amdvlk-llvm-project-42a4d92d3c68995d04f1ed580613d162054f5795.tar.gz 167651563 BLAKE2B 4cfd4932dc15b4e0c8cf3b70403498c6fe77928a4a38d6d806f58d2399214eff4cef20ddd99c3f98675ffb02ec87e6931bfe05aa7d983fda2f4b6d2146d503ac SHA512 5372052bfe99a5b9f6b4d3c90d50912c90a4336361ff26c0b86cd0d1584e162e1fd9b3402bc65d6be6ab53290450dec0e6a051505d323e6b236640721d271dbe
 DIST amdvlk-pal-0f44ced5384c66d77df3dca1116c7daf7ccfdae5.tar.gz 11305484 BLAKE2B 774310e4b5d839ec1415340377c45b31fc60fde56250e9a2097ef0bbf1940a59b901a692215e28a7200cefa80b075b2e11882fe21b550f1e3edfebad203c28d3 SHA512 f96b79f3be4e5d0b82be7a37bfe546a2db466a92e9eb59053582b3b12a846fe737cd6e01a4d4725ef016611d850cb70b81fb478343b6d7b49832091f10f1e2b1
+DIST amdvlk-pal-4a23f7ca61e25c06fda9d9e3630da54182ca1ff3.tar.gz 11333128 BLAKE2B 86f747765430b8fbee5085a92a4fdceab3de0181c7cedf45f5e2c461cbd6a09d2592b2a2a2d08ad271bffeb3edbdf60223813dd60188c9cf4c9a19759dd39ae7 SHA512 cb62cd476f75a5fa5ca08379eb5fa4bd71014f14bf93c01f06d5226c6f3d96c9d19df61f61e852c00d5cf3b2b69bd21d7588690bdc10296a752feb00a733c695
 DIST amdvlk-xgl-0387177d6143533c88ff0d5ac045bf3994ee618b.tar.gz 1216290 BLAKE2B 30d0914538562ca923216a14be2b54f6d065c0a9f03bdaa11e163bf8c0e3499fdff79aaf6e0495e9d0dd12af526627447781259694e93cf4dab2712b0e1be623 SHA512 6531d1649a09d4f59ce70e8f0f7f9075585c86e5a0053038c6e11c6d9df77ec1dbc2ec12c67dd4e250911faf6d1701f30665c96b18b56bd247f2381c82991550
+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
new file mode 100644
index 000000000..8b4692f9a
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2022.4.3.ebuild
@@ -0,0 +1,124 @@
+# 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."
+}

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index 86929ff1a..2c3c1f6f4 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -2,12 +2,18 @@
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
 	<maintainer type="person">
-		<email>denis7774@gmail.com</email>
+		<email>rarog.cmex@yandex.ru</email>
 		<name>Denis Reva</name>
 		<description>rarogcmex</description>
 	</maintainer>
+	<use>
+		<flag name="raytracing">Enable Vulkan raytracing support in AMDVLK, requires dev-util/DirectXShaderCompiler to build. Disable if you have weak hardware.</flag>
+	</use>
 	<longdescription lang="en">
 		The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.
 		Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI.
 	</longdescription>
+	<upstream>
+		<remote-id type="github">GPUOpen-Drivers/AMDVLK</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-13 11:04 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-13 11:04 UTC (permalink / raw
  To: gentoo-commits

commit:     dba6dcfd80252a58d0a1df0d0ea36a96dc04a4f5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 13 11:03:46 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Dec 13 11:04:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dba6dcfd

media-libs/amdvlk: Reverting manifest changes

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml
index 2c3c1f6f4..3641533ab 100644
--- a/media-libs/amdvlk/metadata.xml
+++ b/media-libs/amdvlk/metadata.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
 	<maintainer type="person">
-		<email>rarog.cmex@yandex.ru</email>
+		<email>denis7774@gmail.com</email>
 		<name>Denis Reva</name>
 		<description>rarogcmex</description>
 	</maintainer>


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-16 15:12 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-16 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     d457ffbd39756e9bf97e34747ff7fed9df8d9e68
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Dec 16 15:12:17 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Dec 16 15:12:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d457ffbd

media-libs/amdvlk: Removed obsolete amdvlk-2022.4.2

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   9 +--
 media-libs/amdvlk/amdvlk-2022.4.2.ebuild | 122 -------------------------------
 2 files changed, 4 insertions(+), 127 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 184cc26ae..d4c9373bc 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,12 +1,11 @@
 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-gpurt-889dd8db7228814a530f0a897ae1ce35543f4662.tar.gz 293078 BLAKE2B 18efc22b0467bd8756e7746169ebd7e7816821c89fe33a04a7d495101fcea136ab6d379d037741f353a5707d4c5f9e2a80a589a009882d380234b23d767cd089 SHA512 ed49a3c88d8e8d91f8e2d733d060a4999051b4fc79ec3b5224c88de32f586e913ea76a48c9fe09acdbacb5be933ab0bac07c321034b0a5703605379b85e11e74
+DIST amdvlk-llpc-37dcb2e5cedb00bb025c84238d816f19c93b3060.tar.gz 2577832 BLAKE2B 2a8dfd168174997d15af685b5b51519698821fe9032917bae2271a32c6ad981376182cfdc3dcfdbe84369bff9de031af49a6bc838c12ca20950f0e26f99c4a5b SHA512 0366e402696354cd377e3e476970e006acd9b2dabb50d0b1434833946e28e8d5b250c51ede2efb9de4fbf71de1322724f68e9f5e0748001e0401d7549a48c19d
 DIST amdvlk-llpc-6c817737b6545906db56da44c12f39b6470d8903.tar.gz 2497312 BLAKE2B 9d10a2d08bc02603d56708e25ad254bb166404cfa6e141c6c649b67fbd45f088d9b571a7395fc878c87c0defa9cc76dbf40048c72d84479a275a3ad5b9f13339 SHA512 fe8d6164f13bc63278afceefea10c54132834407e2da1f08264fd25eba876a48ff2d8c269413330db9522d717caefe0a7ee03f0188fa2ac50edfcdbdf9c40c01
-DIST amdvlk-llpc-83e59f978821ce09390b25838b6684fc11b04774.tar.gz 2489526 BLAKE2B b9f595245a43cee0499c5dc49abb1071844c9f018b6bd7073fda7942c3ba876eb5c37e130118de95a9acff83064f75db6f39d238e439e75ca5611990b5de0ae1 SHA512 45857a3bf658a98675c81ca29061dd77736e44660a643438aca71e1752104a8c318cb0c96152d9203e740e62278ad74b3e084117f2a7ddc65e43278470e59ffc
-DIST amdvlk-llvm-project-3c87d1ffe0dbaa60927d428afe3a4a2b3352c31b.tar.gz 167640231 BLAKE2B 15199760d50db4af5925f47ffdd4cb13b891cd76becd81dd96d0dbbb5785176ea7d272d12949d9446eccf1dc774150af04379586931e2b9b4faa1d6743cb265f SHA512 bd790236238fd068a7e7d438803ab307df34297f6aeff10c07dde43c6f51e582a92f0f084531f8f5c16e8cc52927ec67e8349eebf836e8cf295a22430aaf46a3
 DIST amdvlk-llvm-project-42a4d92d3c68995d04f1ed580613d162054f5795.tar.gz 167651563 BLAKE2B 4cfd4932dc15b4e0c8cf3b70403498c6fe77928a4a38d6d806f58d2399214eff4cef20ddd99c3f98675ffb02ec87e6931bfe05aa7d983fda2f4b6d2146d503ac SHA512 5372052bfe99a5b9f6b4d3c90d50912c90a4336361ff26c0b86cd0d1584e162e1fd9b3402bc65d6be6ab53290450dec0e6a051505d323e6b236640721d271dbe
-DIST amdvlk-pal-0f44ced5384c66d77df3dca1116c7daf7ccfdae5.tar.gz 11305484 BLAKE2B 774310e4b5d839ec1415340377c45b31fc60fde56250e9a2097ef0bbf1940a59b901a692215e28a7200cefa80b075b2e11882fe21b550f1e3edfebad203c28d3 SHA512 f96b79f3be4e5d0b82be7a37bfe546a2db466a92e9eb59053582b3b12a846fe737cd6e01a4d4725ef016611d850cb70b81fb478343b6d7b49832091f10f1e2b1
+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-0387177d6143533c88ff0d5ac045bf3994ee618b.tar.gz 1216290 BLAKE2B 30d0914538562ca923216a14be2b54f6d065c0a9f03bdaa11e163bf8c0e3499fdff79aaf6e0495e9d0dd12af526627447781259694e93cf4dab2712b0e1be623 SHA512 6531d1649a09d4f59ce70e8f0f7f9075585c86e5a0053038c6e11c6d9df77ec1dbc2ec12c67dd4e250911faf6d1701f30665c96b18b56bd247f2381c82991550
+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.2.ebuild b/media-libs/amdvlk/amdvlk-2022.4.2.ebuild
deleted file mode 100644
index bc6f408f9..000000000
--- a/media-libs/amdvlk/amdvlk-2022.4.2.ebuild
+++ /dev/null
@@ -1,122 +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"
-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
-	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="0387177d6143533c88ff0d5ac045bf3994ee618b"
-PAL_COMMIT="0f44ced5384c66d77df3dca1116c7daf7ccfdae5"
-LLPC_COMMIT="83e59f978821ce09390b25838b6684fc11b04774"
-GPURT_COMMIT="889dd8db7228814a530f0a897ae1ce35543f4662"
-LLVM_PROJECT_COMMIT="3c87d1ffe0dbaa60927d428afe3a4a2b3352c31b"
-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)
-		-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."
-}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-16 15:23 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-16 15:23 UTC (permalink / raw
  To: gentoo-commits

commit:     26c0cadb6e243d8fdf6aaaa6262727c127ebcd44
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Dec 16 15:23:17 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Dec 16 15:23:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26c0cadb

media-libs/amdvlk: updated to 2022.4.4; Upstream: Add Navi31 support

Bug: https://bugs.gentoo.org/665590
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 124 +++++++++++++++++++++++++++++++
 1 file changed, 124 insertions(+)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
new file mode 100644
index 000000000..38fe858d0
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -0,0 +1,124 @@
+# 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="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"
+)
+
+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."
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-25  9:09 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-25  9:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4a58545d1dd3bf03f4874c8f1244d49fdac02aa0
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Dec 25 08:53:51 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Dec 25 09:09:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a58545d

media-libs/amdvlk: Updated requirements checking

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 27a9903d6..0b0f75db4 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -34,7 +34,7 @@ RDEPEND=" ${DEPEND}
 	>=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
 	dev-util/glslang[${MULTILIB_USEDEP}]"
 
-CHECKREQS_MEMORY="16G"
+CHECKREQS_MEMORY="7G"
 CHECKREQS_DISK_BUILD="4G"
 S="${WORKDIR}"
 CMAKE_USE_DIR="${S}/xgl"
@@ -71,6 +71,15 @@ PATCHES=(
 	"${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 8GB RAM"
+	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}"


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-25  9:09 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-25  9:09 UTC (permalink / raw
  To: gentoo-commits

commit:     5d6fc4917d4af3a5def58cc423c60ec9293f4de5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Dec 25 08:54:31 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Dec 25 09:09:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d6fc491

media-libs/amdvlk: Deleted old version of amdvlk

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   4 -
 media-libs/amdvlk/amdvlk-2022.4.3.ebuild | 124 -------------------------------
 2 files changed, 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."
-}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-25 13:32 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-25 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     d1cda83d1beb4f4db24a1341eb3b68a4fab2459b
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Dec 25 13:32:11 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Dec 25 13:32:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1cda83d

media-libs/amdvlk: Clarified system requirements

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 0b0f75db4..6440d31e0 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -73,7 +73,8 @@ PATCHES=(
 
 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 8GB RAM"
+	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"
 


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2022-12-28 17:56 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2022-12-28 17:56 UTC (permalink / raw
  To: gentoo-commits

commit:     cfa024528f6c1af4bbb36208f39fa61ec169e952
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Dec 28 17:56:27 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Dec 28 17:56:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfa02452

media-libs/amdvlk: removed unused cmake flag

Closes: https://bugs.gentoo.org/888749
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 6440d31e0..0505c561d 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -102,7 +102,6 @@ multilib_src_configure() {
 		-DLLVM_VERSION_SUFFIX="-amdvlk"
 		-DLLVM_HOST_TRIPLE="${CHOST}"
 		-DLLVM_ENABLE_WERROR=OFF
-		-DSPVGEN_ENABLE_WERROR=OFF
 		-DENABLE_WERROR=OFF
 		-DVAM_ENABLE_WERROR=OFF
 		-DICD_ANALYSIS_WARNINGS_AS_ERRORS=OFF


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2023-01-13 10:13 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2023-01-13 10:13 UTC (permalink / raw
  To: gentoo-commits

commit:     a52e8412d22d57906ced741a5de53d6147ee2729
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Jan 13 10:12:57 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Jan 13 10:13:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a52e8412

media-libs/amdvlk: Added missed openssl dependency

Closes: https://bugs.gentoo.org/890449
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 0505c561d..cbb989145 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -32,7 +32,8 @@ RDEPEND=" ${DEPEND}
 	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-util/glslang[${MULTILIB_USEDEP}]
+	dev-libs/openssl[${MULTILIB_USEDEP}]" #890449
 
 CHECKREQS_MEMORY="7G"
 CHECKREQS_DISK_BUILD="4G"


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2023-02-18  9:34 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2023-02-18  9:34 UTC (permalink / raw
  To: gentoo-commits

commit:     baeafbaeb18524d51b4b7910179fa8a8ebcc2c7e
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Feb 18 09:34:00 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Feb 18 09:34:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=baeafbae

media-libs/amdvlk: updated to 2023.1.1

see https://github.com/GPUOpen-Drivers/AMDVLK/releases/tag/v-2023.Q1.1

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   6 ++
 media-libs/amdvlk/amdvlk-2023.1.1.ebuild | 146 +++++++++++++++++++++++++++++++
 2 files changed, 152 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 51a872515..065054eba 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,7 +1,13 @@
 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-2023.1.1.ebuild b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
new file mode 100644
index 000000000..a1cf34afa
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
@@ -0,0 +1,146 @@
+# 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_{9..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="67cd9d1d3016c0522ddf83ba0a0b2bda0de27d4c"
+PAL_COMMIT="042362399cdac1019fbc7f0ace8489aee2907883"
+LLPC_COMMIT="ffc49b2a07dea2754c1f7f3457a4ab5b4129c422"
+GPURT_COMMIT="e19c8ceca056f0b0d24ca4ecd654ef21d40ea063"
+LLVM_PROJECT_COMMIT="916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4"
+METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
+CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
+# Submodule of LLPC, also updates often. Grab commit version from
+# https://github.com/GPUOpen-Drivers/llpc/tree/dev/imported
+LLVM_DIALECTS_COMMIT="d12df4e895733e0adf8364f22349d92a000ae30d"
+# 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
+${FETCH_URI}/llvm-dialects/archive/${LLVM_DIALECTS_COMMIT}.tar.gz -> amdvlk-LLVM-dialects-${LLVM_DIALECTS_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"
+	rm -d "${S}"/llpc/imported/llvm-dialects/ || die
+	mv llvm-dialects-${LLVM_DIALECTS_COMMIT}/ "${S}"/llpc/imported/llvm-dialects/
+	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_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."
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2023-02-23 13:44 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2023-02-23 13:44 UTC (permalink / raw
  To: gentoo-commits

commit:     9bddb4cfb5587a2b091b782f33f7f10234fe45e5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 23 13:44:44 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Feb 23 13:44:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bddb4cf

media-libs/amdvlk: Small fixes of layout

https://github.com/gentoo/guru/commit/baeafbaeb18524d51b4b7910179fa8a8ebcc2c7e#diff-
06ce37edf43c00e6441b3fe6f7d2fd52b971cb73b3d3d491c0bcb8d774ca3593R106

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2023.1.1.ebuild | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
index a1cf34afa..174b51f9b 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
@@ -88,17 +88,16 @@ 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"
-	rm -d "${S}"/llpc/imported/llvm-dialects/ || die
-	mv llvm-dialects-${LLVM_DIALECTS_COMMIT}/ "${S}"/llpc/imported/llvm-dialects/
-	mv MetroHash-${METROHASH_COMMIT}/ "${S}/third_party/metrohash"
-	mv CWPack-${CWPACK_COMMIT}/ "${S}/third_party/cwpack"
+	mkdir third_party || die
+	mv xgl-${XGL_COMMIT}/ xgl || die
+	mv pal-${PAL_COMMIT}/ /pal || die
+	mv llpc-${LLPC_COMMIT}/ llpc || die
+	mv gpurt-${GPURT_COMMIT}/ gpurt || die
+	mv llvm-project-${LLVM_PROJECT_COMMIT}/ llvm-project || die
+	rm -d llpc/imported/llvm-dialects/ || die
+	mv llvm-dialects-${LLVM_DIALECTS_COMMIT}/ llpc/imported/llvm-dialects/ || die
+	mv MetroHash-${METROHASH_COMMIT}/ third_party/metrohash || die
+	mv CWPack-${CWPACK_COMMIT}/ third_party/cwpack || die
 	cmake_src_prepare
 }
 
@@ -128,9 +127,9 @@ multilib_check_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"
+	rm "${ED}"/usr/lib/libLTO* || die "Can't remove unused LLVM lto library"
+	rm "${ED}"/usr/lib/libRemarks* || die "Can't remove unused LLVM libRemarks library"
+	rm -r "${ED}"/usr/lib/cmake || die "Can't remove unused LLVM cmake folder"
 	einfo "Removal done"
 }
 


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2023-02-24 11:09 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2023-02-24 11:09 UTC (permalink / raw
  To: gentoo-commits

commit:     099b63066cb633d7a5739dfb0cad4b3a872def75
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Feb 24 11:08:53 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Feb 24 11:08:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=099b6306

media-libs/amdvlk: Fixed typo that caused fatal sandbox violation

Closes: https://bugs.gentoo.org/896194
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2023.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
index 174b51f9b..6c5338ce4 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
@@ -90,7 +90,7 @@ src_prepare() {
 	einfo "moving src to proper directories"
 	mkdir third_party || die
 	mv xgl-${XGL_COMMIT}/ xgl || die
-	mv pal-${PAL_COMMIT}/ /pal || die
+	mv pal-${PAL_COMMIT}/ pal || die
 	mv llpc-${LLPC_COMMIT}/ llpc || die
 	mv gpurt-${GPURT_COMMIT}/ gpurt || die
 	mv llvm-project-${LLVM_PROJECT_COMMIT}/ llvm-project || die


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2023-02-28 12:58 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2023-02-28 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     e5ade618451942a1fb01a6392d1bc14500132414
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 28 12:54:41 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 28 12:57:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5ade618

media-libs/amdvlk: removed obsolete version

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   5 --
 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 141 -------------------------------
 2 files changed, 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."
-}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2023-03-03 13:07 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2023-03-03 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     f86ff8889e34abcaffb6fe26112d61df6ded49a3
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Mar  3 13:07:26 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Mar  3 13:07:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f86ff888

media-libs/amdvlk: updated to latest

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   5 ++
 media-libs/amdvlk/amdvlk-2023.1.2.ebuild | 145 +++++++++++++++++++++++++++++++
 2 files changed, 150 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 6576690d9..e2ebc95c1 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,13 @@
 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-LLVM-dialects-f282131c7c331688c31f7c3aabe9b6d3ff09fbc4.tar.gz 33544 BLAKE2B c3c4adcd0413be6a4240820f7efdf3f5e03faf188cb48fd3845b2b84ed9d55d7f334ea91d5b3439b0653cfd0e5e70145092d59b8de9640408b05907f3769396c SHA512 c1d6a2d2528b273645a6a005f8b8c14209104bec9102a5dd344d0f005e6eff6d5478b8ce674f7c6241ecc11aff15a229caf502a10e017cdcadb41b14b28ebead
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
+DIST amdvlk-gpurt-172e852f90365bac5869f83eb9c929d9daae51f0.tar.gz 308347 BLAKE2B b2839366fd35a452bf29502837c9aeeb1badf181dbe5fb57e042d073dccccb73c4069b5c7c6f3cc7938f9fb45f851e94a30f31c0698d2a523a28bb077ca15d6e SHA512 fae3cdc0c070ddd1d0d7b02ed13b527ec3fe8f766063f8e3fc1cd24729843139d5b5e1d68aec7596ce80128498f14c1e47c775928aa9a341df6429c6a2f24a4e
 DIST amdvlk-gpurt-e19c8ceca056f0b0d24ca4ecd654ef21d40ea063.tar.gz 303085 BLAKE2B 51efb5bfc62496225ff2ef82760b7d6e5b7b484a43f100a6eec870d6f29c353c3d83c66896687d1ff6a0f2a8569cae157b120642ea1185d1157d95606b08cb2c SHA512 998570f5df17ac2ce457acf5732f0e4ce813403362ea7b88e9805eb6180d92f55933494f204d85549a02e804a8204b35ddfc83e8bd166a8d0c212078cac27ec9
+DIST amdvlk-llpc-522365aa657f9cf65c4634261b800a04e214fd38.tar.gz 2595121 BLAKE2B a82bfd688abb18857d0c8db28c946eee5be97e3f5740d0ecbbcb01cd978d4bec3eb221ece192bbb49feec27d76b2e682717a48fb56153e6098742362d8c75d61 SHA512 2d2f8245776b37eba2ef271dc22707b0d81422cc6a1ed1983eea51a22f89ca28a147b8b0f4b6126b92193c0b33cf81d08ea7d6121f20f5270296381ea0e82820
 DIST amdvlk-llpc-ffc49b2a07dea2754c1f7f3457a4ab5b4129c422.tar.gz 2599441 BLAKE2B 38c7596947afaf1a40b1e834714d98404aa40a5101a6f989f9cb0a08cae57c8229165241aae1f232511e91b7f1f9bb8c8ba668960dae888e06e2e9f80d6cf386 SHA512 831645a6a107569cec5823a9383de0fb01d7ad469cc14d21e9fd673d3c2efaa4dcb7e7e2453437ced7a2e73c35bcae4b72eb0e9f662b16849ddf310c37dd913d
 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-ac9ff8bd22605bf7fd428fd9cf83248fb4dbe94b.tar.gz 12387976 BLAKE2B bba22f4dab618d6c0a82f1a147d1abc3f098bda78ff654991df9a7b0d8d6b79fc7c2bdf5674587a1694820f1be16dcb9a21e6d6c805fa0e1306f414701e5745c SHA512 c57a521a43e29bfbc730caa267005cfa3b557793310a717967a0e471cfecf44947cdbdab9dd9171f788b98b1653bd7630f43d9fff72bd2193c5eba6c6781c2d0
 DIST amdvlk-xgl-67cd9d1d3016c0522ddf83ba0a0b2bda0de27d4c.tar.gz 1243619 BLAKE2B 46f133a057158f293daa0c37bb60ca87d96728f7becffe5c78839b0658f9237ed1c5b11d57e569f0b62e7542a4f48afbada6527eb5e9c2cb62cbda8b4dd2bd2c SHA512 d7b9970a3bd444149e1801ffc268796a02833db39132c32f7745350bc423c40d111e9e338e9f0e35fa8b6b84c527d313669ff9f7b1488fcf2d4c834ab7495bf2
+DIST amdvlk-xgl-b72c7accced07675aeddace4e143152406076932.tar.gz 1245899 BLAKE2B 9de616524eaead6c650bf9c75f6bb2737e25ffd518012771b66878f4ea20a1b29f18f8e9c5b3f7eb16e0676652f13d8e62e2460376d7d6e2fcef54b82c4e5c61 SHA512 d5b975967fbb168717c8dcd2b9a1f786e5fead2276f9aaf3ca1fe68e8fd0ad00999f3af4e507b58674a62973a6f1cc57495280522aeea77f4925e4b7686e7b65

diff --git a/media-libs/amdvlk/amdvlk-2023.1.2.ebuild b/media-libs/amdvlk/amdvlk-2023.1.2.ebuild
new file mode 100644
index 000000000..d27ef3e3d
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2023.1.2.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+PYTHON_COMPAT=( python3_{9..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="b72c7accced07675aeddace4e143152406076932"
+PAL_COMMIT="ac9ff8bd22605bf7fd428fd9cf83248fb4dbe94b"
+LLPC_COMMIT="522365aa657f9cf65c4634261b800a04e214fd38"
+GPURT_COMMIT="172e852f90365bac5869f83eb9c929d9daae51f0"
+LLVM_PROJECT_COMMIT="916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4"
+METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
+CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
+# Submodule of LLPC, also updates often. Grab commit version from
+# https://github.com/GPUOpen-Drivers/llpc/tree/${LLPC_COMMIT}/imported
+LLVM_DIALECTS_COMMIT="f282131c7c331688c31f7c3aabe9b6d3ff09fbc4"
+### 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
+${FETCH_URI}/llvm-dialects/archive/${LLVM_DIALECTS_COMMIT}.tar.gz -> amdvlk-LLVM-dialects-${LLVM_DIALECTS_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 third_party || die
+	mv xgl-${XGL_COMMIT}/ xgl || die
+	mv pal-${PAL_COMMIT}/ pal || die
+	mv llpc-${LLPC_COMMIT}/ llpc || die
+	mv gpurt-${GPURT_COMMIT}/ gpurt || die
+	mv llvm-project-${LLVM_PROJECT_COMMIT}/ llvm-project || die
+	rm -d llpc/imported/llvm-dialects/ || die
+	mv llvm-dialects-${LLVM_DIALECTS_COMMIT}/ llpc/imported/llvm-dialects/ || die
+	mv MetroHash-${METROHASH_COMMIT}/ third_party/metrohash || die
+	mv CWPack-${CWPACK_COMMIT}/ third_party/cwpack || die
+	cmake_src_prepare
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_WAYLAND_SUPPORT=$(usex wayland)
+		-DVKI_RAY_TRACING=$(usex raytracing)
+		-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 "${ED}"/usr/lib/libLTO* || die "Can't remove unused LLVM lto library"
+	rm "${ED}"/usr/lib/libRemarks* || die "Can't remove unused LLVM libRemarks library"
+	rm -r "${ED}"/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."
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2023-03-22  4:43 Denis Reva
  0 siblings, 0 replies; 56+ messages in thread
From: Denis Reva @ 2023-03-22  4:43 UTC (permalink / raw
  To: gentoo-commits

commit:     aa7528ef8db102c525f1aa4a69366b50545310b8
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 22 04:42:49 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Mar 22 04:42:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa7528ef

media-libs/amdvlk: added WIP version: it isn't working

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 media-libs/amdvlk/Manifest               |   6 ++
 media-libs/amdvlk/amdvlk-2023.1.3.ebuild | 151 +++++++++++++++++++++++++++++++
 2 files changed, 157 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index e2ebc95c1..4d1ac16e9 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,13 +1,19 @@
 DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
+DIST amdvlk-LLVM-dialects-17aafecff46b68206a0ed82d58f5e2fc358367a1.tar.gz 44441 BLAKE2B a94eb01ae3a2a868a1613e17573c5326252fa163d8e336b8c3292d0e3e349e3df98b124d300bbe42870bc2d60d18afe2c566e4484b45beb84a7087c0d58291e4 SHA512 4a6b2484f0fbb63f2cf987184a12f8a4a344ebfbfe5c1f37423fbda88c171f2eee0f7af4d0b066a9a87c3b22e0c92b7f7f1f5536b4c5d59fb2ca10b963cb8e62
 DIST amdvlk-LLVM-dialects-d12df4e895733e0adf8364f22349d92a000ae30d.tar.gz 33556 BLAKE2B c8e005345e965b1ce2d3977886a4939291d00fc4483f7a22b18399c1e0c7e39f766f50d7fb873e5defee58c2f57980b0692e70a11144d0e08e29ac9a57c9fa40 SHA512 77f37150bfcb26f657461c457b4240ba1d339b661521b1633d625439ee5cbcd1765b1eba9dd8239548692058a2e69df6cb359baee5bbb4d3e45d9d664ce04bc7
 DIST amdvlk-LLVM-dialects-f282131c7c331688c31f7c3aabe9b6d3ff09fbc4.tar.gz 33544 BLAKE2B c3c4adcd0413be6a4240820f7efdf3f5e03faf188cb48fd3845b2b84ed9d55d7f334ea91d5b3439b0653cfd0e5e70145092d59b8de9640408b05907f3769396c SHA512 c1d6a2d2528b273645a6a005f8b8c14209104bec9102a5dd344d0f005e6eff6d5478b8ce674f7c6241ecc11aff15a229caf502a10e017cdcadb41b14b28ebead
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 DIST amdvlk-gpurt-172e852f90365bac5869f83eb9c929d9daae51f0.tar.gz 308347 BLAKE2B b2839366fd35a452bf29502837c9aeeb1badf181dbe5fb57e042d073dccccb73c4069b5c7c6f3cc7938f9fb45f851e94a30f31c0698d2a523a28bb077ca15d6e SHA512 fae3cdc0c070ddd1d0d7b02ed13b527ec3fe8f766063f8e3fc1cd24729843139d5b5e1d68aec7596ce80128498f14c1e47c775928aa9a341df6429c6a2f24a4e
+DIST amdvlk-gpurt-714a028e920c502520011fc4f4556f58ec897424.tar.gz 308297 BLAKE2B aeb699332b76cd6d0ac0dcc47a410e8a6ad0b6b073ca2521b3e6c06b4307ee74b79ae9f7767f43e863b8070f664ffd9ffcbacab5f0b12576069e5469b8f5251e SHA512 8044de6555dd2c73ff75d059bda1bba3ef6960c46bb6a92b4ff77e3ced3a8100380ec3d27e5e8ad49fae2fe6994d548494535aa5023412033a2ed9b9236b52bc
 DIST amdvlk-gpurt-e19c8ceca056f0b0d24ca4ecd654ef21d40ea063.tar.gz 303085 BLAKE2B 51efb5bfc62496225ff2ef82760b7d6e5b7b484a43f100a6eec870d6f29c353c3d83c66896687d1ff6a0f2a8569cae157b120642ea1185d1157d95606b08cb2c SHA512 998570f5df17ac2ce457acf5732f0e4ce813403362ea7b88e9805eb6180d92f55933494f204d85549a02e804a8204b35ddfc83e8bd166a8d0c212078cac27ec9
+DIST amdvlk-llpc-1ecd9997579b962be571162931c9e38bd86bafad.tar.gz 2618677 BLAKE2B 5849ce333bc52ea1bba47f253834c10974fdc2089ba41fa41a89d9a9fe0249f6e4286985e092c5aaaa52b2e9aff3704dde01ac09fad82d43556b67786156092e SHA512 11f69a6f31a282acc410d1ddd6a8996842e1076cdd49db8f08378ab1401acac1d4eba48788b7f78fb5d5297dda52fd1ceaeec6e68986168c0a92b49222bda3b5
 DIST amdvlk-llpc-522365aa657f9cf65c4634261b800a04e214fd38.tar.gz 2595121 BLAKE2B a82bfd688abb18857d0c8db28c946eee5be97e3f5740d0ecbbcb01cd978d4bec3eb221ece192bbb49feec27d76b2e682717a48fb56153e6098742362d8c75d61 SHA512 2d2f8245776b37eba2ef271dc22707b0d81422cc6a1ed1983eea51a22f89ca28a147b8b0f4b6126b92193c0b33cf81d08ea7d6121f20f5270296381ea0e82820
 DIST amdvlk-llpc-ffc49b2a07dea2754c1f7f3457a4ab5b4129c422.tar.gz 2599441 BLAKE2B 38c7596947afaf1a40b1e834714d98404aa40a5101a6f989f9cb0a08cae57c8229165241aae1f232511e91b7f1f9bb8c8ba668960dae888e06e2e9f80d6cf386 SHA512 831645a6a107569cec5823a9383de0fb01d7ad469cc14d21e9fd673d3c2efaa4dcb7e7e2453437ced7a2e73c35bcae4b72eb0e9f662b16849ddf310c37dd913d
 DIST amdvlk-llvm-project-916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4.tar.gz 167651090 BLAKE2B 5d5be2f308f7ca4e12b9bb67fcb33f05245719c0388befe28fd327a4d17b15298a5730ef65dbecb260c4d3f436b5c1204c111e31953fe8ce402df6f4430e865f SHA512 13f87d75d11c779c3e791ee619ba847ca36951d3a6db11441bde455e82936dfee29c21f15412bde711ac5f957be908c80d9248e945be3b0aa59777608b91cd9e
+DIST amdvlk-llvm-project-fdc6165b081b7b5e5ba245f4283fcb23d6d9f167.tar.gz 179654477 BLAKE2B 4a09ad5d194525365106b44627693f6eef49b9bd9c38c9eb690ea0288593e7a72467e0f2da757e728b40ee11a26ae3e5305aefe0744965dc7b0166f348539116 SHA512 e8603930e389cbcd0433d48bd72763b0d3ac3acd4f6fadaa3ac68f5148881723863f2816fa6ae34b4cb87538f77a70eb318b31d5ef9c085cc72a5dc9ca83fcb2
 DIST amdvlk-pal-042362399cdac1019fbc7f0ace8489aee2907883.tar.gz 12426374 BLAKE2B b4cd6f3496e9146e481de339128cb6b4be735aec2982f45af9806ce8647cd5e5cc3470dc4bcf82f354f03c227faff3f63148444ac26fd1a54ecdfd9844cff7e7 SHA512 5845d3bdc312915b07b1b59df387d4611ad280c499a8fdb1fa2ec0eba37a286179461b0eb445ac32646cd2c4842670f5e48f26b15a2a4b76864d7efb3fba3e69
+DIST amdvlk-pal-4640888b579bc9b0951c586b08a4552f71780d0d.tar.gz 12404946 BLAKE2B a348bce089766ac86539df1f9297df61d94d5db7993f95d86e8967e8641090949d177e9f6d9c1b257404eac8a0a05836c7f0dd6964b8bfc1946a21c47d7f19e0 SHA512 3b43ff0a86f66a238a02a7c71a0fe957deb63968abf2f48b1222ffd048d8fd3e864240a956fb013ab6336eebebb7a76538f748c0c93fbda9ab110e1d33547ef3
 DIST amdvlk-pal-ac9ff8bd22605bf7fd428fd9cf83248fb4dbe94b.tar.gz 12387976 BLAKE2B bba22f4dab618d6c0a82f1a147d1abc3f098bda78ff654991df9a7b0d8d6b79fc7c2bdf5674587a1694820f1be16dcb9a21e6d6c805fa0e1306f414701e5745c SHA512 c57a521a43e29bfbc730caa267005cfa3b557793310a717967a0e471cfecf44947cdbdab9dd9171f788b98b1653bd7630f43d9fff72bd2193c5eba6c6781c2d0
 DIST amdvlk-xgl-67cd9d1d3016c0522ddf83ba0a0b2bda0de27d4c.tar.gz 1243619 BLAKE2B 46f133a057158f293daa0c37bb60ca87d96728f7becffe5c78839b0658f9237ed1c5b11d57e569f0b62e7542a4f48afbada6527eb5e9c2cb62cbda8b4dd2bd2c SHA512 d7b9970a3bd444149e1801ffc268796a02833db39132c32f7745350bc423c40d111e9e338e9f0e35fa8b6b84c527d313669ff9f7b1488fcf2d4c834ab7495bf2
+DIST amdvlk-xgl-997225355d7fce7392a9e32fe9f0a515f5736d0f.tar.gz 1247401 BLAKE2B 5381474b3e8eb1783ab5b6a6059204fdd1fc6215a4bdc724bef874908d860f3f306773235325c725bddbc1c7e416a00a865e7b11e5218c3bca9fccd09e6bda95 SHA512 4217567268525f934dbde112e4a3b7703576d63cd49776dc1d991897bce406533d5954196cface6c31663d9ae073ec74ea0b084e55dfa91314aca350b9effa47
 DIST amdvlk-xgl-b72c7accced07675aeddace4e143152406076932.tar.gz 1245899 BLAKE2B 9de616524eaead6c650bf9c75f6bb2737e25ffd518012771b66878f4ea20a1b29f18f8e9c5b3f7eb16e0676652f13d8e62e2460376d7d6e2fcef54b82c4e5c61 SHA512 d5b975967fbb168717c8dcd2b9a1f786e5fead2276f9aaf3ca1fe68e8fd0ad00999f3af4e507b58674a62973a6f1cc57495280522aeea77f4925e4b7686e7b65

diff --git a/media-libs/amdvlk/amdvlk-2023.1.3.ebuild b/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
new file mode 100644
index 000000000..d4e0d8798
--- /dev/null
+++ b/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+PYTHON_COMPAT=( python3_{9..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=""
+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"
+CMAKE_MAKEFILE_GENERATOR=ninja
+
+### 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="997225355d7fce7392a9e32fe9f0a515f5736d0f"
+PAL_COMMIT="4640888b579bc9b0951c586b08a4552f71780d0d"
+LLPC_COMMIT="1ecd9997579b962be571162931c9e38bd86bafad"
+GPURT_COMMIT="714a028e920c502520011fc4f4556f58ec897424"
+LLVM_PROJECT_COMMIT="fdc6165b081b7b5e5ba245f4283fcb23d6d9f167"
+METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
+CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
+# Submodule of LLPC, also updates often. Grab commit version from
+# https://github.com/GPUOpen-Drivers/llpc/tree/${LLPC_COMMIT}/imported
+LLVM_DIALECTS_COMMIT="17aafecff46b68206a0ed82d58f5e2fc358367a1"
+### 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
+${FETCH_URI}/llvm-dialects/archive/${LLVM_DIALECTS_COMMIT}.tar.gz -> amdvlk-LLVM-dialects-${LLVM_DIALECTS_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 third_party || die
+	mv xgl-${XGL_COMMIT}/ xgl || die
+	mv pal-${PAL_COMMIT}/ pal || die
+	mv llpc-${LLPC_COMMIT}/ llpc || die
+	mv gpurt-${GPURT_COMMIT}/ gpurt || die
+	mv llvm-project-${LLVM_PROJECT_COMMIT}/ llvm-project || die
+	rm -d llpc/imported/llvm-dialects/ || die
+	mv llvm-dialects-${LLVM_DIALECTS_COMMIT}/ llpc/imported/llvm-dialects/ || die
+	mv MetroHash-${METROHASH_COMMIT}/ third_party/metrohash || die
+	mv CWPack-${CWPACK_COMMIT}/ third_party/cwpack || die
+	cmake_src_prepare
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_WAYLAND_SUPPORT=$(usex wayland)
+		-DVKI_RAY_TRACING=$(usex raytracing)
+		-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_src_install() {
+	cmake_src_install --component icd
+}
+
+multilib_check_headers() {
+	einfo "Checking headers skipped: there is no headers"
+}
+
+multilib_src_install_all() {
+	default
+	einfo "Removing unused LLVM parts…"
+	rm "${ED}"/usr/lib/libLTO* || die "Can't remove unused LLVM lto library"
+	rm "${ED}"/usr/lib/libRemarks* || die "Can't remove unused LLVM libRemarks library"
+	rm -r "${ED}"/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."
+}


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2024-01-18 11:46 David Roman
  0 siblings, 0 replies; 56+ messages in thread
From: David Roman @ 2024-01-18 11:46 UTC (permalink / raw
  To: gentoo-commits

commit:     a445605c6b3934663786536ffddca35dd7367f54
Author:     Marc Wippermann <bratzmeister <AT> proton <DOT> me>
AuthorDate: Thu Jan 18 00:26:34 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Jan 18 11:46:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a445605c

media-libs/amdvlk: removed broken cmake/ninja source install, readded unstable keywords

Bug: https://bugs.gentoo.org/922335
Signed-off-by: Marc Wippermann <bratzmeister <AT> proton.me>
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2023.1.3.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2023.1.3.ebuild b/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
index 632fd4aabb..07f1c5ce5a 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="AMD Open Source Driver for Vulkan"
 HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="wayland +raytracing"
 REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
 
@@ -121,10 +121,6 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 
-multilib_src_install() {
-	cmake_src_install --component icd
-}
-
 multilib_check_headers() {
 	einfo "Checking headers skipped: there is no headers"
 }


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2024-01-18 18:39 YOSHIOKA Takuma
  0 siblings, 0 replies; 56+ messages in thread
From: YOSHIOKA Takuma @ 2024-01-18 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     9506eaba23318d70badca86aca4b3efbb69c54b0
Author:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Thu Jan 18 18:37:48 2024 +0000
Commit:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
CommitDate: Thu Jan 18 18:39:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9506eaba

media-libs/amdvlk: fix compilation with gcc-13 for other versions

Apply the same patch as v2023.1.2 (introduced at the commit
9b26cbf2aa72f49ebfd3a4d0e30f77ad535b4e8d) for other versions.

Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red>

 media-libs/amdvlk/amdvlk-2023.1.1.ebuild | 1 +
 media-libs/amdvlk/amdvlk-2023.1.3.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
index 9e74476fab..2083a930e5 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
@@ -73,6 +73,7 @@ PATCHES=(
 	"${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
+	"${FILESDIR}/amdvlk-2023.1.2-gcc13-cstdint.patch" #905174
 )
 
 pkg_pretend(){

diff --git a/media-libs/amdvlk/amdvlk-2023.1.3.ebuild b/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
index 07f1c5ce5a..815d180e2e 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.3.ebuild
@@ -74,6 +74,7 @@ PATCHES=(
 	#"${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
+	"${FILESDIR}/amdvlk-2023.1.2-gcc13-cstdint.patch" #905174
 )
 
 pkg_pretend(){


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2024-08-19 16:08 Lucio Sauer
  0 siblings, 0 replies; 56+ messages in thread
From: Lucio Sauer @ 2024-08-19 16:08 UTC (permalink / raw
  To: gentoo-commits

commit:     ab14245075a7d877f32a8c4cb692318abeb6ebb1
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Aug 19 16:05:48 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Aug 19 16:05:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab142450

media-libs/amdvlk: fix variable order

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 media-libs/amdvlk/amdvlk-2024.3.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2024.3.1.ebuild b/media-libs/amdvlk/amdvlk-2024.3.1.ebuild
index bf94c3878..0e36163b7 100644
--- a/media-libs/amdvlk/amdvlk-2024.3.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2024.3.1.ebuild
@@ -38,6 +38,8 @@ ${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> amdvlk-MetroHash-${
 ${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> amdvlk-CWPack-${CWPACK_COMMIT}.tar.gz
 ${FETCH_URI}/llvm-dialects/archive/${LLVM_DIALECTS_COMMIT}.tar.gz -> amdvlk-LLVM-dialects-${LLVM_DIALECTS_COMMIT}.tar.gz"
 
+S="${WORKDIR}"
+
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
@@ -65,7 +67,6 @@ RDEPEND=" ${DEPEND}
 
 CHECKREQS_MEMORY="7G"
 CHECKREQS_DISK_BUILD="4G"
-S="${WORKDIR}"
 CMAKE_USE_DIR="${S}/xgl"
 CMAKE_MAKEFILE_GENERATOR=ninja
 


^ permalink raw reply related	[flat|nested] 56+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
@ 2024-10-12 19:08 David Roman
  0 siblings, 0 replies; 56+ messages in thread
From: David Roman @ 2024-10-12 19:08 UTC (permalink / raw
  To: gentoo-commits

commit:     5a43169518c80038cb7096115a2b19c15f528de8
Author:     Username404-59 <w.iron.zombie <AT> gmail <DOT> com>
AuthorDate: Fri Oct 11 19:24:17 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Oct 12 19:07:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a431695

media-libs/amdvlk: add 2024.3.3, drop 2024.3.1

Signed-off-by: Username404-59 <w.iron.zombie <AT> gmail.com>
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-libs/amdvlk/Manifest                               | 12 ++++++------
 .../{amdvlk-2024.3.1.ebuild => amdvlk-2024.3.3.ebuild}   | 16 ++++++++--------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 031d3acbe..000ec0fa7 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,8 @@
 DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 BLAKE2B d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3 SHA512 06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
-DIST amdvlk-LLVM-dialects-6ff7d39046e280e446fd69aa08c6c6524c68c728.tar.gz 106772 BLAKE2B f00991a1d984bdca1b15ef803d0cf5b75a299c294a0e6ea9bd656ad669426f055cace518950833b35a17c18faafd0318a80f18f5b8e7b3c7fa27f4bec0d65239 SHA512 64e5dbb60fd0d863a58e39dc214c6393a1393cac7aa89ac95c4c285c4daed5f8d40069462081dbcf84043a6478cc471ee9d6e7b74215ba5199a60a2e338f508a
+DIST amdvlk-LLVM-dialects-bdfb113d8d765bdf4554a2b30ae909b93f26aeea.tar.gz 106775 BLAKE2B 0fe96213e62ac0e90b7c4a62a43909bdc6f047901f5b338773739146fe56cef86d92e3af90ae1188358f3af836f5c09566ea61cfd634eafe46ae5c2c07d4623f SHA512 d5eda9ade2d94cc2ff8ddda546cbb0b5992aa8138eda27dca31c706af42e99bcdda85527ca768a421b06328e879a2ef3ceaeb89611caf38c85043da79d2a99d4
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 BLAKE2B b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb SHA512 8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
-DIST amdvlk-gpurt-c5b10793bd96432609de2d5945a03ed54b7ebbe8.tar.gz 347915 BLAKE2B 16f770105ac58127eb7da4bc19f55d4e4119190f0be9d39e93d225bffb0a66883d3c06e0cda5b32afad2a218ea09941603a0eba2448bd61f7afda11f065ea069 SHA512 35806ebfc30b7e57ff3a6defeb87e6b049329ea02765264bb7e77ea84f53965b20593570b402730390a23c3284543a180c64dac40139dbcc0ceadf0dac7e2cb2
-DIST amdvlk-llpc-5278a3ff4f184ac76060892671c88d539be084c8.tar.gz 2768765 BLAKE2B 376618d3d63aaf5cd7fa8c2c37e667e9f1add40d3019c6c5cf6ef9e997eea665300bff1d7b665c44808bd1b0abc5735adf8f7ed4be902ed675d003718b0644ed SHA512 3165a854b28df064bf98289eb71f2deb5be5b8dafb22691983d4b085916a3349776445db3b39c3fd89bcea2e19a04d515fa372b25b8d5af60a27f81f70a85ef1
-DIST amdvlk-llvm-project-eb619c26c273559f0512aea704a4b0821c80b318.tar.gz 216601046 BLAKE2B 0b328679c71759a653e6ffd91d7ba0813053d6e5e7339256a735195ccef71a78b71342f5ffe75d9545845bfe368dfb35bc4fc72d56db4500edab9b389ffb6284 SHA512 48b46afeba7d1a020ddc72f559c29ffbfedb291df612ecb16bf237a4e3f1ddd055cb2802e9ee0dff727b71c70138c64645d2fe00b6d01db462bd6ea20b2a055e
-DIST amdvlk-pal-d3bfe509cd335b06d1276a5bb3ceb8dce622ca34.tar.gz 9245270 BLAKE2B 9bd315742e8b12e2f88e5046e30a95e31c313a3f2752bcfc76e88153289949994c426a59155eda1ed6342bbd67aeb4f6a24caa1177e5a2c77122ae5a4f97134e SHA512 19daf28a2702681df9470d95106125359382c97c049216f6e7801204638c29b6353ca330e6c76b3f02137da2d4b6f0ff3bb34b8fa3b1e93f1d62f175f58cfe00
-DIST amdvlk-xgl-8bf20dd1ca8b6b773ff0a773c09a845a9be42a96.tar.gz 1350996 BLAKE2B 1521504663a8976371398f91869d14515855a0a1cd1851d4e80ef1d94bd2aa6f4f163ce17e3f6ecc1df727985ca17bc4f2ddc468424c985c640ee3baaedc5c2f SHA512 e91ed1eb5b2d97e99ebebbead7859dd9380c405be3256ce4ed3365c7e4d468fef6749d6cc8221870994f8259955c2d74a6f708458aaf7e819d6da5b8364fd208
+DIST amdvlk-gpurt-95c27c4031b112daaa231b76dee07f7ff05357d0.tar.gz 351839 BLAKE2B b2e4c4cdb4f2532cf22316ceb8cb6a949a2128bd1fd0276bf515793291bc63a84e0d0205fb195259f87eaf036dd0323e9d6a931b95d21bd66bc09f3c81654cd4 SHA512 f698157c7cfdbc25524230a949cef4c8b3d682825c6efe3f68b93d5b8c48b66f1c27826adb9e2d7b6670e5bea16eeec3e085dfecb39d29a37a2198c8b46ab74c
+DIST amdvlk-llpc-872ddfdeecfd1e56ddbc0db2012b96788129fee9.tar.gz 2860471 BLAKE2B f2496e90238796dccd584d539bc210e14f68731fb92f74ba6353ad6464e4eec228cccfeca54d05effd4e2913ccf43ed640175cad71afa3b610546e16760b970d SHA512 d09072aa89a8a593f76e09d8c8d3166663ce8bcbb379793f96509f2248112541207cc5fb1fa0a2df1a40a7a35b51c28d382e77d83996e70d961b92e8338209da
+DIST amdvlk-llvm-project-8abfff872ebbb1f57ebe83149f8166fb5dd487dc.tar.gz 217893483 BLAKE2B 53a543629a2392b6cb496a4c0c852516e516c315c9e2742555e44b4998eef2d59455f3ac8f1cb206c857e819e5f17fcf20a5878d2224679aa1fa7695cf80826c SHA512 04f4bff33be025ff6ae9591312ea9aa9a5e600268ac25186e36b401f27333bf75a83d4c784e289325def995254d54bede9b02484cc3152cebbdf39a32dc31f2a
+DIST amdvlk-pal-31f6a70d0e9ee22894daab5305dd91b3ebb599a5.tar.gz 10376369 BLAKE2B d9f8e3c1e27cca738b08bd55e9e7c7b9fe139fafe60e4ff35f43f99b38e6100b92b47d826cc90be93cdc5eb68db03537e127e4cdd6d10073848fbc4a3d826aaf SHA512 bf420c9e4fc5454b84ddb9bdbe843ede4af77e79298fc7b2b3dc7bc5af8391f97d8c9e71487c9ed97219a554f103af65a1f9687f51843e27fcad95d1a1fee85e
+DIST amdvlk-xgl-c4ca1f6077c7fecc8df2ad2ed8719fb943b4e4b1.tar.gz 1365942 BLAKE2B 5b65a21e9a8181ddd78cdb8dabe9b7ba85961757f220bbdf844da0222ab2af14a01b8adac2eae1f4dd61be326b753cbc03c6f5433717d10d645fe9fa8e3a3f6a SHA512 832fbd90689196a8989e43f9cf696e2c8384e4bd48f0caa3869ff68830693683375a1ce4553043ab40e3fc097763955094f903a8580eac533735d32f102d099a

diff --git a/media-libs/amdvlk/amdvlk-2024.3.1.ebuild b/media-libs/amdvlk/amdvlk-2024.3.3.ebuild
similarity index 92%
rename from media-libs/amdvlk/amdvlk-2024.3.1.ebuild
rename to media-libs/amdvlk/amdvlk-2024.3.3.ebuild
index 0e36163b7..e36d4bb20 100644
--- a/media-libs/amdvlk/amdvlk-2024.3.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2024.3.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit check-reqs python-any-r1 cmake-multilib
 
@@ -18,16 +18,16 @@ FETCH_URI="https://github.com/GPUOpen-Drivers"
 ## and place commits in the desired variables
 ## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
 ## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
-XGL_COMMIT="8bf20dd1ca8b6b773ff0a773c09a845a9be42a96"
-PAL_COMMIT="d3bfe509cd335b06d1276a5bb3ceb8dce622ca34"
-LLPC_COMMIT="5278a3ff4f184ac76060892671c88d539be084c8"
-GPURT_COMMIT="c5b10793bd96432609de2d5945a03ed54b7ebbe8"
-LLVM_PROJECT_COMMIT="eb619c26c273559f0512aea704a4b0821c80b318"
+XGL_COMMIT="c4ca1f6077c7fecc8df2ad2ed8719fb943b4e4b1"
+PAL_COMMIT="31f6a70d0e9ee22894daab5305dd91b3ebb599a5"
+LLPC_COMMIT="872ddfdeecfd1e56ddbc0db2012b96788129fee9"
+GPURT_COMMIT="95c27c4031b112daaa231b76dee07f7ff05357d0"
+LLVM_PROJECT_COMMIT="8abfff872ebbb1f57ebe83149f8166fb5dd487dc"
 METROHASH_COMMIT="18893fb28601bb9af1154cd1a671a121fff6d8d3"
 CWPACK_COMMIT="4f8cf0584442a91d829d269158567d7ed926f026"
 # Submodule of LLPC, also updates often. Grab commit version from
 # https://github.com/GPUOpen-Drivers/llpc/tree/${LLPC_COMMIT}/imported
-LLVM_DIALECTS_COMMIT="6ff7d39046e280e446fd69aa08c6c6524c68c728"
+LLVM_DIALECTS_COMMIT="bdfb113d8d765bdf4554a2b30ae909b93f26aeea"
 ### 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
@@ -61,7 +61,7 @@ RDEPEND=" ${DEPEND}
 	x11-libs/libXrandr[${MULTILIB_USEDEP}]
 	x11-libs/libxcb[${MULTILIB_USEDEP}]
 	x11-libs/libxshmfence[${MULTILIB_USEDEP}]
-	>=media-libs/vulkan-loader-1.3.283[${MULTILIB_USEDEP}]
+	>=media-libs/vulkan-loader-1.3.290[${MULTILIB_USEDEP}]
 	dev-util/glslang[${MULTILIB_USEDEP}]
 	dev-libs/openssl[${MULTILIB_USEDEP}]" #890449
 


^ permalink raw reply related	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2024-10-12 19:08 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-19  6:28 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/ Denis Reva
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12 19:08 David Roman
2024-08-19 16:08 Lucio Sauer
2024-01-18 18:39 YOSHIOKA Takuma
2024-01-18 11:46 David Roman
2023-03-22  4:43 Denis Reva
2023-03-03 13:07 Denis Reva
2023-02-28 12:58 Denis Reva
2023-02-24 11:09 Denis Reva
2023-02-23 13:44 Denis Reva
2023-02-18  9:34 Denis Reva
2023-01-13 10:13 Denis Reva
2022-12-28 17:56 Denis Reva
2022-12-25 13:32 Denis Reva
2022-12-25  9:09 Denis Reva
2022-12-25  9:09 Denis Reva
2022-12-16 15:23 Denis Reva
2022-12-16 15:12 Denis Reva
2022-12-13 11:04 Denis Reva
2022-12-10  6:48 Denis Reva
2022-10-27  9:32 Denis Reva
2022-10-27  9:32 Denis Reva
2022-10-27  9:32 Denis Reva
2022-10-19  6:54 Denis Reva
2022-10-12  8:46 Denis Reva
2022-10-04 13:15 Denis Reva
2022-10-04 13:15 Denis Reva
2022-10-04 13:15 Denis Reva
2022-09-22  5:28 Denis Reva
2022-09-19 10:25 Denis Reva
2021-12-16  8:47 Denis Reva
2021-05-05  7:32 Alessandro Barbieri
2021-04-25 17:05 Denis Reva
2021-02-06  5:14 Denis Reva
2020-12-23 12:02 Denis Reva
2020-11-20 16:03 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-11-20 16:03 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-11-17  8:11 Denis Reva
2020-11-05 11:36 Denis Reva
2020-10-27  4:55 Denis Reva
2020-10-16  9:39 Denis Reva
2020-09-22 15:32 Denis Reva
2020-09-14 12:56 Denis Reva
2020-08-07 12:02 Denis Reva
2020-07-23 16:33 Denis Reva
2020-07-21  9:05 Denis Reva
2020-07-04 15:01 Denis Reva
2020-06-27  9:37 Denis Reva
2020-05-29 12:34 Denis Reva
2020-05-14 14:56 Denis Reva
2020-05-01  6:16 Denis Reva
2020-04-30 11:25 Denis Reva
2020-04-25  0:37 Alessandro Barbieri
2020-04-16 15:03 Denis Reva
2020-04-11 20:32 Andrew Ammerlaan
2020-04-11 14:06 Denis Reva
2020-04-11  8:21 Denis Reva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox