From 253ee09c3706e7d2d4c1e7b0cb4e5e1f4f4865cf Mon Sep 17 00:00:00 2001 From: Murray Date: Tue, 20 Jun 2023 10:09:15 +0100 Subject: [PATCH] librepcb: update to 0.1.7. --- srcpkgs/librepcb/patches/zlib.patch | 18 ++++++++++++++++++ srcpkgs/librepcb/template | 13 ++++++------- 2 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/librepcb/patches/zlib.patch diff --git a/srcpkgs/librepcb/patches/zlib.patch b/srcpkgs/librepcb/patches/zlib.patch new file mode 100644 index 000000000000..9937d0fe5295 --- /dev/null +++ b/srcpkgs/librepcb/patches/zlib.patch @@ -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) + diff --git a/srcpkgs/librepcb/template b/srcpkgs/librepcb/template index d51ca101381c..d631ef1e45c2 100644 --- a/srcpkgs/librepcb/template +++ b/srcpkgs/librepcb/template @@ -1,15 +1,14 @@ # Template file for 'librepcb' pkgname=librepcb -version=0.1.5 -revision=2 -build_style=qmake -configure_args="-r librepcb.pro" -hostmakedepends="unzip qt5-qmake qt5-host-tools" -makedepends="qt5-devel qt5-svg-devel zlib-devel" +version=0.1.7 +revision=1 +build_style=cmake +hostmakedepends="unzip cmake qt5-qmake qt5-host-tools" +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 " license="GPL-3.0-or-later" homepage="https://librepcb.org" distfiles="https://download.librepcb.org/releases/${version}/${pkgname}-${version}-source.zip" -checksum=f956dfa5b9ad1faffcab7f5dd03f158c2b97a7c82cfc9a09dc4066cbcf0db76a +checksum=4c9e90ca61c94e537cab0632e684350873673d693f1c8837c916001d8896a6ad