mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
parent
3123ffdfe9
commit
ed17eb2175
2 changed files with 26 additions and 7 deletions
18
srcpkgs/librepcb/patches/zlib.patch
Normal file
18
srcpkgs/librepcb/patches/zlib.patch
Normal 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)
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
# Template file for 'librepcb'
|
# Template file for 'librepcb'
|
||||||
pkgname=librepcb
|
pkgname=librepcb
|
||||||
version=0.1.5
|
version=0.1.7
|
||||||
revision=2
|
revision=1
|
||||||
build_style=qmake
|
build_style=cmake
|
||||||
configure_args="-r librepcb.pro"
|
|
||||||
hostmakedepends="unzip qt5-qmake qt5-host-tools"
|
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"
|
depends="qt5-plugin-sqlite"
|
||||||
short_desc="Powerful, innovative and intuitive EDA tool for everyone"
|
short_desc="Powerful, innovative and intuitive EDA tool for everyone"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://librepcb.org"
|
homepage="https://librepcb.org"
|
||||||
distfiles="https://download.librepcb.org/releases/${version}/${pkgname}-${version}-source.zip"
|
distfiles="https://download.librepcb.org/releases/${version}/librepcb-${version}-source.zip"
|
||||||
checksum=f956dfa5b9ad1faffcab7f5dd03f158c2b97a7c82cfc9a09dc4066cbcf0db76a
|
checksum=4c9e90ca61c94e537cab0632e684350873673d693f1c8837c916001d8896a6ad
|
||||||
|
|
Loading…
Add table
Reference in a new issue