File tree Expand file tree Collapse file tree 2 files changed +27
-4
lines changed
Expand file tree Collapse file tree 2 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 1+ The cmake_pkg_config function directly reads pkg-config files, but this is
2+ completely broken in Void's cross-build setup. Use pkg-config directly to avoid
3+ problems.
4+
5+ --- a/CMakeLists.txt
6+ +++ b/CMakeLists.txt
7+ @@ -112,13 +112,8 @@
8+ find_package(unofficial-minizip CONFIG REQUIRED)
9+ set(MINIZIP_LIBRARIES "unofficial::minizip::minizip")
10+ else()
11+ - if(CMAKE_VERSION VERSION_LESS 3.31)
12+ - find_package(PkgConfig REQUIRED PkgConfig PkgConf)
13+ - pkg_check_modules(MINIZIP REQUIRED minizip)
14+ - else()
15+ - cmake_pkg_config(EXTRACT minizip REQUIRED)
16+ - set(MINIZIP_LIBRARIES "minizip")
17+ - endif()
18+ + find_package(PkgConfig REQUIRED PkgConfig PkgConf)
19+ + pkg_check_modules(MINIZIP REQUIRED minizip)
20+ endif()
21+
22+ # Find the MinGW runtime DLLs.
Original file line number Diff line number Diff line change 11# Template file for 'endless-sky'
22pkgname=endless-sky
3- version=0.10.8
3+ version=0.10.16
44revision=1
55build_style=cmake
6- configure_args="-DES_USE_VCPKG=OFF -DCMAKE_BUILD_TYPE=Release"
6+ configure_args="-DES_USE_VCPKG=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF"
7+ hostmakedepends="pkg-config"
78makedepends="SDL2-devel glew-devel libjpeg-turbo-devel libmad-devel
8- libopenal-devel libpng-devel"
9+ libopenal-devel libpng-devel libavif-devel minizip-devel "
910short_desc="Space exploring, trading, and combat game"
1011maintainer="CoolOhm <
[email protected] >"
1112license="GPL-3.0-or-later"
1213homepage="http://endless-sky.github.io/"
1314changelog=https://raw.githubusercontent.com/endless-sky/endless-sky/master/changelog
1415distfiles="https://github.com/endless-sky/endless-sky/archive/v${version}.tar.gz"
15- checksum=3b5f334976758f2fcc9af26d74f1779b8ba4246714755e774c3099c4fb25f7a0
16+ checksum=8854c676e45dc38ef8e0b0ed28b20213027db055c596495e09e6583ee37e8782
1617replaces="endless-sky-data>=0"
1718make_check=no # requires working X11+GLX
1819
You can’t perform that action at this time.
0 commit comments