mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mgba: update to 0.8.2.
This commit is contained in:
parent
ec426111a3
commit
5b55ae0dee
2 changed files with 19 additions and 3 deletions
15
srcpkgs/mgba/patches/Fix-regex-on-empty-libzip-version.patch
Normal file
15
srcpkgs/mgba/patches/Fix-regex-on-empty-libzip-version.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- CMakeLists.txt.orig
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -611,10 +611,10 @@
|
||||||
|
if(USE_LIBZIP)
|
||||||
|
include_directories(AFTER ${LIBZIP_INCLUDE_DIRS})
|
||||||
|
link_directories(${LIBZIP_LIBRARY_DIRS})
|
||||||
|
- list(APPEND DEPENDENCY_LIB ${LIBZIP_LIBRARIES})
|
||||||
|
+ list(APPEND DEPENDENCY_LIB zip)
|
||||||
|
list(APPEND FEATURES LIBZIP)
|
||||||
|
list(APPEND VFS_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/util/vfs/vfs-zip.c)
|
||||||
|
- string(REGEX MATCH "^[0-9]+" LIBZIP_VERSION_MAJOR ${libzip_VERSION})
|
||||||
|
+ string(REGEX MATCH "^[0-9]+" LIBZIP_VERSION_MAJOR "${libzip_VERSION}")
|
||||||
|
if (LIBZIP_VERSION_MAJOR LESS 1)
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libzip2")
|
||||||
|
elseif(LIBZIP_VERSION_MAJOR EQUAL 1)
|
|
@ -1,17 +1,18 @@
|
||||||
# Template file for 'mgba'
|
# Template file for 'mgba'
|
||||||
pkgname=mgba
|
pkgname=mgba
|
||||||
version=0.8.1
|
version=0.8.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config qt5-host-tools qt5-qmake desktop-file-utils"
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake desktop-file-utils"
|
||||||
makedepends="SDL2-devel ffmpeg-devel libedit-devel libepoxy-devel libmagick-devel
|
makedepends="SDL2-devel ffmpeg-devel libedit-devel libepoxy-devel libmagick-devel
|
||||||
libzip-devel minizip-devel qt5-multimedia-devel qt5-tools-devel"
|
libzip-devel qt5-multimedia-devel qt5-tools-devel"
|
||||||
short_desc="Game Boy Advance emulator written in C"
|
short_desc="Game Boy Advance emulator written in C"
|
||||||
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
homepage="https://www.mgba.io/"
|
homepage="https://www.mgba.io/"
|
||||||
|
changelog="https://raw.githubusercontent.com/mgba-emu/mgba/master/CHANGES"
|
||||||
distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=df136ea50c9cca380ab93e00fd8d87811e41a49a804c5b0e018babef0c490f13
|
checksum=696d26b567f852825548a7ab2cb69ba54402561146a4cfebefcdc7ea218f7aea
|
||||||
|
|
||||||
libmgba_package() {
|
libmgba_package() {
|
||||||
short_desc+=" - shared library"
|
short_desc+=" - shared library"
|
||||||
|
|
Loading…
Add table
Reference in a new issue