[libbluray-devel] [Git][videolan/libbluray][master] Meson: support the same old Javac versions as autotools
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon Aug 11 19:32:35 UTC 2025
Jean-Baptiste Kempf pushed to branch master at VideoLAN / libbluray
Commits:
236b5c8f by Jean-Baptiste Kempf at 2025-08-11T21:31:28+02:00
Meson: support the same old Javac versions as autotools
- - - - -
1 changed file:
- src/libbluray/bdj/meson.build
Changes:
=====================================
src/libbluray/bdj/meson.build
=====================================
@@ -10,8 +10,12 @@ if ant.found() and add_languages('java', native: false, required: get_option('bd
if get_option('java9') and bdj_type == 'j2se'
if javac_version.version_compare('>= 18.0')
java_src_version = '1.8'
- else
+ elif javac_version.version_compare('>=12.0')
java_src_version = '1.7'
+ elif javac_version.version_compare('>=9.0')
+ java_src_version = '1.6'
+ else
+ java_src_version = '1.5' #maybe java_version_bdj=1.4 in that case?
endif
endif
java_summary = { 'Build BD-J JAR': true,
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/236b5c8f42bbd9400d2e04f397a5427b83a47fd4
--
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/236b5c8f42bbd9400d2e04f397a5427b83a47fd4
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the libbluray-devel
mailing list