Commit Graph

578 Commits

Author SHA1 Message Date
orbea fadea3730f qb: Silence some shellcheck warnings. 2017-11-27 10:03:13 -08:00
Brad Parker 28c6237b47 FreeBSD: support libusb hid input driver 2017-11-27 11:30:29 -05:00
orbea a78f72ccd3 qb: Used explicit word splitting to silence shellcheck warnings. 2017-11-26 19:08:56 -08:00
orbea 5361950d1c qb: Use printf and safer quoting in the check_pkgconf and check_header functions. 2017-11-26 14:19:29 -08:00
orbea fec63ae8ed qb: Set configure paths without unset variables. 2017-11-26 12:26:33 -08:00
orbea 631f0c4a8b qb: Create a check_val function for the no pkg-config fallback path. 2017-11-25 17:42:41 -08:00
orbea fc5f04a762 qb: Define $2_LIBS in the check_lib function. 2017-11-25 15:27:01 -08:00
orbea e0eb2b8a31 qb: Add $PKG_CONF_USED to the check_lib function to help avoid undefined referenecs. 2017-11-25 13:52:52 -08:00
orbea bc4d14149a qb: Clean up empty defines in config.mk 2017-11-25 12:27:41 -08:00
orbea 82db21ed0b qb: Fix undefined references to EGL without pkg-config. 2017-11-25 11:05:40 -08:00
orbea 51dfbd98b1 qb: Prefer pkgconf over the legacy GNU pkg-config. 2017-11-24 12:12:56 -08:00
orbea 06f10d1368 qb: Clean up qb.comp.sh 2017-11-24 12:12:56 -08:00
orbea 892c6b864a qb: Combine the add_include_dirs and add_library_dirs functions 2017-11-24 10:22:57 -08:00
orbea cf45945aa8 qb: Combine the check_switch_c and check_switch_cxx functions. 2017-11-24 08:21:38 -08:00
orbea 0c9308cd87 qb: Remove unused and redundant check_code_c and check_code_cxx functions. 2017-11-24 08:21:38 -08:00
orbea fbbaf7d5b1 qb: Check which c language is being used in its own function. 2017-11-24 08:21:12 -08:00
orbea f952f392b8 qb: Use printf and better quoting in the check_lib function. 2017-11-24 07:16:33 -08:00
orbea 1ca43bd819 qb: Combine the add_define_header and add_define_make functions. 2017-11-23 18:36:19 -08:00
orbea 6351e21d9e qb: Turn $CONFIG_DEFINES from a temporary file into a variable. 2017-11-23 17:40:28 -08:00
Twinaphex 2d3aa5b917
Merge pull request #5760 from orbea/config.h
qb: Rewrite the create_config_header function to use printf instead of echo.
2017-11-24 02:21:12 +01:00
orbea 2fb0cb79ec qb: Turn $MAKEFILE_DEFINES from a temporary file into a variable. 2017-11-23 14:53:39 -08:00
orbea ca534ffa56 qb: Rewrite the create_config_header function to use printf instead of echo. 2017-11-23 14:07:37 -08:00
orbea d3139754bc qb: Rewrite the create_config_make function to use printf instead of echo. 2017-11-23 10:30:59 -08:00
Twinaphex 3c0dc87c42
Merge pull request #5750 from orbea/build
qb: Honor the --build option.
2017-11-23 17:10:23 +01:00
orbea c4dd3bbdce qb: Fix undefined udev references without pkg-config 2017-11-23 07:18:33 -08:00
orbea e82502f80a qb: Document syntax better. 2017-11-22 15:52:57 -08:00
orbea 8ab308d9dd qb: Honor the --build option.
This makes some distros happy even if it does nothing.
2017-11-22 15:40:15 -08:00
Alcaro f0becad9d9 Document this one's syntax 2017-11-22 23:46:23 +01:00
orbea b744f2a2c9 qb: Add a function to find executables in the $PATH 2017-11-20 22:06:50 -08:00
twinaphex 5b3c1edbef Revert "qb: Add some safe defaults."
This reverts commit 0114c7b0c4.
2017-11-19 17:29:09 +01:00
Twinaphex 1cefef4d4f
Merge pull request #5711 from orbea/IFS
qb: Don't set IFS.
2017-11-19 11:52:30 +01:00
orbea 0114c7b0c4 qb: Add some safe defaults. 2017-11-18 15:03:44 -08:00
orbea 6dc32ffe17 qb: Don't set IFS. 2017-11-18 14:51:53 -08:00
orbea bf8863d360 qb: Add a function to print warning or exit messages. 2017-11-18 02:54:58 -08:00
orbea 84f61a8b46 qb: Remove old submodule tests.
RetroArch no longer uses submodules for various good reasons and now uses git subtrees instead.
    As a result these files will always exist and these tests will always be true.
2017-11-18 02:31:47 -08:00
Twinaphex 29b5e09b24
Merge pull request #5702 from orbea/zsh
qb: Fix --enable-* options for zsh.
2017-11-18 10:53:17 +01:00
orbea 21ae4a29a1 qb: Fix --enable-* options for zsh. 2017-11-18 01:21:29 -08:00
orbea 75e6ad53b6 qb: read without -r will mangle backslashes. 2017-11-17 18:42:49 -08:00
twinaphex 67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
orbea f2d70664a3 qb: Better use of rm. 2017-11-06 07:25:04 -08:00
orbea 10722920ed qb: Remove old commented code.
'echo -n' is not portable and should not be used even if it works on osx.
'printf' would be far preferable, but there really isn't any need.
2017-11-05 18:44:45 -08:00
orbea 595e69d34d Fix https://github.com/libretro/RetroArch/issues/5636 2017-11-01 11:32:41 -07:00
orbea 48db41a112 qb: Combine the check_lib and check_lib_cxx functions. 2017-10-27 14:53:24 -07:00
orbea b0d9a5c539 qb: Don't check for strlcpy on linux. 2017-10-27 11:23:55 -07:00
Twinaphex 4f58c1a77b Merge pull request #5612 from orbea/quotes
qb: Replace extra quotes with braces.
2017-10-26 14:14:10 +02:00
orbea 0d43f9f8c7 qb: Replace extra quotes with braces. 2017-10-25 23:16:09 -07:00
orbea 91f6218913 qb: Sort set variables. 2017-10-25 22:07:50 -07:00
orbea e13837fc18 qb: Don't use sed. 2017-10-25 17:32:29 -07:00
Twinaphex 6575cc5166 Merge pull request #5605 from orbea/test
qb: Remove poorly defined test behavior.
2017-10-25 04:27:45 +02:00
Twinaphex a0b5a2794c Merge pull request #5604 from orbea/subshell
qb: Remove redundant variables.
2017-10-25 04:27:38 +02:00
orbea b9a866326a qb: Remove poorly defined test behavior. 2017-10-24 19:01:36 -07:00
orbea 08dcac4b02 qb: Remove redundant variables. 2017-10-24 15:39:19 -07:00
orbea e12d203a76 qb: Avoid using 'true' which could be a binary on some systems. 2017-10-24 12:43:40 -07:00
orbea 8884190154 qb: Print config options first in ./configure --help. 2017-10-24 09:24:56 -07:00
orbea 86bb116625 qb: Fix alignment in ./configure --help. 2017-10-24 09:24:56 -07:00
Twinaphex cd942f1faa Merge pull request #5600 from orbea/Qt
qb: Add a description for the Qt wrapper in ./configure --help
2017-10-24 13:58:40 +02:00
orbea affe1932a8 qb: Add a description for the Qt wrapper in ./configure --help 2017-10-23 23:32:01 -07:00
orbea 2b939ab40b qb: Use POSIX character classes instead of character ranges. 2017-10-23 21:48:37 -07:00
orbea 6ead9a09a1 qb: Explicitly set variables as a single command. 2017-10-23 16:19:16 -07:00
orbea 008a87c1ae qb: Clean up. 2017-10-22 07:44:14 -07:00
Twinaphex 3427c03aba Merge pull request #5578 from orbea/cleanup
qb: Clean up.
2017-10-22 16:00:41 +02:00
orbea 7c6dc0c8a7 qb: Clean up Darwin tests. 2017-10-21 22:58:15 -07:00
orbea 72d189da96 qb: Clean up. 2017-10-21 22:11:15 -07:00
orbea 5438eb1c6e If the --global-config-dir is not defined and --prefix is not set to /usr* add it to the --global-config-dir. 2017-10-21 21:33:18 -07:00
orbea f1192ca8ac Fix --disable-networking.
Fixes https://github.com/libretro/RetroArch/issues/2663.
2017-10-21 19:22:14 -07:00
orbea 79ee19e2a5 qb: Clean up long lines in check_lib and check_lib_cxx 2017-10-21 14:49:26 -07:00
orbea b733807099 qb: Remove trailing white spaces from config.mk. 2017-10-21 14:49:26 -07:00
orbea 0ff7e829f0 qb: Explicitly word split libs and extralibs 2017-10-21 14:49:26 -07:00
orbea a943fabe1e qb: Fix $VARS for zsh. 2017-10-21 14:49:26 -07:00
orbea 514391b4d8 qb: Remove the leading whitespace from $INCLUDE_DIRS and $LIBRARY_DIRS. 2017-10-21 14:49:26 -07:00
orbea cca4a25757 qb: path is a special variable in zsh so avoid setting it. 2017-10-21 14:49:26 -07:00
orbea 40070e2c93 qb: Find working compilers with zsh. 2017-10-21 14:49:26 -07:00
Twinaphex 5b48112379 Merge pull request #5562 from orbea/printf
qb: Don't use variables in the printf format string.
2017-10-19 13:16:11 +02:00
orbea f50d755b45 qb: Don't use variables in the printf format string. 2017-10-18 16:05:09 -07:00
orbea 6733c37805 qb: Fix constant expressions. 2017-10-18 15:23:31 -07:00
Conn O'Griofa b67e6dc1ee config: Raspberry Pi: use videocore pkgconfig & fix fallback detection
Recent Raspberry Pi firmware images have renamed the vendor graphics
libraries (brcmEGL, brcmGLESv2, brcmOpenVG) to distinguish from the
standard VC4 Mesa driver.

* When videocore is selected, first try to use pkgconfig for the
new library names (brcmEGL, brcmGLESv2, brcmOpenVG).
* Ensure that non-pkgconfig fallback detection also checks the new
library names.

This should resolve compile issues in stretch whilst maintaining
compatibility with jessie firmwares later than 1.20160921-1 (the
first package that includes the renamed libraries).

The PKG_CONFIG_PATH must be set in your build environment in order
for the pkgconfig to be utilized, which will be included in
the next firmware (1.20170811-2 or later).
2017-10-06 04:03:29 +00:00
Andre Leiradella cfd4a4bdf4 Remove threads as a prerequisite for cheevos 2017-10-03 21:05:23 +01:00
twinaphex 61810cfd82 (Xaudio2) Get rid of variadic macros so that it can compile as C89 2017-09-28 17:18:17 +02:00
Brian Koropoff a536532e30 Unleash the compressed hunks of data 2017-09-17 22:04:29 -07:00
twinaphex f67641c52c (libchdr) Can't have C++ comments
(config.params.sh) Have to disable FLAC for now; still doesn't
compile for Windows due to fseeko/ftello errors
2017-09-17 18:36:55 +02:00
Brian Koropoff 4ead5da18a deps: import libFLAC
This is needed by libchdr
2017-09-17 02:02:04 -07:00
radius fe8a0657b4 add input_mapper scafolding 2017-09-11 00:20:20 -05:00
Rob Loach c61f163454 Fix 7zip dependency include directory
Found `./decompress/7zip/`, which doesn't exist. It may be at [`deps/7zip`](https://github.com/libretro/RetroArch/tree/master/deps/7zip) instead.
2017-09-10 11:06:48 -04:00
Conn O'Griofa 87b743969d Revert "config.lib.sh: use brcm vg/egl/glesv2 packages on RPI" 2017-08-21 04:20:40 +01:00
Conn O'Griofa 7aa05153eb config.lib.sh: use brcm vg/egl/glesv2 packages on RPI 2017-08-20 11:21:36 +01:00
Conn O'Griofa 97d98b87ce config.libs.sh: fix Raspberry Pi library names 2017-08-20 06:42:59 +01:00
gizmo98 e79ed86e38 config.lib.sh: add missing $ 2017-08-19 17:03:38 +02:00
gizmo98 1bc0319f79 Broadcom VC4: Add Videocore config option
Add option to disable Videocore autodetect so VC4 open source driver
can be used.
2017-08-19 17:03:01 +02:00
Romain Tisserand cbe2d9a941 Preliminary MOD/S3M/XM support through ibmx library (part of micromod repository) 2017-08-04 15:05:29 +02:00
Charlton Head 4ad5f67663 TinyALSA support 2017-06-23 20:44:00 -05:00
Zoran Vuckovic 129151d5fc add wasapi audio driver 2017-04-11 00:24:37 +02:00
twinaphex 2074d25441 Make STB_VORBIS optional 2017-02-23 05:56:31 +01:00
twinaphex f8576ca88c Fix C89_BUILD again 2017-02-21 19:56:43 +01:00
Twinaphex c6502e9f2d Can't set this to 'yes' by default - certain platforms wouldn't
have this library
2017-02-16 01:06:06 +01:00
twinaphex da5966d474 Bake this in for default targets 2017-02-16 01:00:43 +01:00
twinaphex cd1b95220a Add miniupnpc dependency which can be optionally compiled in 2017-02-15 21:03:57 +01:00
twinaphex 532d1b34bb Add HAVE_VIDEOPROCESSOR switch 2017-02-02 22:05:05 +01:00
Brad Parker 1d3e1a6962 DOS/DJGPP buildfix 2017-01-20 18:23:45 -05:00
Brad Parker 493b7372bd only disable glui/xmb/zarch if GL/ES/Vulkan AND libcaca is not enabled 2017-01-16 20:41:09 -05:00
Brad Parker 7c6bf6aaf7 fix msys2 compilation when opengl, vulkan and d3d9 are disabled 2017-01-16 20:41:08 -05:00