mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Add qt6 flavor to quazip
With help from sthen, maintainer (bcallah@) timeout
This commit is contained in:
@@ -1,26 +1,42 @@
|
||||
COMMENT = Qt/C++ wrapper for ZIP/UNZIP package
|
||||
CATEGORIES = archivers
|
||||
|
||||
V = 1.4
|
||||
GH_ACCOUNT = stachenov
|
||||
GH_PROJECT = quazip
|
||||
V = 1.4
|
||||
GH_TAGNAME = v$V
|
||||
PKGNAME = quazip-qt5-$V
|
||||
|
||||
SHARED_LIBS += quazip1-qt5 0.1 # 0.0
|
||||
SHARED_LIBS += quazip1-qt6 0.0 # 0.0
|
||||
|
||||
HOMEPAGE = https://stachenov.github.io/quazip/
|
||||
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
||||
|
||||
FLAVORS= qt6
|
||||
FLAVOR ?=
|
||||
|
||||
# LGPLv2.1 with static linking exception
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = devel/cmake
|
||||
|
||||
CONFIGURE_ARGS += -DQUAZIP_ENABLE_TESTS=ON
|
||||
|
||||
LIB_DEPENDS = archivers/bzip2
|
||||
|
||||
.if ${FLAVOR:Mqt6}
|
||||
FULLPKGNAME= quazip-qt6-${V}
|
||||
PKGNAME = quazip-qt6-$V
|
||||
WANTLIB += ${COMPILER_LIBCXX} Qt6Core Qt6Core5Compat bz2 m z
|
||||
MODULES += x11/qt6
|
||||
LIB_DEPENDS += x11/qt6/qt5compat
|
||||
CONFIGURE_ARGS += -DQUAZIP_QT_MAJOR_VERSION=6
|
||||
.else
|
||||
REVISION = 0
|
||||
WANTLIB += ${COMPILER_LIBCXX} Qt5Core bz2 m z
|
||||
|
||||
MODULES = devel/cmake \
|
||||
x11/qt5
|
||||
|
||||
CONFIGURE_ARGS += -DQUAZIP_ENABLE_TESTS=ON \
|
||||
-DQUAZIP_QT_MAJOR_VERSION=5
|
||||
MODULES += x11/qt5
|
||||
CONFIGURE_ARGS += -DQUAZIP_QT_MAJOR_VERSION=5
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
@pkgpath archivers/quazip,qt5
|
||||
include/QuaZip-Qt5/
|
||||
include/QuaZip-Qt5/quazip/
|
||||
include/QuaZip-Qt5/quazip/JlCompress.h
|
||||
include/QuaZip-Qt5/quazip/ioapi.h
|
||||
include/QuaZip-Qt5/quazip/minizip_crypt.h
|
||||
include/QuaZip-Qt5/quazip/quaadler32.h
|
||||
include/QuaZip-Qt5/quazip/quachecksum32.h
|
||||
include/QuaZip-Qt5/quazip/quacrc32.h
|
||||
include/QuaZip-Qt5/quazip/quagzipfile.h
|
||||
include/QuaZip-Qt5/quazip/quaziodevice.h
|
||||
include/QuaZip-Qt5/quazip/quazip.h
|
||||
include/QuaZip-Qt5/quazip/quazip_global.h
|
||||
include/QuaZip-Qt5/quazip/quazip_qt_compat.h
|
||||
include/QuaZip-Qt5/quazip/quazipdir.h
|
||||
include/QuaZip-Qt5/quazip/quazipfile.h
|
||||
include/QuaZip-Qt5/quazip/quazipfileinfo.h
|
||||
include/QuaZip-Qt5/quazip/quazipnewinfo.h
|
||||
include/QuaZip-Qt5/quazip/unzip.h
|
||||
include/QuaZip-Qt5/quazip/zip.h
|
||||
lib/cmake/QuaZip-Qt5/
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5Config.cmake
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5ConfigVersion.cmake
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5_SharedTargets${MODCMAKE_BUILD_SUFFIX}
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5_SharedTargets.cmake
|
||||
@lib lib/libquazip1-qt5.so.${LIBquazip1-qt5_VERSION}
|
||||
lib/pkgconfig/quazip1-qt5.pc
|
||||
@@ -0,0 +1,27 @@
|
||||
include/QuaZip-Qt6/
|
||||
include/QuaZip-Qt6/quazip/
|
||||
include/QuaZip-Qt6/quazip/JlCompress.h
|
||||
include/QuaZip-Qt6/quazip/ioapi.h
|
||||
include/QuaZip-Qt6/quazip/minizip_crypt.h
|
||||
include/QuaZip-Qt6/quazip/quaadler32.h
|
||||
include/QuaZip-Qt6/quazip/quachecksum32.h
|
||||
include/QuaZip-Qt6/quazip/quacrc32.h
|
||||
include/QuaZip-Qt6/quazip/quagzipfile.h
|
||||
include/QuaZip-Qt6/quazip/quaziodevice.h
|
||||
include/QuaZip-Qt6/quazip/quazip.h
|
||||
include/QuaZip-Qt6/quazip/quazip_global.h
|
||||
include/QuaZip-Qt6/quazip/quazip_qt_compat.h
|
||||
include/QuaZip-Qt6/quazip/quazipdir.h
|
||||
include/QuaZip-Qt6/quazip/quazipfile.h
|
||||
include/QuaZip-Qt6/quazip/quazipfileinfo.h
|
||||
include/QuaZip-Qt6/quazip/quazipnewinfo.h
|
||||
include/QuaZip-Qt6/quazip/unzip.h
|
||||
include/QuaZip-Qt6/quazip/zip.h
|
||||
lib/cmake/
|
||||
lib/cmake/QuaZip-Qt6/
|
||||
lib/cmake/QuaZip-Qt6/QuaZip-Qt6Config.cmake
|
||||
lib/cmake/QuaZip-Qt6/QuaZip-Qt6ConfigVersion.cmake
|
||||
lib/cmake/QuaZip-Qt6/QuaZip-Qt6_SharedTargets${MODCMAKE_BUILD_SUFFIX}
|
||||
lib/cmake/QuaZip-Qt6/QuaZip-Qt6_SharedTargets.cmake
|
||||
@lib lib/libquazip1-qt6.so.${LIBquazip1-qt6_VERSION}
|
||||
lib/pkgconfig/quazip1-qt6.pc
|
||||
@@ -1,27 +1,2 @@
|
||||
@pkgpath archivers/quazip,qt5
|
||||
include/QuaZip-Qt5/
|
||||
include/QuaZip-Qt5/quazip/
|
||||
include/QuaZip-Qt5/quazip/JlCompress.h
|
||||
include/QuaZip-Qt5/quazip/ioapi.h
|
||||
include/QuaZip-Qt5/quazip/minizip_crypt.h
|
||||
include/QuaZip-Qt5/quazip/quaadler32.h
|
||||
include/QuaZip-Qt5/quazip/quachecksum32.h
|
||||
include/QuaZip-Qt5/quazip/quacrc32.h
|
||||
include/QuaZip-Qt5/quazip/quagzipfile.h
|
||||
include/QuaZip-Qt5/quazip/quaziodevice.h
|
||||
include/QuaZip-Qt5/quazip/quazip.h
|
||||
include/QuaZip-Qt5/quazip/quazip_global.h
|
||||
include/QuaZip-Qt5/quazip/quazip_qt_compat.h
|
||||
include/QuaZip-Qt5/quazip/quazipdir.h
|
||||
include/QuaZip-Qt5/quazip/quazipfile.h
|
||||
include/QuaZip-Qt5/quazip/quazipfileinfo.h
|
||||
include/QuaZip-Qt5/quazip/quazipnewinfo.h
|
||||
include/QuaZip-Qt5/quazip/unzip.h
|
||||
include/QuaZip-Qt5/quazip/zip.h
|
||||
lib/cmake/QuaZip-Qt5/
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5Config.cmake
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5ConfigVersion.cmake
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5_SharedTargets${MODCMAKE_BUILD_SUFFIX}
|
||||
lib/cmake/QuaZip-Qt5/QuaZip-Qt5_SharedTargets.cmake
|
||||
@lib lib/libquazip1-qt5.so.${LIBquazip1-qt5_VERSION}
|
||||
lib/pkgconfig/quazip1-qt5.pc
|
||||
%%qt6%%
|
||||
!%%qt6%%
|
||||
|
||||
Reference in New Issue
Block a user