head	1.5;
access;
symbols
	pkgsrc-2026Q1:1.4.0.2
	pkgsrc-2026Q1-base:1.4
	pkgsrc-2025Q4:1.3.0.2
	pkgsrc-2025Q4-base:1.3
	pkgsrc-2025Q3:1.2.0.2
	pkgsrc-2025Q3-base:1.2
	pkgsrc-2025Q2:1.1.0.2
	pkgsrc-2025Q2-base:1.1;
locks; strict;
comment	@# @;


1.5
date	2026.03.30.16.06.23;	author adam;	state Exp;
branches;
next	1.4;
commitid	8oWSwqRNBzeg31AG;

1.4
date	2026.03.11.08.13.42;	author adam;	state Exp;
branches;
next	1.3;
commitid	OaQt6gYVlj9Z2xxG;

1.3
date	2025.12.17.22.59.13;	author nia;	state Exp;
branches;
next	1.2;
commitid	v8YfE6reC4XfEOmG;

1.2
date	2025.08.20.11.34.55;	author wiz;	state Exp;
branches;
next	1.1;
commitid	lgT5N7I1hRAxGs7G;

1.1
date	2025.04.13.16.19.29;	author nia;	state Exp;
branches;
next	;
commitid	q31MY5ATKHQhpUQF;


desc
@@


1.5
log
@ppsspp: updated to 1.20.3

1.20.3
Fix issue preventing ad hoc relay servers from working when RetroAchievements are enabled on Windows
Some ad hoc UI improvements
Fix crash/failure setting the background on iOS
Fix logging to file
Networking settings cleanup
Some fixes for assorted rare crashes
Fix issues when unpausing using a controller binding
Fix missing savestate undo button
MMPX texture upscaling algorithm has been restored, the new one has been improved
Fix support for custom game config for homebrew apps
Improve insets handling on Android
@
text
@# $NetBSD: Makefile.common,v 1.4 2026/03/11 08:13:42 adam Exp $
# used by emulators/ppsspp/Makefile
# used by emulators/ppsspp-qt/Makefile
# used by emulators/libretro-ppsspp/Makefile

DISTNAME=	ppsspp-1.20.3
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_GITHUB:=hrydgard/}
GITHUB_PROJECT=	ppsspp
GITHUB_RELEASE=	v${PKGVERSION_NOREV}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@@NetBSD.org
LICENSE=	gnu-gpl-v2

USE_CXX_FEATURES=	c++17
USE_LANGUAGES=		c c++
USE_TOOLS+=		pkg-config

DISTINFO_FILE=	${.CURDIR}/../../emulators/ppsspp/distinfo
PATCHDIR=	${.CURDIR}/../../emulators/ppsspp/patches

LDFLAGS.NetBSD+=	-lrt

# Use libraries from pkgsrc.
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_FFMPEG=ON
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_LIBSDL2=ON
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_LIBPNG=ON
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_LIBZIP=ON
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_MINIUPNPC=ON
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_SNAPPY=ON
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_ZSTD=ON
# let pkgsrc take care of this
CMAKE_CONFIGURE_ARGS+=	-DUSE_CCACHE=OFF
# we're open source
CMAKE_CONFIGURE_ARGS+=	-DUSE_DISCORD=OFF

.include "../../mk/compiler.mk"

.if ${CC_VERSION:Mgcc-*}
# Various issues with -fPIC etc
CMAKE_CONFIGURE_ARGS+=	-DARMIPS_PRECOMPILE_HEADERS=OFF
CMAKE_CONFIGURE_ARGS+=	-DENABLE_PCH=OFF
.endif

.include "../../archivers/libzip/buildlink3.mk"
.include "../../archivers/zstd/buildlink3.mk"
.include "../../devel/cmake/build.mk"
.include "../../devel/snappy/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/tool.mk"
# See https://github.com/hrydgard/ppsspp/issues/20812
.include "../../multimedia/ffmpeg8/buildlink3.mk"
.include "../../net/miniupnpc/buildlink3.mk"
.include "../../mk/atomic64.mk"
.include "../../mk/pthread.buildlink3.mk"
@


1.4
log
@ppsspp ppsspp-qt libretro-ppsspp: updated to 1.20.2

What's new in 1.20.2

Improved server list for ad hoc multiplayer, dynamically updated and you can now add/remove entries
Fix broken multitouch on iOS with OpenGL
Ad hoc relay connection improvements
Fix a lot of minor UI issues
Fix background image selection on Android and iOS
Fix file permission issue on iOS
Add a "hold" version of axis swap toggle
Fix regression in Gripshift
Fix crash on audio device switch on Windows
Fix timing glitches in gamepad input on Windows
And other assorted fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.3 2025/12/17 22:59:13 nia Exp $
d6 1
a6 1
DISTNAME=	ppsspp-1.20.2
@


1.3
log
@ppsspp: Needs atomic64.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.2 2025/08/20 11:34:55 wiz Exp $
d6 1
a6 1
DISTNAME=	ppsspp-1.18.1
d16 3
a18 2
USE_LANGUAGES=	c c++
USE_TOOLS+=	pkg-config
a22 2
USE_CXX_FEATURES+=	c++17

d25 1
a25 1
# use libraries from pkgsrc
a26 1
CMAKE_CONFIGURE_ARGS+=	-DUSE_SYSTEM_LIBZIP=ON
d29 1
a32 2
CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5

a34 1

a45 1
.include "../../devel/cmake/build.mk"
d48 1
d51 1
d55 2
a56 2
# don't change this, newer versions of ffmpeg break fmv
.include "../../multimedia/ffmpeg2/buildlink3.mk"
@


1.2
log
@*: fix build with cmake 4
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.1 2025/04/13 16:19:29 nia Exp $
d61 1
@


1.1
log
@ppsspp: Import latest standalone version.

Rebase the existing libretro package on the standalone version.
@
text
@d1 1
a1 1
# $NetBSD$
d34 1
@

