diff options
author | Denis Reva <denis7774@gmail.com> | 2020-09-22 20:19:44 +0500 |
---|---|---|
committer | Denis Reva <denis7774@gmail.com> | 2020-09-22 20:32:48 +0500 |
commit | 2f97a4143a41598be66647a7952c9f083d8ce7e4 (patch) | |
tree | 6d93a1301ac4bddf2a8f7b5c3dd65b830d2271bd /media-libs/amdvlk | |
parent | */*: remove myself as maintainer from mine ebuilds (diff) | |
download | guru-2f97a4143a41598be66647a7952c9f083d8ce7e4.tar.gz guru-2f97a4143a41598be66647a7952c9f083d8ce7e4.tar.bz2 guru-2f97a4143a41598be66647a7952c9f083d8ce7e4.zip |
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@gmail.com>
Diffstat (limited to 'media-libs/amdvlk')
-rw-r--r-- | media-libs/amdvlk/Manifest | 12 | ||||
-rw-r--r-- | media-libs/amdvlk/amdvlk-2020.2.6.ebuild | 125 | ||||
-rw-r--r-- | media-libs/amdvlk/amdvlk-2020.3.3.ebuild | 125 | ||||
-rw-r--r-- | media-libs/amdvlk/metadata.xml | 5 |
4 files changed, 1 insertions, 266 deletions
diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest index 1114fd905..b96a72eec 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 1353722c0..000000000 --- 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 bef5d480e..000000000 --- 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 3c5a2b968..ca953a98b 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. |