Nicolas Pomepuy
d1cef05a7c
Bump the remote access version to 0.8.0
1 year ago
Steve Lhomme
3a864dae1f
buildsystem: use cmake to detect packages with meson
If cmake is in the path, let's use it too.
1 year ago
Steve Lhomme
def636f1a6
buildsystem: add the VLC tools to the PATH when building the medialibrary
It's needed if meson is not in the PATH and vlc was build properly.
1 year ago
Steve Lhomme
a79d09fb83
buildsystem: use curl to download sqlite if wget is not found
On macOS curl is in the system but not wget.
1 year ago
Khalid Masum
6afe266ca5
buildsystem: gradle download: use a variable for zip filename
1 year ago
Khalid Masum
24591f070e
buildsystem: fix gradle download
Current gradle download mechanism has two issues. Assuming, the gradle
download url is:
https://services.gradle.org/distributions/gradle-8.13-bin.zip
1. Compilation script will break if we stop the script amidst the
download the first time. As next time wget will save the file as:
gradle-8.13-bin.zip.1, gradle-8.13-bin.zip.2 ... because
a broken gradle-8.13-bin.zip already exists.
2. For curl to download successfuly from the url, redirection flag
must be turned on, as it redirects to a different url.
This patch fixes these issues by (1) providing wget the output filename
and (2) turning on redirection for curl using the -L flag.
1 year ago
Nicolas Pomepuy
afa602212f
Update the maven plugin
1 year ago
Nicolas Pomepuy
bde51d143e
Bump the remote access to 0.7.0
And fix vulnerability
1 year ago
Steve Lhomme
13567cd0dd
buildsystem: use the matching gradle to create the gradle wrapper
It should not download anything if the version is matching.
1 year ago
Steve Lhomme
53ea7019fa
buildsystem: check the gradle version in the PATH matches the one we want
Older gradle versions may give an error in the simplistic build.gradle.
It's fine, we won't have a matching version.
1 year ago
Steve Lhomme
cf1201f879
CI: use newer Docker images with gradle 8.13 in the PATH
4.0 switches to NDK28.
1 year ago
Steve Lhomme
71fc0a9e93
buildsystem: allow using the gradle from the PATH to download our gradle wrapper version
1 year ago
Steve Lhomme
ed92d31a1d
buildsystem: remove gradle zip right after unpacking
1 year ago
Steve Lhomme
69950bbe90
buildsystem: always verify gradlew is usable
1 year ago
Steve Lhomme
950ccf08bb
buildsystem: pass the forceVlc4 flag when calling gradle wrapper
Otherwise it may fail on unsupported things for VLC3.
1 year ago
Steve Lhomme
8869b628c0
buildsystem: make gradlew executable before calling it
1 year ago
Steve Lhomme
ec11980c4f
buildsystem: add comment about gradle hash
1 year ago
Steve Lhomme
9c22e73448
buildsystem: remove stray -tv option
It's not supported since 2ab57d188e .
1 year ago
Steve Lhomme
0fe38fd1bd
buildsystem: remove undefined NDK_LIB_DIR usage
1 year ago
Steve Lhomme
f24fdd5fdf
buildsystem: document what variables are set by compile-libvlc.sh
1 year ago
Steve Lhomme
eacdbcdddd
buildsystem: install the medialibrary built with meson
...into its prefix. This can be discovered by CMake in a standardized location.
1 year ago
Steve Lhomme
9c07335884
buildsystem: generate the meson cross file for the medialibrary
So we don't have to edit them whenever we change the NDK.
1 year ago
Steve Lhomme
249b4dae95
buildsystem: avoid using a tuple for library prefix
It's an autotool thing that it not standard in other build systems. And the Android triplets don't have an easy name to figure out.
The native libraries built depend on the CPU architecture and the Android target they are built for.
1 year ago
Steve Lhomme
b1490aaa24
buildsystem: reconfigure libsqlite3 if it wasn't built
1 year ago
Steve Lhomme
5fd510028d
buildsystem: use a variable for the medialibrary install prefix
1 year ago
Steve Lhomme
b5387e2e8f
buildsystem: remove page size from static libraries
LDFLAGS is not used for static libraries.
1 year ago
Steve Lhomme
dfb11df7a1
buildsystem: fix compile-medialibrary indentation
No functional changes.
1 year ago
Steve Lhomme
ea72f89bba
buildsystem: use more portable shell logic test
1 year ago
Steve Lhomme
b090c25d53
buildsystem: remove stray code from patched sqlite
Following 0f771afdf2 we don't need these parts
that were added in 11cefbd40c .
1 year ago
Steve Lhomme
0deead0d53
buildsystem: fix location of remote access dist folder
1 year ago
Steve Lhomme
29fb433a27
buildsystem: fix compile-remoteaccess indentation
1 year ago
Steve Lhomme
8a360515dd
buildsystem: use a full path for unstripped .so files
1 year ago
Steve Lhomme
6a394fb764
buildsystem: pass medialibrary configuration as flags
Rather than environment variables.
1 year ago
Steve Lhomme
639d63516b
buildsystem: allow passing all medialibrary configuration options as flags
1 year ago
Steve Lhomme
79be47ac9e
buildsystem: group the non valid ANDROID_ABI name handling
So the other if/else section is setting the same variables in each case.
1 year ago
Steve Lhomme
6ab956641d
buildsystem: only set the default ANDROID_ABI when it's missing
Let the rest of the script the other values related to the ANDROID_ABI.
1 year ago
Steve Lhomme
f359eabb55
buildsystem: document the -ml argument
1 year ago
Steve Lhomme
3395bb16b4
CI: initialize the repositories for VLC4 in continuous-app-build-v4
1 year ago
Steve Lhomme
6738144303
CI: show how compile.sh is called
1 year ago
Steve Lhomme
2d015b435e
buildsystem: use a single variable for the main gradle task
And we don't need a variable for the sub tasks.
1 year ago
Steve Lhomme
6fbd94b7fe
buildsystem: pass the libraires project dir with the full option name
This is straightforward to read.
1 year ago
Steve Lhomme
3178bbc541
buildsystem: fix indentation
Since 50fb542b20 .
And we don't need to set an empty string.
1 year ago
Steve Lhomme
ae2a0b64f3
buildsystem: factorize the gradle target used for all builds
We may need to do tests for libraries someday.
1 year ago
Steve Lhomme
cf7932d90d
CI: remove unused GRADLE_ABI environment variable for remote-access-client
1 year ago
Steve Lhomme
ab47930381
buildsystem: pass the library/apk ABI variant name as a property to medialibrary
It's lowercase "all" by default.
It's only set to a specialized value when building libvlc and medialib libraries.
1 year ago
Steve Lhomme
a382cce221
buildsystem: remove usage of GRADLE_VLC_SRC_DIRS
In libvlcjni VLC_OUT_PATH is set to <vlc>/build-android-<triplet>/ndk and only contains temporary files:
- libvlcjni-modules.c
- libvlcjni-symbols.c
They are not used in the java build.
There is not VLC_OUT_PATH/libs folder after libvlcjni is built.
libvlcjni.so is in libvlcjni/jni/libs which we already handle.
And when building in Android Studio we would add a folder "null" in the srcDir (via libvlcjni/libvlc/build.gradle).
1 year ago
Steve Lhomme
6be1ead0ae
buildsystem: only pass Maven repo parameters if they are set
Only the publishToMavenLocal targets should need it.
1 year ago
Steve Lhomme
31322cf8ed
buildsystem: factorize the maven.repo.local property setting
1 year ago
Steve Lhomme
42157b2c17
buildsystem: remove unused CLI environment variable
Originally added in b52b3351c9 and removed in 990069b992
1 year ago
Steve Lhomme
7008b9cb28
buildsystem: use more portable shell logic test
1 year ago