pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

jazz2-resurrection: import jazz2-resurrection-2.4.0 as wip/jazz2-resurrection



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Thu Dec 28 13:09:42 2023 +0200
Changeset:	61837c3dc8506fcd7d560d5ecc8899a852637bb7

Modified Files:
	Makefile
Added Files:
	jazz2-resurrection/DESCR
	jazz2-resurrection/Makefile
	jazz2-resurrection/PLIST
	jazz2-resurrection/distinfo
	jazz2-resurrection/patches/patch-README.md
	jazz2-resurrection/patches/patch-Sources_Jazz2_ContentResolver.cpp
	jazz2-resurrection/patches/patch-Sources_Jazz2_PreferencesCache.cpp
	jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.cpp
	jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.h
	jazz2-resurrection/patches/patch-Sources_nCine_Threading_PosixThread.cpp
	jazz2-resurrection/patches/patch-Sources_nCine_Threading_Thread.h
	jazz2-resurrection/patches/patch-cmake_FindGLFW.cmake
	jazz2-resurrection/patches/patch-cmake_Findlibopenmpt.cmake

Log Message:
jazz2-resurrection: import jazz2-resurrection-2.4.0 as wip/jazz2-resurrection

Jazz^2 Resurrection is reimplementation of the game Jazz Jackrabbit
2 released in 1998. Supports various versions of the game (Shareware
Demo, Holiday Hare '98, The Secret Files and Christmas Chronicles).
Also, it partially supports some features of JJ2+ extension and
MLLE. This repository contains fully rewritten game in C++ with
better performance and many improvements.

This package provides the game engine only. The game data files should
be copied to ~/.local/share/Jazz2-Resurrection/Source/

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=61837c3dc8506fcd7d560d5ecc8899a852637bb7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |   1 +
 jazz2-resurrection/DESCR                           |   9 +
 jazz2-resurrection/Makefile                        |  40 +++
 jazz2-resurrection/PLIST                           | 285 +++++++++++++++++++++
 jazz2-resurrection/distinfo                        |  14 +
 jazz2-resurrection/patches/patch-README.md         |  22 ++
 .../patch-Sources_Jazz2_ContentResolver.cpp        |  27 ++
 .../patch-Sources_Jazz2_PreferencesCache.cpp       |  22 ++
 .../patches/patch-Sources_Shared_IO_FileSystem.cpp |  15 ++
 .../patches/patch-Sources_Shared_IO_FileSystem.h   |  22 ++
 .../patch-Sources_nCine_Threading_PosixThread.cpp  |  87 +++++++
 .../patches/patch-Sources_nCine_Threading_Thread.h |  53 ++++
 .../patches/patch-cmake_FindGLFW.cmake             |  14 +
 .../patches/patch-cmake_Findlibopenmpt.cmake       |  21 ++
 14 files changed, 632 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7d87eb1416..5e4ffee1e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1706,6 +1706,7 @@ SUBDIR+=	java-swt
 SUBDIR+=	java-tritonus-share
 SUBDIR+=	java-vorbisspi
 SUBDIR+=	java-xmlrpc
+SUBDIR+=	jazz2-resurrection
 SUBDIR+=	jbmgen
 SUBDIR+=	jc
 SUBDIR+=	jedit
diff --git a/jazz2-resurrection/DESCR b/jazz2-resurrection/DESCR
new file mode 100644
index 0000000000..73836980f2
--- /dev/null
+++ b/jazz2-resurrection/DESCR
@@ -0,0 +1,9 @@
+Jazz^2 Resurrection is reimplementation of the game Jazz Jackrabbit
+2 released in 1998. Supports various versions of the game (Shareware
+Demo, Holiday Hare '98, The Secret Files and Christmas Chronicles).
+Also, it partially supports some features of JJ2+ extension and
+MLLE. This repository contains fully rewritten game in C++ with
+better performance and many improvements.
+
+This package provides the game engine only. The game data files should
+be copied to ~/.local/share/Jazz2-Resurrection/Source/
diff --git a/jazz2-resurrection/Makefile b/jazz2-resurrection/Makefile
new file mode 100644
index 0000000000..a599eb7f17
--- /dev/null
+++ b/jazz2-resurrection/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	jazz2-native
+GITHUB_TAG=	2.4.0
+DISTNAME=	${GITHUB_TAG}
+PKGNAME=	jazz2-resurrection-${GITHUB_TAG}
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=deathkiller/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://deat.tk/jazz2/
+COMMENT=	Open-source Jazz Jackrabbit 2 reimplementation
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=			${WRKDIR}/jazz2-native-2.4.0
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		c c++
+USE_CXX_FEATURES=	c++17
+
+CMAKE_OVERRIDES+=	-DNCINE_APP_NAME:STRING=Jazz2-Resurrection
+CMAKE_OVERRIDES+=	-DNCINE_DOWNLOAD_DEPENDENCIES:BOOL=OFF
+CMAKE_OVERRIDES+=	-DNCINE_LINUX_PACKAGE:STRING=Jazz2-Resurrection
+CMAKE_OVERRIDES+=	-DNCINE_PACKAGED_CONTENT_PATH:BOOL=OFF
+CMAKE_OVERRIDES+=	-DNCINE_OVERRIDE_CONTENT_PATH:STRING=${PREFIX}/share/Jazz2-Resurrection/Content/
+CMAKE_OVERRIDES+=	-DPACKAGE_DIRECTORY:STRING=Jazz2-Resurrection
+CMAKE_CONFIGURE_ARGS+=	${CMAKE_OVERRIDES}
+CMAKE_CONFIGURE_ARGS+=	-DPKGSRC_INCLUDE:PATH=${PREFIX}/include
+CMAKE_BUILD_ARGS+=	${CMAKE_OVERRIDES}
+CMAKE_INSTALL_ARGS+=	${CMAKE_OVERRIDES}
+CXXFLAGS+=		-DNCINE_LINUX_PACKAGE=\"Jazz2-Resurrection\"
+
+.include "../../audio/libopenmpt/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/glfw/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/jazz2-resurrection/PLIST b/jazz2-resurrection/PLIST
new file mode 100644
index 0000000000..3b4c56fa35
--- /dev/null
+++ b/jazz2-resurrection/PLIST
@@ -0,0 +1,285 @@
+@comment $NetBSD$
+bin/jazz2
+share/Jazz2-Resurrection/Content/Animations/Common/player_shield.aura
+share/Jazz2-Resurrection/Content/Animations/Common/rain.aura
+share/Jazz2-Resurrection/Content/Animations/Common/shield_fire.aura
+share/Jazz2-Resurrection/Content/Animations/Common/shield_lightning.aura
+share/Jazz2-Resurrection/Content/Animations/Common/shield_water.aura
+share/Jazz2-Resurrection/Content/Animations/Common/sugar_rush_stars.aura
+share/Jazz2-Resurrection/Content/Animations/Jazz/jump_shoot_end.aura
+share/Jazz2-Resurrection/Content/Animations/Jazz/ledge_climb.aura
+share/Jazz2-Resurrection/Content/Animations/Lori/eol.aura
+share/Jazz2-Resurrection/Content/Animations/Object/checkpoint_xmas.aura
+share/Jazz2-Resurrection/Content/Animations/Object/crate_ammo_electro.aura
+share/Jazz2-Resurrection/Content/Animations/Object/crate_ammo_pepper.aura
+share/Jazz2-Resurrection/Content/Animations/Object/powerup_empty.aura
+share/Jazz2-Resurrection/Content/Animations/Object/powerup_shield_laser.aura
+share/Jazz2-Resurrection/Content/Animations/Object/powerup_swap_characters_lori.aura
+share/Jazz2-Resurrection/Content/Animations/Object/powerup_upgrade_blaster_lori.aura
+share/Jazz2-Resurrection/Content/Animations/Pickup/ammo_thunderbolt.aura
+share/Jazz2-Resurrection/Content/Animations/Pickup/ammo_toaster_disabled.aura
+share/Jazz2-Resurrection/Content/Animations/Pickup/fast_fire_lori.aura
+share/Jazz2-Resurrection/Content/Animations/Spaz/jump_shoot_end.aura
+share/Jazz2-Resurrection/Content/Animations/Spaz/ledge_climb.aura
+share/Jazz2-Resurrection/Content/Animations/UI/blaster_upgraded_lori.aura
+share/Jazz2-Resurrection/Content/Animations/UI/character_art_difficulty_lori.aura
+share/Jazz2-Resurrection/Content/Animations/UI/dim.aura
+share/Jazz2-Resurrection/Content/Animations/UI/episode_complete.aura
+share/Jazz2-Resurrection/Content/Animations/UI/font_medium.png
+share/Jazz2-Resurrection/Content/Animations/UI/font_medium.png.font
+share/Jazz2-Resurrection/Content/Animations/UI/font_small.png
+share/Jazz2-Resurrection/Content/Animations/UI/font_small.png.font
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_a.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_b.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_back.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_down.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_guide.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_lb.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_left.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_ls.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_lt.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_rb.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_right.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_rs.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_rt.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_start.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_up.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_x.aura
+share/Jazz2-Resurrection/Content/Animations/UI/gamepad_y.aura
+share/Jazz2-Resurrection/Content/Animations/UI/glow.aura
+share/Jazz2-Resurrection/Content/Animations/UI/line.aura
+share/Jazz2-Resurrection/Content/Animations/UI/line_arrow.aura
+share/Jazz2-Resurrection/Content/Animations/UI/loading.aura
+share/Jazz2-Resurrection/Content/Animations/UI/logo.aura
+share/Jazz2-Resurrection/Content/Animations/UI/storage.aura
+share/Jazz2-Resurrection/Content/Animations/UI/touch_change.aura
+share/Jazz2-Resurrection/Content/Animations/UI/touch_dpad.aura
+share/Jazz2-Resurrection/Content/Animations/UI/touch_fire.aura
+share/Jazz2-Resurrection/Content/Animations/UI/touch_jump.aura
+share/Jazz2-Resurrection/Content/Animations/UI/touch_pause.aura
+share/Jazz2-Resurrection/Content/Animations/UI/touch_run.aura
+share/Jazz2-Resurrection/Content/Animations/UI/uac.aura
+share/Jazz2-Resurrection/Content/Animations/UI/weapon_wheel.aura
+share/Jazz2-Resurrection/Content/Animations/UI/weapon_wheel_inner.aura
+share/Jazz2-Resurrection/Content/Animations/Weapon/electro.aura
+share/Jazz2-Resurrection/Content/Animations/Weapon/electro_mask.aura
+share/Jazz2-Resurrection/Content/Animations/Weapon/pepper.aura
+share/Jazz2-Resurrection/Content/Animations/Weapon/pepper_upgraded.aura
+share/Jazz2-Resurrection/Content/Animations/Weapon/thunderbolt1.aura
+share/Jazz2-Resurrection/Content/Animations/Weapon/thunderbolt2.aura
+share/Jazz2-Resurrection/Content/Metadata/Boss/Bilsy.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/BilsyXmas.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/Bolly.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/Bubba.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/Devan.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/DevanRemote.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/Queen.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/Robot.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/TurtleBoss.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/TurtleBossShell.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/Tweedle.res
+share/Jazz2-Resurrection/Content/Metadata/Boss/Uterus.res
+share/Jazz2-Resurrection/Content/Metadata/Bridge/Gem.res
+share/Jazz2-Resurrection/Content/Metadata/Bridge/Lab.res
+share/Jazz2-Resurrection/Content/Metadata/Bridge/Log.res
+share/Jazz2-Resurrection/Content/Metadata/Bridge/Rope.res
+share/Jazz2-Resurrection/Content/Metadata/Bridge/Stone.res
+share/Jazz2-Resurrection/Content/Metadata/Bridge/StoneRed.res
+share/Jazz2-Resurrection/Content/Metadata/Bridge/Vine.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoBouncer.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoElectro.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoFreezer.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoPepper.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoRF.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoSeeker.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoTNT.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoThunderbolt.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/AmmoToaster.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/Carrot.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/CarrotFly.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/CarrotFull.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/CarrotInvincible.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/Coins.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FastFireJazz.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FastFireLori.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FastFireSpaz.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodApple.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodBanana.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodBurger.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodCake.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodCandy.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodCheese.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodCherry.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodChickenLeg.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodChips.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodChocolate.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodCoke.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodCucumber.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodCupcake.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodDonut.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodEggplant.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodFries.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodGrapes.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodHam.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodHotDog.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodIceCream.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodLemon.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodLettuce.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodLime.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodMilk.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodOrange.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodPeach.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodPear.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodPepsi.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodPie.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodPizza.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodPretzel.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodSandwich.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodStrawberry.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodTaco.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodThing.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/FoodWaterMelon.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/Gems.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/OneUp.res
+share/Jazz2-Resurrection/Content/Metadata/Collectible/Stopwatch.res
+share/Jazz2-Resurrection/Content/Metadata/Common/AmbientBubbles.res
+share/Jazz2-Resurrection/Content/Metadata/Common/AmbientSound.res
+share/Jazz2-Resurrection/Content/Metadata/Common/Explosions.res
+share/Jazz2-Resurrection/Content/Metadata/Common/Scenery.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Bat.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Bee.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Cat.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Caterpillar.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Crab.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Demon.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Doggy.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Dragon.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Dragonfly.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/FatChick.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Fencer.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Fish.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Helmut.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/LabRat.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Lizard.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/LizardFloat.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/LizardFloatXmas.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/LizardXmas.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/MadderHatter.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Monkey.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Rapier.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Raven.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Skeleton.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Sparks.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Sucker.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/SuckerFloat.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Turtle.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/TurtleShell.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/TurtleShellXmas.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/TurtleTough.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/TurtleTube.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/TurtleXmas.res
+share/Jazz2-Resurrection/Content/Metadata/Enemy/Witch.res
+share/Jazz2-Resurrection/Content/Metadata/Interactive/PlayerFrog.res
+share/Jazz2-Resurrection/Content/Metadata/Interactive/PlayerJazz.res
+share/Jazz2-Resurrection/Content/Metadata/Interactive/PlayerLori.res
+share/Jazz2-Resurrection/Content/Metadata/Interactive/PlayerSpaz.res
+share/Jazz2-Resurrection/Content/Metadata/MovingPlatform/Ball.res
+share/Jazz2-Resurrection/Content/Metadata/MovingPlatform/CarrotusFruit.res
+share/Jazz2-Resurrection/Content/Metadata/MovingPlatform/CarrotusGrass.res
+share/Jazz2-Resurrection/Content/Metadata/MovingPlatform/Lab.res
+share/Jazz2-Resurrection/Content/Metadata/MovingPlatform/Sonic.res
+share/Jazz2-Resurrection/Content/Metadata/MovingPlatform/Spike.res
+share/Jazz2-Resurrection/Content/Metadata/MovingPlatform/SpikeBall.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Airboard.res
+share/Jazz2-Resurrection/Content/Metadata/Object/BarrelContainer.res
+share/Jazz2-Resurrection/Content/Metadata/Object/BirdBirdy.res
+share/Jazz2-Resurrection/Content/Metadata/Object/BirdCageBirdy.res
+share/Jazz2-Resurrection/Content/Metadata/Object/BirdCageChuck.res
+share/Jazz2-Resurrection/Content/Metadata/Object/BirdChuck.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Bomb.res
+share/Jazz2-Resurrection/Content/Metadata/Object/BonusWarp.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Checkpoint.res
+share/Jazz2-Resurrection/Content/Metadata/Object/CheckpointXmas.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoBouncer.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoElectro.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoFreezer.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoPepper.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoRF.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoSeeker.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoTNT.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/AmmoToaster.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Crate/Generic.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Eva.res
+share/Jazz2-Resurrection/Content/Metadata/Object/GemGiant.res
+share/Jazz2-Resurrection/Content/Metadata/Object/IceBlock.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Moth.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PinballBumper.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PinballPaddle.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Bird.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Blaster.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Bouncer.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Electro.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Empty.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Freezer.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Pepper.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/RF.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Seeker.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/ShieldFire.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/ShieldLaser.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/ShieldLightning.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/ShieldWater.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Swap2.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Swap3.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PowerUp/Toaster.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PushBoxCrate.res
+share/Jazz2-Resurrection/Content/Metadata/Object/PushBoxRock.res
+share/Jazz2-Resurrection/Content/Metadata/Object/RollingRock.res
+share/Jazz2-Resurrection/Content/Metadata/Object/SignEol.res
+share/Jazz2-Resurrection/Content/Metadata/Object/Spring.res
+share/Jazz2-Resurrection/Content/Metadata/Object/SteamNote.res
+share/Jazz2-Resurrection/Content/Metadata/Object/SwingingVine.res
+share/Jazz2-Resurrection/Content/Metadata/Object/TriggerCrate.res
+share/Jazz2-Resurrection/Content/Metadata/Pole/Carrotus.res
+share/Jazz2-Resurrection/Content/Metadata/Pole/Diamondus.res
+share/Jazz2-Resurrection/Content/Metadata/Pole/DiamondusTree.res
+share/Jazz2-Resurrection/Content/Metadata/Pole/Jungle.res
+share/Jazz2-Resurrection/Content/Metadata/Pole/Psych.res
+share/Jazz2-Resurrection/Content/Metadata/UI/HUD.res
+share/Jazz2-Resurrection/Content/Metadata/UI/Loading.res
+share/Jazz2-Resurrection/Content/Metadata/UI/MainMenu.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Blaster.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Bouncer.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Electro.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Freezer.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Pepper.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/RF.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Seeker.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/ShieldFire.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/ShieldLightning.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/ShieldWater.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/TNT.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Thunderbolt.res
+share/Jazz2-Resurrection/Content/Metadata/Weapon/Toaster.res
+share/Jazz2-Resurrection/Content/Translations/cs.mo
+share/Jazz2-Resurrection/Content/Translations/cs.po
+share/Jazz2-Resurrection/Content/Translations/it.mo
+share/Jazz2-Resurrection/Content/Translations/it.po
+share/Jazz2-Resurrection/Content/Translations/pl.mo
+share/Jazz2-Resurrection/Content/Translations/pl.po
+share/Jazz2-Resurrection/Content/Translations/pt.mo
+share/Jazz2-Resurrection/Content/Translations/pt.po
+share/Jazz2-Resurrection/Content/Translations/pt_BR.mo
+share/Jazz2-Resurrection/Content/Translations/pt_BR.po
+share/Jazz2-Resurrection/Content/Translations/ro.mo
+share/Jazz2-Resurrection/Content/Translations/ro.po
+share/Jazz2-Resurrection/Content/Translations/ru.mo
+share/Jazz2-Resurrection/Content/Translations/ru.po
+share/Jazz2-Resurrection/Content/Translations/tr.mo
+share/Jazz2-Resurrection/Content/Translations/tr.po
+share/applications/jazz2.desktop
+share/doc/Jazz2-Resurrection/README.md
+share/icons/hicolor/1024x1024/apps/jazz2.png
+share/icons/hicolor/16x16/apps/jazz2.png
+share/icons/hicolor/256x256/apps/jazz2.png
+share/icons/hicolor/32x32/apps/jazz2.png
+share/icons/hicolor/48x48/apps/jazz2.png
diff --git a/jazz2-resurrection/distinfo b/jazz2-resurrection/distinfo
new file mode 100644
index 0000000000..3a3f7f52cb
--- /dev/null
+++ b/jazz2-resurrection/distinfo
@@ -0,0 +1,14 @@
+$NetBSD$
+
+BLAKE2s (jazz2-native/2.4.0.tar.gz) = 265ab9f572cae873e984a617dbf8ca03224e07fa3939ccfc10646e5f7aa890f8
+SHA512 (jazz2-native/2.4.0.tar.gz) = 631e2e1f2dcfef9dbedea1fbf68d7bb251bd1517f004db98a91211da5f5eb9b1dbd59a853cff51b4ad33f278f34d9078bc9bece0a60b06eba0c010186fa7fa79
+Size (jazz2-native/2.4.0.tar.gz) = 3064319 bytes
+SHA1 (patch-README.md) = 7c6095d5a4e3fb0cda732a7711005ea371470b0a
+SHA1 (patch-Sources_Jazz2_ContentResolver.cpp) = 2c1501a734dcb537ae763b398839f5b11fd98982
+SHA1 (patch-Sources_Jazz2_PreferencesCache.cpp) = e5ea1ab6d7ec3545b047b1a1702be5e748e16175
+SHA1 (patch-Sources_Shared_IO_FileSystem.cpp) = 4859c217b3fa79fdd840c08e1f0250decdfde80a
+SHA1 (patch-Sources_Shared_IO_FileSystem.h) = d397236e507d27de196c319e6bf89e4c4c1be0d0
+SHA1 (patch-Sources_nCine_Threading_PosixThread.cpp) = f4797af2ef34a6547c8345c8df48631fc616580e
+SHA1 (patch-Sources_nCine_Threading_Thread.h) = ed55f14f2506e186a9e6977b3a6d0bfe4a737ac8
+SHA1 (patch-cmake_FindGLFW.cmake) = 0c7607a7097adec9995551919df2ece6b3ab818f
+SHA1 (patch-cmake_Findlibopenmpt.cmake) = 74f4287e04be80c7e781177ee80eb41438bf9eab
diff --git a/jazz2-resurrection/patches/patch-README.md b/jazz2-resurrection/patches/patch-README.md
new file mode 100644
index 0000000000..7155446cf7
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-README.md
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Use ASCII path names.
+
+--- README.md.orig	2023-12-28 07:26:09.288347054 +0000
++++ README.md
+@@ -46,7 +46,7 @@ Jazz² Resurrection is reimplementation 
+ * Install dependencies: `sudo apt install libglew2.2 libglfw3 libsdl2-2.0-0 libopenal1 libvorbisfile3 libopenmpt0`
+   * Alternatively, install provided `.deb` or `.rpm` package and dependencies should be installed automatically
+ * Copy contents of original *Jazz Jackrabbit 2* directory to `‹Game›/Source/`
+-  * If packages are used, the files must be copied to `~/.local/share/Jazz² Resurrection/Source/` instead
++  * If packages are used, the files must be copied to `~/.local/share/Jazz2-Resurrection/Source/` instead
+ * Run `‹Game›/jazz2` or `‹Game›/jazz2_sdl2` application
+   * If packages are used, the game should be visible in application list
+ 
+@@ -182,4 +182,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE F
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+-```
+\ No newline at end of file
++```
diff --git a/jazz2-resurrection/patches/patch-Sources_Jazz2_ContentResolver.cpp b/jazz2-resurrection/patches/patch-Sources_Jazz2_ContentResolver.cpp
new file mode 100644
index 0000000000..f1e3a11dc6
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-Sources_Jazz2_ContentResolver.cpp
@@ -0,0 +1,27 @@
+$NetBSD$
+
+Use ASCII path names.
+
+--- Sources/Jazz2/ContentResolver.cpp.orig	2023-12-28 07:23:40.687240109 +0000
++++ Sources/Jazz2/ContentResolver.cpp
+@@ -218,10 +218,10 @@ namespace Jazz2
+ 			// Shared Content exists, try to use standard XDG paths
+ 			auto localStorage = fs::GetLocalStorage();
+ 			if (!localStorage.empty()) {
+-				// Use "$XDG_DATA_HOME/Jazz² Resurrection/" if exists (for backward compatibility), otherwise "$XDG_DATA_HOME/{NCINE_LINUX_PACKAGE}/"
+-				_sourcePath = fs::CombinePath(localStorage, "Jazz² Resurrection/Source/"_s);
++				// Use "$XDG_DATA_HOME/Jazz2-Resurrection/" if exists (for backward compatibility), otherwise "$XDG_DATA_HOME/{NCINE_LINUX_PACKAGE}/"
++				_sourcePath = fs::CombinePath(localStorage, "Jazz2-Resurrection/Source/"_s);
+ 				if (fs::DirectoryExists(_sourcePath)) {
+-					_cachePath = fs::CombinePath(localStorage, "Jazz² Resurrection/Cache/"_s);
++					_cachePath = fs::CombinePath(localStorage, "Jazz2-Resurrection/Cache/"_s);
+ 				} else {
+ 					auto appData = fs::CombinePath(localStorage, NCINE_LINUX_PACKAGE);
+ 					_sourcePath = fs::CombinePath(appData, "Source/"_s);
+@@ -1705,4 +1705,4 @@ namespace Jazz2
+ 		}
+ 	}
+ #endif
+-}
+\ No newline at end of file
++}
diff --git a/jazz2-resurrection/patches/patch-Sources_Jazz2_PreferencesCache.cpp b/jazz2-resurrection/patches/patch-Sources_Jazz2_PreferencesCache.cpp
new file mode 100644
index 0000000000..d9c90c2fdc
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-Sources_Jazz2_PreferencesCache.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Use ASCII path names.
+
+--- Sources/Jazz2/PreferencesCache.cpp.orig	2023-12-28 09:40:01.466044378 +0000
++++ Sources/Jazz2/PreferencesCache.cpp
+@@ -103,7 +103,7 @@ namespace Jazz2
+ #	elif defined(DEATH_TARGET_UNIX) && defined(NCINE_PACKAGED_CONTENT_PATH)
+ 			_configPath = fs::CombinePath(fs::GetSavePath(NCINE_LINUX_PACKAGE), "Jazz2.config"_s);
+ #	else
+-			_configPath = fs::CombinePath(fs::GetSavePath("Jazz² Resurrection"_s), "Jazz2.config"_s);
++			_configPath = fs::CombinePath(fs::GetSavePath("Jazz2-Resurrection"_s), "Jazz2.config"_s);
+ #	endif
+ 
+ #	if defined(DEATH_TARGET_ANDROID)
+@@ -487,4 +487,4 @@ namespace Jazz2
+ 			}
+ 		}
+ 	}
+-}
+\ No newline at end of file
++}
diff --git a/jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.cpp b/jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.cpp
new file mode 100644
index 0000000000..fa2b015786
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+dirfd is a macro on NetBSD.
+
+--- Sources/Shared/IO/FileSystem.cpp.orig	2023-12-27 16:51:40.578784448 +0000
++++ Sources/Shared/IO/FileSystem.cpp
+@@ -351,7 +351,7 @@ namespace Death { namespace IO {
+ 				return;
+ 			}
+ 
+-			std::int32_t dfd = ::dirfd(d);
++			std::int32_t dfd = dirfd(d);
+ 			struct dirent* ent;
+ 			while ((ent = ::readdir(d)) != nullptr) {
+ 				if (ent->d_name[0] >= '0' && ent->d_name[0] <= '9') {
diff --git a/jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.h b/jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.h
new file mode 100644
index 0000000000..9fd2b9b02d
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-Sources_Shared_IO_FileSystem.h
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Use the same filesystem implementation as FreeBSD for *BSD.
+
+--- Sources/Shared/IO/FileSystem.h.orig	2023-12-27 16:49:46.047651610 +0000
++++ Sources/Shared/IO/FileSystem.h
+@@ -16,7 +16,7 @@
+ #	elif defined(DEATH_TARGET_ANDROID)
+ using DIR = struct DIR;
+ using AAssetDir = struct AAssetDir;
+-#	elif defined(__FreeBSD__)
++#	elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ struct _dirdesc;
+ using DIR = struct _dirdesc;
+ #	else
+@@ -273,4 +273,4 @@ namespace Death { namespace IO {
+ 	};
+ 
+ 	using fs = FileSystem;
+-}}
+\ No newline at end of file
++}}
diff --git a/jazz2-resurrection/patches/patch-Sources_nCine_Threading_PosixThread.cpp b/jazz2-resurrection/patches/patch-Sources_nCine_Threading_PosixThread.cpp
new file mode 100644
index 0000000000..f8459ca639
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-Sources_nCine_Threading_PosixThread.cpp
@@ -0,0 +1,87 @@
+$NetBSD$
+
+Adapt threading to NetBSD definitions.
+
+--- Sources/nCine/Threading/PosixThread.cpp.orig	2023-12-27 17:00:23.489746239 +0000
++++ Sources/nCine/Threading/PosixThread.cpp
+@@ -28,6 +28,31 @@
+ #	include "common/TracySystem.hpp"
+ #endif
+ 
++#define PTHREAD_SETNAME_NP(h, n) pthread_setname_np(h, n)
++
++#if defined(__NetBSD__)
++#	define PTHREAD_SETNAME_NP(h, n) pthread_setname_np(h, "%s", (void*)n)
++/* requires super-user priveleges, so disable for now */
++#	define pthread_getaffinity_np(t, s, c) while(0) {}
++#	define pthread_setaffinity_np(t, s, c) while(0) {}
++
++void CPU_CLR(int id, cpuset_t **cs) {
++ cpuset_clr(id, *cs);
++}
++
++int CPU_ISSET(int id, cpuset_t **cs) {
++ return cpuset_isset(id, *cs);
++}
++
++void CPU_SET(int id, cpuset_t **cs) {
++ cpuset_set(id, *cs);
++}
++
++void CPU_ZERO(cpuset_t **cs) {
++ cpuset_zero(*cs);
++}
++#endif
++
+ namespace nCine
+ {
+ 	namespace
+@@ -168,12 +193,12 @@ namespace nCine
+ 
+ 		const auto nameLength = strnlen(name, MaxThreadNameLength);
+ 		if (nameLength <= MaxThreadNameLength - 1) {
+-			pthread_setname_np(_sharedBlock->_handle, name);
++			PTHREAD_SETNAME_NP(_sharedBlock->_handle, name);
+ 		} else {
+ 			char buffer[MaxThreadNameLength];
+ 			memcpy(buffer, name, MaxThreadNameLength - 1);
+ 			buffer[MaxThreadNameLength - 1] = '\0';
+-			pthread_setname_np(_sharedBlock->_handle, name);
++			PTHREAD_SETNAME_NP(_sharedBlock->_handle, name);
+ 		}
+ #endif
+ 	}
+@@ -186,7 +211,7 @@ namespace nCine
+ 		const auto nameLength = strnlen(name, MaxThreadNameLength);
+ 		if (nameLength <= MaxThreadNameLength - 1) {
+ #	if !defined(DEATH_TARGET_APPLE)
+-			pthread_setname_np(pthread_self(), name);
++			PTHREAD_SETNAME_NP(pthread_self(), name);
+ #	else
+ 			pthread_setname_np(name);
+ #	endif
+@@ -195,7 +220,7 @@ namespace nCine
+ 			memcpy(buffer, name, MaxThreadNameLength - 1);
+ 			buffer[MaxThreadNameLength - 1] = '\0';
+ #	if !defined(DEATH_TARGET_APPLE)
+-			pthread_setname_np(pthread_self(), name);
++			PTHREAD_SETNAME_NP(pthread_self(), name);
+ #	else
+ 			pthread_setname_np(name);
+ #	endif
+@@ -233,7 +258,7 @@ namespace nCine
+ 
+ 	std::uintptr_t Thread::GetCurrentId()
+ 	{
+-#if defined(DEATH_TARGET_APPLE) || defined(DEATH_TARGET_SWITCH) || defined(__FreeBSD__)
++#if defined(DEATH_TARGET_APPLE) || defined(DEATH_TARGET_SWITCH) || defined(__FreeBSD__) || defined(__NetBSD__)
+ 		return reinterpret_cast<std::uintptr_t>(pthread_self());
+ #else
+ 		return static_cast<std::uintptr_t>(pthread_self());
+@@ -316,4 +341,4 @@ namespace nCine
+ 
+ #endif
+ 
+-#endif
+\ No newline at end of file
++#endif
diff --git a/jazz2-resurrection/patches/patch-Sources_nCine_Threading_Thread.h b/jazz2-resurrection/patches/patch-Sources_nCine_Threading_Thread.h
new file mode 100644
index 0000000000..fe8cd40040
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-Sources_nCine_Threading_Thread.h
@@ -0,0 +1,53 @@
+$NetBSD$
+
+Adapt threading to NetBSD definitions.
+
+--- Sources/nCine/Threading/Thread.h.orig	2023-12-27 16:57:49.158147558 +0000
++++ Sources/nCine/Threading/Thread.h
+@@ -15,6 +15,10 @@
+ #	include <mach/mach_init.h>
+ #endif
+ 
++#if defined(__NetBSD__)
++#	include <sched.h>
++#endif
++
+ namespace nCine
+ {
+ #if !defined(DEATH_TARGET_ANDROID) && !defined(DEATH_TARGET_EMSCRIPTEN) && !defined(DEATH_TARGET_SWITCH)
+@@ -27,9 +31,19 @@ namespace nCine
+ 	public:
+ 		ThreadAffinityMask()
+ 		{
++#if defined(__NetBSD__)
++			cpuSet_ = cpuset_create();
++#endif
+ 			Zero();
+ 		}
+ 
++#if defined(__NetBSD__)
++		~ThreadAffinityMask()
++		{
++			cpuset_destroy(cpuSet_);
++		}
++#endif
++
+ 		ThreadAffinityMask(std::int32_t cpuNum)
+ 		{
+ 			Zero();
+@@ -50,6 +64,8 @@ namespace nCine
+ 		DWORD_PTR affinityMask_;
+ #	elif defined(DEATH_TARGET_APPLE)
+ 		integer_t affinityTag_;
++#	elif defined(__NetBSD__)
++		cpuset_t *cpuSet_;
+ #	else
+ 		cpu_set_t cpuSet_;
+ #	endif
+@@ -181,4 +197,4 @@ namespace nCine
+ 		static void* WrapperFunction(void* arg);
+ #endif
+ 	};
+-}
+\ No newline at end of file
++}
diff --git a/jazz2-resurrection/patches/patch-cmake_FindGLFW.cmake b/jazz2-resurrection/patches/patch-cmake_FindGLFW.cmake
new file mode 100644
index 0000000000..962534573e
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-cmake_FindGLFW.cmake
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Also search PKGSRC include directories.
+
+--- cmake/FindGLFW.cmake.orig	2023-12-27 21:41:38.655108151 +0000
++++ cmake/FindGLFW.cmake
+@@ -32,6 +32,7 @@ find_path(GLFW_INCLUDE_DIR NAMES glfw3.h
+   /include/GLFW/
+   /usr/include/GLFW
+   /usr/local/include/GLFW
++  ${PKGSRC_INCLUDE}/GLFW/
+   ${GLFW_ROOT_DIR}/include/ # added by ptr
+   ${EXTERNAL_INCLUDES_DIR}/GL/
+ )
diff --git a/jazz2-resurrection/patches/patch-cmake_Findlibopenmpt.cmake b/jazz2-resurrection/patches/patch-cmake_Findlibopenmpt.cmake
new file mode 100644
index 0000000000..5bd9791c7d
--- /dev/null
+++ b/jazz2-resurrection/patches/patch-cmake_Findlibopenmpt.cmake
@@ -0,0 +1,21 @@
+$NetBSD$
+
+Also search PKGSRC include directories.
+
+--- cmake/Findlibopenmpt.cmake.orig	2023-12-27 21:41:05.315007940 +0000
++++ cmake/Findlibopenmpt.cmake
+@@ -5,6 +5,7 @@ find_path(LIBOPENMPT_INCLUDE_DIR DOC "Pa
+ 	/usr/local/include/
+ 	/usr/include/libopenmpt/
+ 	/usr/local/include/libopenmpt/
++	${PKGSRC_INCLUDE}/libopenmpt/
+ 	${EXTERNAL_INCLUDES_DIR}/libopenmpt/
+ )
+ mark_as_advanced(LIBOPENMPT_INCLUDE_DIR)
+@@ -148,4 +149,4 @@ endif()
+ if(NOT LIBOPENMPT_STATIC)
+ 	include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
+ 	find_package_handle_standard_args(libopenmpt REQUIRED_VARS LIBOPENMPT_LIBRARY LIBOPENMPT_INCLUDE_DIR)
+-endif()
+\ No newline at end of file
++endif()


Home | Main Index | Thread Index | Old Index