Major update from 3.31.8 to 4.1.2.
CMake 4.0 introduces a breaking change: compatibility with versions older than
3.5 has been removed. Projects calling cmake_minimum_required() or
cmake_policy() with versions < 3.5 now error out.
To maintain compatibility with existing ports during the transition, the cmake
module now provides MODCMAKE_POLICY_VERSION_OVERRIDE (idea from sthen@)
support:
- MODCMAKE_POLICY_VERSION_OVERRIDE ?= No
- MODCMAKE_POLICY_VERSION_OVERRIDE_VER ?= 3.5
When MODCMAKE_POLICY_VERSION_OVERRIDE is set to "yes", CMake is instructed to
accept policy versions down to the specified minimum (default 3.5) via
-DCMAKE_POLICY_VERSION_MINIMUM. This allows older ports to build while
acknowledging they may use deprecated features.
https://cmake.org/cmake/help/latest/release/4.0.htmlhttps://cmake.org/cmake/help/latest/release/4.1.html
OK sthen@
- Use CFLAGS and CXXFLAGS instead of CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.
- Use MODCMAKE_LDFLAGS instead of CMAKE_EXE_LINKER_FLAGS
- Fix broken builds with CMake 3.23
v5 (bundled External/fmt).
Fix this by disabling the bundled fmt and picking up devel/fmt. BDEP as
this is statically linked.
Build and runtime tested by me briefly without new issues.
This was found by naddy@ during bulk build.
- move to commit from June 2019 because gamepad interface breaks
afterwards.
- remove dependency on pulseaudio (highly requested); use cubeb audio
backend now
- enable unit tests - thanks Nam! All tests pass.
- rename the bundled SoundTouch header to avoid conflict with installed
SoundTouch
- add a README that specifies the (very high) datasize requirements.
Based on a diff by Nam Nguyen who did most of the heavy lifting here.
Passes portcheck, make port-lib-depends-check, and runs a test Gamecube
ROM without issues.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new) devel/gettext,-textstyle
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.
This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -
- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.
- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.
devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
Dolphin is an emulator for two recent Nintendo video game consoles: the
GameCube and the Wii. It allows PC gamers to enjoy games for these two
consoles in full HD (1080p) with several enhancements: compatibility with
all PC controllers, turbo speed, networked multiplayer, and even more.