Gentoo Archives: gentoo-commits

From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-arcade/taisei/
Date: Sat, 01 May 2021 15:39:11
Message-Id: 1619883544.7dff456a8751745342f66b486c3f63504c23f462.freyermuth@gentoo
1 commit: 7dff456a8751745342f66b486c3f63504c23f462
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Sat May 1 15:39:04 2021 +0000
4 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
5 CommitDate: Sat May 1 15:39:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7dff456a
7
8 games-arcade/taisei: Bump version to 1.3.2.
9
10 New version BDEPENDs on previously bundled
11 dev-libs/cglm.
12
13 Package-Manager: Portage-3.0.18, Repoman-3.0.2
14 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
15
16 games-arcade/taisei/Manifest | 1 +
17 games-arcade/taisei/taisei-1.3.2.ebuild | 57 +++++++++++++++++++++++++++++++++
18 2 files changed, 58 insertions(+)
19
20 diff --git a/games-arcade/taisei/Manifest b/games-arcade/taisei/Manifest
21 index f1112cb62..cec7ddb69 100644
22 --- a/games-arcade/taisei/Manifest
23 +++ b/games-arcade/taisei/Manifest
24 @@ -1 +1,2 @@
25 DIST taisei-v1.3.1.tar.xz 70763196 BLAKE2B ca1901ba0205f6771c087ee70222ceaa3c406a1c632a5f46df1fe4fe493c89af8b587e397551777cd956ab73b5104450356303d0ea0cb8d5cd1b6723ceb1d648 SHA512 5e6f364e67717091041a30103bf117bb5d7a6be76d3d9499b13e36fc190be8c2a0e7ceb582e1d106aa0c1acbb6e39b99a4873a0885af1ec2117ff6ff08e14e3c
26 +DIST taisei-v1.3.2.tar.xz 70481856 BLAKE2B 608b5db6f17e2693539ce0742a1812633e91e901b3935b9e54f91514827642334f6cb6f0217aff713f1ff9dd01d971ae895ac8c98b0360f254b52d3e49bfae61 SHA512 9304c082106dfa1ffcf6c8fb7333e64755b1246ef50b9f49d3e64d167eb15575ac667ca658b1d7e247582e164e703e5817384556dd633f5516670d975817717d
27
28 diff --git a/games-arcade/taisei/taisei-1.3.2.ebuild b/games-arcade/taisei/taisei-1.3.2.ebuild
29 new file mode 100644
30 index 000000000..05f6ff546
31 --- /dev/null
32 +++ b/games-arcade/taisei/taisei-1.3.2.ebuild
33 @@ -0,0 +1,57 @@
34 +# Copyright 2019-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{7,8,9} )
40 +
41 +inherit meson python-any-r1 xdg
42 +
43 +if [[ ${PV} == *9999* ]]; then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/taisei-project/taisei.git"
46 +else
47 + SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/${PN}-v${PV}.tar.xz"
48 + KEYWORDS="~amd64"
49 + S="${WORKDIR}/${PN}-v${PV}"
50 +fi
51 +
52 +DESCRIPTION="Clone of the Touhou series, written in C using SDL/OpenGL/OpenAL."
53 +HOMEPAGE="https://taisei-project.org/"
54 +LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain"
55 +SLOT="0"
56 +
57 +IUSE="doc lto zip"
58 +
59 +DEPEND="
60 + media-libs/freetype:2
61 + >=media-libs/libpng-1.5
62 + media-libs/libsdl2
63 + media-libs/sdl2-mixer[opus]
64 + media-libs/libwebp
65 + sys-libs/zlib
66 + zip? ( dev-libs/libzip )
67 +"
68 +BDEPEND="
69 + >=dev-libs/cglm-0.7.8
70 + >=dev-util/meson-0.49
71 + ${PYTHON_DEPS}
72 + doc? ( dev-python/docutils )"
73 +
74 +src_prepare() {
75 + if use doc; then
76 + sed -i "s/doc_path = join.*/doc_path = join_paths(datadir, \'doc\', \'${P}\')/" \
77 + meson.build || die "Failed changing doc_path"
78 + fi
79 + default
80 +}
81 +
82 +src_configure() {
83 + local emesonargs=(
84 + $(meson_use doc docs)
85 + $(meson_use lto b_lto)
86 + $(meson_use zip enable_zip)
87 + -Dstrip=false
88 + )
89 + meson_src_configure
90 +}