From 318828e81fe6707ce5a64e6a59a76d4c0ca709f8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 19 Sep 2023 23:10:29 +0100 Subject: gentoo auto-resync : 19:09:2023 - 23:10:29 --- games-util/Manifest.gz | Bin 8210 -> 8206 bytes games-util/basis_universal/Manifest | 2 +- .../basis_universal-1.16.3-r1.ebuild | 44 +++++++++++++++++++++ .../basis_universal/basis_universal-1.16.3.ebuild | 44 --------------------- 4 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 games-util/basis_universal/basis_universal-1.16.3-r1.ebuild delete mode 100644 games-util/basis_universal/basis_universal-1.16.3.ebuild (limited to 'games-util') diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz index 1c88cfb8400e..5b7cbdbdd9cd 100644 Binary files a/games-util/Manifest.gz and b/games-util/Manifest.gz differ diff --git a/games-util/basis_universal/Manifest b/games-util/basis_universal/Manifest index e207ac333dd6..903639f02b76 100644 --- a/games-util/basis_universal/Manifest +++ b/games-util/basis_universal/Manifest @@ -2,5 +2,5 @@ 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 -EBUILD basis_universal-1.16.3.ebuild 1113 BLAKE2B ae47273c2b8ceb29fcb1ec184c8428efde62505c7d8690ded5ecb323b1b478b2398ea9ed8ec4fc0f08df03dcec06793507e6e48ccea8bbf43b431f1d2b395fc7 SHA512 a4afdfafba7b7feaee23edd8bf40bf28c4fdda05c7677a211c4faeb45867f046d6046f32c76af5b01177a1530250c47e1c65df5d0ab0534e6aa038f6194ab8ad +EBUILD basis_universal-1.16.3-r1.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.3-r1.ebuild b/games-util/basis_universal/basis_universal-1.16.3-r1.ebuild new file mode 100644 index 000000000000..d5ffebc5b256 --- /dev/null +++ b/games-util/basis_universal/basis_universal-1.16.3-r1.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 +} diff --git a/games-util/basis_universal/basis_universal-1.16.3.ebuild b/games-util/basis_universal/basis_universal-1.16.3.ebuild deleted file mode 100644 index 52186a78cf33..000000000000 --- a/games-util/basis_universal/basis_universal-1.16.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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="${RDEPEND}" - -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 -} -- cgit v1.2.3