mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
games-action/taisei: New package.
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
1
games-action/taisei/Manifest
Normal file
1
games-action/taisei/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST taisei-v1.3.1.tar.xz 70763196 BLAKE2B ca1901ba0205f6771c087ee70222ceaa3c406a1c632a5f46df1fe4fe493c89af8b587e397551777cd956ab73b5104450356303d0ea0cb8d5cd1b6723ceb1d648 SHA512 5e6f364e67717091041a30103bf117bb5d7a6be76d3d9499b13e36fc190be8c2a0e7ceb582e1d106aa0c1acbb6e39b99a4873a0885af1ec2117ff6ff08e14e3c
|
||||
14
games-action/taisei/metadata.xml
Normal file
14
games-action/taisei/metadata.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>o.freyermuth@googlemail.com</email>
|
||||
<name>Oliver Freyermuth</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">taisei-project/taisei</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="lto">Enable link time optimization</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
57
games-action/taisei/taisei-1.3.1.ebuild
Normal file
57
games-action/taisei/taisei-1.3.1.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="https://github.com/taisei-project/taisei.git"
|
||||
else
|
||||
SRC_URI="https://github.com/taisei-project/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
fi
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="A free and open-source Touhou Project clone and fangame"
|
||||
HOMEPAGE="https://taisei-project.org/"
|
||||
|
||||
LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain"
|
||||
SLOT="0"
|
||||
IUSE="doc +lto"
|
||||
|
||||
RDEPEND="
|
||||
>=media-libs/libsdl2-2.0.6
|
||||
>=media-libs/sdl2-mixer-2.0.4
|
||||
media-libs/freetype:2
|
||||
>=media-libs/libpng-1.5
|
||||
>=media-libs/libwebp-0.5
|
||||
>=dev-libs/libzip-1.2
|
||||
media-libs/opusfile
|
||||
dev-libs/openssl
|
||||
media-libs/shaderc
|
||||
dev-util/spirv-tools"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=dev-util/meson-0.49
|
||||
>=dev-lang/python-3.5
|
||||
doc? ( dev-python/docutils )"
|
||||
|
||||
src_prepare() {
|
||||
if use doc; then
|
||||
# Fixup install path for documentation.
|
||||
sed -i "s/doc_path = join_paths(datadir, 'doc', 'taisei')/doc_path = join_paths(datadir, 'doc', '"${P}"')/" meson.build || die
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use doc docs)
|
||||
$(meson_use lto b_lto)
|
||||
# Stips binary by default otherwise.
|
||||
-Dstrip=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
57
games-action/taisei/taisei-9999.ebuild
Normal file
57
games-action/taisei/taisei-9999.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="https://github.com/taisei-project/taisei.git"
|
||||
else
|
||||
SRC_URI="https://github.com/taisei-project/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
fi
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="A free and open-source Touhou Project clone and fangame"
|
||||
HOMEPAGE="https://taisei-project.org/"
|
||||
|
||||
LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain"
|
||||
SLOT="0"
|
||||
IUSE="doc +lto"
|
||||
|
||||
RDEPEND="
|
||||
>=media-libs/libsdl2-2.0.6
|
||||
>=media-libs/sdl2-mixer-2.0.4
|
||||
media-libs/freetype:2
|
||||
>=media-libs/libpng-1.5
|
||||
>=media-libs/libwebp-0.5
|
||||
>=dev-libs/libzip-1.2
|
||||
media-libs/opusfile
|
||||
dev-libs/openssl
|
||||
media-libs/shaderc
|
||||
dev-util/spirv-tools"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=dev-util/meson-0.49
|
||||
>=dev-lang/python-3.5
|
||||
doc? ( dev-python/docutils )"
|
||||
|
||||
src_prepare() {
|
||||
if use doc; then
|
||||
# Fixup install path for documentation.
|
||||
sed -i "s/doc_path = join_paths(datadir, 'doc', 'taisei')/doc_path = join_paths(datadir, 'doc', '"${P}"')/" meson.build || die
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use doc docs)
|
||||
$(meson_use lto b_lto)
|
||||
# Stips binary by default otherwise.
|
||||
-Dstrip=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user