commit: e77375d319c50073065ae9ff51c3ef6888776180
parent: 9cfb00b702d81acbfe52eb547bb61df293cdc6fd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 4 Jan 2019 01:32:30 +0100
games-arcade/taisei: New Package
Diffstat:
3 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/games-arcade/taisei/Manifest b/games-arcade/taisei/Manifest
@@ -0,0 +1 @@
+DIST taisei-1.2.tar.gz 85562896 BLAKE2B 6505935396c6732d3611f6bedea435bfd2550f0cf3cc55d41695dae6b71ba6f17d16b6c12c1d84b6391db5de5108b067b9c338479eb3fbf740130ff93ba1a3a3 SHA512 e6869062a8a2c9bd3b5eedb309811a23b0befc424fbcef3abb8c7f431ef2a8116d861af7491799142e9367d90fcfefd00492ffbd9e5ef94b43b03de2da2721c9
diff --git a/games-arcade/taisei/metadata.xml b/games-arcade/taisei/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <use>
+ <flag name="libzip">Depending on <pkg>dev-libs/libzip</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/games-arcade/taisei/taisei-1.2.ebuild b/games-arcade/taisei/taisei-1.2.ebuild
@@ -0,0 +1,29 @@
+# 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/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+IUSE="webp libzip"
+
+DEPEND="
+ media-libs/freetype:2
+ >=media-libs/libpng-1.5
+ media-libs/libsdl2
+ media-libs/sdl2-mixer
+ webp? ( media-libs/libwebp )
+ libzip? ( dev-libs/libzip )
+ sys-libs/zlib
+"
+
+src_prepare() {
+ sed -i '/strip=true/d' meson.build || die "Failed removing auto-stripping"
+ default
+}