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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC42A15808B for ; Mon, 7 Mar 2022 20:38:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A6BEE0769; Mon, 7 Mar 2022 20:38:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8ECE6E0769 for ; Mon, 7 Mar 2022 20:38:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88A2934324E for ; Mon, 7 Mar 2022 20:38:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1B002FE for ; Mon, 7 Mar 2022 20:38:39 +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: <1646685193.f0d3802c246e1c4f3113f4f06c39b1200113d329.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.6.3.ebuild X-VCS-Directories: games-emulation/fceux/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: f0d3802c246e1c4f3113f4f06c39b1200113d329 X-VCS-Branch: master Date: Mon, 7 Mar 2022 20:38:39 +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: d6d6bd7d-bfed-4ac3-af61-a1d64117093d X-Archives-Hash: 75ed2aaeff931b8a541fd67b0d3088eb commit: f0d3802c246e1c4f3113f4f06c39b1200113d329 Author: Ionen Wolkens gentoo org> AuthorDate: Mon Mar 7 20:31:32 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon Mar 7 20:33:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0d3802c games-emulation/fceux: add 2.6.3 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/fceux/Manifest | 1 + games-emulation/fceux/fceux-2.6.3.ebuild | 56 ++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/games-emulation/fceux/Manifest b/games-emulation/fceux/Manifest index 3c76e6ecb2f3..727f4adc464a 100644 --- a/games-emulation/fceux/Manifest +++ b/games-emulation/fceux/Manifest @@ -1 +1,2 @@ DIST fceux-2.6.2.tar.gz 23334976 BLAKE2B 70d05f6eb9befee1ee27f897c2da1494576fa2fc2b5057aff08ce8a227d0381063ed0ec65412c554b1520bc19c16e1f679b153ce8242842c0e0aad9ad9f315cf SHA512 11b8bc907997e0dee038f3956848653feb07f465204159e78a567362df6b250b14ddd6c2dcd5806f79d5032e27ff2b9dbf5dc59879616df89713381756f82848 +DIST fceux-2.6.3.tar.gz 23355815 BLAKE2B 49984aec5d3d8ca5fcc040bac16cf4af406fce2dbc4cf4a02e386195be5eca09c4b297e73c438b10b865bcd42e8c8b7e33971a30be285c315e183dc018c5b97e SHA512 446a7cd45afb703e2268f3f6d71dc1a0d9da5f67e1121026258c960fdd360775f31dcab97c1da2755abeef10e9c6757c0af2f3cc67ccb63314c84ef6a4700b2b diff --git a/games-emulation/fceux/fceux-2.6.3.ebuild b/games-emulation/fceux/fceux-2.6.3.ebuild new file mode 100644 index 000000000000..ac55ef93a2b4 --- /dev/null +++ b/games-emulation/fceux/fceux-2.6.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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 +}