aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-07-05 09:06:07 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-07-05 09:06:07 +0200
commite685fb45fa17628b8340b6ae091cb39f33215cdf (patch)
treecdb5615ea0d2939252cf4f44c96ad898164f9a68 /games-arcade/taisei
parentwww-client/badwolf: Remove old, 0.2.1 (diff)
downloadguru-e685fb45fa17628b8340b6ae091cb39f33215cdf.tar.gz
guru-e685fb45fa17628b8340b6ae091cb39f33215cdf.tar.bz2
guru-e685fb45fa17628b8340b6ae091cb39f33215cdf.zip
games-arcade/taisei: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'games-arcade/taisei')
-rw-r--r--games-arcade/taisei/Manifest1
-rw-r--r--games-arcade/taisei/metadata.xml8
-rw-r--r--games-arcade/taisei/taisei-1.3.ebuild40
3 files changed, 49 insertions, 0 deletions
diff --git a/games-arcade/taisei/Manifest b/games-arcade/taisei/Manifest
new file mode 100644
index 000000000..866ac2d98
--- /dev/null
+++ b/games-arcade/taisei/Manifest
@@ -0,0 +1 @@
+DIST taisei-v1.3.tar.xz 104340220 BLAKE2B 363124855e9f429708209135c3b3cfef31a66b6b3d898f8411d9da781facc4a1f8a0b29d7fdee586b269b004c95570c35e98837b75de17e8fe108ee825501c99 SHA512 1387d7936bcd1e7d827be94698cb649d91e7c06ba642b3c897e3c3548f58a4933667cb8ced380eb4df9d2127b5a1a101a9f8ddd1301935ae14a5dbbebf4f2bde
diff --git a/games-arcade/taisei/metadata.xml b/games-arcade/taisei/metadata.xml
new file mode 100644
index 000000000..c698af234
--- /dev/null
+++ b/games-arcade/taisei/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-arcade/taisei/taisei-1.3.ebuild b/games-arcade/taisei/taisei-1.3.ebuild
new file mode 100644
index 000000000..a70aa1834
--- /dev/null
+++ b/games-arcade/taisei/taisei-1.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="Clone of the Touhou series, written in C using SDL/OpenGL/OpenAL."
+HOMEPAGE="http://taisei-project.org/"
+LICENSE="BSD"
+SLOT="0"
+SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/${PN}-v${PV}.tar.xz"
+KEYWORDS="~amd64"
+IUSE="zip"
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+DEPEND="
+ media-libs/freetype:2
+ >=media-libs/libpng-1.5
+ media-libs/libsdl2
+ media-libs/sdl2-mixer
+ media-libs/libwebp
+ sys-libs/zlib
+ zip? ( dev-libs/libzip )
+"
+
+src_prepare() {
+ sed -i '/strip=true/d' meson.build || die "Failed removing auto-stripping"
+ sed -i "s/doc_path = join.*/doc_path = join_paths(datadir, \'doc\', \'taisei-${PV}\')/" \
+ meson.build || die "Failed changing doc_path"
+ default
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use zip enable_zip)
+ )
+ meson_src_configure
+}