From b97180092ef03be154c29ba9d90b0d1a77333025 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Mon, 27 Apr 2015 19:47:16 -0700 Subject: [PATCH] Use register_module directly --- rules.d/core-rules.sh | 146 +++++++++++++++++----------------- rules.d/devkit-rules.sh | 9 +-- rules.d/player-rules.sh | 2 +- script-modules/module_base.sh | 12 --- 4 files changed, 78 insertions(+), 91 deletions(-) diff --git a/rules.d/core-rules.sh b/rules.d/core-rules.sh index f9f38e60..6090dc48 100644 --- a/rules.d/core-rules.sh +++ b/rules.d/core-rules.sh @@ -1,6 +1,6 @@ # vim: set ts=3 sw=3 noet ft=sh : bash -register_core "bsnes" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "bsnes" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_bsnes_name="bsnes/higan" libretro_bsnes_git_url="https://github.com/libretro/bsnes-libretro.git" libretro_bsnes_build_makefile_targets="profile=\"accuracy\" profile=\"balanced\" profile=\"performance\"" @@ -8,117 +8,117 @@ libretro_bsnes_build_args="compiler=\"${CXX11}\"" libretro_bsnes_build_products="out" libretro_bsnes_build_cores="bsnes_accuracy bsnes_balanced bsnes_performance" -register_core "snes9x" -ngc -ps3 -psp1 -wii +register_module core "snes9x" -ngc -ps3 -psp1 -wii libretro_snes9x_name="SNES9x" libretro_snes9x_git_url="https://github.com/libretro/snes9x.git" libretro_snes9x_build_subdir="libretro" -register_core "snes9x_next" -ps3 +register_module core "snes9x_next" -ps3 libretro_snes9x_next_name="SNES9x Next" libretro_snes9x_next_git_url="https://github.com/libretro/snes9x-next.git" libretro_snes9x_next_build_makefile="Makefile.libretro" libretro_snes9x_next_build_platform="$FORMAT_COMPILER_TARGET_ALT" -register_core "genesis_plus_gx" -theos_ios +register_module core "genesis_plus_gx" -theos_ios libretro_genesis_plus_gx_name="Genesis Plus GX" libretro_genesis_plus_gx_git_url="https://github.com/libretro/Genesis-Plus-GX.git" libretro_genesis_plus_gx_build_makefile="Makefile.libretro" -register_core "imageviewer" +register_module core "imageviewer" libretro_imageviewer_name="ImageViewer" libretro_imageviewer_git_url="https://github.com/libretro/imageviewer-libretro.git" libretro_imageviewer_build_makefile="Makefile.libretro" -register_core "mgba" +register_module core "mgba" libretro_mgba_name="mGBA" libretro_mgba_git_url="https://github.com/libretro/mgba.git" libretro_mgba_build_makefile="Makefile.libretro" -register_core "fb_alpha" -psp1 +register_module core "fb_alpha" -psp1 libretro_fb_alpha_name="Final Burn Alpha" libretro_fb_alpha_git_url="https://github.com/libretro/fba-libretro.git" libretro_fb_alpha_build_subdir="svn-current/trunk" libretro_fb_alpha_build_makefile="makefile.libretro" -register_core "vba_next" +register_module core "vba_next" libretro_vba_next_name="VBA Next" libretro_vba_next_git_url="https://github.com/libretro/vba-next.git" libretro_vba_next_build_makefile="Makefile.libretro" libretro_vba_next_build_platform="$FORMAT_COMPILER_TARGET_ALT" -register_core "vbam" -ngc -ps3 -psp1 -wii +register_module core "vbam" -ngc -ps3 -psp1 -wii libretro_vbam_name="VBA-M" libretro_vbam_git_url="https://github.com/libretro/vbam-libretro.git" libretro_vbam_build_subdir="src/libretro" libretro_vbam_build_makefile="Makefile" libretro_vbam_build_platform="$FORMAT_COMPILER_TARGET_ALT" -register_core "handy" -ngc -wii +register_module core "handy" -ngc -wii libretro_handy_name="Handy" libretro_handy_git_url="https://github.com/libretro/libretro-handy.git" -register_core "cap32" -ngc -ps3 -psp1 -qnx -wii +register_module core "cap32" -ngc -ps3 -psp1 -qnx -wii libretro_cap32_name="Caprice32" libretro_cap32_git_url="https://github.com/libretro/libretro-cap32.git" libretro_cap32_build_makefile="Makefile" -register_core "bnes" -ios -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "bnes" -ios -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_bnes_name="bnes/higan" libretro_bnes_git_url="https://github.com/libretro/bnes-libretro.git" libretro_bnes_build_args="compiler=\"${CXX11}\"" -register_core "fceumm" +register_module core "fceumm" libretro_fceumm_name="FCEUmm" libretro_fceumm_git_url="https://github.com/libretro/libretro-fceumm.git" libretro_fceumm_build_makefile="Makefile.libretro" -register_core "gambatte" +register_module core "gambatte" libretro_gambatte_name="Gambatte" libretro_gambatte_git_url="https://github.com/libretro/gambatte-libretro.git" libretro_gambatte_build_subdir="libgambatte" libretro_gambatte_build_makefile="Makefile.libretro" libretro_gambatte_build_platform="$FORMAT_COMPILER_TARGET_ALT" -register_core "meteor" -ngc -ps3 -psp1 -qnx -wii +register_module core "meteor" -ngc -ps3 -psp1 -qnx -wii libretro_meteor_name="Meteor" libretro_meteor_git_url="https://github.com/libretro/meteor-libretro.git" libretro_meteor_build_subdir="libretro" -register_core "nxengine" +register_module core "nxengine" libretro_nxengine_name="NXEngine" libretro_nxengine_git_url="https://github.com/libretro/nxengine-libretro.git" -register_core "prboom" +register_module core "prboom" libretro_prboom_name="PrBoom" libretro_prboom_git_url="https://github.com/libretro/libretro-prboom.git" libretro_prboom_build_platform="$FORMAT_COMPILER_TARGET_ALT" -register_core "stella" -ngc -wii +register_module core "stella" -ngc -wii libretro_stella_name="Stella" libretro_stella_git_url="https://github.com/libretro/stella-libretro.git" -register_core "desmume" -ngc -ps3 -psp1 -qnx -wii +register_module core "desmume" -ngc -ps3 -psp1 -qnx -wii libretro_desmume_name="DeSmuME" libretro_desmume_git_url="https://github.com/libretro/desmume.git" libretro_desmume_build_subdir="desmume" libretro_desmume_build_makefile="Makefile.libretro" -register_core "quicknes" +register_module core "quicknes" libretro_quicknes_name="QuickNES" libretro_quicknes_git_url="https://github.com/libretro/QuickNES_Core.git" libretro_quicknes_build_subdir="libretro" -register_core "nestopia" +register_module core "nestopia" libretro_nestopia_name="Nestopia" libretro_nestopia_git_url="https://github.com/libretro/nestopia.git" libretro_nestopia_build_subdir="libretro" -register_core "tyrquake" +register_module core "tyrquake" libretro_tyrquake_name="TyrQuake" libretro_tyrquake_git_url="https://github.com/libretro/tyrquake.git" libretro_tyrquake_build_makefile="Makefile" -register_core "pcsx_rearmed" -theos_ios -ngc -ps3 -psp1 -wii +register_module core "pcsx_rearmed" -theos_ios -ngc -ps3 -psp1 -wii libretro_pcsx_rearmed_name="PCSX ReARMed" libretro_pcsx_rearmed_git_url="https://github.com/libretro/pcsx_rearmed.git" libretro_pcsx_rearmed_build_makefile="Makefile.libretro" @@ -128,77 +128,77 @@ libretro_pcsx_rearmed_configure() { fi } -register_core "mednafen_gba" -theos_ios +register_module core "mednafen_gba" -theos_ios libretro_mednafen_gba_name="Mednafen/Beetle GBA" libretro_mednafen_gba_git_url="https://github.com/libretro/beetle-gba-libretro.git" -register_core "mednafen_lynx" -theos_ios +register_module core "mednafen_lynx" -theos_ios libretro_mednafen_lynx_name="Mednafen/Beetle Lynx" libretro_mednafen_lynx_git_url="https://github.com/libretro/beetle-lynx-libretro.git" -register_core "mednafen_ngp" -theos_ios -qnx +register_module core "mednafen_ngp" -theos_ios -qnx libretro_mednafen_ngp_name="Mednafen/Beetle NeoPop" libretro_mednafen_ngp_git_url="https://github.com/libretro/beetle-ngp-libretro.git" -register_core "mednafen_pce_fast" -theos_ios +register_module core "mednafen_pce_fast" -theos_ios libretro_mednafen_pce_fast_name="Mednafen/Beetle PCE FAST" libretro_mednafen_pce_fast_git_url="https://github.com/libretro/beetle-pce-fast-libretro.git" -register_core "mednafen_supergrafx" -theos_ios +register_module core "mednafen_supergrafx" -theos_ios libretro_mednafen_supergrafx_name="Mednafen/Beetle SuperGrafx" libretro_mednafen_supergrafx_git_url="https://github.com/libretro/beetle-supergrafx-libretro.git" -register_core "mednafen_psx" -theos_ios -ngc -psp1 +register_module core "mednafen_psx" -theos_ios -ngc -psp1 libretro_mednafen_psx_name="Mednafen PSX" libretro_mednafen_psx_git_url="https://github.com/libretro/mednafen-psx-libretro.git" -register_core "mednafen_pcfx" -theos_ios +register_module core "mednafen_pcfx" -theos_ios libretro_mednafen_pcfx_name="Mednafen/Beetle PC-FX" libretro_mednafen_pcfx_git_url="https://github.com/libretro/beetle-pcfx-libretro.git" -register_core "mednafen_snes" -theos_ios +register_module core "mednafen_snes" -theos_ios libretro_mednafen_snes_name="Mednafen/Beetle bsnes" libretro_mednafen_snes_git_url="https://github.com/libretro/beetle-bsnes-libretro.git" -register_core "mednafen_vb" -theos_ios +register_module core "mednafen_vb" -theos_ios libretro_mednafen_vb_name="Mednafen/Beetle VB" libretro_mednafen_vb_git_url="https://github.com/libretro/beetle-vb-libretro.git" -register_core "mednafen_wswan" -theos_ios -psp1 +register_module core "mednafen_wswan" -theos_ios -psp1 libretro_mednafen_wswan_name="Mednafen/Beetle WonderSwan" libretro_mednafen_wswan_git_url="https://github.com/libretro/beetle-wswan-libretro.git" -register_core "scummvm" -theos_ios -ngc -ps3 -psp1 -wii +register_module core "scummvm" -theos_ios -ngc -ps3 -psp1 -wii libretro_scummvm_name="ScummVM" libretro_scummvm_git_url="https://github.com/libretro/scummvm.git" libretro_scummvm_build_subdir="backends/platform/libretro/build" -register_core "yabause" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "yabause" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_yabause_name="Yabause" libretro_yabause_git_url="https://github.com/libretro/yabause.git" libretro_yabause_build_subdir="libretro" -register_core "dosbox" -ngc -ps3 -psp1 -wii +register_module core "dosbox" -ngc -ps3 -psp1 -wii libretro_dosbox_name="DOSBox" libretro_dosbox_git_url="https://github.com/libretro/dosbox-libretro.git" libretro_dosbox_makefile="Makefile.libretro" -register_core "virtualjaguar" -ngc -ps3 -psp1 -wii +register_module core "virtualjaguar" -ngc -ps3 -psp1 -wii libretro_virtualjaguar_name="Virtual Jaguar" libretro_virtualjaguar_git_url="https://github.com/libretro/virtualjaguar-libretro.git" libretro_virtualjaguar_makefile="Makefile" -register_core "mame078" -theos_ios -ngc -psp1 -wii +register_module core "mame078" -theos_ios -ngc -psp1 -wii libretro_mame078_name="MAME 2003 (0.78)" libretro_mame078_git_url="https://github.com/libretro/mame2003-libretro.git" libretro_mame078_makefile="Makefile" -register_core "mame139" none +register_module core "mame139" none libretro_mame139_name="MAME 2010 (0.139)" libretro_mame139_git_url="https://github.com/libretro/mame2010-libretro.git" libretro_mame139_build_rule=none # NEED A BUILD RULE -register_core "mame" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "mame" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_mame_name="MAME (git)" libretro_mame_git_url="https://github.com/libretro/mame.git" libretro_mame_build_makefile=Makefile.libretro @@ -212,18 +212,18 @@ libretro_mame_configure() { fi } -register_core "ffmpeg" -ios -theos_ios -osx -ngc -ps3 -psp1 -qnx -wii +register_module core "ffmpeg" -ios -theos_ios -osx -ngc -ps3 -psp1 -qnx -wii libretro_ffmpeg_name="FFmpeg" libretro_ffmpeg_git_url="https://github.com/libretro/FFmpeg.git" libretro_ffmpeg_build_subdir="libretro" libretro_ffmpeg_build_opengl="optional" -register_core "bsnes_cplusplus98" -theos_ios -ngc -ps3 -psp1 -wii +register_module core "bsnes_cplusplus98" -theos_ios -ngc -ps3 -psp1 -wii libretro_bsnes_cplusplus98_name="bsnes C++98 (v0.85)" libretro_bsnes_cplusplus98_git_url="https://github.com/libretro/bsnes-libretro-cplusplus98.git" libretro_bsnes_cplusplus98_build_products="out" -register_core "bsnes_mercury" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "bsnes_mercury" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_bsnes_mercury_name="bsnes-mercury" libretro_bsnes_mercury_git_url="https://github.com/libretro/bsnes-mercury.git" libretro_bsnes_mercury_build_makefile_targets="profile=\"accuracy\" profile=\"balanced\" profile=\"performance\"" @@ -231,17 +231,17 @@ libretro_bsnes_mercury_build_args="compiler=\"${CXX11}\"" libretro_bsnes_mercury_build_products="out" libretro_bsnes_mercury_build_cores="bsnes_mercury_accuracy bsnes_mercury_balanced bsnes_mercury_performance" -register_core "picodrive" -theos_ios -ngc -ps3 -wii +register_module core "picodrive" -theos_ios -ngc -ps3 -wii libretro_picodrive_name="Picodrive" libretro_picodrive_git_url="https://github.com/libretro/picodrive.git" libretro_picodrive_git_submodules="yes" libretro_picodrive_build_makefile="Makefile.libretro" -register_core "tgbdual" -ngc -ps3 -wii +register_module core "tgbdual" -ngc -ps3 -wii libretro_tgbdual_name="TGB Dual" libretro_tgbdual_git_url="https://github.com/libretro/tgbdual-libretro.git" -register_core "mupen64plus" -theos_ios -ngc -ps3 -psp1 -wii +register_module core "mupen64plus" -theos_ios -ngc -ps3 -psp1 -wii libretro_mupen64plus_name="Mupen64Plus" libretro_mupen64plus_git_url="https://github.com/libretro/mupen64plus-libretro.git" libretro_mupen64plus_build_platform="$FORMAT_COMPILER_TARGET_ALT" @@ -255,106 +255,106 @@ libretro_mupen64Plus_configure() { fi } -register_core "dinothawr" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "dinothawr" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_dinothawr_name="Dinothawr" libretro_dinothawr_git_url="https://github.com/libretro/Dinothawr.git" libretro_dinothawr_build_platform="$FORMAT_COMPILER_TARGET_ALT" -register_core "uae" none +register_module core "uae" none libretro_uae_name="UAE" libretro_uae_git_url="https://github.com/libretro/libretro-uae.git" libretro_uae_build_rule=none # NEED A BUILD RULE -register_core "3dengine" -ngc -ps3 -psp1 -wii +register_module core "3dengine" -ngc -ps3 -psp1 -wii libretro_3dengine_name="3DEngine" libretro_3dengine_git_url="https://github.com/libretro/libretro-3dengine.git" libretro_3dengine_build_opengl=yes -register_core "remotejoy" -ngc -ps3 -psp1 -qnx -wii +register_module core "remotejoy" -ngc -ps3 -psp1 -qnx -wii libretro_remotejoy_name="RemoteJoy" libretro_remotejoy_git_url="https://github.com/libretro/libretro-remotejoy.git" libretro_remotejoy_build_makefile="Makefile" -register_core "bluemsx" -ps3 +register_module core "bluemsx" -ps3 libretro_bluemsx_name="blueMSX" libretro_bluemsx_git_url="https://github.com/libretro/blueMSX-libretro.git" libretro_bluemsx_build_makefile="Makefile.libretro" -register_core "fmsx" -ps3 +register_module core "fmsx" -ps3 libretro_fmsx_name="fMSX" libretro_fmsx_git_url="https://github.com/libretro/fmsx-libretro.git" -register_core "2048" -ngc -ps3 -wii +register_module core "2048" -ngc -ps3 -wii libretro_2048_git_url="https://github.com/libretro/libretro-2048.git" libretro_2048_build_makefile="Makefile.libretro" -register_core "vecx" -ngc -ps3 -wii +register_module core "vecx" -ngc -ps3 -wii libretro_vecx_git_url="https://github.com/libretro/libretro-vecx.git" libretro_vecx_build_makefile="Makefile.libretro" -register_core "ppsspp" -ios -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "ppsspp" -ios -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_ppsspp_name="PPSSPP" libretro_ppsspp_git_url="https://github.com/libretro/ppsspp.git" libretro_ppsspp_git_submodules="yes" libretro_ppsspp_build_subdir="libretro" libretro_ppsspp_build_opengl="yes" -register_core "prosystem" -ngc -ps3 -wii +register_module core "prosystem" -ngc -ps3 -wii libretro_prosystem_name="ProSystem" libretro_prosystem_git_url="https://github.com/libretro/prosystem-libretro.git" -register_core "o2em" -ngc -ps3 -wii +register_module core "o2em" -ngc -ps3 -wii libretro_o2em_name="O2EM" libretro_o2em_git_url="https://github.com/libretro/libretro-o2em.git" -register_core "4do" -ngc -ps3 -psp1 -wii +register_module core "4do" -ngc -ps3 -psp1 -wii libretro_4do_name="4DO" libretro_4do_git_url="https://github.com/libretro/4do-libretro.git" -register_core "catsfc" -ngc -ps3 -psp1 -wii +register_module core "catsfc" -ngc -ps3 -psp1 -wii libretro_catsfc_name="CATSFC" libretro_catsfc_git_url="https://github.com/libretro/CATSFC-libretro.git" -register_core "stonesoup" -ngc -ps3 -psp1 -qnx -wii +register_module core "stonesoup" -ngc -ps3 -psp1 -qnx -wii libretro_stonesoup_name="Dungeon Crawl Stone Soup" libretro_stonesoup_git_url="https://github.com/libretro/crawl-ref.git" libretro_stonesoup_git_submodules="clone" libretro_stonesoup_build_subdir="crawl-ref" libretro_stonesoup_build_makefile="Makefile.libretro" -register_core "hatari" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "hatari" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_hatari_name="Hatari" libretro_hatari_git_url="https://github.com/libretro/hatari.git" libretro_hatari_build_makefile="Makefile.libretro" -register_core "tempgba" none +register_module core "tempgba" none libretro_tempgba_name="TempGBA" libretro_tempgba_git_url="https://github.com/libretro/TempGBA-libretro.git" libretro_tempgba_build_rule=none # NEED A BUILD RULE -register_core "gpsp" -ngc -ps3 -psp1 -wii +register_module core "gpsp" -ngc -ps3 -psp1 -wii libretro_gpsp_name="gpSP" libretro_gpsp_git_url="https://github.com/libretro/gpsp.git" -register_core "emux" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "emux" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_emux_name="Emux" libretro_emux_git_url="https://github.com/libretro/emux.git" libretro_emux_build_subdir=libretro libretro_emux_build_cores="emux_chip8 emux_gb emux_nes emux_sms" -register_core "fuse" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "fuse" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_fuse_name="Fuse" libretro_fuse_git_url="https://github.com/libretro/fuse-libretro.git" libretro_fuse_build_makefile="Makefile.libretro" libretro_fuse_build_platform="$FORMAT_COMPILER_TARGET_ALT" -register_core "gw" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "gw" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_gw_name="Game & Watch" libretro_gw_git_url="https://github.com/libretro/gw-libretro.git" libretro_gw_git_submodules="yes" libretro_gw_build_makefile="Makefile.libretro" -register_core "lutro" -theos_ios -ngc -ps3 -psp1 -qnx -wii +register_module core "lutro" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_lutro_name="Lutro" libretro_lutro_git_url="https://github.com/libretro/libretro-lutro.git" libretro_lutro_build_makefile="Makefile" @@ -362,32 +362,32 @@ libretro_lutro_build_makefile="Makefile" ## TODO: The lutro modules here aren't really "cores", they're assets ## Figure out where to put them and what to do with them. -register_core "lutro_platformer" any +register_module core "lutro_platformer" any libretro_lutro_platformer_name="Lutro-Platformer" libretro_lutro_platformer_git_url="https://github.com/libretro/lutro-platformer.git" libretro_lutro_platformer_build_rule=none -register_core "lutro_pong" any +register_module core "lutro_pong" any libretro_lutro_pong_name="Lutro-Pong" libretro_lutro_pong_git_url="https://github.com/libretro/lutro-pong.git" libretro_lutro_pong_build_rule=none -register_core "lutro_tetris" any +register_module core "lutro_tetris" any libretro_lutro_tetris_name="Lutro-tetris" libretro_lutro_tetris_git_url="https://github.com/libretro/lutro-tetris.git" libretro_lutro_tetris_build_rule=none -register_core "lutro_snake" any +register_module core "lutro_snake" any libretro_lutro_snake_name="Lutro-snake" libretro_lutro_snake_git_url="https://github.com/libretro/lutro-snake.git" libretro_lutro_snake_build_rule=none -register_core "lutro_iyfct" any +register_module core "lutro_iyfct" any libretro_lutro_iyfct_name="Lutro-iyfct" libretro_lutro_iyfct_git_url="https://github.com/libretro/lutro-iyfct.git" libretro_lutro_iyfct_build_rule=none -register_core "lutro_game_of_life" any +register_module core "lutro_game_of_life" any libretro_lutro_game_of_life_name="Lutro-Game-of-Life" libretro_lutro_game_of_life_git_url="https://github.com/libretro/lutro-game-of-life.git" libretro_lutro_game_of_life_build_rule=none diff --git a/rules.d/devkit-rules.sh b/rules.d/devkit-rules.sh index 985bd295..faf5558c 100644 --- a/rules.d/devkit-rules.sh +++ b/rules.d/devkit-rules.sh @@ -1,22 +1,21 @@ # vim: set ts=3 sw=3 noet ft=sh : bash -register_devkit "manifest" any +register_module devkit "manifest" any libretro_manifest_name="Devkit: libretro-manifest" libretro_manifest_dir="libretro-devkit/libretro-manifest" libretro_manifest_git_url="https://github.com/libretro/libretro-manifest.git" -register_devkit "libretrodb" any +register_module devkit "libretrodb" any libretro_libretrodb_name="Devkit: libretrodb" libretro_libretrodb_dir="libretro-devkit/libretrodb" libretro_libretrodb_git_url="https://github.com/libretro/libretrodb.git" -register_devkit "dat_pull" any +register_module devkit "dat_pull" any libretro_dat_pull_name="Devkit: libretro-dat-pull" libretro_dat_pull_dir="libretro-devkit/libretro-dat-pull" libretro_dat_pull_git_url="https://github.com/libretro/libretro-dat-pull.git" -register_devkit "common" any +register_module devkit "common" any libretro_common_name="Devkit: libretro-common" libretro_common_dir="libretro-devkit/libretro-common" libretro_common_git_url="https://github.com/libretro/libretro-common.git" - diff --git a/rules.d/player-rules.sh b/rules.d/player-rules.sh index 00b4d669..ebc5b1a8 100644 --- a/rules.d/player-rules.sh +++ b/rules.d/player-rules.sh @@ -1,7 +1,7 @@ # vim: set ts=3 sw=3 noet ft=sh : bash +register_module player any libretro_retroarch_name="RetroArch" libretro_retroarch_dir="retroarch" libretro_retroarch_git_url="https://github.com/libretro/RetroArch.git" libretro_retroarch_post_fetch_cmd="./fetch-submodules.sh" - diff --git a/script-modules/module_base.sh b/script-modules/module_base.sh index b4db0f3f..55fc71a7 100644 --- a/script-modules/module_base.sh +++ b/script-modules/module_base.sh @@ -36,18 +36,6 @@ register_module() { esac } -register_core() { - register_module core $@ -} - -register_devkit() { - register_module devkit $@ -} - -register_player() { - register_module player $@ -} - can_build_module() { [ -n "$force" ] && return 0