public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Denis Reva" <denis7774@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/
Date: Sat,  4 Jul 2020 15:01:28 +0000 (UTC)	[thread overview]
Message-ID: <1593874879.3c997d4ae41dd6ad8e5bdd7fa5df1f0ea3f075a3.RarogCmex@gentoo> (raw)

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\""
+}


             reply	other threads:[~2020-07-04 15:01 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04 15:01 Denis Reva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12 19:08 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/ 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-19  6:28 Denis Reva
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-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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1593874879.3c997d4ae41dd6ad8e5bdd7fa5df1f0ea3f075a3.RarogCmex@gentoo \
    --to=denis7774@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox