Romain Vimont
f751274b17
Define both pkg-config and pkgconfig for meson
...
In Meson cross-files, "pkgconfig" was deprecated in favor of
"pkg-config" in meson 1.3.0.
The new name is used since 85a94dd4b5
to
avoid a warning, but then it fails with older versions of meson.
To avoid the problem, define both pkg-config and pkgconfig.
> For backward compatibility it is still allowed to define both with the
> same value, in that case no deprecation warning is printed.
<https://mesonbuild.com/Release-notes-for-1-3-0.html#machine-files-pkgconfig-field-deprecated-and-replaced-by-pkgconfig >
2024-12-12 18:09:31 +01:00
Romain Vimont
6469054b15
Revert "Remove apt update on GitHub Actions"
...
This reverts commit 678025b316
.
This avoids spurious errors on the CI:
E: Unable to fetch some archives, maybe run apt-get update or try
with --fix-missing?
2024-12-12 18:09:31 +01:00
Romain Vimont
017a3672a4
Check GitHub runner architecture
...
Make sure that the releases are built for the expected target arch.
2024-11-28 20:09:21 +01:00
Genxster1998
c1351b250e
Build macOS x86_64 release
...
Add actions to build a release for macOS x86_64 in addition to the
aarch64 version.
PR #5526 <https://github.com/Genymobile/scrcpy/pull/5526 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2024-11-28 20:09:21 +01:00
Romain Vimont
618a978f5b
Specify architecture for Linux and macOS releases
...
PR #5526 <https://github.com/Genymobile/scrcpy/pull/5526 >
Co-authored-by: Genxster1998 <ck.2229.ck@gmail.com>
2024-11-28 20:09:18 +01:00
Romain Vimont
a18ed1ee7a
Simplify GitHub actions step descriptions
...
Each step is executed within the context of an action, so mentioning the
name of the action is unnecessary.
2024-11-28 19:58:08 +01:00
Romain Vimont
678025b316
Remove apt update on GitHub Actions
...
Assume the image is up-to-date.
2024-11-28 19:40:47 +01:00
Romain Vimont
3d478d7d5b
Build FFmpeg with v4l2 support for Linux
...
So that --v4l2-sink works with Linux static builds.
2024-11-24 17:52:53 +01:00
Romain Vimont
6f9520f3e2
Test build_without_gradle.sh in GitHub Actions
...
Build the server without gradle to make sure that the script works.
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
2024-11-24 15:46:37 +01:00
Romain Vimont
a7efb180b9
Add script to release macOS static binary
...
Provide a prebuilt binary for macOS.
Fixes #1733 <https://github.com/Genymobile/scrcpy/issues/1733 >
Fixes #3235 <https://github.com/Genymobile/scrcpy/issues/3235 >
Fixes #4489 <https://github.com/Genymobile/scrcpy/issues/4489 >
Fixes #5327 <https://github.com/Genymobile/scrcpy/issues/5327 >
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
Co-authored-by: Muvaffak Onus <me@muvaf.com>
2024-11-24 15:46:23 +01:00
Romain Vimont
cb19686d79
Add script to release Linux static binary
...
Provide a prebuilt binary for Linux.
Fixes #5327 <https://github.com/Genymobile/scrcpy/issues/5327 >
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
2024-11-24 15:41:13 +01:00
Romain Vimont
93da693e8c
Add support for .tar.gz packaging
...
Make package_client.sh accept an archive format.
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
2024-11-24 15:41:13 +01:00
Romain Vimont
7fc6943284
Preserve file permissions in GitHub Actions
...
The upload-artifact action does not preserve file permissions:
<https://github.com/actions/upload-artifact?#permission-loss >
Even if it is not critical for Windows releases, it will be for other
platforms. Wrap everything in a tarball to keep original permissions.
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
2024-11-24 15:41:13 +01:00
Romain Vimont
a57180047c
Split packaging for each target on CI
...
Create separate jobs for packaging win32 and win64 releases.
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
2024-11-24 15:41:13 +01:00
Romain Vimont
5df218d8f9
Test scrcpy-server in a separate CI job
...
Use a separate GitHub Action job to build and test the server.
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
2024-11-24 15:41:13 +01:00
Romain Vimont
26bf209617
Replace release.mk by release scripts
...
Since commit 2687d20280
, the Makefile
named release.mk stopped handling dependencies between recipes, because
they have to be executed separately (from different Github Actions
jobs).
Using a Makefile no longer provides any real benefit. Replace it by
several individual release scripts for simplicity and readability.
Refs #5306 <https://github.com/Genymobile/scrcpy/pull/5306 >
PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515 >
2024-11-24 15:40:34 +01:00
Romain Vimont
a5844e198e
Add GitHub Actions release workflow
...
Fixes #4490 <https://github.com/Genymobile/scrcpy/issues/4490 >
PR #5306 <https://github.com/Genymobile/scrcpy/pull/5306 >
2024-10-27 20:31:24 +01:00