mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
librepcb: update to 1.3.0
This commit is contained in:
parent
e36c4941ee
commit
1673b87f2d
2 changed files with 13 additions and 25 deletions
|
@ -1,18 +0,0 @@
|
||||||
--- 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,17 +1,23 @@
|
||||||
# Template file for 'librepcb'
|
# Template file for 'librepcb'
|
||||||
pkgname=librepcb
|
pkgname=librepcb
|
||||||
version=1.0.0
|
version=1.3.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_QTQUICK_TEST=OFF"
|
configure_args="-DBUILD_QTQUICK_TEST=OFF"
|
||||||
hostmakedepends="unzip qt5-qmake qt5-host-tools"
|
hostmakedepends="unzip qt6-base qt6-tools cargo"
|
||||||
makedepends="zlib-devel qt5-devel qt5-tools-devel qt5-plugin-mysql
|
makedepends="zlib-devel qt6-base-devel qt6-tools-devel qt6-plugin-mysql
|
||||||
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
|
qt6-plugin-odbc qt6-plugin-pgsql qt6-plugin-sqlite
|
||||||
qt5-svg-devel occt-devel glu-devel openssl-devel"
|
qt6-svg-devel occt-devel glu-devel openssl-devel rust-std"
|
||||||
depends="qt5-plugin-sqlite"
|
depends="qt6-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}/librepcb-${version}-source.zip"
|
distfiles="https://download.librepcb.org/releases/${version}/librepcb-${version}-source.zip"
|
||||||
checksum=1bc57489367c8e0fafe23a88a6677c6c73d8f4cac3f2f9caa2f306dca0e70e0b
|
checksum=0c5313142ab3d689fc998ea432eb86a41d7c010e6dd5a70a633eaba0bcf75845
|
||||||
|
|
||||||
|
post_configure() {
|
||||||
|
if [ -n "$CROSS_BUILD" ] ; then
|
||||||
|
vsed -e "s|/usr/${XBPS_CROSS_TRIPLET}/usr/lib[0-9]\{0,2\}/qt6/bin|/usr/lib/qt6/bin|g" -i build/build.ninja
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue