qb: Add --bindir and --mandir.

This also deprecates --with-bin_dir and --with-man_dir.
This commit is contained in:
orbea 2018-02-08 11:49:31 -08:00
parent 8e33b35b09
commit 72ff4c4d44
3 changed files with 8 additions and 2 deletions

View File

@ -36,6 +36,8 @@
- LOCALIZATION: Update Spanish translation. - LOCALIZATION: Update Spanish translation.
- NETPLAY: Add menu option to select different MITM (relay) server locations. - NETPLAY: Add menu option to select different MITM (relay) server locations.
- OSX: Modify HID buttons detection algorithm. - OSX: Modify HID buttons detection algorithm.
- QB: Added --datarootdir.
- QB: Added --bindir and --mandir and deprecated --with-bin_dir and --with-man_dir.
- SHADERS: Allow saving of shader presets based on the parent directory (Saving one for */foo/bar/mario.sfc* would result in *shaders/presets/corename/bar.ext*). We decided it's safer to still isolate the presets to a single core because different cores may treat video output differently. - SHADERS: Allow saving of shader presets based on the parent directory (Saving one for */foo/bar/mario.sfc* would result in *shaders/presets/corename/bar.ext*). We decided it's safer to still isolate the presets to a single core because different cores may treat video output differently.
- SHADERS: Don't save the path to the current preset to the main config. This was causing weird behavior, instead it will try to load *currentconfig.ext* and it will save a preset with that name when select *apply shader preset*. The resulting shader will restore properly after restarting and even after core/parent/game specific presets are loaded - SHADERS: Don't save the path to the current preset to the main config. This was causing weird behavior, instead it will try to load *currentconfig.ext* and it will save a preset with that name when select *apply shader preset*. The resulting shader will restore properly after restarting and even after core/parent/game specific presets are loaded
- SOLARIS: Initial port. - SOLARIS: Initial port.

View File

@ -1,7 +1,7 @@
HAVE_LIBRETRO= # Libretro library used HAVE_LIBRETRO= # Libretro library used
HAVE_ASSETS_DIR= # Assets install directory HAVE_ASSETS_DIR= # Assets install directory
HAVE_BIN_DIR= # Binary install directory HAVE_BIN_DIR= # Binary install directory (Deprecated)
HAVE_MAN_DIR= # Manpage install directory HAVE_MAN_DIR= # Manpage install directory (Deprecated)
HAVE_OPENGLES_LIBS= # Link flags for custom GLES library HAVE_OPENGLES_LIBS= # Link flags for custom GLES library
HAVE_OPENGLES_CFLAGS= # C-flags for custom GLES library HAVE_OPENGLES_CFLAGS= # C-flags for custom GLES library
HAVE_CACA=no # Libcaca support HAVE_CACA=no # Libcaca support

View File

@ -34,7 +34,9 @@ General options:
EOF EOF
print_help_option "--prefix=PATH" "Install path prefix" print_help_option "--prefix=PATH" "Install path prefix"
print_help_option "--global-config-dir=PATH" "System wide config file prefix" print_help_option "--global-config-dir=PATH" "System wide config file prefix"
print_help_option "--bindir=PATH" "Binary install directory"
print_help_option "--datarootdir=PATH" "Read-only data install directory" print_help_option "--datarootdir=PATH" "Read-only data install directory"
print_help_option "--mandir=PATH" "Manpage install directory"
print_help_option "--build=BUILD" "The build system (no-op)" print_help_option "--build=BUILD" "The build system (no-op)"
print_help_option "--host=HOST" "Cross-compile with HOST-gcc instead of gcc" print_help_option "--host=HOST" "Cross-compile with HOST-gcc instead of gcc"
print_help_option "--help" "Show this help" print_help_option "--help" "Show this help"
@ -85,9 +87,11 @@ parse_input() # Parse stuff :V
case "$1" in case "$1" in
--prefix=*) PREFIX=${1##--prefix=};; --prefix=*) PREFIX=${1##--prefix=};;
--global-config-dir=*) GLOBAL_CONFIG_DIR=${1##--global-config-dir=};; --global-config-dir=*) GLOBAL_CONFIG_DIR=${1##--global-config-dir=};;
--bindir=*) BIN_DIR="${1#*=}";;
--build=*) BUILD="${1#*=}";; --build=*) BUILD="${1#*=}";;
--datarootdir=*) SHARE_DIR="${1#*=}";; --datarootdir=*) SHARE_DIR="${1#*=}";;
--host=*) CROSS_COMPILE=${1##--host=}-;; --host=*) CROSS_COMPILE=${1##--host=}-;;
--mandir=*) MAN_DIR="${1#*=}";;
--enable-*) --enable-*)
opt_exists "${1##--enable-}" "$1" opt_exists "${1##--enable-}" "$1"
eval "HAVE_$opt=yes" eval "HAVE_$opt=yes"