summaryrefslogtreecommitdiff
path: root/games-emulation/mupen64plus-ui-console
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
commitb6fa31c964a602f8461a77d5b83355e8750c12eb (patch)
tree323fa7af31640b3ea8bb57fa7a927713f3d64769 /games-emulation/mupen64plus-ui-console
parent868fd5dc8aab84930cfaa5252b8be06b35552765 (diff)
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'games-emulation/mupen64plus-ui-console')
-rw-r--r--games-emulation/mupen64plus-ui-console/Manifest2
-rw-r--r--games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild95
2 files changed, 97 insertions, 0 deletions
diff --git a/games-emulation/mupen64plus-ui-console/Manifest b/games-emulation/mupen64plus-ui-console/Manifest
index 88869cebddca..252d9fa8161d 100644
--- a/games-emulation/mupen64plus-ui-console/Manifest
+++ b/games-emulation/mupen64plus-ui-console/Manifest
@@ -1,4 +1,6 @@
AUX mupen64plus-ui-console-2.5.9-fix-makefile.patch 986 BLAKE2B d8aa49eab82131df2a05ad5f446c9ba78c5e3102fcb9ef85a7cfd357331e59018afe65628d8f56b501016823496352871b955a2b96350d023c6a5471434de72f SHA512 6361c8edf1ec2dce5d28eefb7890deb7ebf42fc214b16349b83104215c6374cb5d8513998942539ac8c15f35833f51fc8004b815be267aedefe14fb204c32251
DIST mupen64plus-ui-console-src-2.5.9.tar.gz 58934 BLAKE2B 83fb9502ba910af75eff62a45ac490a7281db27cf7df4c666382eb922249e1483cbfcc204e79e3763d047c876558531021360078e81abb7995c855b274e182b9 SHA512 60be63e94c8a2e44a8f4f215f667bc980f62bee3ba629af53d281328f45e016dbadfc6b7596ac657fd434b9df283d43b54a058cba2cdce3fef4b865adbedd8ca
+DIST mupen64plus-ui-console-src-2.6.0.tar.gz 63122 BLAKE2B 108ab9c4f50824e8ca120f5f087413127a21b371768be817f50f2a8dba68997021b3e1394c37f122dc489beba913f81abdd7beb0887f7699bd7fb2bbda34e246 SHA512 62b895063b8d0c1839aca6690e395e05fa130a92d69d4e19c3bb0a71d9e7a0dacbb6208f0664e68bf2e35cd78896c0bb90a124df432db84381b030501db7122d
EBUILD mupen64plus-ui-console-2.5.9.ebuild 1808 BLAKE2B 9de2dce261953a73010dce6b6466fabfc3124902be32dd7ad9af543f0834953c23c575b3785faf032423835c8ab6159662634e83ae5d5473a903ea18e040f54b SHA512 ae334c670112e14541851f0235b5cb6dc9d06d7de10490e3b6e58db7a4015ec2c87c773ff5070d8c829d287ea92585a08160ddf044aca7995eac0a7ee9e29f79
+EBUILD mupen64plus-ui-console-2.6.0.ebuild 1907 BLAKE2B 4f85fc1e6972b5e01e61f90715d8c96f9a181d0a1240f46c3e9fb9a498895639d3ca770db9099fa0242a523972b66e5f7de9aa0923c05dab8f9b4ac499914390 SHA512 a097c71cd1314d95f4b4cabfe6d8274fa9b09b297cdc29d53c379e84c15ea0ef3cb1334abc573c0f62b9e5fbc55b7aab26edbd0cc3a38bf25821911c2c9c5dcc
MISC metadata.xml 347 BLAKE2B 5366bd85a7118855d49a3581c06e817ac18920b8884495255aab1712a5038b0d4e25f61ba9775275dace790d6fcf7f27242384a608d5fe24b80efd0f996dfbf8 SHA512 c70fbd26edb9cd6406144fac31ddc5ab4954df086f3ada0178f95e15d39ff54dcf774df934c3c435ffcb4946df9514f7b594900c3a04ca8378ef85b6af3d0d82
diff --git a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild
new file mode 100644
index 000000000000..5d73623d12cb
--- /dev/null
+++ b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg-utils
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, console UI"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="
+ https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ >=games-emulation/mupen64plus-core-${PV}:0=
+ media-libs/libsdl2:0=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags and -fPIE/-fno-PIE
+ sed -e 's:-mmmx::g' -e 's:-msse::g' \
+ -e 's:-fPIE::g' -e 's:-pie::g' \
+ -e 's:-fno-PIE::g' -e 's:-no-pie::g' \
+ -i projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+
+ # Package-specific stuff
+
+ # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
+ SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
+ SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc README RELEASE
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}