aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2021-05-01 17:39:04 +0200
committerOliver Freyermuth <o.freyermuth@googlemail.com>2021-05-01 17:39:04 +0200
commit7dff456a8751745342f66b486c3f63504c23f462 (patch)
tree6bdbaf309bd5bec206b74d5531ee16e9a3f7f6d3 /games-arcade
parentgames-arcade/taisei: Add dev-libs/cglm BDEPEND for live ebuild. (diff)
downloadguru-7dff456a8751745342f66b486c3f63504c23f462.tar.gz
guru-7dff456a8751745342f66b486c3f63504c23f462.tar.bz2
guru-7dff456a8751745342f66b486c3f63504c23f462.zip
games-arcade/taisei: Bump version to 1.3.2.
New version BDEPENDs on previously bundled dev-libs/cglm. Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/taisei/Manifest1
-rw-r--r--games-arcade/taisei/taisei-1.3.2.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/games-arcade/taisei/Manifest b/games-arcade/taisei/Manifest
index f1112cb62..cec7ddb69 100644
--- a/games-arcade/taisei/Manifest
+++ b/games-arcade/taisei/Manifest
@@ -1 +1,2 @@
DIST taisei-v1.3.1.tar.xz 70763196 BLAKE2B ca1901ba0205f6771c087ee70222ceaa3c406a1c632a5f46df1fe4fe493c89af8b587e397551777cd956ab73b5104450356303d0ea0cb8d5cd1b6723ceb1d648 SHA512 5e6f364e67717091041a30103bf117bb5d7a6be76d3d9499b13e36fc190be8c2a0e7ceb582e1d106aa0c1acbb6e39b99a4873a0885af1ec2117ff6ff08e14e3c
+DIST taisei-v1.3.2.tar.xz 70481856 BLAKE2B 608b5db6f17e2693539ce0742a1812633e91e901b3935b9e54f91514827642334f6cb6f0217aff713f1ff9dd01d971ae895ac8c98b0360f254b52d3e49bfae61 SHA512 9304c082106dfa1ffcf6c8fb7333e64755b1246ef50b9f49d3e64d167eb15575ac667ca658b1d7e247582e164e703e5817384556dd633f5516670d975817717d
diff --git a/games-arcade/taisei/taisei-1.3.2.ebuild b/games-arcade/taisei/taisei-1.3.2.ebuild
new file mode 100644
index 000000000..05f6ff546
--- /dev/null
+++ b/games-arcade/taisei/taisei-1.3.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit meson python-any-r1 xdg
+
+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}-v${PV}.tar.xz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-v${PV}"
+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 zip"
+
+DEPEND="
+ media-libs/freetype:2
+ >=media-libs/libpng-1.5
+ media-libs/libsdl2
+ media-libs/sdl2-mixer[opus]
+ media-libs/libwebp
+ sys-libs/zlib
+ zip? ( dev-libs/libzip )
+"
+BDEPEND="
+ >=dev-libs/cglm-0.7.8
+ >=dev-util/meson-0.49
+ ${PYTHON_DEPS}
+ doc? ( dev-python/docutils )"
+
+src_prepare() {
+ if use doc; then
+ sed -i "s/doc_path = join.*/doc_path = join_paths(datadir, \'doc\', \'${P}\')/" \
+ meson.build || die "Failed changing doc_path"
+ fi
+ default
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use doc docs)
+ $(meson_use lto b_lto)
+ $(meson_use zip enable_zip)
+ -Dstrip=false
+ )
+ meson_src_configure
+}