[bzip2] Fix build wrt Android NDK and CMake (#40348)

This commit is contained in:
Kai Pastor 2024-08-16 09:30:34 +02:00 committed by GitHub
parent c3f7523208
commit 41dfc53c31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.5...3.29)
project(bzip2 C) project(bzip2 C)
if(CMAKE_BUILD_TYPE STREQUAL Debug) if(CMAKE_BUILD_TYPE STREQUAL Debug)

View File

@ -1,5 +1,6 @@
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE
URLS "https://sourceware.org/pub/bzip2/bzip2-${VERSION}.tar.gz" URLS "https://sourceware.org/pub/bzip2/bzip2-${VERSION}.tar.gz"
"https://www.mirrorservice.org/sites/sourceware.org/pub/bzip2/bzip2-${VERSION}.tar.gz"
FILENAME "bzip2-${VERSION}.tar.gz" FILENAME "bzip2-${VERSION}.tar.gz"
SHA512 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3 SHA512 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3
) )

View File

@ -1,7 +1,7 @@
{ {
"name": "bzip2", "name": "bzip2",
"version-semver": "1.0.8", "version-semver": "1.0.8",
"port-version": 5, "port-version": 6,
"description": "bzip2 is a freely available, patent free, high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.", "description": "bzip2 is a freely available, patent free, high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.",
"homepage": "https://sourceware.org/bzip2/", "homepage": "https://sourceware.org/bzip2/",
"documentation": "https://sourceware.org/bzip2/docs.html", "documentation": "https://sourceware.org/bzip2/docs.html",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "2d029da682847c5ebdc54e4dbea001331a02207e",
"version-semver": "1.0.8",
"port-version": 6
},
{ {
"git-tree": "92e9a8bbf1abbd89872b48ad82fcf75852de1006", "git-tree": "92e9a8bbf1abbd89872b48ad82fcf75852de1006",
"version-semver": "1.0.8", "version-semver": "1.0.8",

View File

@ -1430,7 +1430,7 @@
}, },
"bzip2": { "bzip2": {
"baseline": "1.0.8", "baseline": "1.0.8",
"port-version": 5 "port-version": 6
}, },
"c-ares": { "c-ares": {
"baseline": "1.33.0", "baseline": "1.33.0",