[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / libretro-genesis-plus-gx

File: [cvs.NetBSD.org] / pkgsrc / emulators / libretro-genesis-plus-gx / Makefile (download)

Revision 1.6, Mon Jun 1 19:12:38 2020 UTC (2 years, 8 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.5: +6 -1 lines

libretro-genesis-plus-gx: don't use bundled zlib, flac

add missing patch for using the correct linker

bump PKGREVISION

# $NetBSD: Makefile,v 1.6 2020/06/01 19:12:38 nia Exp $

DISTNAME=	libretro-genesis-plus-gx-20200208
PKGREVISION=	1
CATEGORIES=	emulators
GITHUB_PROJECT=	Genesis-Plus-GX
GITHUB_TAG=	50551066f71f8a5ea782ea3747891fd6d24ebe67

MAINTAINER=	nia@NetBSD.org
HOMEPAGE=	https://docs.libretro.com/library/genesis_plus_gx/
COMMENT=	Libretro core based on the Genesis Plus Sega 8/16 bit emulator
LICENSE=	mame-license

LDFLAGS+=	-lFLAC -lz

LIBRETRO_CORE=	genesis_plus_gx

.include "../../emulators/retroarch/core.mk"

MAKE_FILE=	Makefile.libretro

MAKE_FLAGS+=	SHARED_LIBVORBIS=1

.if ${MACHINE_ENDIAN} == "big"
MAKE_FLAGS+=	ENDIANNESS_DEFINES="-DBYTE_ORDER=BIG_ENDIAN -DCPU_IS_BIG_ENDIAN=1 -DWORDS_BIGENDIAN=1"
.endif

BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--version-script=./libretro/link.T

.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"