Skip to content

Commit da4a0bf

Browse files
committed
Use libzim last nigthly.
1 parent c866764 commit da4a0bf

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

lib/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ dependencies {
7676

7777
ext.libkiwix_base_url = 'https://download.kiwix.org/nightly'
7878
ext.libzim_base_url = 'https://download.openzim.org/nightly'
79-
// temporary url for libzim linux variant zim file, Once https://github.com/openzim/libzim/issues/772 fixed, then we can remove this
80-
ext.linux_libzim_base_url = 'https://download.openzim.org/nightly/2023-03-20'
8179

8280
ext.libkiwix_version = project.properties["libkiwix_version"] ?: ""
8381
ext.libzim_version = project.properties["libzim_version"] ?: ""
@@ -88,7 +86,7 @@ task downloadLibzimSoAndHeaderFiles(type: Download) {
8886
libzim_base_url + '/libzim_android-arm64.tar.gz',
8987
libzim_base_url + '/libzim_android-x86.tar.gz',
9088
libzim_base_url + '/libzim_android-x86_64.tar.gz',
91-
linux_libzim_base_url + '/libzim_linux-x86_64-2023-03-20.tar.gz'
89+
libzim_base_url + '/libzim_linux-x86_64.tar.gz'
9290
])
9391
dest buildDir
9492
overwrite true
@@ -108,7 +106,7 @@ task unzipLibzim(type: Copy) {
108106
from tarTree(buildDir.path + "/libzim_android-x86_64.tar.gz")
109107
into buildDir
110108
// unzip linux x86_64
111-
from tarTree(buildDir.path + "/libzim_linux-x86_64-2023-03-20.tar.gz")
109+
from tarTree(buildDir.path + "/libzim_linux-x86_64.tar.gz")
112110
into buildDir
113111
}
114112

@@ -352,4 +350,4 @@ task buildLinuxBinding(type: Exec) {
352350
commandLine 'bash', '-c', "cmake . -B ${buildDir} && make -C ${buildDir}"
353351
}
354352

355-
build.dependsOn buildLinuxBinding
353+
build.dependsOn buildLinuxBinding

0 commit comments

Comments
 (0)