summaryrefslogtreecommitdiff
path: root/games-util/basis_universal
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /games-util/basis_universal
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'games-util/basis_universal')
-rw-r--r--games-util/basis_universal/Manifest1
-rw-r--r--games-util/basis_universal/basis_universal-1.16.4.ebuild44
-rw-r--r--games-util/basis_universal/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch40
-rw-r--r--games-util/basis_universal/files/basis_universal-1.16.3-fix-RPATH.patch10
-rw-r--r--games-util/basis_universal/files/basis_universal-1.16.3-respect-CFLAGS.patch11
-rw-r--r--games-util/basis_universal/metadata.xml11
6 files changed, 0 insertions, 117 deletions
diff --git a/games-util/basis_universal/Manifest b/games-util/basis_universal/Manifest
deleted file mode 100644
index e7c1a030df36..000000000000
--- a/games-util/basis_universal/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST basis_universal-1.16.4.tar.gz 29156236 BLAKE2B 7beb64406a849e052e74a360803ddf197daaf74f6682f372535645f4e148b28da45c93607b54b81e82a70d44e878489c54cb5054155c5837fecef951e3fd9a2a SHA512 7f7dd62741b4a3e13050233a2ed751e6108cde9eab7b05ea5882ded6ab49fe181cc30e795cf73f8fa625a71e77ae891fda5ea84e20b632b1397844d6539715b3
diff --git a/games-util/basis_universal/basis_universal-1.16.4.ebuild b/games-util/basis_universal/basis_universal-1.16.4.ebuild
deleted file mode 100644
index d5ffebc5b256..000000000000
--- a/games-util/basis_universal/basis_universal-1.16.4.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="${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/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch b/games-util/basis_universal/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch
deleted file mode 100644
index 89be7b13482e..000000000000
--- a/games-util/basis_universal/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-https://bugs.gentoo.org/892727
-https://github.com/BinomialLLC/basis_universal/issues/342
-https://github.com/BinomialLLC/basis_universal/pull/343
-
-From e61fe1e4ff66decbb14f86a1bf8ec4ea40d23bbf Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= <stefantalpalaru@yahoo.com>
-Date: Tue, 31 Jan 2023 14:39:17 +0100
-Subject: [PATCH] SIMD: disable compile time checks
-
-SSE4.1 support is checked at runtime, so compile time checks are
-redundant at best and harmful when compiling for a different machine.
-
-Further more, a logic error prevented the use of SSE4.1 on systems with
-any version of AVX available. This is fixed now.
---- a/encoder/basisu_kernels_sse.cpp
-+++ b/encoder/basisu_kernels_sse.cpp
-@@ -22,22 +22,6 @@
- #include <intrin.h>
- #endif
-
--#if !defined(_MSC_VER)
-- #if __AVX__ || __AVX2__ || __AVX512F__
-- #error Please check your compiler options
-- #endif
--
-- #if CPPSPMD_SSE2
-- #if __SSE4_1__ || __SSE3__ || __SSE4_2__ || __SSSE3__
-- #error SSE4.1/SSE3/SSE4.2/SSSE3 cannot be enabled to use this file
-- #endif
-- #else
-- #if !__SSE4_1__ || !__SSE3__ || !__SSSE3__
-- #error Please check your compiler options
-- #endif
-- #endif
--#endif
--
- #include "cppspmd_sse.h"
-
- #include "cppspmd_type_aliases.h"
-
diff --git a/games-util/basis_universal/files/basis_universal-1.16.3-fix-RPATH.patch b/games-util/basis_universal/files/basis_universal-1.16.3-fix-RPATH.patch
deleted file mode 100644
index d15ba0d4ddfb..000000000000
--- a/games-util/basis_universal/files/basis_universal-1.16.3-fix-RPATH.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -103,7 +103,6 @@ if (NOT MSVC)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBASISU_SUPPORT_SSE=0")
- endif()
-
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${GCC_LINK_FLAGS} -Wl,-rpath .")
- endif()
-
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GCC_COMPILE_FLAGS}")
diff --git a/games-util/basis_universal/files/basis_universal-1.16.3-respect-CFLAGS.patch b/games-util/basis_universal/files/basis_universal-1.16.3-respect-CFLAGS.patch
deleted file mode 100644
index e7c1db7ea2bf..000000000000
--- a/games-util/basis_universal/files/basis_universal-1.16.3-respect-CFLAGS.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -72,7 +72,7 @@ if (NOT MSVC)
- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined")
- endif()
-
-- set(CMAKE_CXX_FLAGS -std=c++11)
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- set(GCC_COMPILE_FLAGS "-fvisibility=hidden -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-local-typedefs -Wno-unused-value -Wno-unused-parameter -Wno-unused-variable")
-
- if (NOT BUILD_X64)
diff --git a/games-util/basis_universal/metadata.xml b/games-util/basis_universal/metadata.xml
deleted file mode 100644
index 60720a5dc5a3..000000000000
--- a/games-util/basis_universal/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">BinomialLLC/basis_universal</remote-id>
- </upstream>
-</pkgmetadata>