Merge updates from master

This commit is contained in:
Repository mirror & CI
2019-07-13 14:06:47 +00:00
3 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST taisei-v1.3.tar.xz 104340220 BLAKE2B 363124855e9f429708209135c3b3cfef31a66b6b3d898f8411d9da781facc4a1f8a0b29d7fdee586b269b004c95570c35e98837b75de17e8fe108ee825501c99 SHA512 1387d7936bcd1e7d827be94698cb649d91e7c06ba642b3c897e3c3548f58a4933667cb8ced380eb4df9d2127b5a1a101a9f8ddd1301935ae14a5dbbebf4f2bde

View File

@@ -0,0 +1,19 @@
<?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>
<upstream>
<bugs-to>https://github.com/taisei-project/taisei/issues</bugs-to>
<changelog>https://taisei-project.org/news.atom</changelog>
<remote-id type="github">taisei-project/taisei</remote-id>
</upstream>
<longdescription lang="en">
Taisei is an open clone of the Touhou Project series. Touhou is a one-man project of shoot-em-up games set in an isolated world full of Japanese folklore.
</longdescription>
<use>
<flag name="zip">Enable loading of game data from ZIP packages via <pkg>dev-libs/libzip</pkg></flag>
</use>
</pkgmetadata>

View File

@@ -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
}