mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
games-arcade/taisei: add 1.4.6
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
1 parent
b7ce76590d
commit
d16ff06e9f
2 files changed
+85
No files matched your search
@@ -1 +1,2 @@
|
|||||||
DIST taisei-1.4.5.tar.xz 307140508 BLAKE2B b128fb6c7dccc518e8bd0579300695475f028046287a3211da734df49d8a38c3eb60b1c939fce133434bf7dc43b13e2735080921c81ee3340d2702a893a54c4c SHA512 68ab8e234443c044b74cb423b1b64ac1a7a155505889dae3f086e0d82290a04169a40862f8ffad8773aaf6800f5c2e289f5d02d253d3bd87c693a9532f6f4339
|
DIST taisei-1.4.5.tar.xz 307140508 BLAKE2B b128fb6c7dccc518e8bd0579300695475f028046287a3211da734df49d8a38c3eb60b1c939fce133434bf7dc43b13e2735080921c81ee3340d2702a893a54c4c SHA512 68ab8e234443c044b74cb423b1b64ac1a7a155505889dae3f086e0d82290a04169a40862f8ffad8773aaf6800f5c2e289f5d02d253d3bd87c693a9532f6f4339
|
||||||
|
DIST taisei-1.4.6.tar.xz 307144568 BLAKE2B f183a220c2282ddca763643ce0c9715b0a88ed2bfc7832552656ce551aace001180beb3592bb3258448d89b12aa969bf7dc5b371df084f262c789dbf371a9820 SHA512 17b976cc44588af2719d796425967412e3cc6d229b20725201ae0139e81824c5046f60f9501c79f68e77ae89e1f6928d6823bc25abaa2dc99fe922a0c4395450
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
# Copyright 2019-2026 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_14 )
|
||||||
|
|
||||||
|
inherit meson python-any-r1 xdg
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/taisei-project/taisei.git"
|
||||||
|
else
|
||||||
|
# Auto-generated tarballs lacks submodules, all of which are taisei subrepos
|
||||||
|
SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/taisei-${PV}.tar.xz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Clone of the Touhou series, written in C using SDL/OpenGL/OpenAL"
|
||||||
|
HOMEPAGE="https://taisei-project.org/"
|
||||||
|
LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="doc lto +mimalloc"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-util/glslang
|
||||||
|
media-libs/freetype:2
|
||||||
|
media-libs/opusfile
|
||||||
|
>=media-libs/libpng-1.5
|
||||||
|
>=media-libs/libsdl3-3.2.0[opengl]
|
||||||
|
media-libs/libwebp
|
||||||
|
media-libs/opusfile
|
||||||
|
app-arch/zstd
|
||||||
|
virtual/zlib:=
|
||||||
|
dev-libs/openssl:=
|
||||||
|
>=dev-libs/libunibreak-6.1
|
||||||
|
mimalloc? ( dev-libs/mimalloc:= )
|
||||||
|
"
|
||||||
|
# bug in dev-libs/cglm-0.9.3: https://github.com/taisei-project/taisei/issues/381
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
>=dev-libs/cglm-0.7.8
|
||||||
|
!!~dev-libs/cglm-0.9.3
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-build/meson-1.8.0
|
||||||
|
sys-devel/gettext
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
doc? ( dev-python/docutils )
|
||||||
|
"
|
||||||
|
|
||||||
|
# BSD qsort_r(3) and Microsoft qsort_s(3) implicit declarations
|
||||||
|
# https://bugs.gentoo.org/941235
|
||||||
|
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||||
|
qsort_r
|
||||||
|
qsort_s
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Path patching needed also without USE=doc (COPYING etc.)
|
||||||
|
sed -i "s/doc_path = join.*/doc_path = join_paths(datadir, \'doc\', \'${PF}\')/" \
|
||||||
|
meson.build || die "Failed changing doc_path"
|
||||||
|
|
||||||
|
# Remove blobs
|
||||||
|
rm -f external/basis_universal/OpenCL/lib/*.lib \
|
||||||
|
external/basis_universal/webgl_videotest/basis.wasm \
|
||||||
|
external/basis_universal/webgl/transcoder/build/basis_transcoder.wasm \
|
||||||
|
external/basis_universal/webgl/encoder/build/basis_encoder.wasm \
|
||||||
|
|| die
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_feature doc docs)
|
||||||
|
$(meson_use lto b_lto)
|
||||||
|
-Dallocator=$(usex mimalloc mimalloc libc)
|
||||||
|
-Dstrip=false
|
||||||
|
-Duse_libcrypto=enabled
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
Reference in new issue
Block a user