rebuild: remove emulators so as to use the official packages for them

master
an 2019-10-03 15:28:31 -04:00
parent 13b646a056
commit 654c58a35f
2 changed files with 6 additions and 50 deletions

View File

@ -14,7 +14,6 @@
'embree2 'embree2
'kmozillahelper 'kmozillahelper
'libsodium-git 'libsodium-git
'vim-runtime-git
'wxgtk2-tb 'wxgtk2-tb
'applyppf 'applyppf
@ -22,7 +21,6 @@
'bsnes-plus-git 'bsnes-plus-git
'cc65 'cc65
'crosstool-ng-git 'crosstool-ng-git
'dolphin-emu-git
'ericw-tools 'ericw-tools
'f3 'f3
'firefox-kde-opensuse-bin 'firefox-kde-opensuse-bin
@ -31,34 +29,22 @@
'gmqcc-git 'gmqcc-git
'gopherus 'gopherus
'gtk3-nocsd-git 'gtk3-nocsd-git
'gvim-git
'higan
'maxcso 'maxcso
'mednaffe
'megasync 'megasync
'megatools 'megatools
'mgba-git
'minecraft-launcher 'minecraft-launcher
'minecraft-server-fabric 'minecraft-server-fabric
'motsognir 'motsognir
'mupen64plus-git
'mupen64plus-gui-git
'mupen64plus-rsp-cxd4-git
'mupen64plus-video-angrylion-plus-git
'mupen64plus-video-gliden64
'ndstrim 'ndstrim
'nicotine-plus-git
'obs-linuxbrowser-bin 'obs-linuxbrowser-bin
'otf-linjapona 'otf-linjapona
'otf-san-francisco 'otf-san-francisco
'pkgtop-git 'pkgtop-git
'ppsspp-git
'prboom-plus 'prboom-plus
'previous-svn 'previous-svn
'qjoypad 'qjoypad
'quakespasm 'quakespasm
'quakespasm-spiked-git 'quakespasm-spiked-git
'quark-shaders
'radeontop 'radeontop
'ripcord 'ripcord
'sharenix-git 'sharenix-git
@ -74,11 +60,10 @@
(define package-options (define package-options
(hash (hash
'embree2 (hash 'asdeps #t) 'embree2 (hash 'asdeps #t)
'kmozillahelper (hash 'asdeps #t) 'kmozillahelper (hash 'asdeps #t)
'libsodium-git (hash 'asdeps #t) 'libsodium-git (hash 'asdeps #t)
'vim-runtime-git (hash 'asdeps #t) 'wxgtk2-tb (hash 'asdeps #t)
'wxgtk2-tb (hash 'asdeps #t)
'bsnes-plus-git 'bsnes-plus-git
(hash 'url (mygit "bsnes-plus-git.git")) (hash 'url (mygit "bsnes-plus-git.git"))
@ -86,27 +71,16 @@
'gmqcc-git 'gmqcc-git
(hash 'url (mygit "gmqcc-git.git")) (hash 'url (mygit "gmqcc-git.git"))
'higan
(hash 'handle 'higan
'url (gitlab "higan/higan.git/"))
'minecraft-server-fabric 'minecraft-server-fabric
(hash 'url (mygit "minecraft-server-fabric.git")) (hash 'url (mygit "minecraft-server-fabric.git"))
'otf-linjapona 'otf-linjapona
(hash 'url (mygit "otf-linjapona.git")) (hash 'url (mygit "otf-linjapona.git"))
'ppsspp-git
(hash 'url (mygit "ppsspp-git.git"))
'quakespasm 'quakespasm
(hash 'url (mygit "quakespasm.git")) (hash 'url (mygit "quakespasm.git"))
'quakespasm-spiked-git 'quakespasm-spiked-git
(hash 'url (mygit "quakespasm-spiked-git.git")) (hash 'url (mygit "quakespasm-spiked-git.git"))))
'quark-shaders
(hash 'handle 'higan-shaders
'url (github "hizzlekizzle/quark-shaders"))))
;; EOF ;; EOF

View File

@ -20,12 +20,6 @@
(define (str-or-empty hash key str) (if (hash-ref hash key #f) str "")) (define (str-or-empty hash key str) (if (hash-ref hash key #f) str ""))
(define (higan-make args)
(sys (~a "make -j12 -C " args " uninstall"))
(sys (~a "make -j12 -C " args " clean"))
(sys (~a "make -j12 -C " args " all"))
(sys (~a "make -j12 -C " args " install")))
(define (get-latest-tag) (define (get-latest-tag)
(define latest (define latest
(with-output-to-string (λ () (sys "git rev-list --tags --max-count=1")))) (with-output-to-string (λ () (sys "git rev-list --tags --max-count=1"))))
@ -48,20 +42,8 @@
(case special-handling (case special-handling
['none ['none
(sys (~a "makepkg " makepkg-args))] (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)))
(higan-make "higan target=higan")
(higan-make "icarus")
(sys "make -j12 -C shaders install")]
[else (raise-argument-error 'build-pkg [else (raise-argument-error 'build-pkg
"(or/c 'none 'higan 'higan-shaders)" "(or/c 'none)"
special-handling)]))))) special-handling)])))))
(define (resume-from-pkg input-pkg [pkg-list all-packages]) (define (resume-from-pkg input-pkg [pkg-list all-packages])