Advertisement
Guest User

Untitled

a guest
Apr 11th, 2017
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # This file is part of The RetroPie Project
  4. #
  5. # The RetroPie Project is the legal property of its developers, whose names are
  6. # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
  7. #
  8. # See the LICENSE.md file at the top-level directory of this distribution and
  9. # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
  10. #
  11.  
  12. rp_module_id="lr-pocketcdg"
  13. rp_module_desc="PocketCDG - Karaoke Player for libretro"
  14. rp_module_help="ROM Extensions: .cdg\n\nCopy your CDG and matching MP3 files to $romdir/karaoke"
  15. rp_module_licence="GPL2"
  16. rp_module_section="exp"
  17. rp_module_flags=""
  18.  
  19. function sources_lr-pocketcdg() {
  20. gitPullOrClone "$md_build" https://github.com/libretro/libretro-pocketcdg.git
  21. }
  22.  
  23. function build_lr-pocketcdg() {
  24. make clean
  25. make platform="unix"
  26. md_ret_require="$md_build/pocketcdg_libretro.so"
  27. }
  28.  
  29. function install_lr-pocketcdg() {
  30. md_ret_files=(
  31. 'pocketcdg_libretro.so'
  32. )
  33. }
  34.  
  35. function configure_lr-pocketcdg() {
  36. mkRomDir "karaoke"
  37. # ensureSystemretroconfig "karaoke"
  38.  
  39. addEmulator 1 "$md_id" "karaoke" "$md_inst/pocketcdg_libretro.so"
  40. addSystem "karaoke" "PocketCDG karaoke" ".cdg"
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement