diff options
author | Leandro Vital | 2020-03-01 01:00:00 -0300 |
---|---|---|
committer | Leandro Vital | 2020-03-01 01:00:00 -0300 |
commit | 60f2289b5d519ff8eecef9912c1e6d4b2713cbdc (patch) | |
tree | f73edb649f5888de2b6e0f2ebdfc761846817f53 | |
download | aur-60f2289b5d519ff8eecef9912c1e6d4b2713cbdc.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | PKGBUILD | 60 | ||||
-rw-r--r-- | ludo.desktop | 12 | ||||
-rw-r--r-- | ludo.toml | 41 |
5 files changed, 153 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e0cfaa32a58c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = ludo-git + pkgdesc = Ludo is a minimalist frontend for emulators + pkgver = 0.11.0.r2.gd5b5806 + pkgrel = 1 + url = https://github.com/libretro/ludo + arch = x86_64 + arch = armv7h + license = GPL3 + makedepends = make + makedepends = git + makedepends = go + depends = glfw + depends = openal + depends = mesa + optdepends = libretro-beetle-psx + optdepends = libretro-mgba + optdepends = libretro-genesis-plus-gx + optdepends = libretro-snes9x + optdepends = libretro-gambatte + optdepends = libretro-picodrive + optdepends = libretro-yabause + optdepends = libretro-nestopia + source = git+https://github.com/libretro/ludo.git#branch=master + source = ludo.toml + source = ludo.desktop + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + +pkgname = ludo-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..889d9e5c41e2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# Ignore everything +* + +# ...but +!.gitignore +!.SRCINFO +!PKGBUILD +!ludo.desktop +!ludo.toml diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e16ba04051a6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Leandro Vital <leavitals at gmail dot com> +pkgname=ludo-git +_pkgname=ludo +pkgver=0.11.0.r2.gd5b5806 +pkgrel=1 +pkgdesc="Ludo is a minimalist frontend for emulators" +arch=('x86_64' 'armv7h') +url="https://github.com/libretro/ludo" +license=('GPL3') +makedepends=('make' 'git' 'go') +depends=( + 'glfw' + 'openal' + 'mesa' +) +optdepends=( + 'libretro-beetle-psx' + 'libretro-mgba' + 'libretro-genesis-plus-gx' + 'libretro-snes9x' + 'libretro-gambatte' + 'libretro-picodrive' + 'libretro-yabause' + 'libretro-nestopia' +) +source=( + "git+https://github.com/libretro/ludo.git#branch=master" + "ludo.toml" + "ludo.desktop" +) + +md5sums=("SKIP" "SKIP" "SKIP") + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "$srcdir/$_pkgname" + git submodule update --init --recursive +} + +build() { + cd "$srcdir/$_pkgname" + make +} + +package() { + install -Dm644 "ludo.toml" "$pkgdir/etc/ludo.toml" + install -Dm644 "ludo.desktop" "$pkgdir/usr/share/applications/ludo.desktop" + install -Dm755 "$srcdir/ludo/assets/icon.svg" "$pkgdir/usr/share/pixmaps/ludo.svg" + + install -dm755 "$pkgdir/usr/share/ludo" + install -Dm755 "$srcdir/ludo/ludo" "$pkgdir/usr/bin/ludo" + + cp -R "$srcdir/ludo/assets/" "$pkgdir/usr/share/ludo/assets" + cp -R "$srcdir/ludo/database/" "$pkgdir/usr/share/ludo/database" + chmod -R 0755 "$pkgdir/usr/share/ludo" +} diff --git a/ludo.desktop b/ludo.desktop new file mode 100644 index 000000000000..b7a4b555e563 --- /dev/null +++ b/ludo.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Name=Ludo +GenericName=Ludo +Type=Application +Comment=Ludo is a work in progress libretro frontend written in go +Icon=ludo +Exec=ludo +Terminal=false +StartupNotify=false +Keywords=multi;engine;emulator;xmb; +Categories=Game;Emulator; diff --git a/ludo.toml b/ludo.toml new file mode 100644 index 000000000000..ba57026d3894 --- /dev/null +++ b/ludo.toml @@ -0,0 +1,41 @@ +assets_dir = "/usr/share/ludo/assets" +cores_dir = "/usr/lib/libretro" +database_dir = "/usr/share/ludo/database" + +[core_for_playlist] + "Atari - 2600" = "stella_libretro" + "Atari - 5200" = "atari800_libretro" + "Atari - 7800" = "prosystem_libretro" + "Atari - Jaguar" = "virtualjaguar_libretro" + "Atari - Lynx" = "handy_libretro" + "Atari - ST" = "hatari_libretro" + "Bandai - WonderSwan" = "mednafen_wswan_libretro" + "Bandai - WonderSwan Color" = "mednafen_wswan_libretro" + "Cave Story" = "nxengine_libretro" + ChaiLove = "chailove_libretro" + "Coleco - ColecoVision" = "bluemsx_libretro" + "FBNeo - Arcade Games" = "fbneo_libretro" + "GCE - Vectrex" = "vecx_libretro" + "Magnavox - Odyssey2" = "o2em_libretro" + "Microsoft - MSX" = "bluemsx_libretro" + "Microsoft - MSX2" = "bluemsx_libretro" + "NEC - PC Engine - TurboGrafx 16" = "mednafen_pce_fast_libretro" + "NEC - PC Engine SuperGrafx" = "mednafen_supergrafx_libretro" + "Nintendo - Family Computer Disk System" = "nestopia_libretro" + "Nintendo - Game Boy" = "gambatte_libretro" + "Nintendo - Game Boy Advance" = "mgba_libretro" + "Nintendo - Game Boy Color" = "gambatte_libretro" + "Nintendo - Nintendo Entertainment System" = "nestopia_libretro" + "Nintendo - Pokemon Mini" = "pokemini_libretro" + "Nintendo - Super Nintendo Entertainment System" = "snes9x_libretro" + "Nintendo - Virtual Boy" = "mednafen_vb_libretro" + "SNK - Neo Geo Pocket" = "mednafen_ngp_libretro" + "SNK - Neo Geo Pocket Color" = "mednafen_ngp_libretro" + "Sega - 32X" = "picodrive_libretro" + "Sega - Game Gear" = "genesis_plus_gx_libretro" + "Sega - Master System - Mark III" = "genesis_plus_gx_libretro" + "Sega - Mega Drive - Genesis" = "genesis_plus_gx_libretro" + "Sega - PICO" = "picodrive_libretro" + "Sega - SG-1000" = "genesis_plus_gx_libretro" + "Sega - Saturn" = "yabause_libretro" + "Sony - PlayStation" = "mednafen_psx_libretro" |