Commit 46d99682 authored by Antoine Fontaine's avatar Antoine Fontaine
Browse files

community/gnome-games-core-database

This package is required to make GNOME Games work.

this package shouldn't exist in its current form. see
https://gitlab.gnome.org/GNOME/gnome-games/-/issues/299
to understand why it exists.

The files are mirrored in this directory, because upstream
release tarball don't contain these files. gitlab's
autogenerated tarballs don't contain these files.
the workaround is unfortunately to copy them
manually from git.
parent cc0f6307
Pipeline #32162 failed with stages
in 2 minutes
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-games-core-database
pkgver=3.36.1
pkgrel=0
pkgdesc="information about cores for GNOME Games"
url="https://wiki.gnome.org/Apps/Games"
arch="noarch"
options="net" # for check()
license="GPL-3.0-or-later" # assumed to be the same license as gnome-games
# this package shouldn't exist in its current form.
# see https://gitlab.gnome.org/GNOME/gnome-games/-/issues/299
# to understand why it exists.
# The files are mirrored in this directory, because upstream
# release tarball don't contain these files. gitlab's
# autogenerated tarballs don't contain these files.
# the workaround is unfortunately to copy them
# manually from git.
# I've added a check to unsure that the files are kept in sync.
source="
bsnes_mercury_balanced.libretro
desmume2015.libretro
gambatte.libretro
handy.libretro
mednafen_ngp.libretro
mednafen_pce_fast.libretro
mednafen_vb.libretro
mednafen_wswan.libretro
mgba.libretro
nestopia.libretro
pcsx_rearmed.libretro
picodrive.libretro
prosystem.libretro
stella2014.libretro
"
check() {
git clone https://gitlab.gnome.org/GNOME/gnome-games
git -C gnome-games checkout "$pkgver"
msg "Checking the files are all there, and in sync"
exit_code=0
for f in gnome-games/flatpak/libretro-cores/*.libretro; do
b="$(basename "$f")"
if cmp "$srcdir"/"$b" "$f"; then
echo "$b: OK"
else
echo "$b: FAILED"
exit_code=1
fi
done
return "$exit_code"
# note that it doesn't check if a file has been removed upstream
}
package() {
mkdir -p "$pkgdir"/usr/lib/libretro/
for f in "$srcdir"/*.libretro; do
install -Dm 0644 "$f" "$pkgdir"/usr/lib/libretro/
done
}
sha512sums="3730a7926344e6d02e51a003a0a16e3638b90743cbaa68c6e5cd0177d419c36a96dd7b1aa56f7301fddcc8f867eba93404c4bef05d127eb00e1171d7914700db bsnes_mercury_balanced.libretro
5c86a906d9ba56f65601c2231efbab0a7560782004cf1ad3c567cdadb260f0b5d8488bd674f6ebbb726110f0c3d9da9be48766e1363d6669bb186183e3a42ac4 desmume2015.libretro
8b24de67ff14a2b03774efa675ba6bed739231ccb265b885de0cbfdf72923ee1cbb1ae7f4e4a0f4aa3bc8e66f33b634eac01b520218c1d8d944f2efa582f2fbd gambatte.libretro
bd8540c14bcd1faa1eadf8a2bf368dbed026f1461ab4665b3ac2184b15110c71f312c059c1abb9d3ba088a3d638aaa3860eead4dbb40806aecc5538f97209b3f handy.libretro
a3ca01375b9709cd7851b0530bddbd1a7db5cb9497642721370090f4060c4f8c5465e486500b799df01da4ebd0035477bef7d0fc4d14e7ac038426375c92568e mednafen_ngp.libretro
3de3b1609c1f6d68cadf79345528cc30370801797dce1a54943edb7eeceb3bee9421a2930062c31bd6c50f49880f6d1a02f622064b0fed41a204c4ea66e38089 mednafen_pce_fast.libretro
7ed80f8cbef668880f7bc772097bc125fdb6aa91032724fb32ab9c2ef5075694fd6241c668303d872dedad1f7129306604d356b1744428b6ad7082a28a39b46f mednafen_vb.libretro
d615d8bd4bab3940ec37f6b915ec66ba68852451ede2daed44fd578cbcc1c7edbe7ece03355849e35cc227cbb25af09047e51bb6f48c190aac7252d78c1644b3 mednafen_wswan.libretro
3477dc2bdfb5d0bd772b388290d33efd08a623ab20816f7d5f973b5106e732c3aa2be7de218e32d9de9cf91724cbf6c0e610a9519cbc01cedd3e1f7dbd175016 mgba.libretro
9b557c0fdeb50821dfb88d7a3e86e6d40cc3ce7f22a86dce7dedfa8226e8d2b44787ea04f643f521cbf9e402f02b7ad93647ac1ae1488fe197ee554020053ea8 nestopia.libretro
8c693bedae59e068153abac291c4a96385b4a2cbf5945c27300c89c2b95876568a53a27d0aec91dac5aff152d4af05ff3ec0cf8424b39c7e04355b35b294e93e pcsx_rearmed.libretro
eb35187eb5407aed4c3e462f10e2de616e12d3b5bc5e86225731775f90eb29ac9a1583a49f99bc726480fde845dee89b2ea35e5856a22e46a2f7a7814c9296a4 picodrive.libretro
38c217bd6fbf63d421f609793d483e75536364cafb0c7de341447804fc3009763f152d44e8f9ffc409cb952a55b37c82297adebf7e3efe7d2f28e30c9b001b9e prosystem.libretro
85d7bbd27315106728e8e6ba9657aafa049da4bbbb37fdd300f44ad55393190cfddef17af361308e38a4a57de7954c16ec701f1ec9cac7870d81ee879e2a8f7c stella2014.libretro"
[Libretro]
Type=Emulator
Version=1.0
Name=bsnes-mercury Balanced
Module=bsnes_mercury_balanced_libretro.so
LibretroVersion=1
Authors=byuu;Alcaro;
License=GPL-3.0;
[Platform:SuperNintendoEntertainmentSystem]
MimeType=application/vnd.nintendo.snes.rom;
Firmwares=DSP1Data;DSP1Program;DSP1BData;DSP1BProgram;DSP2Data;DSP2Program;DSP3Data;DSP3Program;DSP4Data;DSP4Program;ST010Data;ST010Program;ST011Data;ST011Program;ST018Data;ST018Program;
[Firmware:DSP1Data]
Path=dsp1.data.rom
MD5=3d81b45fa0c2aa8b852dfb1ece7c0971
SHA-512=2e25b0073c737258a6d5e9a90a939ca5b00ddb2bb840c11c3b1f7f38f745ee24d3ff66e802e06a0443b2a34d4731f11448f513e308a291175f757f539c58d213
Mandatory=false
[Firmware:DSP1Program]
Path=dsp1.program.rom
MD5=ae209fbe789fbf11a48aea5ab1197321
SHA-512=0a45003acb81ebd9c12cbecffa8f58aeb42bd3edaceab846292fd2565c8235177b977664d545ca5266e6ee289226cf9837c4cfe404db2660155dd507ac8bdf98
Mandatory=false
[Firmware:DSP1BData]
Path=dsp1b.data.rom
MD5=1e3f568634a7d8284020dddc0ae905bc
SHA-512=072fea845f49ef3ad0bfca2f2b41683a77dd564856b1c1580325f6588f4768cdf8b5e87891fd8e782008a4db94a20f00025f4eeaeb3647b279ce87e57e0abb08
Mandatory=false
[Firmware:DSP1BProgram]
Path=dsp1b.program.rom
MD5=d10f446888e097cbf500f3f663cf4f6d
SHA-512=a28800d5f432334d1b26f1236456e083d471b1a5d38f4b93c037dd44226cd1f9ce968c4a693899b58da28cf4883a728b145dda88e6de4adfbae1130473fe1435
Mandatory=false
[Firmware:DSP2Data]
Path=dsp2.data.rom
MD5=e9417e29223b139c3c4b635a2a3b8744
SHA-512=89d90d1b194b4a5587af5de11fd26864aa9ded721dbc6b77fa6db8c704414dd240d24088c6520c47b047ac4a5df3902e4c4ac1ea3916c8d084748a84bb8b4676
Mandatory=false
[Firmware:DSP2Program]
Path=dsp2.program.rom
MD5=aa6e5922a3ed5ded54f24247c11143c5
SHA-512=c092097d2eb9f74976dbe052754efd721950e7cbf331f38346927f6a27bd68e838eaf076b4411f3eb661193f22e657a410b17820a012c65c0defcac169314462
Mandatory=false
[Firmware:DSP3Data]
Path=dsp3.data.rom
MD5=0a81210c0a940b997dd9843281008ee6
SHA-512=32467195afcb5d9717c97dc95a47114e87481da1f7b6b2774c306cb4b78d76d18ef0e3774316649365360646cbbdf2b66ecf0c79ae40cb1cd38fedd90c9bbc8c
Mandatory=false
[Firmware:DSP3Program]
Path=dsp3.program.rom
MD5=d99ca4562818d49cee1f242705bba6f8
SHA-512=bf1d01a2b0b8da7aa061dfa0fd5154a290e5b4ddbb735b592267be336de434f5159bc5915b447d9a7f881996b9248d8fa18694cc10292bb7082f1347bfee4bf4
Mandatory=false
[Firmware:DSP4Data]
Path=dsp4.data.rom
MD5=ee4990879eb68e3cbca239c5bc20303d
SHA-512=2cc022645d350ca0554c4dd0e195b7eae3c1b41859f5bc89cac3ed5d0b359f73233e342f8fc5d81d95f59cf2e4f9751548343755107c42eccdef60049fe50e3f
Mandatory=false
[Firmware:DSP4Program]
Path=dsp4.program.rom
MD5=a151023b948b90ffc23a5b594bb6fef2
SHA-512=3145264c41fd7397c1f01b8c5e1ab8b16760f296fabf4c54d780c3007ac9a688394515c22d5028a483d566f7536ff0f57aeb7b8c18256ce06c6629bc62fc8572
Mandatory=false
[Firmware:ST010Data]
Path=st010.data.rom
MD5=254d70762b6f59f99c27c395aba7d07d
SHA-512=398ea9157f1c7d037f341251bd83b8df64c33c7e58133a7d640b0a8cb7d9b9fe287abf656f9e4b6c7dd817f182827ed96fa54cddb1fdfa743a3bbf15617631f9
Mandatory=false
[Firmware:ST010Program]
Path=st010.program.rom
MD5=1d70019179a59a566a0bb5d3f2845544
SHA-512=9da973bec057b2f9e1c1588bfbe2cee508b3a5bb267b5ab79b92a7ba647a76bda79f8426ded324a76a1c124b8fdc983c712d49757657d218f19be93bccc6afda
Mandatory=false
[Firmware:ST011Data]
Path=st011.data.rom
MD5=10bd3f4aa949737ab9836512c35bcc29
SHA-512=4382952e8faa9fe75f48fe2d41fefbf63f8f005c99c14394ea329f9a32b7d9df94e9f7572a363c39e0eb719e4d482137c36e907b3f95042838f3a29d304cd1c8
Mandatory=false
[Firmware:ST011Program]
Path=st011.program.rom
MD5=95222ebf1c0c2990bcf25db43743f032
SHA-512=fdb82e81426ae1d430c38f877c26ddde8ddc2519133b6d1d5201f1b5c92cf24edadae72a20202158aebaa525aab9bd760406d5b382f9a2bf750196abea40ab29
Mandatory=false
[Firmware:ST018Data]
Path=st018.data.rom
MD5=49c898b60d0f15e90d0ba780dd12f366
SHA-512=56752aed656b975588624b7655104025cf6048d0ec489adc9dea97eb3f42bb68345c18f3f5597c52bdfbb6f658c740fc4e2129fda9e654f5d7fe8c71e9a88887
Mandatory=false
[Firmware:ST018Program]
Path=st018.program.rom
MD5=dda40ccd57390c96e49d30a041f9a9e7
SHA-512=03ec3cc8ba5fb00043f04d7160580bc65fe512719aab3fe820fe62ac95ecd76a68315f23797190cd57805ea1bc925d09266364530b68e5c2e3fdebad90551408
Mandatory=false
[Libretro]
Type=Emulator
Version=1.0
Name=DeSmuME 2015
Module=desmume2015_libretro.so
LibretroVersion=1
Authors=YopYop156;Zeromus;
License=GPL-2.0+;
[Platform:NintendoDS]
MimeType=application/x-nintendo-ds-rom;
[Libretro]
Type=Emulator
Version=1.0
Name=Gambatte
Module=gambatte_libretro.so
LibretroVersion=1
Authors=Sinamas;
License=GPL-2.0;
[Platform:GameBoy]
MimeType=application/x-gameboy-rom;
[Platform:GameBoyColor]
MimeType=application/x-gameboy-color-rom;
[Libretro]
Type=Emulator
Version=1.0
Name=Handy
Module=handy_libretro.so
LibretroVersion=1
Authors=K. Wilkins;
License=Zlib;
[Platform:AtariLynx]
MimeType=application/x-atari-lynx-rom;
Firmwares=AtariLynx;
[Firmware:AtariLynx]
Path=lynxboot.img
MD5=fcd403db69f54290b51035d82f835e7b
SHA-512=d7d0f9379dcefc253127357fbf7fafce9c630878f3ff987b19692fdbafb6419490c8320f192f6eb0933f68add413537cee7cc31e9c01c9ab8c478bc1167f1575
Mandatory=false
[Libretro]
Type=Emulator
Version=1.0
Name=Beetle NeoPop
Module=mednafen_ngp_libretro.so
LibretroVersion=1
Authors=neopop_uk;Mednafen Team;
License=GPL-2.0+;
[Platform:NeoGeoPocket]
MimeType=application/x-neo-geo-pocket-rom;
[Platform:NeoGeoPocketColor]
MimeType=application/x-neo-geo-pocket-color-rom;
[Libretro]
Type=Emulator
Version=1.0
Name=Beetle PCE Fast
Module=mednafen_pce_fast_libretro.so
LibretroVersion=1
Authors=Mednafen Team;
License=GPL-2.0+;
[Platform:TurboGrafx16]
MimeType=application/x-pc-engine-rom;
[Platform:TurboGrafxCD]
MimeType=application/x-cue;application/x-pc-engine-cd-rom;application/x-pc-engine-rom;
Firmwares=SuperSystemCard3;
[Firmware:SuperSystemCard3]
Path=syscard3.pce
MD5=ff1a674273fe3540ccef576376407d1d
Mandatory=true
[Libretro]
Type=Emulator
Version=1.0
Name=Beetle VB
Module=mednafen_vb_libretro.so
LibretroVersion=1
Authors=Mednafen Team;
License=GPL-2.0+;
[Platform:VirtualBoy]
MimeType=application/x-virtual-boy-rom;
[Libretro]
Type=Emulator
Version=1.0
Name=Beetle Cygne
Module=mednafen_wswan_libretro.so
LibretroVersion=1
Authors=Dox;Mednafen Team;
License=GPL-2.0+;
[Platform:WonderSwan]
MimeType=application/x-wonderswan-rom;
[Platform:WonderSwanColor]
MimeType=application/x-wonderswan-color-rom;
[Libretro]
Type=Emulator
Version=1.0
Name=mGBA
Module=mgba_libretro.so
LibretroVersion=1
Authors=Jeffrey Pfau;
License=MPL-2.0;
[Platform:GameBoyAdvance]
MimeType=application/x-gba-rom;
Firmwares=GameBoyAdvance;
[Firmware:GameBoyAdvance]
Path=gba_bios.bin
MD5=a860e8c0b6d573d191e4ec7db1b1e4f6
Mandatory=false
[Libretro]
Type=Emulator
Version=1.0
Name=Nestopia UE
Module=nestopia_libretro.so
LibretroVersion=1
Authors=Martin Freij;R. Belmont;R. Danbrook;
License=GPL-2.0+;
[Platform:NintendoEntertainmentSystem]
MimeType=application/x-nes-rom;
[Platform:FamicomDiskSystem]
MimeType=application/x-fds-disk;
Firmwares=FamicomDiskSystem;
[Firmware:FamicomDiskSystem]
Path=disksys.rom
MD5=ca30b50f880eb660a320674ed365ef7a
SHA-512=d7692af63b107b7e79ccf0d90e5ff7e70325e3196a41b6d4d83aaf8ffa5ca976351f8f31bcb1d497c02f7c699e94e77c27a0813f72aa96b576685acaae5bdad5
Mandatory=true
[Libretro]
Type=Emulator
Version=1.0
Name=PCSX ReARMed
Module=pcsx_rearmed_libretro.so
LibretroVersion=1
Authors=PCSX Team;notaz;Exophase;
License=GPL-2.0+;
[Platform:PlayStation]
MimeType=application/x-cue;application/x-playstation-rom;
Firmwares=PlayStationE;PlayStationJ;PlayStationU;
[Firmware:PlayStationE]
Path=scph5502.bin
MD5=32736f17079d0b2b7024407c39bd3050
Mandatory=false
[Firmware:PlayStationJ]
Path=scph5500.bin
MD5=8dd7d5296a650fac7319bce665a6a53c
Mandatory=false
[Firmware:PlayStationU]
Path=scph5501.bin
MD5=490f666e1afb15b7362b406ed1cea246
Mandatory=false
[Libretro]
Type=Emulator
Version=1.0
Name=PicoDrive
Module=picodrive_libretro.so
LibretroVersion=1
Authors=notaz;fdave;
License=MAME;
[Platform:MasterSystem]
MimeType=application/x-sms-rom;
[Platform:Sega32X]
MimeType=application/x-genesis-32x-rom;
[Platform:SegaCD]
MimeType=application/x-cue;application/x-sega-cd-rom;
Firmwares=SegaCDE;SegaCDJ;SegaCDU;
[Platform:SegaCD32X]
MimeType=application/x-cue;application/x-sega-cd-rom;
Firmwares=SegaCDE;SegaCDJ;SegaCDU;
[Platform:SegaGenesis]
MimeType=application/x-genesis-rom;
[Platform:SegaPico]
MimeType=application/x-sega-pico-rom;
[Firmware:SegaCDE]
Path=bios_CD_E.bin
MD5=e66fa1dc5820d254611fdcdba0662372
SHA-512=b3725b0577260d8e2b12b782869573824741f5cbe09f2bc49fd8b2346229d1b308a9f54ef08177aa26be7a3580fa8317d0426a2ef7f6bb5103ce039c8e25148f
Mandatory=true
[Firmware:SegaCDJ]
Path=bios_CD_J.bin
MD5=278a9397d192149e84e820ac621a8edd
SHA-512=4eb5ce7fa53b821271e8821e9c4e7bf12df024e75093b2cf3b7f95018dcf5062a1804154653ac7d1a36238a932e3509c56a2c94b24210f39343fa15c6b8cb9f2
Mandatory=true
[Firmware:SegaCDU]
Path=bios_CD_U.bin
MD5=2efd74e3232ff260e371b99f84024f7f
SHA-512=abc4347551b6b8a9b4b913b333c8bc35f47cc85e35be1155c7a7287dad05373d0e497f2b73fde56f7ed43fae6d1287faaed3cbf338700a21396262e4180b9158
Mandatory=true
[Libretro]
Type=Emulator
Version=1.0
Name=ProSystem
Module=prosystem_libretro.so
LibretroVersion=1
Authors=Greg Stanton;Brian Berlin;Leonis;Greg DeMent;
License=GPL-2.0+;
[Platform:Atari7800]
MimeType=application/x-atari-7800-rom;
Firmwares=Atari7800;
[Firmware:Atari7800]
Path=7800 BIOS (U).rom
MD5=0763f1ffb006ddbe32e52d497ee848ae
Mandatory=false
[Libretro]
Type=Emulator
Version=1.0
Name=Stella 2014
Module=stella2014_libretro.so
LibretroVersion=1
Authors=Stephen Anthony;Bradford Mott;Eckhard Stolberg;Brian Watson;
License=GPL-2.0+;
[Platform:Atari2600]
MimeType=application/x-atari-2600-rom;
......@@ -2,11 +2,12 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-games
pkgver=3.36.1
pkgrel=0
pkgrel=1
pkgdesc="Browse and play your games"
url="https://wiki.gnome.org/Apps/Games"
arch="all !s390x !mips !mips64" # needs librsvg
license="GPL-3.0-or-later"
depends="gnome-games-core-database"
makedepends="meson gtk+3.0-dev vala grilo-dev libhandy-dev librsvg-dev libmanette-dev
libsoup-dev tracker-dev sqlite-dev libxml2-dev libarchive-dev retro-gtk-dev"
checkdepends="desktop-file-utils appstream-glib"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment