From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BEBB4158086 for ; Sun, 24 Oct 2021 04:52:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27485E0884; Sun, 24 Oct 2021 04:52:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10F9FE0884 for ; Sun, 24 Oct 2021 04:52:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A8BF343709 for ; Sun, 24 Oct 2021 04:52:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB3EBE3 for ; Sun, 24 Oct 2021 04:52:03 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1635051099.d16e98025a08ecbe18435513df6b913e12f0456c.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/fceux/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/fceux/Manifest games-emulation/fceux/fceux-2.5.0.ebuild games-emulation/fceux/metadata.xml X-VCS-Directories: games-emulation/fceux/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: d16e98025a08ecbe18435513df6b913e12f0456c X-VCS-Branch: master Date: Sun, 24 Oct 2021 04:52:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1245f38f-3c56-4c64-b333-4cadc0d6b820 X-Archives-Hash: d1972d51594176f0b2dea7ae8f831af9 commit: d16e98025a08ecbe18435513df6b913e12f0456c Author: Ionen Wolkens gentoo org> AuthorDate: Sun Oct 24 04:41:33 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Oct 24 04:51:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16e9802 games-emulation/fceux: add 2.5.0 This version checks for ffmpeg and x265 on top of the previous x264. Add support and make all 3 optional. Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/fceux/Manifest | 1 + games-emulation/fceux/fceux-2.5.0.ebuild | 56 ++++++++++++++++++++++++++++++++ games-emulation/fceux/metadata.xml | 4 +++ 3 files changed, 61 insertions(+) diff --git a/games-emulation/fceux/Manifest b/games-emulation/fceux/Manifest index d2e20f407eb..449d559d95e 100644 --- a/games-emulation/fceux/Manifest +++ b/games-emulation/fceux/Manifest @@ -1 +1,2 @@ DIST fceux-2.4.0.tar.gz 21807471 BLAKE2B 5b4d5e9438cfc974cb5ed1838b0845a1d125366fcfbe4ad72c1a5da7caed7bb763a7c66933933f61223abb9dc4c25f0ac7875a0751d122bf75e8567ca5de6cc4 SHA512 3f53db1091e28c91bff90a2d6c77bd3c022a7c20a29b07e6cb88e9ae4795ce7f9e68d15ac0f90721472f8c262907a2564e0be7adc8df2eb3ef252215717f30a0 +DIST fceux-2.5.0.tar.gz 21992303 BLAKE2B 2c467a92eaa53c846fdfc7c32c68bec75fdf45d5166f5fa7f1141c48f159c8dc6619f40861373ccb83718dd2d0b857c630f5101a1d29c2699adf128d4711a929 SHA512 bbff55b6f3efda8918b7dab21582d93f8c2a6396bf64a93e33f2f5f6cd345f95bcde7b958f0a663967e47e83110733c4a732dbf538afb7dbecb3147bc3090f01 diff --git a/games-emulation/fceux/fceux-2.5.0.ebuild b/games-emulation/fceux/fceux-2.5.0.ebuild new file mode 100644 index 00000000000..3b064ef44c9 --- /dev/null +++ b/games-emulation/fceux/fceux-2.5.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-1 ) +inherit cmake lua-single xdg + +DESCRIPTION="Portable Famicom/NES emulator, an evolution of the original FCE Ultra" +HOMEPAGE="https://fceux.com/" +SRC_URI="mirror://sourceforge/fceultra/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ffmpeg x264 x265" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +# TODO: QT6 support (disabled by default) when available in Gentoo +RDEPEND=" + ${LUA_DEPS} + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5[-gles2-only] + dev-qt/qtwidgets:5 + media-libs/libglvnd + media-libs/libsdl2[joystick,sound,threads,video] + sys-libs/zlib:=[minizip] + ffmpeg? ( media-video/ffmpeg:= ) + x264? ( media-libs/x264:= ) + x265? ( media-libs/x265:= )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.2.2-warnings.patch + "${FILESDIR}"/${PN}-2.4.0-desktop.patch + "${FILESDIR}"/${PN}-2.4.0-no-git.patch +) + +src_prepare() { + cmake_src_prepare + + use x264 || sed -i '/pkg_check_modules.*X264/d' src/CMakeLists.txt || die + use x265 || sed -i '/pkg_check_modules.*X265/d' src/CMakeLists.txt || die + use ffmpeg || sed -i '/pkg_check_modules.*LIBAV/d' src/CMakeLists.txt || die +} + +src_install() { + local DOCS=( README TODO-SDL changelog.txt documentation/. readme.md ) + cmake_src_install + + # remove unused/duplicate files + rm "${ED}"/usr/share/fceux/{lua5{1,.1}.dll,{fceux,taseditor}.chm} \ + "${ED}"/usr/share/doc/${PF}/fceux{,-net-server}.6 \ + "${ED}"/usr/share/man/man6/fceux-net-server.6 || die +} diff --git a/games-emulation/fceux/metadata.xml b/games-emulation/fceux/metadata.xml index 07c7588b64d..50bab016413 100644 --- a/games-emulation/fceux/metadata.xml +++ b/games-emulation/fceux/metadata.xml @@ -5,6 +5,10 @@ games@gentoo.org Gentoo Games Project + + Use media-video/ffmpeg for video recording + Use media-libs/x265 for video recording (HEVC) + TASVideos/fceux fceultra