From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1099362-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 296C4138334
	for <garchives@archives.gentoo.org>; Sat, 13 Jul 2019 13:41:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 69B92E0845;
	Sat, 13 Jul 2019 13:41:49 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 3DEA3E0845
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jul 2019 13:41:48 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 29FC03478C7
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jul 2019 13:41:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 97D776E6
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jul 2019 13:41:44 +0000 (UTC)
From: "Ralph Seichter" <gentoo@seichter.de>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ralph Seichter" <gentoo@seichter.de>
Message-ID: <1562310367.e685fb45fa17628b8340b6ae091cb39f33215cdf.ralph-seichter@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-arcade/taisei/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: games-arcade/taisei/Manifest games-arcade/taisei/metadata.xml games-arcade/taisei/taisei-1.3.ebuild
X-VCS-Directories: games-arcade/taisei/
X-VCS-Committer: ralph-seichter
X-VCS-Committer-Name: Ralph Seichter
X-VCS-Revision: e685fb45fa17628b8340b6ae091cb39f33215cdf
X-VCS-Branch: master
Date: Sat, 13 Jul 2019 13:41:44 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: fa42958e-a330-4cd5-be4d-053e30196ae4
X-Archives-Hash: 8113c2f4b45854fe58eb8e54c90870d8

commit:     e685fb45fa17628b8340b6ae091cb39f33215cdf
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Jul  5 07:06:07 2019 +0000
Commit:     Ralph Seichter <gentoo <AT> seichter <DOT> de>
CommitDate: Fri Jul  5 07:06:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e685fb45

games-arcade/taisei: New Package

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 games-arcade/taisei/Manifest          |  1 +
 games-arcade/taisei/metadata.xml      |  8 +++++++
 games-arcade/taisei/taisei-1.3.ebuild | 40 +++++++++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/games-arcade/taisei/Manifest b/games-arcade/taisei/Manifest
new file mode 100644
index 0000000..866ac2d
--- /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 0000000..c698af2
--- /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 0000000..a70aa18
--- /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
+}