Commit graph

64 commits

Author SHA1 Message Date
Andrew Eikum
5286f43fda proton: Call python3 explicitly on Linux
Frustratingly, Ubuntu ships no python binary by default, only python3,
so we can't just call python and expect it to work. This will fail on
distros that don't ship python3, but them's the breaks.
2018-08-29 09:24:41 -05:00
Krish De Souza
b0e4ddf8e3 Minor linting fixes to build_proton.sh
--Added double quotes around various variables to avoid globbing and word splitting.
  --Removed use of legacy basetick and replaced with $()
  --Avoid use of -a and -o and replaced with || and && which are more preferred.

Suggestions and fixes were recommended by shellcheck.
2018-08-27 08:49:57 -05:00
Andrew Eikum
9428857077
Merge pull request #237 from Gravemind/fix-build-wine32-typo
build_proton: Fix build wine32 typo
2018-08-24 11:55:48 -05:00
tcarrio
0d9ec29b5e build_proton.sh: Use available cores for job count. 2018-08-23 11:29:56 -05:00
Gravemind
ad5527f70b build_proton: Fix build wine32 typo
`./build_proton.sh --build wine32` was building wine64 instead of
wine32.
2018-08-23 10:27:19 +02:00
Pierre-Loup A. Griffais
5aed286761 build_proton.sh: configure DXVK release-ness differently
To avoid a bug in meson where it apparently ignores configure commands from
scripts.

https://github.com/ValveSoftware/Proton/issues/192
2018-08-22 18:25:28 -07:00
Józef Kucia
9344fea359 vclient: Add tests for C API thunks. 2018-07-30 18:04:25 +02:00
Józef Kucia
d8f1c49922 vrclient: Move source files to separate directory.
In preparation for the next commit.
2018-07-30 17:43:32 +02:00
Andrew Eikum
8360110d62 build_proton: Place wine-gecko installers into the right place 2018-07-13 11:40:33 -05:00
Andrew Eikum
39d80d114c copy openvr_api.dll into place for DXVK
DXVK needs to make some calls to openvr_api, but the game may not ship
it in a predictable location. So we provide a fallback called
openvr_api_dxvk.dll, which DXVK knows to load.
2018-07-12 11:16:45 -05:00
Andrew Eikum
cfe9f525d6 build_proton: Build DXVK on debian again 2018-07-12 11:16:45 -05:00
Andrew Eikum
d728001649 build_proton: Fix 32-bit ffmpeg build on macos 2018-06-26 09:10:06 -05:00
Andrew Eikum
13b5f764ae build_proton: Add --with-ffmpeg switch 2018-06-26 07:41:34 -05:00
Andrew Eikum
971ba6438b proton: Load environment overrides from a file on disk 2018-06-25 14:25:13 -05:00
Jeremy White
63c1d07d07 Allow a dev to have the steam-runtime somewhere other than $HOME/ 2018-06-25 14:25:13 -05:00
Andrew Eikum
f0e3f545cf build_proton: No need to ship 32-bit wineserver 2018-06-20 14:37:17 -05:00
Andrew Eikum
04f6643bb5 build_proton: Disable X support on macOS 2018-06-18 09:01:51 -05:00
Andrew Eikum
1efaea5527 build_proton: Build Wine without curses support
Modern OSes set TERM=xterm-256color, but the ancient curses shipped by
the Steam runtime doesn't support this term type, so it fails and often
kills the process. Let's try building without curses to avoid this.
2018-06-18 09:01:51 -05:00
Andrew Eikum
51328d69a3 build_proton: Clean up build script 2018-06-18 09:01:51 -05:00
Andrew Eikum
dbb34551e9 Also build and ship openal on Linux
The Steam runtime ships a too-old version of OpenAL and it's difficult
for them to upgrade.

Note that this needs a new version of cmake installed in your chroots.
2018-06-11 10:56:41 -05:00
Andrew Eikum
5d764832bc Properly use and document the steam-runtime run.sh script 2018-05-31 12:30:43 -05:00
Andrew Eikum
e7122c820d Add ffmpeg submodule at 4.0 and ship it
This is needed for WMA support in Wine's xaudio2.
2018-05-31 12:30:43 -05:00
Andrew Eikum
81b190d404 build_proton: Fix building on Mac 2018-05-30 12:59:03 -05:00
Andrew Eikum
a38fb17c7a build_proton: Build default prefix against the Steam runtime 2018-05-23 15:07:36 -05:00
Andrew Eikum
417831eeca Build the default prefix on the build machine 2018-05-23 12:51:40 -05:00
Andrew Eikum
6f1ab7537b build_proton: Dump dxvk version into dist 2018-05-23 12:51:39 -05:00
Józef Kucia
21f02c73f8 build_proton.sh: Fix command line parsing 2018-04-19 10:38:26 +02:00
Andrew Eikum
9792de4284 Fix release build switch 2018-04-10 10:32:53 -05:00
Andrew Eikum
802605d1be Fix building on Mac 2018-04-10 10:18:52 -05:00
Andrew Eikum
b638eb1602 build_proton: Ship dxvk on mac, too 2018-04-10 08:50:35 -05:00
Andrew Eikum
98d4ab35f1 build_proton: Build Wine with MoltenVK 2018-04-10 08:50:35 -05:00
Jeremy White
2aa231df0f Move the licenses around a bit, potentially structuring for Valve
to drop in a top level license file.
2018-04-05 08:34:04 -05:00
Jeremy White
928df711ba Add a usage statement. 2018-04-04 09:33:09 -05:00
Jeremy White
a3ea83fcac Make ccache optional. 2018-04-04 09:26:47 -05:00
Andrew Eikum
83baefd831 build_proton: Require gcc >= 5.3 2018-03-23 09:11:38 -05:00
Andrew Eikum
05fe51db59 build_proton: Add lsteamclient build targets 2018-03-21 13:20:58 -05:00
Józef Kucia
1708a87b49 build_proton.sh: Do not package proton when building single component 2018-03-21 11:41:59 -05:00
Józef Kucia
b63199deff build_proton.sh: Add support for building selected components 2018-03-21 11:41:58 -05:00
Józef Kucia
b46ebbd333 build_proton.sh: Prefix some paths with $TOP 2018-03-21 11:41:54 -05:00
Andrew Eikum
7a20ea9c1f proton: Lock on write access to the dist/ directory
Steam needs to be able to run proton several times in parallel without
it becoming corrupted.
2018-03-16 11:37:27 -05:00
Andrew Eikum
3a3737f2ca Update license text 2018-03-13 14:18:43 -05:00
Andrew Eikum
4c05f2aeec build_proton: Build openal-soft 2018-03-08 12:53:01 -06:00
Andrew Eikum
305196b1ba build_proton: Build with -O2 2018-03-08 12:48:05 -06:00
Andrew Eikum
0ef10d57f8 build_proton: Improve stripping on mac
This still leaks my build paths in the binaries, though.
2018-03-06 13:07:55 -06:00
Andrew Eikum
50c129c318 build_proton: Support mac build 2018-03-06 12:13:55 -06:00
Andrew Eikum
b782a37bf1 build_proton: fix deploying binaries 2018-02-26 08:44:02 -06:00
Andrew Eikum
ecc023db90 dxvk: Give up building on debian 2018-02-23 10:57:38 -06:00
Andrew Eikum
6ae0931fd2 build_proton: Don't strip by default 2018-02-15 10:27:09 -06:00
Andrew Eikum
1c51856020 build dxvk 2018-02-12 08:08:53 -06:00
Andrew Eikum
5d20566c13 Build lsteamclient and vrclient with -O2 2018-02-08 09:21:26 -06:00