Skip to content

Commit

Permalink
Merge pull request #98 from kiwix/new-libkiwix-libzim-builds
Browse files Browse the repository at this point in the history
Use libzim 9.2.1-1 & libkiwix 13.1.0-3
  • Loading branch information
kelson42 authored Jun 6, 2024
2 parents 7fc2c1a + 4747f3a commit 4601d78
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ ext {
}

// Replace these versions with the latest available versions of libkiwix and libzim
ext.libkiwix_version = "13.1.0-1"
ext.libzim_version = "9.2.1"
ext.libkiwix_version = "13.1.0-3"
ext.libzim_version = "9.2.1-1"

apply from: 'publish.gradle'
android {
Expand Down Expand Up @@ -93,7 +93,7 @@ tasks.register('downloadLibzimSoAndHeaderFiles', Download) {
libzim_base_url + 'libzim_android-arm64-' + libzim_version + '.tar.gz',
libzim_base_url + 'libzim_android-x86-' + libzim_version + '.tar.gz',
libzim_base_url + 'libzim_android-x86_64-' + libzim_version + '.tar.gz',
libzim_base_url + 'libzim_linux-x86_64-bionic-' + libzim_version + '.tar.gz'
libzim_base_url + 'libzim_linux-x86_64-' + libzim_version + '.tar.gz'
])
dest buildDir
overwrite true
Expand All @@ -114,7 +114,7 @@ tasks.register('unzipLibzim', Copy) {
from tarTree(buildDir.path + "/libzim_android-x86_64-" + libzim_version + ".tar.gz")
into buildDir
// unzip linux x86_64
from tarTree(buildDir.path + "/libzim_linux-x86_64-bionic-" + libzim_version + ".tar.gz")
from tarTree(buildDir.path + "/libzim_linux-x86_64-" + libzim_version + ".tar.gz")
into buildDir
}

Expand Down Expand Up @@ -155,7 +155,7 @@ tasks.register('copyLibzimHeaderAndSoFiles', Copy) {

copy {
// copying linux_x86_64 so file
from buildDir.path + "/libzim_linux-x86_64-bionic/lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
from buildDir.path + "/libzim_linux-x86_64/lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
into buildDir.path
}
}
Expand Down

0 comments on commit 4601d78

Please sign in to comment.