Created attachment 268508 [details] WIP emulators/libretro-pcsx2: improve port I wanted to fix bug 277204 for libretro-pcsx2 and while at it fix the missing dependency on perl, which is pulled in on the oficial builders as transitive dependency via the WEBKIT option of wxgtk30, when I noticed that it also bundles dependencies. So I wanted to fix that too, sadly that isn't that easy, as cmake doesn't add the include path for glib anymore with my changes and so the build fails. So I request you to finish unbundling dependencies. Improvemnts already done in the work in progress patch: * explicitly depend on perl * don't set WITH_CCACHE_BUILD (It is a user setting, not a port one) * use arch helpers to set LDFLAGS and CXXFLAGS for i386 * remove 3rdparty dir in post-patch * remove patches for 3rdparty * remove mentions of 3rdparty in CMakeLists.txt
(In reply to Benjamin Takacs from comment #0) 1. Use EXTRACT_AFTER_ARGS= --exclude 3rdparty \ --no-same-owner --no-same-permissions instead of: post-patch: ${RM} -r ${WRKSRC}/3rdparty 2. Check Makefile with portclippy, portfmt and portlint.
Can you open WWW=https://github.com/libretro/pcsx2 ? I got 404.
Maybe upstream moved to https://github.com/PCSX2/pcsx2 ?
(In reply to Vladimir Druzenko from comment #2) https://docs.libretro.com/library/lrps2/ reads like the project renamed to lrps2 and the repo moved to https://github.com/libretro/ps2 when you try to access the docs for the old name https://docs.libretro.com/library/pcsx2/ you get a page linking to lrps2. (In reply to Vladimir Druzenko from comment #3) That repo would be the normal version of the emulator, which we have in the ports tree as emulators/pcsx2, emulators/libretro-pcsx2 is the libretro core variant of the emulator to use with retroarch.
(In reply to Benjamin Takacs from comment #4) Thanks for info. Lets update WWW, GH_PROJECT, maybe even PORTNAME and port itself to newer commit.