Super repo for other libretro projects. Fetches, builds and installs.
Go to file
2015-03-12 03:35:54 -07:00
dist/info mGBA info. 2015-03-10 03:04:46 -03:00
docs Some skeleton of how to USE libretro-super, kind of lame still. 2015-03-01 01:49:30 -08:00
recipes fix another derp with the ngc recipes 2015-03-10 23:23:07 -04:00
rules.d Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
script-modules Fetch only the cores we can build with --cores option 2015-03-10 07:20:11 -07:00
.gitignore Updated .gitignore 2015-03-10 02:45:18 -07:00
libretro-build-android-mk.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-build-common-gx.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-build-common-xdk.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-build-common.sh Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
libretro-build-database.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-build-ios-theos.sh Stubify libretro-build-ios-theos.sh 2015-03-10 14:18:53 -07:00
libretro-build-ios.sh Quote our paths so PWD with spaces works 2015-02-21 20:36:05 -08:00
libretro-build-ngc.sh Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
libretro-build-ps3.sh Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
libretro-build-psp1.sh Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
libretro-build-qnx.sh Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
libretro-build-wii.sh Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
libretro-build-win.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-build-xdk1.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-build-xdk360.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-build.sh Everything but pcsx_rearmed_interpreter now uses libretro_build_core 2015-03-12 01:14:21 -07:00
libretro-buildbot-recipe.sh last fix for ngc 2015-03-11 00:35:51 -04:00
libretro-buildbot-task.sh Diff reduction (almost 100% whitespace) 2015-03-10 12:58:04 -07:00
libretro-config.sh fixes 2015-03-10 23:06:21 -04:00
libretro-fetch.sh Fetch only the cores we can build with --cores option 2015-03-10 07:20:11 -07:00
libretro-header-update.sh Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
libretro-install.sh DIST_DIR is unknown 2015-03-03 22:50:26 +01:00
libretro-upgrade.sh Make the devkit move final 2015-03-01 04:19:34 -08:00
radius-buildbot Script needs /bin/bash, not /bin/sh 2015-02-01 13:55:35 -08:00
retroarch-build.sh Make retroarch-build.sh work outside of libretro-super. 2015-02-23 02:47:45 -08:00
retrolink.sh various buildbot fixes 2015-03-07 15:03:49 -05:00

Requirements for libretro-super on OS X

As of this writing, OS X support for libretro-super requires use of a Terminal application. You'll also need Apple's Xcode, a set of command line tools for your versionf of Xcode, and possibly also the source code management tool git.

OS X 10.7 Lion and later

As of OS X 10.7, the correct way to get Xcode is via the Mac App Store. If you've been keeping up with OS X versions, you may simply go to the App Store page for Xcode and click the friendly GET or iCloud download button, as appropriate. An annoying bug recently observed (as of 2015 February) is that you cannot download old versions of App Store programs unless you have already "purchased" the app.

In that case, go to Apple Developer Connection and find it there. It's buried and Apple tends to move it around periodically, sorry.

Once you have installed Xcode (version 4+), open it and go into Preferences. Select the Downloads pane, and click the Install button for Command Line Tools. Every time you upgrade Xcode, you'll want to back here to see if Command Line Tools needs upgrading.

Once you've done that, check the section below about git.

OS X 10.5 Leopard and 10.6 Snow Leopard (and older?)

While the final versionf of OS X 10.6 did feature the Mac App Store, Xcode for these versions generally came with the system installation media or a retail OS X install disc. Even so, a more recent version is probably available for you at Apple Developer Connection and it's generally wise to have the latest version intended for your OS version. OS X Leopard can use up to Xcode 3.1 versions, which are the last ones to run natively on PowerPC and the first to support compiling for iPhoneOS (yes, pre-iPad!)

Xcode 3.2 is still able to compile PowerPC binaries, however like the OS X Snow Leopard it runs on, you'll need an Intel processor to use it.

Older versions of OS X are not officially supported at this time, but if you are more technically inclined, you might be able to make it work. If you get it to work, please send us a patch! Obviously any version of Xcode predating 10.4.6 will not support Intel processors.

You will need to install git if you haven't already done so.

git

On recent versions of OS X, you may already have git installed by Apple. To check, open up a terminal and type the command (without quotes) "which git". If you get another shell prompt without any output, you definitely need to install git. If you see a UNIX path name to git, then you're probably good to go. /usr/bin/git is the version supplied by Apple. If it lives somewhere else it was either compiled by hand or installed by source ports system. If you don't have it, a source ports system is a good way to get it. Here's a few choices:

Of these, Fink tends to be the heaviest and HomeBrew the lightest.

One common criticism of HomeBrew is that using it tends to suggest downloading ruby scripts right off the Internet and running them sight-unseen, with admin access to your system. If that sounds unwise, HomeBrew isn't for you. That said, think about the last commercial program you installed on your Mac. Did you look at its source code before verifying it was safe to run after you downloaded it off the Internet?

MacPorts is somewhere in the middle, depending on how good you are at cleaning up old "inactive" versions of things (use port -cu upgrade outdated when you upgrade to keep things tidy.) Your author uses MacPorts for all but a couple of rare items not packaged by that port system. That and check a port's variants before installing it to make sure it has the features you want, and disables the ones you don't.

Fink tends to follow the Debian model, which means lots of libraries needed for optional features, just in case. That's disk space used on a release version, and lots of time compiling all of those libs if you are running a pre-release.

Or you could just go and find git's website, download it, and follow the instructions. A basic Mac with Xcode installed probably meets all necessary requirements.

Using libretro-super

TODO: Works the same as libretro-super for Linux or under MSYS2 from here. Document what that means exactly, later.

Nutshell version:

  • git clone https://github.com/libretro/libretro-super.git && cd libretro-super or cd ~/path/to/libretro-super
  • ./libretro-upgrade.sh
  • ./libretro-fetch.sh
  • ./libretro-build.sh

You get the idea. You shouldn't need to run libretro-upgrade.sh after a fresh clone—it's there to handle cross-module moves, renames, and deletions that git cannot handle.