cwen ed8fd88083 taisei: update to 1.3.1
Changelog: https://github.com/taisei-project/taisei/releases

The game now requires OpenGL>=3.3 and will be only available on archs
that are known to support modern video cards (aarch64, amd64, i386).
There are currently known issues with amdgpu(4).

OK solene@ on a previous diff, who found out that the build system
calls git(1), this has been disabled, thanks a lot!

OK benoit@ (on the diff that disables git calls)
2020-02-08 11:04:15 +00:00

54 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2020/02/08 11:04:15 cwen Exp $
# Requires OpenGL>=3.3, only usable on archs that support
# modern video cards
ONLY_FOR_ARCHS = amd64 aarch64 i386
COMMENT = clone of the touhou games
VERSION = v1.3.1
DISTNAME = taisei-${VERSION}
PKGNAME = taisei-${VERSION:S/^v//}
CATEGORIES = games
HOMEPAGE = https://taisei-project.org/
# MIT
# Soundtrack: CC-BY 4.0 / Photos: PD and CC-0
PERMIT_PACKAGE = Yes
WANTLIB += SDL2 SDL2_mixer c crypto freetype m opusfile png webpdecoder
WANTLIB += z
MASTER_SITES= https://github.com/taisei-project/taisei/releases/download/${VERSION}/
EXTRACT_SUFX= .tar.xz
MODULES = devel/meson \
lang/python
MODPY_RUNDEP = No
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = devel/desktop-file-utils \
misc/shared-mime-info \
x11/gtk+3,-guic
LIB_DEPENDS = audio/opusfile \
devel/sdl2>=2.0.5 \
devel/sdl2-mixer>=2.0.4 \
graphics/libwebp>=0.5 \
graphics/png>=1.5.0
# Don't include docs
# Don't zip the ressources, it avoids using archivers/libzip
# Don't call git(1), use upstream version as version string
CONFIGURE_ARGS += -Ddocs=false \
-Denable_zip=false \
-Dversion_fallback=${VERSION}
NO_TEST = Yes
.include <bsd.port.mk>