Skip to content

Commit 82c245a

Browse files
committed
endless-sky: update to 0.10.16.
1 parent 795f3a9 commit 82c245a

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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.

srcpkgs/endless-sky/template

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# Template file for 'endless-sky'
22
pkgname=endless-sky
3-
version=0.10.8
3+
version=0.10.16
44
revision=1
55
build_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"
78
makedepends="SDL2-devel glew-devel libjpeg-turbo-devel libmad-devel
8-
libopenal-devel libpng-devel"
9+
libopenal-devel libpng-devel libavif-devel minizip-devel"
910
short_desc="Space exploring, trading, and combat game"
1011
maintainer="CoolOhm <[email protected]>"
1112
license="GPL-3.0-or-later"
1213
homepage="http://endless-sky.github.io/"
1314
changelog=https://raw.githubusercontent.com/endless-sky/endless-sky/master/changelog
1415
distfiles="https://github.com/endless-sky/endless-sky/archive/v${version}.tar.gz"
15-
checksum=3b5f334976758f2fcc9af26d74f1779b8ba4246714755e774c3099c4fb25f7a0
16+
checksum=8854c676e45dc38ef8e0b0ed28b20213027db055c596495e09e6583ee37e8782
1617
replaces="endless-sky-data>=0"
1718
make_check=no # requires working X11+GLX
1819

0 commit comments

Comments
 (0)