File:  [cvs.NetBSD.org] / pkgsrc / games / chromium-bsu / Makefile
Revision 1.21: download - view: text, annotated - select for diffs
Tue Aug 18 17:57:49 2020 UTC (4 years, 3 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
*: revbump for libsndfile

# $NetBSD: Makefile,v 1.21 2020/08/18 17:57:49 leot Exp $

DISTNAME=		chromium-bsu-0.9.16.1
PKGREVISION=		3
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=chromium-bsu/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://chromium-bsu.sourceforge.net/
COMMENT=		Fast paced, arcade-style, top-scrolling space shooter

DEPENDS=		uralic-ttf-[0-9]*:../../fonts/uralic-ttf

USE_PKGLOCALEDIR=	yes
USE_LANGUAGES=		c c++03
USE_TOOLS+=		gmake pkg-config
USE_TOOLS+=		msgfmt msgmerge xgettext
GNU_CONFIGURE=		yes

# XXX needs gnu msgfmt for desktop file creation
_TOOLS_USE_PKGSRC.msgfmt=	yes

LDFLAGS+=		${BUILDLINK_LDADD.gettext}
LDFLAGS.DragonFly=	-lSDL2
LDFLAGS.SunOS=		-lSDL2

CONFIGURE_ARGS+=	--disable-ftgl
CONFIGURE_ARGS+=	--disable-glut
# detection fails
CONFIGURE_ARGS+=	--disable-glpng
# we don't want SDL1.
CONFIGURE_ARGS+=	--disable-sdl
CONFIGURE_ARGS+=	--disable-sdlmixer
CONFIGURE_ARGS+=	--disable-sdlimage
CONFIGURE_ARGS+=	--disable-openal

CFLAGS+=		-DWITH_JOYSTICK

.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/quesoglc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>