logo

overlay

My (experimental) gentoo overlay
commit: b61a9684f2a29a209a68b8916697d5964cd781db
parent: 6badc97aaf0d86180c5a5954fe5d0118f4a7ad49
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 29 Apr 2019 02:57:36 +0200

games-arcade/taisei: Bump to 1.3

Diffstat:

Mgames-arcade/taisei/Manifest1+
Mgames-arcade/taisei/metadata.xml2+-
Agames-arcade/taisei/taisei-1.3.ebuild41+++++++++++++++++++++++++++++++++++++++++
3 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/games-arcade/taisei/Manifest b/games-arcade/taisei/Manifest @@ -1 +1,2 @@ DIST taisei-1.2.tar.gz 85562896 BLAKE2B 6505935396c6732d3611f6bedea435bfd2550f0cf3cc55d41695dae6b71ba6f17d16b6c12c1d84b6391db5de5108b067b9c338479eb3fbf740130ff93ba1a3a3 SHA512 e6869062a8a2c9bd3b5eedb309811a23b0befc424fbcef3abb8c7f431ef2a8116d861af7491799142e9367d90fcfefd00492ffbd9e5ef94b43b03de2da2721c9 +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 @@ -6,6 +6,6 @@ <name>Haelwenn (lanodan) Monnier</name> </maintainer> <use> - <flag name="libzip">Depending on <pkg>dev-libs/libzip</pkg></flag> + <flag name="libzip">Enable loading of game data from ZIP packages via <pkg>dev-libs/libzip</pkg></flag> </use> </pkgmetadata> diff --git a/games-arcade/taisei/taisei-1.3.ebuild b/games-arcade/taisei/taisei-1.3.ebuild @@ -0,0 +1,41 @@ +# 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="libzip" + +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 + libzip? ( 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 libzip enable_zip) + ) + meson_src_configure +}