diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-01 05:41:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-01 05:41:49 +0100 |
commit | 9a92076d428b51966bd8d699427341e5500b3a8a (patch) | |
tree | 89cfb1b8eafec7472c5c70e3b2d47f5372fa067a /games-util | |
parent | acc3fd0021f478ed04cb72c7b46bc0d6fa315f29 (diff) |
gentoo auto-resync : 01:10:2023 - 05:41:49
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/Manifest.gz | bin | 8213 -> 8215 bytes | |||
-rw-r--r-- | games-util/basis_universal/Manifest | 2 | ||||
-rw-r--r-- | games-util/basis_universal/basis_universal-1.16.4.ebuild | 44 |
3 files changed, 46 insertions, 0 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz Binary files differindex 36518352eead..dc8ef9f39f8c 100644 --- a/games-util/Manifest.gz +++ b/games-util/Manifest.gz diff --git a/games-util/basis_universal/Manifest b/games-util/basis_universal/Manifest index 903639f02b76..9490eacdf910 100644 --- a/games-util/basis_universal/Manifest +++ b/games-util/basis_universal/Manifest @@ -2,5 +2,7 @@ AUX basis_universal-1.16.3-SSE4.1-AVX-checks.patch 1230 BLAKE2B fcf212a61147a8a3 AUX basis_universal-1.16.3-fix-RPATH.patch 332 BLAKE2B 46349fb09343dfd28dfb383a7d21a5abbb64245f4ba85012f3bc97084740bb8dcbbbb2432902f27863c5a80cc04e3f2b3569dc13ee97b498932fd75182c7a6a2 SHA512 0ab6e03146c5e924644112200b6c0b6cce3f9ab5797be4a052994ee553814c128b74a1e91f66f248af21c496a4407267d0b27c46bc6c29bb1554a66581da3f58 AUX basis_universal-1.16.3-respect-CFLAGS.patch 556 BLAKE2B b9e099ddcca8a5902da78faf293b953f231c2d05c746f6ff105a0db5dcab07009276c76f8a034a22aa42ac063850fbfaba905ce1c5022aff4e0889b9f2546123 SHA512 5eaa8339b853fb14fd5efd2596ae7221c648203fb253678c0791d7b6278e3ea55ab3d275ee28c2c9a704a5d23dc52e7f54e825c2d8de86874f79ecaced37e3be DIST basis_universal-1.16.3.tar.gz 29151155 BLAKE2B e3ef3ead6223aa73012bd74e51dae269746cfcf2720c524be8096ce8643777723888f98a140d2e28c881ed60ab54b7ea6fef4205b72757d72e766f85806b4484 SHA512 3dca02ad6c14e74df7a89d3b2a59b970635cf5e268b96eb91b10033e2b8e635c83aca6b8e9b34a1b689ed5ffe7c8348d15b8524385f6d07a51cc34a46246a0b7 +DIST basis_universal-1.16.4.tar.gz 29156236 BLAKE2B 7beb64406a849e052e74a360803ddf197daaf74f6682f372535645f4e148b28da45c93607b54b81e82a70d44e878489c54cb5054155c5837fecef951e3fd9a2a SHA512 7f7dd62741b4a3e13050233a2ed751e6108cde9eab7b05ea5882ded6ab49fe181cc30e795cf73f8fa625a71e77ae891fda5ea84e20b632b1397844d6539715b3 EBUILD basis_universal-1.16.3-r1.ebuild 1112 BLAKE2B 8941e767665e09ec31803743a4e21d897cccb002a8a10e743330d6da6e8a663cfc2aa1c7028ae0e4750aa9380e79b69ec4b4970b8750b79bcd9f70e96da8f4ae SHA512 8070c81166590dad2a0f0deff31f2e1eb83dc37c665ec4c52eac17b39c39fe8ee146ee5c5467cb5d2c312a94327a1b7bdec6428b8a24a4b2429f1a80abd3ed0e +EBUILD basis_universal-1.16.4.ebuild 1112 BLAKE2B 8941e767665e09ec31803743a4e21d897cccb002a8a10e743330d6da6e8a663cfc2aa1c7028ae0e4750aa9380e79b69ec4b4970b8750b79bcd9f70e96da8f4ae SHA512 8070c81166590dad2a0f0deff31f2e1eb83dc37c665ec4c52eac17b39c39fe8ee146ee5c5467cb5d2c312a94327a1b7bdec6428b8a24a4b2429f1a80abd3ed0e MISC metadata.xml 412 BLAKE2B 00c914af265ebe97107ee3ed185ae7693348de4902d557beb6590efae0b1ec351baed1fd02facb6605b390fff36ddc40aa49ff1786472ccd5376d16abd522540 SHA512 1a971517dc0b642e254f2acab248d9364b510b16b80fe095c320d552869f6e8909343fd6e62a1896c344d57d7f4624e10f193c3b4f3b7689eb5b669b85517998 diff --git a/games-util/basis_universal/basis_universal-1.16.4.ebuild b/games-util/basis_universal/basis_universal-1.16.4.ebuild new file mode 100644 index 000000000000..d5ffebc5b256 --- /dev/null +++ b/games-util/basis_universal/basis_universal-1.16.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Basis Universal GPU Texture Codec" +HOMEPAGE="https://github.com/BinomialLLC/basis_universal" +# dist .zip is just a exe for windows +SRC_URI="https://github.com/BinomialLLC/basis_universal/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 zstd? ( BSD )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="cpu_flags_x86_sse4_1 opencl zstd" + +# zstd is bundled, see https://github.com/BinomialLLC/basis_universal/pull/228 +DEPEND=" + opencl? ( virtual/opencl ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.16.3-respect-CFLAGS.patch + "${FILESDIR}"/${PN}-1.16.3-fix-RPATH.patch + "${FILESDIR}"/${PN}-1.16.3-SSE4.1-AVX-checks.patch +) + +src_configure() { + local x64=ON + if $(tc-getCC) -dM -E -x c - < <(echo 'int main() { }') | grep -qi "#define __PTRDIFF_WIDTH__ 32" ; then + x64=OFF + fi + + local mycmakeargs=( + -DBUILD_X64=${x64} + -DOPENCL=$(usex opencl) + -DSSE=$(usex cpu_flags_x86_sse4_1) + -DZSTD=$(usex zstd) + ) + + cmake_src_configure +} |