Commit Graph

742 Commits

Author SHA1 Message Date
orbea
b2f508d72e qb: Improve moc detection (#6680) 2018-05-01 13:40:42 -04:00
Brad Parker
20cb92c185 qb: allow building without Qt 2018-05-01 16:24:19 +00:00
Brad Parker
6639d0ed89 qb: don't fail if moc is missing 2018-05-01 08:51:57 -07:00
Brad Parker
791aaa00e1 qb: detect Qt automatically 2018-04-30 22:11:55 -07:00
twinaphex
b7ceedd891 Qt GUI won't work for C89 2018-04-30 21:03:47 +02:00
Brad Parker
a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
twinaphex
958602d328 HAVE_BUILTINFLAC no longer needs to be excluded for C89 2018-04-27 23:17:28 +02:00
twinaphex
997c24ae0c Make FLAC, zlib and LZMA support in libchdr optional 2018-04-22 20:19:07 +02:00
twinaphex
e0b57843aa Enable HAVE_D3D10 now for main Windows build 2018-04-21 05:14:50 +02:00
radius
3792a5e502 remap-redux part2: cleanup 2018-04-08 12:13:49 -05:00
Jean-André Santoni
1614519874 Clone xmb to stripe menu 2018-04-08 09:55:16 +07:00
Twinaphex
9a97c73dc2
Merge pull request #6285 from orbea/sysconfdir
qb: Add --sysconfdir
2018-04-07 22:54:30 +02:00
twinaphex
c041470bb0 Add HAVE_RUNAHEAD ifdef 2018-03-29 15:38:22 +02:00
twinaphex
ddf34bacfd Disable D3D10 for now by default until it gets menu display driver
support and shader support
2018-02-15 12:46:37 +01:00
orbea
72a02b7647 qb: Add --sysconfdir
This also deprecates --global-config-dir.
2018-02-11 09:54:57 -08:00
orbea
85e4f5d94d qb: Add --docdir
By default 'make install' will now install the following 2-3 files
to $(DESTDIR)$(SHARE_DIR)/doc/retroarch which by default is
/usr/local/share/doc/retroarch.

COPYING
README.md

and if media/assets exists it will install:

media/assets/COPYING to COPYING.assets

Users will be able to configure this install path with.

./configure --docdir=PATH

For example:

./configure --docdir=/usr/doc/RetroArch-1.7.0
2018-02-10 08:55:54 -08:00
orbea
72ff4c4d44 qb: Add --bindir and --mandir.
This also deprecates --with-bin_dir and --with-man_dir.
2018-02-08 12:01:28 -08:00
Twinaphex
103c8c3939
Merge pull request #6237 from orbea/datarootdir
qb: Add --datarootdir to configure.
2018-02-08 05:47:18 +01:00
twinaphex
f364d2d3ec (C89) Don't build D3D9/10/11/12 2018-02-04 23:25:12 +01:00
orbea
b67bb87c8d qb: Add --datarootdir to configure.
This allows a user to use --datarootdir=PATH to configure the
share directory used for pixmaps, desktop files, man pages and assets.

By default this will be '/usr/local/share'. Assets and man page install
paths can still be configured with:
  --with-man_dir=PATH
and
  --with-assets_dir=PATH

Some operating systems like Haiku use unconventional install paths
and this should allow them to configure their build correctly.
2018-02-04 13:54:55 -08:00
twinaphex
aeab2e5bd1 enable d3d10/11/12 again for mingw build 2018-01-30 16:04:45 +01:00
twinaphex
15fb080e74 Turn this off by default again until we properly solve this on the
buildbot
2018-01-30 14:54:07 +01:00
twinaphex
fde8cbecf2 Try to see if this works 2018-01-29 17:48:57 +01:00
Twinaphex
34699a9504
Update config.params.sh 2018-01-29 17:42:23 +01:00
twinaphex
9436cc0234 - Add HAVE_HLSL to qb/config.params.sh, set to no by default
- (D3D9 HLSL) Fix build/compilation
2018-01-26 04:09:35 +01:00
Twinaphex
706a549f03
Update config.params.sh 2018-01-25 15:02:23 +01:00
twinaphex
d387cfbfbe Add include/dxsdk 2018-01-23 23:40:17 +01:00
twinaphex
c24e66e61c (QB) Add HAVE_DIRECT3D11/HAVE_DIRECT3D12 (disabled by default
for now)
2018-01-23 07:45:16 +01:00
orbea
cc26f4a88c qb: Don't overwrite defaults
Haiku really should use the configure flags provided, that is why they exists.

In this case.

./configure \
  --global-config-dir=$PREFIX/settings
  --with-assets_dir=$PREFIX/data
  --with-mand_dir=$PREFIX/documentation/man

Changing the defaults just makes the script more complicated for no good reason.
2018-01-20 09:27:02 -08:00
kwyxz
b9585df325 Update Haiku port to allow it to build again 2018-01-20 00:19:01 -08:00
twinaphex
11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
orbea
c8d25a9152 qb: Enable pulse detection for SunOS again. 2018-01-15 09:54:39 -08:00
orbea
06648ca21b qb: Silence shellcheck warning.
Line 25:
SORT=sort
^-- SC2209: Use var=$(command) to assign output (or quote to assign string).
2018-01-14 09:12:41 -08:00
kwyxz
f566ecebf4 Disabling Pulse for now 2018-01-11 14:51:18 -08:00
kwyxz
a11decf61d Added SunOS to the list of targets + fixed a sort specificity 2018-01-11 14:48:43 -08:00
orbea
4415086176
Revert "Fix building with built-in flac" 2018-01-08 18:12:53 +00:00
Brian Koropoff
4ad0a1214e Fix building with built-in flac
Not having HAVE_FLAC caused CHD support to be missing, etc.
This updates the logic to match how zlib is handled.
2018-01-07 10:48:09 -08:00
twinaphex
f677a7ad7e Add HAVE_OVERLAY to qb system 2018-01-05 16:10:34 +01:00
orbea
e2b003a993 qb: Only look in /opt/vc/include if $HAVE_VIDEOCORE=yes. 2018-01-02 09:40:36 -08:00
orbea
48982de355 qb: Improve build without pkg-config. 2018-01-02 09:40:36 -08:00
orbea
8287a961e4 qb: Enable vulkan for Win32.
The check_lib function does not seem able to detect vulkan on windows,
this replaces a hack in Makefile.common that does the same, but while allowing
C89_BUILD=1 and --disable-vulkan to work.
2018-01-01 10:09:17 -08:00
orbea
f993355f71 qb: Fix undefined miniupnpc references with C89_BUILD=1
LD retroarch
obj-unix/./libretro-common/net/net_natt.o: In function `natt_open_port':
/RetroArch/libretro-common/net/net_natt.c:120: undefined reference to `UPNP_AddAnyPortMapping'
/RetroArch/libretro-common/net/net_natt.c:133: undefined reference to `UPNP_GetExternalIPAddress'
/RetroArch/libretro-common/net/net_natt.c:126: undefined reference to `UPNP_AddPortMapping'
obj-unix/./libretro-common/net/net_natt.o: In function `natt_init':
/RetroArch/libretro-common/net/net_natt.c:61: undefined reference to `upnpDiscover'
/RetroArch/libretro-common/net/net_natt.c:74: undefined reference to `miniwget'
/RetroArch/libretro-common/net/net_natt.c:77: undefined reference to `parserootdesc'
/RetroArch/libretro-common/net/net_natt.c:79: undefined reference to `GetUPNPUrls'
/RetroArch/libretro-common/net/net_natt.c:81: undefined reference to `freeUPNPDevlist'
collect2: error: ld returned 1 exit status
make: *** [Makefile:159: retroarch] Error 1
2017-12-31 14:18:02 -08:00
orbea
24f69cb537 qb: Fix undefined flac references with C89_BUILD=1 2017-12-30 22:40:02 -08:00
orbea
c96ae959b3 qb: Add a fallback path for jack audio without pkg-config
This is a proof of concept for the fallback path without pkg-config.
As jack is something often not installed by default it demonstrates
that when pkg-config exists and the dependency doesn't the check_val
function in qb/qb.libs.sh will redundantly check -ljack and as expected,
fail. It also shows that when pkg-config is not installed and jack is
enabled with --enable-jack it will bail and print a configure error.
2017-12-30 20:56:40 -08:00
orbea
a37d624967 qb: Improve the check_val function.
This accomplishes two things for the fallback path without pkg-config.

1. If --disable-foo is passed to configure it will explicitly skip
   check_val. This has the benefit of reducing checks in
   qb/config.libs.sh which are easy to break due to human error.

2. When a fallback path exists and --enable-foo is passed to configure,
   but fails due to the missing -lfoo check_val will now bail and print
   a configure error. However --enable-foo will still be ignored if
   there is no fallback path and pkg-config is not installed.

One issue with this is that if pkg-config is installed and the package
foo is not, it will still check if -lfoo works. As not all pkg-config
implemenations can be trusted to work even if they exist this seems
unavoidable.
2017-12-30 20:56:40 -08:00
orbea
7ab2254fc4 qb: Fix --disable-oss for openbsd.
If --disable-oss is passed to configure we should not check for any oss support.
2017-12-30 15:45:19 -08:00
orbea
1b404afc86 qb: Include /usr/local/lib for *bsd too 2017-12-29 16:06:04 -08:00
Twinaphex
22062fdf91
Merge pull request #5991 from orbea/gl
qb: Include /usr/local/include for bsd based systems.
2017-12-29 21:08:41 +01:00
orbea
6ab2244a43 qb: Do not check for x11 when using --disable-x11. 2017-12-29 11:25:35 -08:00
orbea
a34555c9a9 qb: Include /usr/local/include for bsd based systems.
This resolves an issue where the default freebsd compiler does not
include /usr/local/include which contains important headers such as
GL/gl.h and results in the check_header function failing to find them.

Unfortunately pkg-config/pkgconf will not work here for two reasons.
1. It does not seem able to actually check for gl.h which RetroArch
explicitly needs.

2. Not all systems have a pkg-config implementation so we will still
have to fall back to checking for gl.h...

Fixes https://github.com/libretro/RetroArch/issues/5958
2017-12-29 10:23:14 -08:00
orbea
eaccab5237
Revert "config.libs.sh: reintroduce HAVE_X11 check" 2017-12-29 18:04:07 +00:00
Conn O'Griofa
010aa8061f config.libs.sh: reintroduce HAVE_X11 check
Current behaviour would force check_val to check for X11 even if explicitly disabled.

Fixes Raspberry Pi build (which requires --disable-x11).
2017-12-29 02:10:19 +00:00
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
orbea
1ddcc7be82 Ifdef the broken dbus code better. 2017-12-16 05:19:05 -08:00
Twinaphex
54bf818372
Merge pull request #5810 from orbea/systemd
qb: Make systemd support configurable.
2017-11-27 23:57:15 +01:00
Zoltán Mizsei
4f46402afb Haiku build fix 2017-11-27 22:33:58 +01:00
orbea
4463c0c815 qb: Make systemd support configurable. 2017-11-27 13:25:20 -08:00
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
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
twinaphex
b2c9db523a Set HAVE_XSHM to NO as long as Travis CI builds fail with it on -
https://travis-ci.org/libretro/RetroArch/jobs/158305004
2016-09-08 01:18:12 +02:00
Alcaro
e243614db8 Create half-broken XShm driver, to perform evil experiments on 2016-09-07 13:39:00 +02:00
Brad Parker
063ee19bc2 fix linking of stb functions for nuklear 2016-09-04 11:35:53 -04: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
cca3e2a433 Label -with-* options as config for ./configure --help 2016-08-27 17:06:50 -07:00
orbea
da4afd6e35 Give more space for configure help options 2016-08-27 16:49:09 -07:00
orbea
698579c2b5 Shorten HAVE_VULKAN_KHR_DISPLAY 2016-08-27 16:48:13 -07:00
orbea
3a1daaa4c3 Allow disabling downloading assets in the online updater 2016-08-26 23:38:44 -07:00
orbea
b3922555e2 Allow setting --with-bin_dir 2016-08-26 17:29:50 -07:00
twinaphex
83c6db746e Add libcaca switch 2016-12-01 18:24:07 +01:00
Twinaphex
bb499b70be Merge pull request #4104 from GregorR/natt
NAT traversal
2016-11-30 16:09:53 +01:00