diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-30 02:16:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-30 02:16:21 +0000 |
commit | b7cf34e541f10778605d8740e2690d8459908ac5 (patch) | |
tree | 98d91f7ea7de88f6f7d667af0deb3ffaff5b4d5e /games-emulation/pcsx2 | |
parent | 8467a7e8af97ab17f54668fd7d348e68754dd0cc (diff) |
gentoo auto-resync : 30:12:2022 - 02:16:21
Diffstat (limited to 'games-emulation/pcsx2')
-rw-r--r-- | games-emulation/pcsx2/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/pcsx2/files/pcsx2-1.7.3329-musl.patch | 9 | ||||
-rw-r--r-- | games-emulation/pcsx2/pcsx2-1.7.3818.ebuild (renamed from games-emulation/pcsx2/pcsx2-1.7.3602.ebuild) | 96 |
3 files changed, 51 insertions, 59 deletions
diff --git a/games-emulation/pcsx2/Manifest b/games-emulation/pcsx2/Manifest index f1ff40867921..53bcdc6e91b3 100644 --- a/games-emulation/pcsx2/Manifest +++ b/games-emulation/pcsx2/Manifest @@ -2,7 +2,6 @@ AUX pcsx2-1.6.0-disable-setcap.patch 2783 BLAKE2B 8840d64feeb042c8442fae30c40fa0 AUX pcsx2-1.6.0-wx-config.patch 613 BLAKE2B e5ff17ae5bddde776990cace4735883e8869f6c125dcdf171bb67b9392921d7a006f4b96075086b3927ecede027ff0b2efa40982b10e121c2e1096e36fcbe8bc SHA512 14f0eddbd9c72600f47733a5137c171abf05723b55aedf37438ed89730a9684b67a20d79dea3864531521421c1436922a19667353d7e51253ad3449a99b7b21a AUX pcsx2-1.7.0-crcs.patch 1456 BLAKE2B e4dc096bf863d5067816b2755ba84a6f7e6d9163b19e3517906c012a62bf35f5702f887c9f42ada87e23d6f10490e1d68d9d68864c96b40acb95c4ae7175f0be SHA512 2c283c38382983c2acc95ea369c1becf43266101edf5b4dd7824346a813061a3146cd3fdaad38936f3d208140dcf02ff02c1d43eac4e95cbcf5dcb3449a1a525 AUX pcsx2-1.7.3329-lto.patch 516 BLAKE2B 84af170687a279a2f78188cff30ecc7ad68c11f4d5300b20fb06ac745770869c2c70f7ff43a069d225520ae56fe9d960706dc53f03890caeb46ce0efddea312e SHA512 c94a7b4c52ac9a4a7918f275dc7083b63c0a3992aa86d7ca424a229400893b1234381a3111249e3d5e88de9486e784d0a7e8977bbf853b215e2f6a4fc8bcb822 -AUX pcsx2-1.7.3329-musl.patch 292 BLAKE2B 02717d90a08caddc6c0df32137fc73fc4426f9df1b123cfc7dee051e918b23d1659278d7ab14823d7208b487486deed949ab2e3c93046980e5dbd7369cd4accf SHA512 5a28effab686c38e8d12d53244074736595a3f2cf6b4ac9997289b695642094e50d20558427c4108c5b0fd782ca4a91401099ab5c04778d30b4cba31aae29923 AUX pcsx2-1.7.3329-qt6.patch 371 BLAKE2B 15a8e221ee4b6f19c5956269908e9d3bad6a8fbccdddadd3d5941057f163c064a1e3d81daff1a90c689fe1d4bb1e645081be9dae2aa63a88caa9b2b83b13cebf SHA512 65f3f241ccda684cee1d382a973ffbda09b290a4878f7c0b3aed279b2fa5aa1f188b7a5bf26a584d2aa4ed12aa9c1c5e15ecebb2c2bb6ae83a7622deba26bdd4 AUX pcsx2-1.7.3351-unbundle.patch 1276 BLAKE2B 26af7e54f63bed99075f8155d237092d536b9ef420032d766ef4e41b7953c329f70d2040ae6a99142e0bc307fa9a534bd5db4e363e4e64a4291dc7a5760149b9 SHA512 7068a214cae03579e83ce14a5b953807a4f536be93946e15b58a33ede2497a128508ac2727fd1f602444906bc1497182a3740a1613d39300c403e387adbaa332 AUX pcsx2-1.7.3468-cubeb-automagic.patch 1635 BLAKE2B 90581edb3ed95fb011ecbd446e529b48544a0c8090e7e40b4aba6fb153a73e53f8399a61ee1d9fce180ac2ee44185cf7dac1972e62dc43648496774a7a8cfca9 SHA512 d2b92cc6530c706e0219b6eab5c8b52a3e93bcc16269400afbcbb3ca23edf07f511fd4116b02e77f89eb7083b9bb64f8bec85950d9d7e98ffdbbe351d4c70387 @@ -10,14 +9,14 @@ AUX pcsx2-1.7.3602-rapidyaml-0.5.0.patch 1680 BLAKE2B c14202812b98470c9614587503 AUX pcsx2-1.7.3773-lto.patch 316 BLAKE2B 1c6e1d302545f5711a89058898616e4280c969478d51b4e03a53df155796f363658e65d0160fd2e88f09a9334301e00658c238af0122b6f01be709efbfb992d6 SHA512 2c5277498a90766b799a777cae0699699c2cec1d09bd152e4eee53f59ef12c7c17d11c012740992c56b4fc2bf0d8a39213dc2c97ee98a1fdd7b6ead27346aff7 AUX pcsx2-1.7.3803-rapidyaml-0.5.0.patch 2452 BLAKE2B 69584d5871eb8888eef5240a0cdc8bb0c2470e08f5e103733a6662a59e4b25f3e6f5f1cddfcb0a4036c876820f6ee0284655d388192f43848d632835cc7518f7 SHA512 a4f22eea623460f8e0b7a5d5965646e8b7f94d4b2cca28d123d05d8738194d844c5d5bd09f01f178f006990682c7b19c197703e8e450d7aef16569d836737149 DIST pcsx2-1.6.0.tar.gz 17963332 BLAKE2B d1370fd089e1f8716a3365b9f499fef9418c4a9464e701cf0dbac8296cf59a2c6fc9b85ed680c514d8128da7b5c47aa8a067d48cac9eb0482ef2ba5f9234e60e SHA512 0a3e01a25384719fc72b636a1e9cf1cd966d0c978c1c3adfb46d6b3f76f43a25f90ef63d27a1d8092cdf444c5dc7560ce807ca81908d11ade9715e7eaaad6253 -DIST pcsx2-1.7.3602.tar.gz 20035989 BLAKE2B bf28433b1df67b3b23655125b6cc6bdfa255468612081d2a64316cc335b97b43f66bc7ed683c19234df6136cb7f8fdf9dce3225865b2d404fc7c5b8b41733eea SHA512 cd5f5a4d347beb381fc13e969baa86887289f836a8b03ae6a926293a81699b3769cf23644a87cff41ec32355604bd735e59455fd13de5fc5aab121976626c16f DIST pcsx2-1.7.3738.tar.gz 15935061 BLAKE2B 51e113e2148c94861a3d6baab8de5b8ed613cdb6e3aa3574445f0a66e628dffb3bf26a6a3b54e0be65d71a90088fe6e79f65055d54e580d46ad4db1dadbb8a66 SHA512 7da8dd46cd065fefc4c2bb4ab76b8fc2bf9769dba78f47759c59b2a21e62cf0e5d53e9f800e16bf09238bf156cd7fa63a4ca75a47f41b78df9512a701536c789 +DIST pcsx2-1.7.3818.tar.gz 9165699 BLAKE2B adfff6d4c1fc74e6fab052a03ec42b519f3cd9898c5719482e8b9bbdb9d224caf9a4bb95aef3e4f3993944e877e9a4f79e48d74e427c59c70c1480238ee0146b SHA512 4a3bdd4d4b18fa06fd942ed93ff2bc9dd5e332bdf59ba5fc54b185e6e58957d4f5da74e4371cfb6964696a2ed08df61fdc1d3738ce9b781a39c7c08f10e9c99e DIST pcsx2-fast_float-32d21dcecb.tar.gz 76108 BLAKE2B 7a4e8e3bb67387c03912e5f7035ba3fab1aeaa119b36ebdeb14c45069b3270270a8b87de2774ec325d8ed2ef0604a3d3762432d42f1e026a213990ac39341e10 SHA512 2cbdc5b05ab7c19e20b4e34959b90d1fa866d4ba239ec0a4c434cd33bddfb1cb6f1da467b0a525f5a4887c9b1860e975fe074aca0d9e211f0fc7bc6402d3601e DIST pcsx2-glslang-c9706bdda0.tar.gz 3433325 BLAKE2B f2449a6c8b05e47367164d09036ae2302f0f28ec83c2e2f401426f52fbd4edf55f717f01eea2cbfe7554e1004b89ffdebc34ec21a95809fcbc719f69e65e8487 SHA512 5ff0902e95592525b2671788bf27717c85d0876b31e96374eff5128f9bf7caf93bb636e4d5e1916a5d641715a780172308403bd49305d9a07cf66358d7e6407c DIST pcsx2-rcheevos-31f8788fe0.tar.gz 522855 BLAKE2B 39533199f6b1e0cd821d817ff57101ccad0049f5144b856f1e796c83d81fcee059caa944a0fb14a0e95e51da43a6bc003cd6891ca85c2b9a959b4c42d8ca0a84 SHA512 cb0e8bf4d222f3ef127d20a9d6738e6c39d7cff48a0da8fe19fcc43669433b7e53cc63ab332e8f0cd935b6a33eddef3e741ee862a82bd4f29a02df1d9a42ec45 DIST pcsx2-vulkan-headers-9f4c61a314.tar.gz 1554220 BLAKE2B 7f7fa093e8af30919dd743768e6d882fa40800fecedf1183a45568dbb81207ffdf9eed1beadba98160c61bac89a24182794a601a2dce0c91cf54e16d0080cb69 SHA512 8b5fa5bcf6bd8ae5fb44000e4b842d86c014e9d8dae9bff988f86ec359fc27db3f71dc96253ceb2f31da4db41a6585034bb185f68da5446e91293bb0c2bbf993 EBUILD pcsx2-1.6.0-r3.ebuild 2647 BLAKE2B 7d7a0e595d3d8297f3ae0049b3c376f404eeb5a6f477486076e5ac2b72dae6065c97b845f715f4e7e52af158b9dfbe6bbc5cf4f10d051838eafe44553f76efd3 SHA512 18b6131c6ff0b292f4dde4a54b4a5c698a403860ab332e01f181e18931e5ac14cc131ce140de563125f63eeb8b3523b51c6df4f4ecf2086a00e000d4e3d0289b -EBUILD pcsx2-1.7.3602.ebuild 7421 BLAKE2B 80fe2b2d7effdb93b807624984b9f5cdc7c0784443bbe5d9f279b21bb18d9b7dcdfd9816e0b9ffdd5292c6a136e0ec18761167bae57ff2fc31c84b73719ce7b8 SHA512 a1cd4f64dc32e7a0bf2f5d592b322b4b9ac7002c0afc15882602126c65a5bb324b8aa523414bc0a5a98f0956cfee823cbe778f19855f388b59f8f951a05dfcfc EBUILD pcsx2-1.7.3738.ebuild 7223 BLAKE2B c02603d27c072519b2e52392dbaad897921af6671593b04ad38d26fe0ef12a33893143c3e2066d04f75cbdd20d5114b26a4a9022fac6bdb6fd872f897633e2ce SHA512 04091cd4c39016d0934468c3e215b6463d488790b978038b306dbc5c205232c685a3bdde823e0868da4d760ea80b761f6dfb5d1e4ba03035f98189d95b09c685 +EBUILD pcsx2-1.7.3818.ebuild 7550 BLAKE2B bd11dd6dbb177ef330d387638301a2fbcf4a2de4717559c291568d7ecf948af42f6145a5651a30fac770295955bf4a96bf4d303886376b2274642314be26ff15 SHA512 7c42b4f7b22751c2fe23d2873b865c7cba71b43c2c2d8f9a41226b2d7dbacf8c444cf0cf9612dee04cfc445b40c9157eb66fcc39aef51a9a3cc4fe4d95053f2f EBUILD pcsx2-9999.ebuild 7550 BLAKE2B bd11dd6dbb177ef330d387638301a2fbcf4a2de4717559c291568d7ecf948af42f6145a5651a30fac770295955bf4a96bf4d303886376b2274642314be26ff15 SHA512 7c42b4f7b22751c2fe23d2873b865c7cba71b43c2c2d8f9a41226b2d7dbacf8c444cf0cf9612dee04cfc445b40c9157eb66fcc39aef51a9a3cc4fe4d95053f2f MISC metadata.xml 805 BLAKE2B eb7ce944f7dc5b1889cc2b59f389eafabe9d5e44c4a730fa1352b0a00aec0f97d607204c440a9ce014e02f5b1a73c6ccd294074e7ce41f563c6c3643614ac9f6 SHA512 e8d939f76830204283557319961b4e3aab557e1c3e36fbfc98d4605b0728adb42d0731a05da998eb099f6b0df837eef7616cddb1e62b006979fb9262c172d961 diff --git a/games-emulation/pcsx2/files/pcsx2-1.7.3329-musl.patch b/games-emulation/pcsx2/files/pcsx2-1.7.3329-musl.patch deleted file mode 100644 index 95d2ff38a8c2..000000000000 --- a/games-emulation/pcsx2/files/pcsx2-1.7.3329-musl.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/pcsx2/USB/qemu-usb/iov.h -+++ b/pcsx2/USB/qemu-usb/iov.h -@@ -17,5 +17,5 @@ - #define IOV_H - --#if !defined(_BITS_UIO_H) && !defined(__iovec_defined) /* /usr/include/bits/uio.h */ -+#if !defined(_BITS_UIO_H) && !defined(__iovec_defined) && !defined(__DEFINED_struct_iovec) - struct iovec - { diff --git a/games-emulation/pcsx2/pcsx2-1.7.3602.ebuild b/games-emulation/pcsx2/pcsx2-1.7.3818.ebuild index f2949fc2a844..eebe34cc10de 100644 --- a/games-emulation/pcsx2/pcsx2-1.7.3602.ebuild +++ b/games-emulation/pcsx2/pcsx2-1.7.3818.ebuild @@ -3,8 +3,7 @@ EAPI=8 -WX_GTK_VER="3.0-gtk3" -inherit cmake fcaps flag-o-matic wxwidgets +inherit cmake desktop fcaps flag-o-matic if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -36,43 +35,34 @@ LICENSE=" GPL-3+ Apache-2.0 BSD BSD-2 BSD-4 Boost-1.0 CC0-1.0 GPL-2+ ISC LGPL-2.1+ LGPL-3+ MIT OFL-1.1 ZLIB public-domain" SLOT="0" -IUSE="alsa cpu_flags_x86_sse4_1 jack pulseaudio qt6 sndio test vulkan wayland" +IUSE="alsa cpu_flags_x86_sse4_1 jack pulseaudio sndio test vulkan wayland" REQUIRED_USE="cpu_flags_x86_sse4_1" # dies at runtime if no support RESTRICT="!test? ( test )" +# dlopen: ffmpeg, qtsvg, vulkan-loader, wayland RDEPEND=" app-arch/xz-utils app-arch/zstd:= dev-cpp/rapidyaml:= dev-libs/libaio dev-libs/libchdr - >=dev-libs/libfmt-7.1.3:= + dev-libs/libfmt:= dev-libs/libzip:=[zstd] - media-libs/harfbuzz + dev-qt/qtbase:6[gui,network,widgets] + dev-qt/qtsvg:6 media-libs/libglvnd media-libs/libpng:= >=media-libs/libsdl2-2.0.22[haptic,joystick] media-libs/libsoundtouch:= + media-video/ffmpeg:= net-libs/libpcap + net-misc/curl sys-libs/zlib:= virtual/libudev:= - x11-libs/libX11 x11-libs/libXrandr alsa? ( media-libs/alsa-lib ) jack? ( virtual/jack ) pulseaudio? ( media-libs/libpulse ) - qt6? ( - dev-qt/qtbase:6[gui,network,widgets] - dev-qt/qtsvg:6 - net-misc/curl - ) - !qt6? ( - dev-libs/glib:2 - media-libs/libsamplerate - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3[wayland?] - x11-libs/wxGTK:${WX_GTK_VER}[X] - ) sndio? ( media-sound/sndio:= ) vulkan? ( media-libs/vulkan-loader ) wayland? ( dev-libs/wayland )" @@ -82,8 +72,7 @@ DEPEND=" test? ( dev-cpp/gtest )" BDEPEND=" dev-lang/perl - qt6? ( dev-qt/qttools[linguist] ) - !qt6? ( sys-devel/gettext )" + dev-qt/qttools[linguist]" FILECAPS=( -m 0755 "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/pcsx2 @@ -91,11 +80,9 @@ FILECAPS=( PATCHES=( "${FILESDIR}"/${PN}-1.7.0-crcs.patch - "${FILESDIR}"/${PN}-1.7.3329-lto.patch - "${FILESDIR}"/${PN}-1.7.3329-musl.patch - "${FILESDIR}"/${PN}-1.7.3329-qt6.patch "${FILESDIR}"/${PN}-1.7.3351-unbundle.patch "${FILESDIR}"/${PN}-1.7.3468-cubeb-automagic.patch + "${FILESDIR}"/${PN}-1.7.3773-lto.patch ) src_unpack() { @@ -141,17 +128,13 @@ src_prepare() { # could depend on >=0.5 for unconditional, but rather not force it yet # https://github.com/PCSX2/pcsx2/issues/7623 has_version '>=dev-cpp/rapidyaml-0.5' && - eapply "${FILESDIR}"/${PN}-1.7.3602-rapidyaml-0.5.0.patch + eapply "${FILESDIR}"/${PN}-1.7.3803-rapidyaml-0.5.0.patch cmake_src_prepare - # qt6 build doesn't support PACKAGE_MODE and need to set resources location - sed -e "/EmuFolders::AppRoot =/s|=.*|= \"${EPREFIX}/usr/share/PCSX2\";|" \ + sed -e "/EmuFolders::AppRoot =/s|=.*|= \"${EPREFIX}/usr/share/${PN}\";|" \ -i pcsx2/Frontend/CommonHost.cpp || die - # non-cubeb pulseaudio is only used for usb-mic without qt6, not output - use pulseaudio || :> cmake/FindPulseAudio.cmake || die - if [[ ${PV} != 9999 ]]; then sed -e '/set(PCSX2_GIT_TAG "")/s/""/"v'${PV}'"/' \ -i cmake/Pcsx2Utils.cmake || die @@ -160,7 +143,7 @@ src_prepare() { local keep=( # TODO?: rapidjson and xbyak are packaged and could be unbundlable # w/ patch, and discord-rpc be optional w/ dependency on rapidjson - cpuinfo cubeb discord-rpc glad imgui include jpgd lzma + cpuinfo cubeb demangler discord-rpc glad imgui include jpgd lzma rapidjson rapidyaml rcheevos simpleini xbyak zydis $(usev vulkan 'glslang vulkan-headers') ) @@ -170,23 +153,19 @@ src_prepare() { } src_configure() { - use qt6 || setup-wxwidgets - # for bundled glslang (bug #858374) use vulkan && append-flags -fno-strict-aliasing local mycmakeargs=( -DBUILD_SHARED_LIBS=no -DDISABLE_BUILD_DATE=yes - -DDISABLE_PCSX2_WRAPPER=yes -DDISABLE_SETCAP=yes -DENABLE_TESTS=$(usex test) - -DPACKAGE_MODE=yes - -DQT_BUILD=$(usex qt6) -DUSE_SYSTEM_LIBS=yes -DUSE_VTUNE=no -DUSE_VULKAN=$(usex vulkan) -DWAYLAND_API=$(usex wayland) + -DX11_API=yes # fails if X libs are missing even if disabled -DXDG_STD=yes # sse4.1 is the bare minimum required, -m is required at build time @@ -210,26 +189,43 @@ src_test() { } src_install() { - cmake_src_install + # package mode was removed turning cmake_src_install into a noop + newbin "${BUILD_DIR}"/pcsx2-qt/pcsx2-qt ${PN} - use qt6 && newbin "${BUILD_DIR}"/pcsx2-qt/pcsx2-qt pcsx2 + insinto /usr/share/${PN} + doins -r "${BUILD_DIR}"/pcsx2-qt/resources + + dodoc README.md bin/docs/{Debugger.pdf,GameIndex.pdf,PCSX2_FAQ.pdf,debugger.txt} + newman bin/docs/PCSX2.1 ${PN}.1 + + newicon linux_various/PCSX2.xpm ${PN}.xpm + make_desktop_entry ${PN} ${PN^^} } pkg_postinst() { fcaps_pkg_postinst - local replacing_old - if [[ ${REPLACING_VERSIONS##* } ]] && - ver_test ${REPLACING_VERSIONS##* } -lt 1.6.1 - then - replacing_old= - elog ">=${PN}-1.7 has received several changes since <=${PN}-1.6.0, just-in-case" - elog "it is recommended to backup your save states and memory cards before use." - elog "Note that the executable was also renamed from 'PCSX2' to 'pcsx2'." + local replacing= + if [[ ${REPLACING_VERSIONS##* } ]]; then + if ver_test ${REPLACING_VERSIONS##* } -lt 1.6.1; then + replacing=old + elif ver_test ${REPLACING_VERSIONS##* } -lt 1.7.3773; then + replacing=wx + else + replacing=any + fi fi - if [[ ${PV} != 9999 && ( ! ${REPLACING_VERSIONS} || -v replacing_old ) ]]; then - [[ -v replacing_old ]] && elog + if [[ ${replacing} == old ]]; then + elog + elog ">=${PN}-1.7 has received several changes since <=${PN}-1.6.0, notably" + elog "it is now a 64bit build using Qt6. Just-in-case it is recommended to" + elog "backup your configs, save states, and memory cards before use." + elog "The executable was also renamed from 'PCSX2' to 'pcsx2'." + fi + + if [[ ${replacing} == @(|old) && ${PV} != 9999 ]]; then + elog elog "${PN}-1.7.x is a development branch using a nightly release model" elog "(new 'release' every 1-2 days). Stable 1.6.0 is getting old and lacks" elog "many notable features (e.g. native 64bit builds). Given it may be a long" @@ -239,4 +235,10 @@ pkg_postinst() { elog "Please report an issue if feel a picked nightly release needs to be" elog "updated ahead of time or masked (notably for handling regressions)." fi + + if [[ ${replacing} == wx ]]; then + ewarn + ewarn "Note that wxGTK support been dropped upstream since >=${PN}-1.7.3773," + ewarn "and so USE=qt6 is gone and Qt6 is now always used." + fi } |