On Thu, 5 Jan 2023 14:11:10 GMT, Johan Vos <j...@openjdk.org> wrote:

> Retrieve libav sources from github.
> Fix JDK-8282386

Here are the additional changes needed:


diff --git a/build.gradle b/build.gradle
--- a/build.gradle
+++ b/build.gradle
@@ -3063,7 +3063,7 @@ project(":media") {
                         libav.versions.each { version ->
                             def libavDir = "${libav.basedir}/libav-${version}"
                             for (File f : configurations.media.files) {
-                                if (f.name.startsWith("libav-${version}")) {
+                                if (f.name.startsWith("v${version}")) {
                                     File dir = file(libavDir)
                                     dir.mkdirs()
                                     def libavTar = 
"${libav.basedir}/libav-${version}.tar"
@@ -3124,7 +3124,7 @@ project(":media") {
                         libav.versions.each { version ->
                             def libavDir = "${libav.basedir}/libav-${version}"
                             for (File f : configurations.media.files) {
-                                if (f.name.startsWith("libav-${version}")) {
+                                if (f.name.startsWith("v${version}")) {
                                     File dir = file(libavDir)
                                     dir.mkdirs()
                                     def libavTar = 
"${libav.basedir}/libav-${version}.tar"

-------------

PR: https://git.openjdk.org/jfx/pull/989

Reply via email to