1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-02-17 16:35:52 +01:00

Cleanup old versions

This commit is contained in:
2022-08-14 15:35:18 +02:00
parent 90a0629be7
commit 03d343a789
31 changed files with 2 additions and 1464 deletions

View File

@@ -1,10 +1,5 @@
AUX sdlmame-0.184-qt.patch 830 BLAKE2B 78cac2a5f652853e1c616973d8f9b776a8d3ec21f7f7d40a04621cb86942e5181ffc42a3ff7b7097b5007a4e1c4da21d933eaf6ee33bc0d411cace599c73d452 SHA512 96fce099f8aaeae6f7e9239a698d4fb767e8bf0e40a6a80c887faf70d22451d6d1d2d12b26734b9e9d4e704fcf231593ffb3de62a74ee3bdc0ea836e165f0721
AUX vector.ini 116 BLAKE2B 7dbc58708e0c371c6d8116891a37048d5477b1b92b61c26441f15fff81f8dd01bf8f49cc1bddd256c56ecba592a8dac5fb1674fab5f0adb488410dc6e1d13025 SHA512 6d84eb7b9c4e9f134b57e64ba9ae30dcaaa620296830f7c9858611fde9064f803bd7d230a989a5cce34d8b815b5a98d323b19d3eef3d4c688b5c32b96b299f5f
DIST mame-0.214.zip 139427495 BLAKE2B 1ae9d117c78fcfcfbe49ce671b6196885d6a618f1c81ced1b861a75a3fa961cb288458179524cbeb07e9a83242e14dd3a983ab6c281d330f3445a2442a86713a SHA512 b29aabc37e445219ce4ed3f908261bf2f944a533bb966b162e827fb48472445ab5ee0d35a7b3dfa028109c7fe5ad383b23c7fcaa4b2a3a4b5be4ac112537c05c
DIST mame-0.225.tar.gz 195554245 BLAKE2B c56b4eff3aca1f1b7191b0c8956f64b4b6e7764934a5ce90c64b12373b1d565a1de28e50ac3adab7efbb58fd6d8dfadbe5dfbad559b8df839fd7fc9e168c4c5c SHA512 7160d0d5d849280305efa6129c7d41ee7ffb301c2378059d3d7ca7118cf9f46a76c6dfd65df1a7ddbdfb146a02325803e3eb251a60a26905230ab7a052a8f62f
DIST mame-0.235.tar.gz 193392918 BLAKE2B 3d3057d8b82169ab3b3531802747d679a91051b24bb792f142e5fc13d75c100f736847eda30e80bc858de5c77d10d19dfa73e4ebf926be829aac7806963c77c6 SHA512 46489f038586a5845c458d4c427c2eca8631906f28f17be549af36cff6d256b324876d6ac29baef8f022afe2cb494e533b22deef8aed3b7233866ccc4534c428
DIST sdlmame.png 15733 BLAKE2B 7a4dea45062338a86a290d8a20b82fb7283e11c93191e0c3d337d08e15cbc383b64363c9ac2520666f3f3ac05249bd0da51f2b0dc3f292c4509d9ed88340ffa8 SHA512 2610fdf6768fab6ca16b7f2bd2b32abf11de4fa57e77c025b0857f213f26ab3b1d6220722f742092d818564b553e8444d0e6a06676b3a16997910113b271a7f5
EBUILD sdlmame-0.214.ebuild 6444 BLAKE2B 0598ca3a4aedfc4f1add4fc88931f51d5b49f49045f6617bdbc1df321b5658d65bec2de2846dab5a53f9048e3364308e9654253e35239fdabaa8800eb19dae31 SHA512 86f96deee258a8566818814ef23977bc618a34fc78f06fbdf9f6089a74687d5113d1187084ea26ed550b9d2202b0684aeeb9a8d28b597a190043549f583d6bbc
EBUILD sdlmame-0.225.ebuild 6230 BLAKE2B 30b6ea7f850286fa1a946f31ff56f06e5540863de5fdf8d3fc0427162941896a92ea6f8b0fc2424fd2bcb54b1ec0b59b4b1542f133fc63e4c6d6af4b88841bed SHA512 02e8fbd28a4ac4ea9a3f64c3c783b81b31db3e313e014b4836508c1737d586b76bc8af6c767f8f9c9514c0ef1d667b4008408f0d14cd46b06e825f37e4a2fc04
EBUILD sdlmame-0.235.ebuild 6204 BLAKE2B 57f123de3091e38a35fd4be7f63e66932edc94382687f442d4c4018ae2880f40b5cded4806e2860424366a4675fbe9c7ccf20ee44c45ce3188634654d49d7984 SHA512 515b5b5504bdc9b656bb378d6428e611e224c06a473f983e326aaa22a5d3e2845ecabacc1869f175fe4ce57871eacac775e433a1b1ed228a56ae31880dc085ec
MISC metadata.xml 1573 BLAKE2B 2bb3f53a9dc2e3e3e511b81fb1319926d7f6fb68a6d6ed9dbcc0e56f106a5536f97200ab144c46ffa69d09cbce147b28f9468092d338c6c332ad607524ca1172 SHA512 a621863a22333f29886464b354f0efe7edc372ec598beec36ee3c0358846527e677a644b7ac24e1757c9f684f69c996a9cf74988643d015b3a34f3cbfa23c7e4

View File

@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<longdescription>
SDLMAME is a port of the popular MAME[tm]. There are a few principles that guide it's development:
1) run on Linux/Unix, Mac OS X, and other SDL supported operating systems with as few changes as
possible to the base Win32 code. This means we can track changes faster than larger more conventional
ports such as MacMAME, and we also maintain what I call "Firefox compatibilty" where learning a major
app only needs to be done once per application, and it then applies across many operating systems. If
you can use the command-line Win32 MAME, you already know how to use SDLMAME on any platform you may
encounter it on.
2) MAME developers are important. By keeping quickly up to date, we make it easy for people on
non-Windows platforms to make and submit changes to the core MAME code, and we offer native
implementations of MAME's multi-window GUI debugger on both Linux/Unix and Mac OS X.
</longdescription>
<use>
<flag name="arcade">Enable the Multiple Arcade Machine Emulator for arcade games support</flag>
<flag name="tools">Build development tools shared between sdlmame and sdlmess</flag>
<flag name="mess">Enable the Multi Emulator Super System for game system support</flag>
</use>
<upstream>
<remote-id type="github">mamedev/mame</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,244 +0,0 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit desktop eutils python-any-r1 toolchain-funcs qmake-utils xdg-utils
MY_PV="${PV/.}"
DESCRIPTION="Multiple Arcade Machine Emulator + Multi Emulator Super System (MESS)"
HOMEPAGE="http://mamedev.org/"
SRC_URI="https://github.com/mamedev/mame/releases/download/mame${MY_PV}/mame${MY_PV}s.zip -> mame-${PV}.zip"
LICENSE="GPL-2+ BSD-2 MIT CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa +arcade debug desktop +mess opengl openmp tools"
REQUIRED_USE="|| ( arcade mess )"
# MESS (games-emulation/sdlmess) has been merged into MAME upstream since mame-0.162 (see below)
# MAME/MESS build combined (default) +arcade +mess (mame)
# MAME build only +arcade -mess (mamearcade)
# MESS build only -arcade +mess (mess)
# games-emulation/sdlmametools is dropped and enabled instead by the 'tools' useflag
RDEPEND="!games-emulation/sdlmametools
!games-emulation/sdlmess
dev-db/sqlite:3
dev-libs/expat
media-libs/fontconfig
media-libs/flac
media-libs/libsdl2[joystick,opengl?,sound,video,X]
media-libs/portaudio
media-libs/sdl2-ttf
sys-libs/zlib
virtual/jpeg:0
virtual/opengl
alsa? ( media-libs/alsa-lib
media-libs/portmidi )
debug? ( dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5 )
x11-libs/libX11
x11-libs/libXinerama
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
app-arch/unzip
virtual/pkgconfig
x11-base/xorg-proto"
BDEPEND="${PYTHON_DEPS}"
S=${WORKDIR}
# Function to disable a makefile option
disable_feature() {
sed -i -e "/^[ ]*$1.*=/s:^:# :" makefile || die
}
# Function to enable a makefile option
enable_feature() {
sed -i -e "/^#.*$1.*=/s:^#[ ]*::" makefile || die
}
pkg_setup() {
python-any-r1_pkg_setup
}
src_unpack() {
default
unzip -qo -U ./mame.zip
rm -f mame.zip || die
}
src_prepare() {
PATCHES=( ${FILESDIR}"/${PN}-0.184-qt.patch" )
default_src_prepare
# Disable using bundled libraries
enable_feature USE_SYSTEM_LIB_EXPAT
enable_feature USE_SYSTEM_LIB_FLAC
enable_feature USE_SYSTEM_LIB_JPEG
# Use bundled lua for now to ensure correct compilation (ref. b.g.o #407091)
# enable_feature USE_SYSTEM_LIB_LUA
enable_feature USE_SYSTEM_LIB_PORTAUDIO
enable_feature USE_SYSTEM_LIB_SQLITE3
enable_feature USE_SYSTEM_LIB_ZLIB
# Disable warnings being treated as errors and enable verbose build output
enable_feature NOWERROR
enable_feature VERBOSE
use amd64 && enable_feature PTR64
use debug && enable_feature DEBUG
use tools && enable_feature TOOLS
disable_feature NO_X11 # bgfx needs X
use openmp && enable_feature OPENMP
if use alsa ; then
enable_feature USE_SYSTEM_LIB_PORTMIDI
else
enable_feature NO_USE_MIDI
fi
sed -i \
-e 's/-Os//' \
-e '/^\(CC\|CXX\|AR\) /s/=/?=/' \
3rdparty/genie/build/gmake.linux/genie.make || die
}
src_compile() {
local targetargs
local qtdebug=$(usex debug 1 0)
use arcade && ! use mess && targetargs="SUBTARGET=arcade"
! use arcade && use mess && targetargs="SUBTARGET=mess"
function my_emake() {
# Workaround conflicting $ARCH variable used by both Gentoo's
# portage and by Mame's build scripts
PYTHON_EXECUTABLE=${PYTHON} \
OVERRIDE_CC=$(tc-getCC) \
OVERRIDE_CXX=$(tc-getCXX) \
OVERRIDE_LD=$(tc-getCXX) \
QT_SELECT=qt5 \
QT_HOME="$(qt5_get_libdir)/qt5" \
ARCH= \
emake "$@" \
AR=$(tc-getAR)
}
my_emake -j1 generate
my_emake ${targetargs} \
SDL_INI_PATH="\$\$\$\$HOME/.sdlmame;/etc/${PN}" \
USE_QTDEBUG=${qtdebug}
#if use tools ; then
# my_emake -j1 TARGET=ldplayer USE_QTDEBUG=${qtdebug}
#fi
}
src_install() {
local MAMEBIN
local suffix="$(use amd64 && echo 64)$(use debug && echo d)"
local f
function mess_install() {
dosym ${MAMEBIN} "/usr/bin/mess${suffix}"
dosym ${MAMEBIN} "/usr/bin/sdlmess"
newman docs/man/mess.6 sdlmess.6
doman docs/man/mess.6
}
if use arcade ; then
if use mess ; then
MAMEBIN="mame${suffix}"
mess_install
else
MAMEBIN="mamearcade${suffix}"
fi
doman docs/man/mame.6
newman docs/man/mame.6 ${PN}.6
elif use mess ; then
MAMEBIN="mess${suffix}"
mess_install
fi
dobin ${MAMEBIN}
dosym ${MAMEBIN} "/usr/bin/${PN}"
insinto "/usr/share/${PN}"
doins -r keymaps $(use mess && echo hash)
# Create default mame.ini and inject Gentoo settings into it
# Note that '~' does not work and '$HOME' must be used
./${MAMEBIN} -noreadconfig -showconfig > "${T}/mame.ini" || die
# -- Paths --
for f in {rom,hash,sample,art,font,crosshair} ; do
sed -i \
-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;/usr/share/${PN}/\2:" \
"${T}/mame.ini" || die
done
for f in {ctrlr,cheat} ; do
sed -i \
-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;/etc/${PN}/\2;/usr/share/${PN}/\2:" \
"${T}/mame.ini" || die
done
# -- Directories
for f in {cfg,nvram,memcard,input,state,snapshot,diff,comment} ; do
sed -i \
-e "s:\(${f}_directory\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
"${T}/mame.ini" || die
done
# -- Keymaps --
sed -i \
-e "s:\(keymap_file\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
"${T}/mame.ini" || die
for f in keymaps/km*.map ; do
sed -i \
-e "/^keymap_file/a \#keymap_file \t\t/usr/share/${PN}/keymaps/${f##*/}" \
"${T}/mame.ini" || die
done
insinto "/etc/${PN}"
doins "${T}/mame.ini"
insinto "/etc/${PN}"
doins "${FILESDIR}/vector.ini"
#dodoc docs/{config,mame,newvideo}.txt
keepdir \
"/usr/share/${PN}"/{ctrlr,cheat,roms,samples,artwork,crosshair} \
"/etc/${PN}"/{ctrlr,cheat}
if use tools ; then
for f in castool chdman floptool imgtool jedutil ldresample ldverify romcmp ; do
newbin ${f} ${PN}-${f}
newman docs/man/${f}.1 ${PN}-${f}.1
done
#newbin ldplayer${suffix} ${PN}-ldplayer
#newman docs/man/ldplayer.1 ${PN}-ldplayer.1
fi
if use desktop; then
local mydesktopfields=(
"sdlmame"
"MAME"
"mame"
"Application;Game;Emulation"
)
make_desktop_entry ${mydesktopfields[@]}
doicon "${FILESDIR}/mame.png"
fi
}
pkg_postinst() {
xdg_desktop_database_update
elog "It is strongly recommended to change either the system-wide"
elog " /etc/${PN}/mame.ini or use a per-user setup at ~/.${PN}/mame.ini"
elog
if use opengl ; then
elog "You built ${PN} with opengl support and should set"
elog "\"video\" to \"opengl\" in mame.ini to take advantage of that"
elog
elog "For more info see http://wiki.mamedev.org"
fi
}
pkg_postrm(){
xdg_desktop_database_update
}

View File

@@ -1,230 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
inherit desktop eutils python-any-r1 toolchain-funcs qmake-utils xdg-utils
MY_PV="${PV/.}"
DESCRIPTION="Multiple Arcade Machine Emulator + Multi Emulator Super System (MESS)"
HOMEPAGE="http://mamedev.org/"
SRC_URI="https://github.com/mamedev/mame/archive/mame${MY_PV}.tar.gz -> mame-${PV}.tar.gz
https://icon-icons.com/downloadimage.php?id=20820&root=159/PNG/256/&file=mame_22338.png -> sdlmame.png
"
LICENSE="GPL-2+ BSD-2 MIT CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa +arcade debug +mess opengl openmp tools"
REQUIRED_USE="|| ( arcade mess )"
# MESS (games-emulation/sdlmess) has been merged into MAME upstream since mame-0.162 (see below)
# MAME/MESS build combined (default) +arcade +mess (mame)
# MAME build only +arcade -mess (mamearcade)
# MESS build only -arcade +mess (mess)
# games-emulation/sdlmametools is dropped and enabled instead by the 'tools' useflag
RDEPEND="!games-emulation/sdlmametools
!games-emulation/sdlmess
dev-db/sqlite:3
dev-libs/expat
media-libs/fontconfig
media-libs/flac
media-libs/libsdl2[joystick,opengl?,sound,video,X]
media-libs/portaudio
media-libs/sdl2-ttf
sys-libs/zlib
virtual/jpeg:0
virtual/opengl
alsa? ( media-libs/alsa-lib
media-libs/portmidi )
debug? ( dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5 )
x11-libs/libX11
x11-libs/libXinerama"
DEPEND="${RDEPEND}
virtual/pkgconfig
x11-base/xorg-proto"
BDEPEND="${PYTHON_DEPS}"
S="${WORKDIR}/mame-mame${MY_PV}"
# Function to disable a makefile option
disable_feature() {
sed -i -e "/^[ ]*$1.*=/s:^:# :" makefile || die
}
# Function to enable a makefile option
enable_feature() {
sed -i -e "/^#.*$1.*=/s:^#[ ]*::" makefile || die
}
pkg_setup() {
python-any-r1_pkg_setup
}
src_prepare() {
default
# Disable using bundled libraries
enable_feature USE_SYSTEM_LIB_EXPAT
enable_feature USE_SYSTEM_LIB_FLAC
enable_feature USE_SYSTEM_LIB_JPEG
# Use bundled lua for now to ensure correct compilation (ref. b.g.o #407091)
# enable_feature USE_SYSTEM_LIB_LUA
enable_feature USE_SYSTEM_LIB_PORTAUDIO
enable_feature USE_SYSTEM_LIB_SQLITE3
enable_feature USE_SYSTEM_LIB_ZLIB
# Disable warnings being treated as errors and enable verbose build output
enable_feature NOWERROR
enable_feature VERBOSE
use amd64 && enable_feature PTR64
use debug && enable_feature DEBUG
use tools && enable_feature TOOLS
disable_feature NO_X11 # bgfx needs X
use openmp && enable_feature OPENMP
if use alsa ; then
enable_feature USE_SYSTEM_LIB_PORTMIDI
else
enable_feature NO_USE_MIDI
fi
sed -i \
-e 's/-Os//' \
-e '/^\(CC\|CXX\|AR\) /s/=/?=/' \
3rdparty/genie/build/gmake.linux/genie.make || die
}
src_compile() {
local targetargs
local qtdebug=$(usex debug 1 0)
use arcade && ! use mess && targetargs="SUBTARGET=arcade"
! use arcade && use mess && targetargs="SUBTARGET=mess"
function my_emake() {
# Workaround conflicting $ARCH variable used by both Gentoo's
# portage and by Mame's build scripts
PYTHON_EXECUTABLE=${PYTHON} \
OVERRIDE_CC=$(tc-getCC) \
OVERRIDE_CXX=$(tc-getCXX) \
OVERRIDE_LD=$(tc-getCXX) \
QT_SELECT=qt5 \
QT_HOME="$(qt5_get_libdir)/qt5" \
ARCH= \
emake "$@" \
AR=$(tc-getAR)
}
my_emake -j1 generate
my_emake ${targetargs} \
SDL_INI_PATH="\$\$\$\$HOME/.sdlmame;/etc/${PN}" \
USE_QTDEBUG=${qtdebug}
#if use tools ; then
# my_emake -j1 TARGET=ldplayer USE_QTDEBUG=${qtdebug}
#fi
}
src_install() {
local MAMEBIN
local suffix="$(use amd64 && echo 64)$(use debug && echo d)"
local f
function mess_install() {
dosym ${MAMEBIN} "/usr/bin/mess${suffix}"
dosym ${MAMEBIN} "/usr/bin/sdlmess"
newman docs/man/mess.6 sdlmess.6
doman docs/man/mess.6
}
if use arcade ; then
if use mess ; then
MAMEBIN="mame${suffix}"
mess_install
else
MAMEBIN="mamearcade${suffix}"
fi
doman docs/man/mame.6
newman docs/man/mame.6 ${PN}.6
elif use mess ; then
MAMEBIN="mess${suffix}"
mess_install
fi
dobin ${MAMEBIN}
dosym ${MAMEBIN} "/usr/bin/${PN}"
insinto "/usr/share/${PN}"
doins -r keymaps $(use mess && echo hash)
# Create default mame.ini and inject Gentoo settings into it
# Note that '~' does not work and '$HOME' must be used
./${MAMEBIN} -noreadconfig -showconfig > "${T}/mame.ini" || die
# -- Paths --
for f in {rom,hash,sample,art,font,crosshair} ; do
sed -i \
-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;/usr/share/${PN}/\2:" \
"${T}/mame.ini" || die
done
for f in {ctrlr,cheat} ; do
sed -i \
-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;/etc/${PN}/\2;/usr/share/${PN}/\2:" \
"${T}/mame.ini" || die
done
# -- Directories
for f in {cfg,nvram,memcard,input,state,snapshot,diff,comment} ; do
sed -i \
-e "s:\(${f}_directory\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
"${T}/mame.ini" || die
done
# -- Keymaps --
sed -i \
-e "s:\(keymap_file\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
"${T}/mame.ini" || die
for f in keymaps/km*.map ; do
sed -i \
-e "/^keymap_file/a \#keymap_file \t\t/usr/share/${PN}/keymaps/${f##*/}" \
"${T}/mame.ini" || die
done
insinto "/etc/${PN}"
doins "${T}/mame.ini"
insinto "/etc/${PN}"
doins "${FILESDIR}/vector.ini"
#dodoc docs/{config,mame,newvideo}.txt
keepdir \
"/usr/share/${PN}"/{ctrlr,cheat,roms,samples,artwork,crosshair} \
"/etc/${PN}"/{ctrlr,cheat}
if use tools ; then
for f in castool chdman floptool imgtool jedutil ldresample ldverify romcmp ; do
newbin ${f} ${PN}-${f}
newman docs/man/${f}.1 ${PN}-${f}.1
done
#newbin ldplayer${suffix} ${PN}-ldplayer
#newman docs/man/ldplayer.1 ${PN}-ldplayer.1
fi
newicon "${DISTDIR}/${PN}.png" "${PN}".png
}
pkg_postinst() {
xdg_desktop_database_update
elog "It is strongly recommended to change either the system-wide"
elog " /etc/${PN}/mame.ini or use a per-user setup at ~/.${PN}/mame.ini"
elog
if use opengl ; then
elog "You built ${PN} with opengl support and should set"
elog "\"video\" to \"opengl\" in mame.ini to take advantage of that"
elog
elog "For more info see http://wiki.mamedev.org"
fi
}
pkg_postrm(){
xdg_desktop_database_update
}