From ff733bfb4d0bd82175e03255004faef8721b53ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 2 Jan 2025 06:31:11 +0000 Subject: gentoo auto-resync : 02:01:2025 - 06:31:11 --- games-emulation/Manifest.gz | Bin 12067 -> 12066 bytes games-emulation/fceux/Manifest | 2 +- games-emulation/fceux/fceux-2.6.6-r1.ebuild | 76 ---------------------------- games-emulation/fceux/fceux-2.6.6-r2.ebuild | 69 +++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 77 deletions(-) delete mode 100644 games-emulation/fceux/fceux-2.6.6-r1.ebuild create mode 100644 games-emulation/fceux/fceux-2.6.6-r2.ebuild (limited to 'games-emulation') diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz index 181e93170cdf..366fa51cc811 100644 Binary files a/games-emulation/Manifest.gz and b/games-emulation/Manifest.gz differ diff --git a/games-emulation/fceux/Manifest b/games-emulation/fceux/Manifest index 8ad5c4b3db03..1e7f92273f09 100644 --- a/games-emulation/fceux/Manifest +++ b/games-emulation/fceux/Manifest @@ -3,5 +3,5 @@ AUX fceux-2.4.0-no-git.patch 377 BLAKE2B 8b0be40a0eba5249f73942ea774dc0a37e73ac7 AUX fceux-2.6.6-luajit.patch 694 BLAKE2B 1fa2d756c0b1f941d17f659e3557787b5545cb6c3fa7771fec8dad4ba8b4ba9c8f8f22c6105732e7c8cc0c0f8d5cbd05b880496a34fd42609ce9195b7fecb7c2 SHA512 bbd8782d246ce9b451b8000db373eec9a9e6978f08e621ccb81b95eab1540eff2ba3290450bd2c3fac7a36fc2d26765595184f993e06315da7c07df2b03fcc53 AUX fceux-2.6.6-no-glx.patch 286 BLAKE2B 895c4a4fae7deb68fca6f26641f6c038b5f6fadd391dbf9a920145555e204f769435a305770c5a05bdcf9476e7d783dece8d7d9c698d6ac22314363b51ec2e12 SHA512 2b39ffb34b73522bce3610631f302c9bc843fe2acb1df156f5c14cfc4b0d20cdd1938a979ce09dfe9f3a16cc6fed238db04e4bb6aa81e177c852392fc5e3b146 DIST fceux-2.6.6.tar.gz 23330274 BLAKE2B 4d7779af0afc5fa12d3734d282f92b105757d204c69091b4e3574e4ced6179c5e202b752225f412d68331c9866c63b626703b014835d398ca1262deeb0d32654 SHA512 0a6cff4c6b900569978003675812d92d893281c2bdf3b0b58c07e257251648ee325f9bb29b01253ab1a5e9354631d91a6e67a1e6bb36ebe89d5067509cabfa64 -EBUILD fceux-2.6.6-r1.ebuild 1737 BLAKE2B 78aa9bea69a847a7a195284407d3414e2b6d27e5087d4f15ac394d31e10e6c81f2bc79182eb393adbfb4149f10acd8c20cc9b8bb211ffaf2be04fed7a8ee2000 SHA512 36688c5b94d48164f57a7c138f086b1dd52399c5df764cf1b8686d128a8e9774ddbb39419c77c8405253d76782a7d2f890e84b02ef5567c6b47f38b6c0f29c88 +EBUILD fceux-2.6.6-r2.ebuild 1612 BLAKE2B 3a182cc708c10c17b2488bc09c50078f6a892ecf9240b5490d7c9df03083069f8a9da5c3a9b75dc9d6b1aee595375f9dba4c8b99b3a0a7cfc0dc8ff023349b1d SHA512 48ce192d13a3a07897dc927f71b1faf47f32980dbf32b79defa71ad38ad7880ccb37c228610af270829e39f03a67ec11b885b315dd336e3b0e0112e59884d88a MISC metadata.xml 655 BLAKE2B 937f4fdff1702689100b9b49d14878ddcd960bc1119160f0892c1458e707a9af0c02f3f62bcfa7b5a722f999695cc125f7ea35456969df4843315fffa06acf54 SHA512 422a83db150c7026db66e5ca7fc160b137ce5613c267a4ee9a9496be2c7c471382338a8bd03212aac26f41ff193d62a952c148717e0643776c63e51a3e520aaf diff --git a/games-emulation/fceux/fceux-2.6.6-r1.ebuild b/games-emulation/fceux/fceux-2.6.6-r1.ebuild deleted file mode 100644 index a610a06cc96e..000000000000 --- a/games-emulation/fceux/fceux-2.6.6-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 luajit ) -inherit cmake lua-single xdg - -DESCRIPTION="Portable Famicom/NES emulator, an evolution of the original FCE Ultra" -HOMEPAGE="https://fceux.com/" -SRC_URI=" - https://github.com/TASEmulators/fceux/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="archive ffmpeg qt6 x264 x265" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - ${LUA_DEPS} - media-libs/libglvnd - media-libs/libsdl2[joystick,sound,threads(+),video] - sys-libs/zlib:=[minizip] - archive? ( app-arch/libarchive:= ) - qt6? ( dev-qt/qtbase:6[gui,opengl,widgets,-gles2-only] ) - !qt6? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5[-gles2-only] - dev-qt/qtwidgets:5 - ) - ffmpeg? ( media-video/ffmpeg:= ) - x264? ( media-libs/x264:= ) - x265? ( media-libs/x265:= ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.4.0-desktop.patch - "${FILESDIR}"/${PN}-2.4.0-no-git.patch - "${FILESDIR}"/${PN}-2.6.6-luajit.patch - "${FILESDIR}"/${PN}-2.6.6-no-glx.patch -) - -src_prepare() { - cmake_src_prepare - - local use - for use in archive:libarchive ffmpeg:libav x264 x265; do - use ${use%:*} || - sed -i "/check_modules( ${use#*:} /Id" src/CMakeLists.txt || die - done - - rm output/*.{chm,dll} || die # windows-only -} - -src_configure() { - local mycmakeargs=( - -DGLVND=yes - -DPUBLIC_RELEASE=yes - -DQT6=$(usex qt6) - ) - - cmake_src_configure -} - -src_install() { - local DOCS=( README TODO-SDL changelog.txt documentation/. readme.md ) - cmake_src_install - - rm "${ED}"/usr/share/doc/${PF}/fceux{,-net-server}.6 || die # duplicate - rm "${ED}"/usr/share/man/man6/fceux-net-server.6 || die # not used -} diff --git a/games-emulation/fceux/fceux-2.6.6-r2.ebuild b/games-emulation/fceux/fceux-2.6.6-r2.ebuild new file mode 100644 index 000000000000..3fd7da408194 --- /dev/null +++ b/games-emulation/fceux/fceux-2.6.6-r2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-1 luajit ) +inherit cmake lua-single xdg + +DESCRIPTION="Portable Famicom/NES emulator, an evolution of the original FCE Ultra" +HOMEPAGE="https://fceux.com/" +SRC_URI=" + https://github.com/TASEmulators/fceux/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="archive ffmpeg x264 x265" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS} + dev-qt/qtbase:6[gui,opengl,widgets,-gles2-only] + media-libs/libglvnd + media-libs/libsdl2[joystick,sound,threads(+),video] + sys-libs/zlib:=[minizip] + archive? ( app-arch/libarchive:= ) + ffmpeg? ( media-video/ffmpeg:= ) + x264? ( media-libs/x264:= ) + x265? ( media-libs/x265:= ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.4.0-desktop.patch + "${FILESDIR}"/${PN}-2.4.0-no-git.patch + "${FILESDIR}"/${PN}-2.6.6-luajit.patch + "${FILESDIR}"/${PN}-2.6.6-no-glx.patch +) + +src_prepare() { + cmake_src_prepare + + local use + for use in archive:libarchive ffmpeg:libav x264 x265; do + use ${use%:*} || + sed -i "/check_modules( ${use#*:} /Id" src/CMakeLists.txt || die + done + + rm output/*.{chm,dll} || die # windows-only +} + +src_configure() { + local mycmakeargs=( + -DGLVND=yes + -DPUBLIC_RELEASE=yes + -DQT6=ON + ) + + cmake_src_configure +} + +src_install() { + local DOCS=( README TODO-SDL changelog.txt documentation/. readme.md ) + cmake_src_install + + rm "${ED}"/usr/share/doc/${PF}/fceux{,-net-server}.6 || die # duplicate + rm "${ED}"/usr/share/man/man6/fceux-net-server.6 || die # not used +} -- cgit v1.2.3