librepcb: update to 0.1.7.

closes #44535
This commit is contained in:
Murray 2023-06-20 10:09:15 +01:00 committed by classabbyamp
parent 3123ffdfe9
commit ed17eb2175
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 26 additions and 7 deletions

View File

@ -0,0 +1,18 @@
--- a/libs/quazip/CMakeLists.txt
+++ b/libs/quazip/CMakeLists.txt
@@ -64,13 +64,8 @@ else()
message(FATAL_ERROR "Qt version ${QUAZIP_QT_MAJOR_VERSION} is not supported")
endif()
-find_package(Qt${QUAZIP_QT_MAJOR_VERSION} OPTIONAL_COMPONENTS Zlib)
-if (Qt${QUAZIP_QT_MAJOR_VERSION}Zlib_FOUND)
- set(QUAZIP_LIB_LIBRARIES ${QUAZIP_LIB_LIBRARIES} Qt${QUAZIP_QT_MAJOR_VERSION}::Zlib)
-else()
- find_package(ZLIB REQUIRED)
- set(QUAZIP_LIB_LIBRARIES ${QUAZIP_LIB_LIBRARIES} ZLIB::ZLIB)
-endif()
+find_package(ZLIB REQUIRED)
+set(QUAZIP_LIB_LIBRARIES ${QUAZIP_LIB_LIBRARIES} ZLIB::ZLIB)
add_subdirectory(quazip)

View File

@ -1,15 +1,16 @@
# Template file for 'librepcb'
pkgname=librepcb
version=0.1.5
revision=2
build_style=qmake
configure_args="-r librepcb.pro"
version=0.1.7
revision=1
build_style=cmake
hostmakedepends="unzip qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-svg-devel zlib-devel"
makedepends="zlib-devel qt5-devel qt5-tools-devel qt5-plugin-mysql
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
qt5-svg-devel occt-devel glu-devel openssl-devel"
depends="qt5-plugin-sqlite"
short_desc="Powerful, innovative and intuitive EDA tool for everyone"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://librepcb.org"
distfiles="https://download.librepcb.org/releases/${version}/${pkgname}-${version}-source.zip"
checksum=f956dfa5b9ad1faffcab7f5dd03f158c2b97a7c82cfc9a09dc4066cbcf0db76a
distfiles="https://download.librepcb.org/releases/${version}/librepcb-${version}-source.zip"
checksum=4c9e90ca61c94e537cab0632e684350873673d693f1c8837c916001d8896a6ad