From c6d8922d014ab64b9d3f33e5b837853efacb1ff4 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Tue, 18 Jun 2019 07:55:54 -0400 Subject: [PATCH] rebuild: add quark-shaders --- scripts/rebuild-pkgs.rkt | 47 +++++++++++++++++++++++++++++----------- scripts/rebuild.rkt | 6 +++++ 2 files changed, 40 insertions(+), 13 deletions(-) diff --git a/scripts/rebuild-pkgs.rkt b/scripts/rebuild-pkgs.rkt index 92617d0..30fad7f 100755 --- a/scripts/rebuild-pkgs.rkt +++ b/scripts/rebuild-pkgs.rkt @@ -5,9 +5,9 @@ (provide all-packages package-options) -(define m64pncp 'mupen64plus-noncore-plugins-git) -(define mc-serv 'minecraft-server-fabric) -(define ext-git "https://git.greyserv.net/marrub") +(define (mygit a) (~a "https://git.greyserv.net/marrub/" a)) +(define (gitlab a) (~a "https://gitlab.com/" a)) +(define (github a) (~a "https://github.com/" a)) (define all-packages (list @@ -31,9 +31,11 @@ 'megatools 'mgba-git 'minecraft-launcher + 'minecraft-server-fabric 'motsognir 'mupen64plus-git 'mupen64plus-gui-git + 'mupen64plus-noncore-plugins-git 'nicotine-plus-git 'obs-linuxbrowser-bin 'obs-studio-git @@ -42,6 +44,7 @@ 'ppsspp-git 'prboom-plus 'qjoypad + 'quark-shaders 'ripcord 'rpcs3-git 'sharenix-git @@ -51,9 +54,7 @@ 'ttf-twemoji-color 'xf86-input-xwiimote-git 'xwiimote-git - 'zdoom - m64pncp - mc-serv)) + 'zdoom)) (define package-options (hash @@ -62,12 +63,32 @@ 'libsodium-git (hash 'asdeps #t) 'vim-runtime-git (hash 'asdeps #t) - m64pncp (hash 'force #t 'url (~a ext-git "/" m64pncp ".git")) - 'gdcc-git (hash 'url (~a ext-git "/gdcc-git.git")) - 'higan (hash 'handle 'higan 'url "https://gitlab.com/higan/higan.git/") - 'motsognir (hash 'url (~a ext-git "/motsognir.git")) - 'ppsspp-git (hash 'url (~a ext-git "/ppsspp-git.git")) - 'teamviewer (hash 'url (~a ext-git "/teamviewer.git") 'branch "nmfix") - mc-serv (hash 'url (~a ext-git "/" mc-serv ".git")))) + 'mupen64plus-noncore-plugins-git + (hash 'force #t + 'url (mygit "mupen64plus-noncore-plugins-git.git")) + + 'gdcc-git + (hash 'url (mygit "/gdcc-git.git")) + + 'higan + (hash 'handle 'higan + 'url (gitlab "higan/higan.git/")) + + 'quark-shaders + (hash 'handle 'higan-shaders + 'url (github "hizzlekizzle/quark-shaders")) + + 'motsognir + (hash 'url (mygit "motsognir.git")) + + 'ppsspp-git + (hash 'url (mygit "ppsspp-git.git")) + + 'teamviewer + (hash 'url (mygit "teamviewer.git") + 'branch "nmfix") + + 'minecraft-server-fabric + (hash 'url (mygit "minecraft-server-fabric.git")))) ;; EOF diff --git a/scripts/rebuild.rkt b/scripts/rebuild.rkt index d29ae56..ad303f9 100755 --- a/scripts/rebuild.rkt +++ b/scripts/rebuild.rkt @@ -51,6 +51,12 @@ (case special-handling ['none (sys (~a "makepkg " makepkg-args))] + ['higan-shaders + (let ([loc "~/.local/share/higan"]) + (sys (~a "mkdir -p " loc "/shaders")) + (sys (~a "cp -r ./* " loc "/shaders")) + ; they forgot to change the directory! + (sys (~a "cp -r " loc "/Video\\ Shaders/* " loc "/shaders")))] ['higan (sys "git fetch --tags") (sys (~a "git checkout " (get-latest-tag)))