head 1.15; access; symbols pkgsrc-2023Q4:1.15.0.4 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.2 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.14.0.8 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.6 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.4 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.2 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.13.0.8 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.6 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.13.0.4 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.2 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.12.0.10 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.8 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.6 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.4 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.2 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.8.0.6 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.2 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.7.0.8 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.6 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.4 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.2 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.6.0.30 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.28 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.26 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.24 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.20 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.18 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.16 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.14 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.12 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.10 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.8 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.6 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.4 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.2 pkgsrc-2015Q1-base:1.6; locks; strict; comment @# @; 1.15 date 2023.07.21.09.37.18; author nia; state Exp; branches; next 1.14; commitid kh611sQ0zSnSuExE; 1.14 date 2022.09.11.12.51.33; author wiz; state Exp; branches; next 1.13; commitid 5DT6DUEaifG2DrTD; 1.13 date 2021.09.25.05.27.44; author nia; state Exp; branches; next 1.12; commitid Vy1pB1vO8mqvsiaD; 1.12 date 2020.06.01.17.41.02; author nia; state Exp; branches; next 1.11; commitid 6PMZUK2S5HGFYxaC; 1.11 date 2020.05.30.14.49.00; author nia; state Exp; branches; next 1.10; commitid oMD9CLA9WkDk5haC; 1.10 date 2020.05.26.09.45.15; author nia; state Exp; branches; next 1.9; commitid CcSDKIvwRjagxJ9C; 1.9 date 2020.01.26.17.31.09; author rillig; state Exp; branches; next 1.8; commitid 4fBBvoSLJaGd0eUB; 1.8 date 2019.07.05.08.38.36; author nia; state Exp; branches; next 1.7; commitid zNisiQsGTQnfEPtB; 1.7 date 2018.08.16.13.25.28; author nia; state Exp; branches; next 1.6; commitid SiqWw0eQTcifClOA; 1.6 date 2015.03.07.21.14.32; author tnn; state Exp; branches; next 1.5; commitid 46326hgJCezaEIcy; 1.5 date 2015.03.07.14.29.35; author tnn; state Exp; branches; next 1.4; commitid TO1pejgeBGpspGcy; 1.4 date 2015.02.10.17.51.37; author jmcneill; state Exp; branches; next 1.3; commitid OXtBpPxlbIzvku9y; 1.3 date 2015.02.05.17.17.11; author wiz; state Exp; branches; next 1.2; commitid X15Yf3vPCbrDiQ8y; 1.2 date 2015.02.05.16.57.53; author wiz; state Exp; branches; next 1.1; commitid 3IkkZPsXfu18cQ8y; 1.1 date 2015.02.04.23.04.17; author jmcneill; state Exp; branches; next ; commitid omV2YPMkZdLPfK8y; desc @@ 1.15 log @libretro-pcsx-rearmed: Require a c11 compiler for stdatomic. @ text @# $NetBSD: Makefile,v 1.14 2022/09/11 12:51:33 wiz Exp $ DISTNAME= libretro-pcsx-rearmed-20200526 PKGREVISION= 2 CATEGORIES= emulators GITHUB_PROJECT= pcsx_rearmed GITHUB_TAG= 7973b25fe929f92e146a854ecaf4f3cea5b4ffb8 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://docs.libretro.com/library/pcsx_rearmed/ COMMENT= Libretro core based on the PCSX ReARMed emulator LICENSE= gnu-gpl-v2 USE_LANGUAGES= c c++ MAKE_FILE= Makefile.libretro LDFLAGS+= -lFLAC MAKE_FLAGS+= WANT_ZLIB=0 # disable vendored zlib # lightrec requires stdatomic.h USE_CC_FEATURES+= c11 .include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH} == "earmv7hf" CFLAGS+= -march=armv7-a+neon -mfpu=neon MAKE_FLAGS+= ARCH=arm MAKE_FLAGS+= DYNAREC=ari64 MAKE_FLAGS+= HAVE_NEON=1 MAKE_FLAGS+= BUILTIN_GPU=neon .elif !empty(MACHINE_ARCH:M*arm*) MAKE_FLAGS+= ARCH=arm MAKE_FLAGS+= DYNAREC=ari64 MAKE_FLAGS+= HAVE_NEON=0 MAKE_FLAGS+= BUILTIN_GPU=peops .else MAKE_FLAGS+= DYNAREC=lightrec MAKE_FLAGS+= BUILTIN_GPU=peops .endif LIBRETRO_CORE= pcsx_rearmed .include "../../emulators/retroarch/core.mk" .include "../../audio/flac/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.14 log @*: bump PKGREVISION for flac shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2021/09/25 05:27:44 nia Exp $ d21 3 @ 1.13 log @libretro-pcsx-rearmed: on armv7, make sure the compiler is running in neon mode @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2020/06/01 17:41:02 nia Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.12 log @libretro-pcsx-rearmed: enable dynarec on non-arm, don't vendor libflac @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/05/30 14:49:00 nia Exp $ d24 1 @ 1.11 log @libretro-pcsx-rearmed: Update to 20200526 Changes: * Update lightrec to latest upstream * Minimize logs when loading a cheevos-compatible content * Cleanup retro_run() - - move input query into separate functions - move internal fps display to separate function * Hide other inputs from core options - - This adds a core option to hide some input options like multitaps, player ports 3-8 and analog-related fine-tuning options. - also combine dynarec-only options in one #define directive * More core option fixes - - This PR fixes core options and moves them to the related dynarec modes where they are implemented. LIGHTREC = relates to platforms that supports the new Lightrec mode NEW_DYNAREC = relates to previous dynarec implementation that is still used for some 32bit devices - Dynarec Recompiler core option, both dynarec implementation can be enabled or disabled * Move guncon options to update_variables - - This should stop unnecessary RETRO_ENVIRONMENT_GET_VARIABLE callback and log spamming * Fix some edge case where core can freeze upon loading content * Automatically disable Lightrec when no BIOS is present, take 2 * cdriso: fix a disk switching deadlock when closing a CD image * ARM NEON: Fixed bug where MSB of a 15-bit BGR color could corrupt green value. * cdriso: fix a disk switching deadlock * unai: Add ARM-optimized lighting / blending functions Addendum on UNAI ARM-optimized lighting/blending improvements - "Looking at the generated ASM on 3DS, I thought I could squeeze out some extra performance by moving the inner lighting and blending functions to handwritten A32 assembly. This gives a medium improvement generally (3-5fps faster on the beach in Crash 1) and a large improvement when doing lots of blending (46-48fps before, 57-60fps after, behind the waterfall in Water Dragon Isle in Chrono Cross). Some other notes: * I used the ARM11 MPCore (3DS CPU) timings for pipelining. * I had a few stall cycles during lighting, so I used them to preserve the MSB for lighting and blending, which saved a store, load, and orr later on. ~3-6 cycles saved overall by doing that. * I switched from u16 to uint_fast16_t, which is 32-bit on this platform. This saved a few useless uxth instructions for another few cycles. This shouldn't affect other platforms, but I don't know for sure. Could typedef if necessary. * A lot of the speed improvement in blending comes from not using two instructions per and. For example, & 0x8000 -- the compiler preferred to mask out bytes using bic 0x7F00 and bic 0x00FF. Both slower and seemed less correct for what we're trying to do." @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/05/26 09:45:15 nia Exp $ d4 1 d17 2 d33 3 d41 1 a41 1 @ 1.10 log @libretro-*: Support Darwin by cargo-culting SOEXT. Remove bsdtar hack. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/01/26 17:31:09 rillig Exp $ d3 1 a3 1 DISTNAME= libretro-pcsx-rearmed-0.22 a4 1 MASTER_SITES= ${MASTER_SITE_GITHUB:=notaz/} d6 1 a6 1 GITHUB_TAG= r22 d9 1 a9 1 HOMEPAGE= https://notaz.gp2x.de/pcsx_rearmed.php a13 1 USE_TOOLS+= gmake d16 1 a16 8 OPSYSVARS+= SOEXT SOEXT.Darwin= dylib SOEXT.*= so PLIST_SUBST+= SOEXT=${SOEXT} INSTALLATION_DIRS+= ${PREFIX}/lib/libretro BUILDLINK_TRANSFORM+= rm:-ldl d20 10 a29 4 .if !empty(MACHINE_ARCH:M*arm*hf) PCSX_REARMED_PLATFORM= ${MACHINE_ARCH}-hardfloat .else PCSX_REARMED_PLATFORM= unix d32 1 a32 1 MAKE_ENV+= platform="${PCSX_REARMED_PLATFORM}" d34 1 a34 3 do-install: ${INSTALL_LIB} ${WRKSRC}/pcsx_rearmed_libretro.so \ ${DESTDIR}${PREFIX}/lib/libretro/pcsx_rearmed_libretro.so a36 3 .include "../../graphics/png/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} @ 1.9 log @all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/07/05 08:38:36 nia Exp $ d18 5 @ 1.8 log @Adjust some dlopen handling in the emulators category. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/08/16 13:25:28 nia Exp $ d10 1 a10 1 HOMEPAGE= http://notaz.gp2x.de/pcsx_rearmed.php @ 1.7 log @Remove 'dynarec' option and enable it by default instead. Discussed with wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2015/03/07 21:14:32 tnn Exp $ d38 2 @ 1.6 log @Address issues raised by agc@@ to make the github master site handling more pkgsrcesque. 1) turn _USE_GITHUB into an internal infrastructure variable 2) put back MASTER_SITES in packages' Makefiles. 3) encode the account in the master site URL, remove GH_ACCOUNT 4) rename GH_PROJECT to GITHUB_PROJECT 5) rename GH_TAGNAME to GITHUB_TAG and allow it to accept commit hash as well as tag. GH_COMMIT is gone. 6) turn on this functionality when MASTER_SITES matches a predefined github pattern instead of via explicit USE_GITHUB setting. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2015/03/07 14:29:35 tnn Exp $ a31 6 .if !empty(MACHINE_ARCH:M*arm*) # only ARM-specific options for now, and options framework #insists on having at least one option, so only pull it in for ARM .include "options.mk" .endif @ 1.5 log @convert to USE_GITHUB @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2015/02/10 17:51:37 jmcneill Exp $ d5 3 a7 4 USE_GITHUB= yes GH_ACCOUNT= notaz GH_PROJECT= pcsx_rearmed GH_TAGNAME= r22 @ 1.4 log @Switch from git snapshot to release (r22), and make dynarec work on NetBSD/arm. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2015/02/05 17:17:11 wiz Exp $ d3 1 a3 3 DISTNAME= r22 DIST_SUBDIR= pcsx_rearmed PKGNAME= libretro-pcsx-rearmed-0.22 d5 4 a8 1 MASTER_SITES= https://github.com/notaz/pcsx_rearmed/archive/ a14 1 WRKSRC= ${WRKDIR}/pcsx_rearmed-${DISTNAME} @ 1.3 log @Since options are ARM-specific, but options framework insists on having at least one option, include options.mk only on ARM. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2015/02/05 16:57:53 wiz Exp $ d3 3 a5 2 DISTNAME= pcsx-rearmed-libretro-20150204 PKGNAME= libretro-pcsx-rearmed-20150204 d7 1 a7 2 MASTER_SITES= http://ftp.NetBSD.org/pub/NetBSD/misc/jmcneill/retroarch/ EXTRACT_SUFX= .zip d10 1 a10 1 HOMEPAGE= https://github.com/libretro/pcsx_rearmed d14 1 a14 2 WRKSRC= ${WRKDIR}/pcsx_rearmed-master HAS_CONFIGURE= yes d17 1 a17 2 CONFIGURE_ARGS+=--platform=libretro d26 3 a28 2 CFLAGS+= -mfloat-abi=hard ASFLAGS+= -mfloat-abi=hard d31 2 d40 1 a40 1 ${INSTALL_LIB} ${WRKSRC}/libretro.so \ @ 1.2 log @NetBSD police. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/02/04 23:04:17 jmcneill Exp $ d24 3 d32 6 a41 2 .include "options.mk" @ 1.1 log @Import libretro-pcsx-rearmed-20150204 as emulators/libretro-pcsx-rearmed. Libretro is a simple but powerful development interface that allows for the easy creation of emulators, games and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulator and game cores also in their own programs or devices. PCSX ReARMed is a Sony PlayStation1 video game system emulator. @ text @d1 1 a1 1 # $NetBSD$ d6 1 a6 1 MASTER_SITES= http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/retroarch/ @