diff options
author | 2023-09-09 03:51:18 +0200 | |
---|---|---|
committer | 2023-09-09 05:52:23 +0200 | |
commit | 848a935bcfcce15e47a579c6b0dccc7d8188de76 (patch) | |
tree | 37f7e5ab272a9be034b23adaa9042fc3a6e6e471 /games-arcade | |
parent | app-admin/synadm: drop 0.41.2, 0.41.3 (diff) | |
download | guru-848a935bcfcce15e47a579c6b0dccc7d8188de76.tar.gz guru-848a935bcfcce15e47a579c6b0dccc7d8188de76.tar.bz2 guru-848a935bcfcce15e47a579c6b0dccc7d8188de76.zip |
games-arcade/taisei: Remove blobs, fix deprecated config
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/taisei/taisei-1.4.ebuild | 17 | ||||
-rw-r--r-- | games-arcade/taisei/taisei-9999.ebuild | 17 |
2 files changed, 26 insertions, 8 deletions
diff --git a/games-arcade/taisei/taisei-1.4.ebuild b/games-arcade/taisei/taisei-1.4.ebuild index 96cd10e33c..53ee5485ba 100644 --- a/games-arcade/taisei/taisei-1.4.ebuild +++ b/games-arcade/taisei/taisei-1.4.ebuild @@ -11,7 +11,8 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" else - SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/${PN}-${PV}.tar.xz" + # 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 @@ -54,16 +55,24 @@ 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 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_use doc docs) + $(meson_feature doc docs) $(meson_use lto b_lto) - $(meson_use zip vfs_zip) + $(meson_feature zip vfs_zip) -Dstrip=false - -Duse_libcrypto=true + -Duse_libcrypto=enabled ) meson_src_configure } diff --git a/games-arcade/taisei/taisei-9999.ebuild b/games-arcade/taisei/taisei-9999.ebuild index 96cd10e33c..53ee5485ba 100644 --- a/games-arcade/taisei/taisei-9999.ebuild +++ b/games-arcade/taisei/taisei-9999.ebuild @@ -11,7 +11,8 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" else - SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/${PN}-${PV}.tar.xz" + # 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 @@ -54,16 +55,24 @@ 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 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_use doc docs) + $(meson_feature doc docs) $(meson_use lto b_lto) - $(meson_use zip vfs_zip) + $(meson_feature zip vfs_zip) -Dstrip=false - -Duse_libcrypto=true + -Duse_libcrypto=enabled ) meson_src_configure } |