708 Commits

Author SHA1 Message Date
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
Brad Parker
69ce5bdd65 GDI: allow menu drivers to be built without acceleration 2017-01-16 20:41:08 -05:00
Brad Parker
99508cfd64 allow --disable-vulkan on Windows 2017-01-16 15:08:05 -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
Diego Viola
4fed31fa26 Fix typos 2016-12-11 18:30:01 -02:00
Andrés Suárez
f9c3869b43 Merge branch 'master' into qt 2016-12-11 15:08:19 -05:00
radius
26d0a6f2d0 simplify building 2016-11-19 20:18:44 -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
Alcaro
f4791a9f63 (#2026 #3547 #3588) Configurable is good. Off by default is not good, if it's on your system already then using it does no harm. 2016-09-15 10:32:47 +02:00
Twinaphex
ad638fe665 Merge pull request #3588 from orbea/dbus
Disable dbus by default
2016-09-14 19:00:36 +02:00
orbea
a5644d61db Disable dbus by default 2016-09-14 09:43:30 -07: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