Steve Lhomme
eed66c42a6
buildsystem: add an option to build C++ code with static runtime
By default we use the dynamic runtime and need to ship libc++_shared.so.
This needs the counterpart on the libvlcjni script so that all our code is built with the same C++ runtime configuration.
10 months ago
Steve Lhomme
3a864dae1f
buildsystem: use cmake to detect packages with meson
If cmake is in the path, let's use it too.
10 months 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.
9 months 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.
9 months ago
Steve Lhomme
0fe38fd1bd
buildsystem: remove undefined NDK_LIB_DIR usage
10 months ago
Steve Lhomme
f24fdd5fdf
buildsystem: document what variables are set by compile-libvlc.sh
10 months ago
Steve Lhomme
eacdbcdddd
buildsystem: install the medialibrary built with meson
...into its prefix. This can be discovered by CMake in a standardized location.
10 months 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.
10 months 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.
10 months ago
Steve Lhomme
b1490aaa24
buildsystem: reconfigure libsqlite3 if it wasn't built
10 months ago
Steve Lhomme
5fd510028d
buildsystem: use a variable for the medialibrary install prefix
10 months ago
Steve Lhomme
b5387e2e8f
buildsystem: remove page size from static libraries
LDFLAGS is not used for static libraries.
10 months ago
Steve Lhomme
dfb11df7a1
buildsystem: fix compile-medialibrary indentation
No functional changes.
10 months ago
Steve Lhomme
ea72f89bba
buildsystem: use more portable shell logic test
10 months ago
Steve Lhomme
b090c25d53
buildsystem: remove stray code from patched sqlite
Following 0f771afdf2 we don't need these parts
that were added in 11cefbd40c .
10 months ago
Steve Lhomme
639d63516b
buildsystem: allow passing all medialibrary configuration options as flags
10 months ago
Steve Lhomme
dbcaaa8fe8
buildsystem: build with extra 16k pages
11 months ago
Steve Lhomme
0f771afdf2
buildsystem: use the same sqlite3 as in VLC
With the same SHA512SUM check.
1 year ago
Steve Lhomme
e30d08b4c0
buildsystem: disable sqlite3 binary during make
This is how it's done in VLC without patching:
38e96f275e
No need to autoreconf anymore.
2 years ago
Nicolas Pomepuy
1669b693c0
Bump VLC 4 Ci image and libvlcjni hash
2 years ago
Duncan McNamara
ba899e6653
Implement the new ML API and the bump ML hash
- Bump Medialibrary Hash
- ML: refactor EntryPoint(s) to Root(s)
This is to follow the renaming that happened in the MediaLibrary
- ML: Update after ML API incoherence fix.
This concerns a confusion with Subscriptions and Services
and especially the cacheSize / cachedMedia which was messier before the
recent update.
Fixes #3027
2 years ago
Duncan McNamara
8dca039f37
ML: update history api calls
2 years ago
Thomas Guillem
71022befc0
buildsystem: enforce libvlc dependency
In order to fail the build in case of libvlc build/link issue.
3 years ago
Duncan McNamara
5f3548559e
Buildsystem: fix ml build after vlc move
3 years ago
Thomas Guillem
b3f10c7313
buildsytem: use last libvlcjni build script
vlc sources are now located in libvlcjni folder, and not on vlc-android.
Adapt the compile-medialibrary.sh with the new libvlcjni changes.
3 years ago
Nicolas Pomepuy
523cb72695
Bump the aar hashes and versions
3 years ago
Nicolas Pomepuy
1f5e2b127a
Implement the only favorites queries
3 years ago
Duncan McNamara
dff644a78c
Update medialibrary hash
3 years ago
Thomas Guillem
693a474a33
buildsystem: fix libjpeg path
Use the installed path instead of the build path.
Fixes build with latest the VLC HASH that moved the build path for all
contribs.
4 years ago
Nicolas Pomepuy
a22049b1bf
Bump lib versions to 3.6.0-eap1 and 0.13.13-rc1
4 years ago
Duncan McNamara
0c9b96ba1a
Medialibrary: implement search API changes
4 years ago
Duncan McNamara
055704c4ab
ML: add JNI + java for new subscriptions API
4 years ago
Nicolas Pomepuy
2cbdfa1806
Bump medialibrary to 0.12.3
4 years ago
Thomas Guillem
a61a92bda9
buildsystem: update meson crossfiles
We need 2 versions for each ABI, one for NDK21, one for NDK25.
The NDK21 ones will be removed one day.
4 years ago
Thomas Guillem
70a1c4f72a
buildsystem: bump medialibrary version
To include latest libvlcpp VLC 4.0 api changes (No change for VLC 3.0).
4 years ago
Nicolas Pomepuy
e94324e0e7
Bump libs to 3.5.0-eap9
4 years ago
Martin Finkel
6f4013294b
build: depend on libvlcjni
4 years ago
Duncan McNamara
b2981dcbf1
Bump libs to 3.5.0-eap7 / 0.12.0-eap7
4 years ago
Nicolas Pomepuy
9da0bd9fbd
Bump libs to 3.5.0-eap6 / 0.11.2-eap6
4 years ago
Duncan McNamara
7f280dc3b0
Update medialibrary hash
4 years ago
Duncan McNamara
927f372dc4
MLBuild: release tag check on current hash
The tag check done when building for release should be done on the
current hash, and not medialibrary hash which is kept for local builds
4 years ago
Duncan McNamara
a919bce17f
MLBuild: invert tag check condition for release
4 years ago
Hugo Beauzée-Luyssen
d7c57764d2
compile-medialibrary: Ensure releases are using a medialib tag
4 years ago
Hugo Beauzée-Luyssen
682004334f
compile-medialibrary.sh: Revert to using a commit instead of a tag
Using a tag isn't working well during development and makes bisecting
intermediate commits extremely difficult.
4 years ago
Nicolas Pomepuy
1346e5dd86
Target the Medialibrary 0.11 tag
4 years ago
Nicolas Pomepuy
24f60c6a8f
Implement new ML script versioning by tag
4 years ago
Hugo Beauzée-Luyssen
7f4ac50cf9
buildsystem: Use prebuilt libraries to propagage libvlc dependencies
4 years ago
Hugo Beauzée-Luyssen
bfa8845129
compile-medialibrary: Remove unused variable
4 years ago
Hugo Beauzée-Luyssen
8f3571d543
buildsystem: Use a prebuilt module for linking libmla with sqlite
This reduces the amount of variables and weird path we have to sprinkle
throughout the buildscript
4 years ago
Hugo Beauzée-Luyssen
3b3d417c1d
buildsystem: Use a prebuilt module to link medialibrary and libmla
This way the build system realizes that it needs to rebuild the JNI
library if the libmedialibrary.a changes
refs #2264
4 years ago