[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / taisei

File: [cvs.NetBSD.org] / pkgsrc / games / taisei / Makefile (download)

Revision 1.23, Wed Oct 26 10:31:29 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.22: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.23 2022/10/26 10:31:29 wiz Exp $

DISTNAME=	taisei-v1.3.2
PKGNAME=	${DISTNAME:S/-v/-/}
PKGREVISION=	7
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GITHUB:=taisei-project/}
GITHUB_RELEASE=	v${PKGVERSION_NOREV}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://taisei-project.org/
COMMENT=	Open source Touhou Project fan game
LICENSE=	mit

USE_TOOLS+=	pkg-config

# C++14
GCC_REQD+=	5

MESON_ARGS+=	-Db_pch=false
MESON_ARGS+=	-Db_lto=false
MESON_ARGS+=	-Dstrip=false
MESON_ARGS+=	-Ddefault_library=shared
MESON_ARGS+=	-Dversion_fallback=${PKGVERSION_NOREV}
MESON_ARGS+=	-Ddocs=false
MESON_ARGS+=	-Ddeveloper=false
MESON_ARGS+=	-Ddebug_opengl=false
MESON_ARGS+=	-Dmacos_bundle=false
MESON_ARGS+=	-Dvalidate_glsl=false
MESON_ARGS+=	-Dinstall_freedesktop=true
MESON_ARGS+=	-Duse_libcrypto=true

SUBST_CLASSES+=		ver
SUBST_STAGE.ver=	pre-configure
SUBST_MESSAGE.ver=	Setting the package verison.
SUBST_FILES.ver+=	scripts/meson.build
SUBST_VARS.ver=		PKGVERSION

REPLACE_PYTHON+=	scripts/thunk.py
REPLACE_PYTHON+=	scripts/configure-file.py

BUILDLINK_TRANSFORM+=	rm:-Werror=implicit-function-declaration

PYTHON_FOR_BUILD_ONLY=		tool
PYTHON_VERSIONS_INCOMPATIBLE=	27

.include "../../devel/meson/build.mk"
.include "../../archivers/libzip/buildlink3.mk"
.include "../../audio/opusfile/buildlink3.mk"
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/cglm/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"