From 9948b9d2c8b9cd37b52b4bbe4fae47e36c9d7461 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 7 Nov 2021 13:30:31 +0100 Subject: [PATCH] quazip6: initial commit, version 1.1 --- quazip6/.footprint | 33 +++++++++++++++++++++++++++++++++ quazip6/.signature | 5 +++++ quazip6/Pkgfile | 22 ++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 quazip6/.footprint create mode 100644 quazip6/.signature create mode 100644 quazip6/Pkgfile diff --git a/quazip6/.footprint b/quazip6/.footprint new file mode 100644 index 000000000..766bd321f --- /dev/null +++ b/quazip6/.footprint @@ -0,0 +1,33 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/QuaZip-Qt6-1.1/ +drwxr-xr-x root/root usr/include/QuaZip-Qt6-1.1/quazip/ +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/JlCompress.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/ioapi.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/minizip_crypt.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quaadler32.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quachecksum32.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quacrc32.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quagzipfile.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quaziodevice.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quazip.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quazip_global.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quazip_qt_compat.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quazipdir.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quazipfile.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quazipfileinfo.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/quazipnewinfo.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/unzip.h +-rw-r--r-- root/root usr/include/QuaZip-Qt6-1.1/quazip/zip.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/QuaZip-Qt6-1.1/ +-rw-r--r-- root/root usr/lib/cmake/QuaZip-Qt6-1.1/QuaZip-Qt6Config.cmake +-rw-r--r-- root/root usr/lib/cmake/QuaZip-Qt6-1.1/QuaZip-Qt6ConfigVersion.cmake +-rw-r--r-- root/root usr/lib/cmake/QuaZip-Qt6-1.1/QuaZip-Qt6_SharedTargets-release.cmake +-rw-r--r-- root/root usr/lib/cmake/QuaZip-Qt6-1.1/QuaZip-Qt6_SharedTargets.cmake +lrwxrwxrwx root/root usr/lib/libquazip1-qt6.so -> libquazip1-qt6.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libquazip1-qt6.so.1.0.0 -> libquazip1-qt6.so.1.1 +-rwxr-xr-x root/root usr/lib/libquazip1-qt6.so.1.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/quazip1-qt6.pc diff --git a/quazip6/.signature b/quazip6/.signature new file mode 100644 index 000000000..b79ce6dad --- /dev/null +++ b/quazip6/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF37VuOdlQ8QUS7ETDYY3WXZIPSLTgP8XUwNDSnkndAjYBAnBAKsCfBRYgRL2qaCC41zWANv5yhr0tiv7wJBhhtAo= +SHA256 (Pkgfile) = 1477058d532af8ddb01d286c795a8d1bbc9da429311f0d0aff976653f077255c +SHA256 (.footprint) = b15ee95f069298348e1455bb3905358f69e3b0790cfe6cf9c2f9abbaf63e2845 +SHA256 (quazip-1.1.tar.gz) = 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 diff --git a/quazip6/Pkgfile b/quazip6/Pkgfile new file mode 100644 index 000000000..172484ad6 --- /dev/null +++ b/quazip6/Pkgfile @@ -0,0 +1,22 @@ +# Description: C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package +# URL: https://stachenov.github.io/quazip/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: qt6-5compat + +name=quazip6 +version=1.1 +release=1 +source=(https://github.com/stachenov/quazip/archive/v$version/quazip-$version.tar.gz) + +build() { + cmake -S quazip-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D QUAZIP_QT_MAJOR_VERSION=6 \ + -Wno-dev + cmake --build build + DESTDIR=$PKG cmake --install build +}