Commit Graph

372 Commits

Author SHA1 Message Date
orbea a2032a56a0 qb: Allow using the system flac. 2017-12-27 09:51:19 -08:00
Twinaphex 61b7b2e590
Merge pull request #5968 from pattheaux/leds
Leds
2017-12-27 18:01:33 +01:00
orbea e07ce68e7f Makefile.common: Clean up zlib check. 2017-12-27 08:38:47 -08:00
Ian House 8178e21cda Merge branch 'master' of https://github.com/libretro/RetroArch into leds 2017-12-27 11:14:35 -05:00
Ian House aa7c289708 Added an LED interface and a Raspberry Pi GPIO implementation 2017-12-27 11:11:08 -05:00
orbea c63011db71 qb: Disable all miniupnpc support with --disable-miniupnpc. 2017-12-26 16:18:47 -08:00
orbea ac044c47ee qb: HAVE_MINIUPNPC is needed for builtin miniupnpc 2017-12-26 00:52:04 -08:00
orbea 9e7882ec96 Makefile.common: Clean up the miniupnpc check 2017-12-26 00:15:54 -08:00
Zoltán Mizsei 4f46402afb Haiku build fix 2017-11-27 22:33:58 +01:00
Brad Parker 28c6237b47 FreeBSD: support libusb hid input driver 2017-11-27 11:30:29 -05: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 82db21ed0b qb: Fix undefined references to EGL without pkg-config. 2017-11-25 11:05:40 -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 1ca43bd819 qb: Combine the add_define_header and add_define_make functions. 2017-11-23 18:36:19 -08:00
orbea c4dd3bbdce qb: Fix undefined udev references without pkg-config 2017-11-23 07:18:33 -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 67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01: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
orbea b9a866326a qb: Remove poorly defined test behavior. 2017-10-24 19:01:36 -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 a943fabe1e qb: Fix $VARS for zsh. 2017-10-21 14:49:26 -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
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
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 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
Brad Parker 69ce5bdd65 GDI: allow menu drivers to be built without acceleration 2017-01-16 20:41:08 -05:00
Alcaro 1a12381bfc Close #4419 2017-01-15 16:48:08 +01:00
Hans-Kristian Arntzen eecb60549f No need to ugly hack in qb/conf.libs.sh. 2016-12-17 21:49:00 +01:00
Hans-Kristian Arntzen c48bb6284e Wayland: Cursor toggling. 2016-12-17 21:34:51 +01:00
twinaphex d82a65089f Checking for retro_init symbol inside libretro.a causes more issues than
it solves - .a file can be either a C++ or C-oriented core, hence we'd
need two consecutive checks, but both just do exit 0 on error
2016-12-16 11:28:57 +01:00
twinaphex 83c6db746e Add libcaca switch 2016-12-01 18:24:07 +01:00
Gregor Richards 65355994b3 NAT traversal
Adding NAT traveral interface to libretro-common, with (currently) a
backend support MiniUPNPC. Sensible future backends would be libupnp and
a direct implementation of PCP/NAT-PMP.
2016-11-29 21:00:53 -05:00
Alcaro 7d7e83ce73 Clarify error 2016-11-10 08:34:08 +01:00
Higor Eurípedes 330a8d7594 Make thread local storage optional 2016-10-17 21:24:03 -03:00
Higor Eurípedes f20925a329 (qb) Try to find -lz if the zlib package doesnt exist 2016-10-14 19:43:18 -03:00
twinaphex 9257844a8b Disable cheevos as well when --disable-networking is set 2016-10-01 10:23:01 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex 8831d19008 Rename GLES_LIBS/GLES_CFLAGS to OPENGLES_LIBS/OPENGLES_CFLAGS 2016-09-21 12:45:31 +02:00
twinaphex e3c560014c Turn HAVE_GLES into HAVE_OPENGLES 2016-09-17 00:38:35 +02:00
Nicolas Guillaumin 05df632bd8 WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
One some systems (tested with Gnome 3 on Arch Linux) the current method
of using `xdg-screensaver` to suspend the screensaver does not work.
Instead, using DBus to issue an `Inhibit` request is recommended.

The request returns a cookie that needs to be re-used to un-inhibit the
screensaver later. Additionally if the DBus connection is closed the
current inhibition is discarded. Thus, the DBus connection needs to stay
connected for the duration of the screenshot inhibition.

The code is heavily inspired from the [SDL 2.x
code](http://hg.libsdl.org/SDL/file/default/src/core/linux/SDL_dbus.c#l172).
I didn't call the SDL 2 code though since this it to fix the issue with
the GL driver, and I assume one would want to have screensaver inhibited
even when SDL 2 is not available (but GL is).

I've set "WIP" because:
* I haven't done C in a long time so my code is probably not great
* There's a dependency on DBus which I don't know is acceptable or
not
* I've put my code where I could to check it works, but `x11_common` may
not be the best place
* The code need and "init" and "deinit" kind of method as it needs to
initialise the DBus connection, and on deinit close it properly. I've
used `x11_connect` and `x11_window_destroy` but they don't sound like
the best choices.
* I'm a bit unclear as to what happens when "suspend screensaver" is
ticked on/off in the menu. This doesn't seem to call
`x11_suspend_screensaver` everytime, so I'm not sure if there's a hook
somewhere (as disabling screensaver suspend in the menu should cause a
DBus unhinibit request to be sent).
* Should I just call the SDL 2.x code (meaning that the GL driver would
depend on SDL 2.x at runtime)?

So, first of all are you ok with the approach, and if yes I'd gladly get
feedback about the code, how to architecture it and the best place to
put it.

Thanks!
2016-09-08 15:23:41 -07:00
twinaphex 2c17d6a71e Add back SWRESAMPLE check 2016-08-30 18:31:42 +02:00
twinaphex 3b79182fa2 Add HAVE_AVRESAMPLE 2016-08-30 17:31:39 +02:00
twinaphex aa1e43b2fc Change notice to reflect that ffmpeg support now includes
built-in core
2016-08-30 17:25:51 +02:00
twinaphex 90e57f7a0d Check for libavdevice 2016-08-30 17:24:04 +02:00
orbea bfc7267c0e Kill empty lin 2016-08-27 20:04:12 -07:00
orbea ac606f8678 Allow setting assets install directory 2016-08-27 19:44:41 -07:00
orbea b3922555e2 Allow setting --with-bin_dir 2016-08-26 17:29:50 -07:00
Higor Eurípedes 8752313961 (gfx) Add OSMesa context 2016-08-02 02:16:02 +02:00
twinaphex 6742e135c9 Create HAVE_VIDEO_PROCESSOR ifdef 2016-07-28 20:01:38 +02:00
radius 6db150e312 windows configure script fix 2016-07-25 00:55:11 -05:00
twinaphex 3f29e731e2 Set HAVE_PLAIN_DRM to no by default 2016-07-11 15:57:52 +02:00
twinaphex c8349862e1 Lower libdrm requirements to 2.4.65 2016-07-04 21:51:06 +02:00
Logan McNaughton a9750e0232 Fix library dirs on Raspberry Pi 2016-07-04 12:25:17 -06:00
twinaphex 5d70242dee Check against libdrm version 2.4.68 in order to enable/disable
plain DRM video driver
2016-07-03 22:08:56 +02:00
twinaphex cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
orbea 7fc64b2c5e Set base man dir in MAN_DIR 2016-05-22 16:31:01 -07:00
twinaphex 08e637a573 Add Vulkan check back 2016-05-16 10:08:10 +02:00
twinaphex 0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex 4100bf95b4 Able to compile without RPNG support 2016-05-11 21:22:45 +02:00
twinaphex 123025665d (Qb) When threads are disabled, disable cheevos and/or libusb too 2016-05-11 19:11:09 +02:00
Alcaro fe4ef69aaf Better check this one too. (Vulkan is the only user of that, right?) 2016-05-10 19:43:38 +02:00
twinaphex e15a385e70 Add HAVE_SYSTEMD check 2016-04-25 15:16:06 +02:00
Hans-Kristian Arntzen 72f65396c7 Fix cross-compile build on Linux. 2016-03-29 15:50:12 +02:00
twinaphex d15eb9a570 Add HAVE_SSA switch to qb 2016-03-03 18:17:48 +01:00
Alcaro eeccb63c4e Avoid build fails due to missing submodule. 2016-02-23 16:26:36 +01:00
twinaphex fde9f1ce2c Start making GL optional (previously we assumed pretty much - hardware
context = GL) Still have the issue where the menu driver auto-switches
back to rgui instead of glui/xmb
2016-02-20 06:16:34 +01:00
twinaphex 575cd4e3be Add xcb detection 2016-02-19 15:08:23 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
radius 9fb3fe6216 add defines for udp gamepad 2015-11-27 18:08:35 -05:00
twinaphex 66914232ab Replace most instances of GLUI (except for ident string) with
HAVE_MATERIALUI
2015-11-02 23:23:54 +01:00
Alcaro 4e3a313805 Autogenerate this huge ugly line. 2015-10-11 16:30:17 +02:00
Alcaro a3c61fc669 looks like I need this ridiculous thing too. 2015-10-11 16:09:59 +02:00