From 6a004ebe05f0ac6cb8598679c0b8150a48adda6f Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 10 Aug 2023 09:20:43 +0200 Subject: [PATCH] Update own projects --- c++utilities/default/PKGBUILD | 4 ++-- c++utilities/doc/PKGBUILD | 4 ++-- c++utilities/mingw-w64/PKGBUILD | 6 +++--- c++utilities/static-compat/PKGBUILD | 4 ++-- devel/own-projects/release-on-github.sh | 3 ++- devel/versions.sh | 10 +++++----- qt6-tools/static-compat/PKGBUILD | 4 ++-- qt6-tools/static-compat/PKGBUILD.sh.ep | 4 ++-- qtutilities/default/PKGBUILD | 4 ++-- qtutilities/doc/PKGBUILD | 4 ++-- qtutilities/mingw-w64-qt6/PKGBUILD | 4 ++-- qtutilities/mingw-w64/PKGBUILD | 4 ++-- qtutilities/qt6/PKGBUILD | 4 ++-- qtutilities/static-compat/PKGBUILD | 4 ++-- syncthingtray/default/PKGBUILD | 4 ++-- syncthingtray/mingw-w64-qt6/PKGBUILD | 19 +++++++++++++++++-- syncthingtray/mingw-w64/PKGBUILD | 19 +++++++++++++++++-- syncthingtray/qt6/PKGBUILD | 4 ++-- syncthingtray/static-compat/PKGBUILD | 4 ++-- tageditor/cli/PKGBUILD | 4 ++-- tageditor/default/PKGBUILD | 4 ++-- tageditor/mingw-w64-qt6/PKGBUILD | 25 +++++++++++++++++++++++-- tageditor/mingw-w64/PKGBUILD | 25 +++++++++++++++++++++++-- tageditor/qt6/PKGBUILD | 4 ++-- tageditor/static-compat/PKGBUILD | 4 ++-- tagparser/default/PKGBUILD | 4 ++-- tagparser/doc/PKGBUILD | 4 ++-- tagparser/mingw-w64/PKGBUILD | 4 ++-- tagparser/static-compat/PKGBUILD | 4 ++-- 29 files changed, 134 insertions(+), 61 deletions(-) diff --git a/c++utilities/default/PKGBUILD b/c++utilities/default/PKGBUILD index 8cc39350..5eb4cd38 100644 --- a/c++utilities/default/PKGBUILD +++ b/c++utilities/default/PKGBUILD @@ -5,7 +5,7 @@ _reponame=cpp-utilities pkgname=c++utilities -pkgver=5.24.0 +pkgver=5.24.1 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities' @@ -17,7 +17,7 @@ checkdepends=('cppunit') provides=(libc++utilities.so) url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('959e9884bdab1a2afe67937611b6b168fb60dc0cf0acf236b3a342cc0479e57d') +sha256sums=('86cceb6983789144e2fe0101642836be7bce45a22879248ad8d8938e4adccfc6') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/c++utilities/doc/PKGBUILD b/c++utilities/doc/PKGBUILD index 3798e4ee..d70f1665 100644 --- a/c++utilities/doc/PKGBUILD +++ b/c++utilities/doc/PKGBUILD @@ -6,7 +6,7 @@ _name=c++utilities _reponame=cpp-utilities pkgname=$_name-doc -pkgver=5.24.0 +pkgver=5.24.1 pkgrel=1 arch=('any') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (API documentation)' @@ -14,7 +14,7 @@ license=('GPL') makedepends=('cmake' 'ninja' 'doxygen' 'graphviz') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('959e9884bdab1a2afe67937611b6b168fb60dc0cf0acf236b3a342cc0479e57d') +sha256sums=('86cceb6983789144e2fe0101642836be7bce45a22879248ad8d8938e4adccfc6') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/c++utilities/mingw-w64/PKGBUILD b/c++utilities/mingw-w64/PKGBUILD index 2c0f8848..69710dd4 100644 --- a/c++utilities/mingw-w64/PKGBUILD +++ b/c++utilities/mingw-w64/PKGBUILD @@ -6,18 +6,18 @@ _reponame=cpp-utilities pkgname=mingw-w64-c++utilities _name=${pkgname#mingw-w64-} -pkgver=5.24.0 +pkgver=5.24.1 pkgrel=1 arch=('any') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (mingw-w64)' license=('GPL') -depends=('mingw-w64-crt' 'mingw-w64-libiconv') +depends=('mingw-w64-crt' 'mingw-w64-libiconv' 'mingw-w64-boost') optdepends=("$_name-doc: API documentation") checkdepends=('mingw-w64-cppunit' 'mingw-w64-wine') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'ninja') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('959e9884bdab1a2afe67937611b6b168fb60dc0cf0acf236b3a342cc0479e57d') +sha256sums=('86cceb6983789144e2fe0101642836be7bce45a22879248ad8d8938e4adccfc6') options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') diff --git a/c++utilities/static-compat/PKGBUILD b/c++utilities/static-compat/PKGBUILD index d4fa9ae8..4a98e7ef 100644 --- a/c++utilities/static-compat/PKGBUILD +++ b/c++utilities/static-compat/PKGBUILD @@ -6,7 +6,7 @@ _reponame=cpp-utilities pkgname=static-compat-c++utilities _name=${pkgname#static-compat-} -pkgver=5.24.0 +pkgver=5.24.1 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities' @@ -17,7 +17,7 @@ makedepends=('ninja' 'static-compat-cmake') checkdepends=('static-compat-cppunit') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('959e9884bdab1a2afe67937611b6b168fb60dc0cf0acf236b3a342cc0479e57d') +sha256sums=('86cceb6983789144e2fe0101642836be7bce45a22879248ad8d8938e4adccfc6') prepare() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/devel/own-projects/release-on-github.sh b/devel/own-projects/release-on-github.sh index f513aecf..895d62a0 100755 --- a/devel/own-projects/release-on-github.sh +++ b/devel/own-projects/release-on-github.sh @@ -21,7 +21,8 @@ do echo "NEXT: $project -> $version" # check whether CMakeLists.txt has been updated - cmake_lists=$(wget -qO- "https://raw.githubusercontent.com/$gh_user/$gh_name/master/CMakeLists.txt" || echo -n '') + echo "checking https://raw.githubusercontent.com/$gh_user/$gh_name/master/CMakeLists.txt" + cmake_lists=$(wget --no-cache -qO- "https://raw.githubusercontent.com/$gh_user/$gh_name/master/CMakeLists.txt" || echo -n '') major_version_regex='set\(META_VERSION_MAJOR ([^\)]*)\)' minor_version_regex='set\(META_VERSION_MINOR ([^\)]*)\)' patch_version_regex='set\(META_VERSION_PATCH ([^\)]*)\)' diff --git a/devel/versions.sh b/devel/versions.sh index 12b7feb7..cdb69318 100755 --- a/devel/versions.sh +++ b/devel/versions.sh @@ -1,11 +1,11 @@ #!/bin/bash declare -A versions=( - [syncthingtray]=1.4.5 - [c++utilities]=5.24.0 - [qtutilities]=6.13.0 + [syncthingtray]=1.4.6 + [c++utilities]=5.24.1 + [qtutilities]=6.13.1 [qtforkawesome]=0.1.0 - [tagparser]=12.0.0 - [tageditor]=3.8.1 + [tagparser]=12.1.0 + [tageditor]=3.9.0 [passwordfile]=5.0.8 [passwordmanager]=4.1.12 [videodownloader]=1.3.6 diff --git a/qt6-tools/static-compat/PKGBUILD b/qt6-tools/static-compat/PKGBUILD index 685857cc..c634fc2a 100644 --- a/qt6-tools/static-compat/PKGBUILD +++ b/qt6-tools/static-compat/PKGBUILD @@ -6,7 +6,7 @@ pkgname=static-compat-qt6-tools _qtver=6.5.2 pkgver=${_qtver/-/} -pkgrel=1 +pkgrel=2 arch=(x86_64) url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) @@ -70,7 +70,7 @@ build() { -DLLVM_DIR="$PWD/prefix/lib/cmake/llvm" \ -DClang_DIR="$PWD/prefix/lib/cmake/clang" # ensure system libc/libdl/libm is present on the linker-line before other libs - sed -i -E 's|(LINK_LIBRARIES = )(.*libLLVM-15.so.*)|\1/usr/lib/libpthread.so.0 /usr/lib/libm.so.6 /usr/lib/libmvec.so.1 /usr/lib/libdl.so.2 /usr/lib/libc.so.6 \2|g' build/build.ninja + sed -i -E 's|(LINK_LIBRARIES = )(.*libLLVM-16.so.*)|\1/usr/lib/libpthread.so.0 /usr/lib/libm.so.6 /usr/lib/libmvec.so.1 /usr/lib/libdl.so.2 /usr/lib/libc.so.6 \2|g' build/build.ninja VERBOSE=1 cmake --build build } diff --git a/qt6-tools/static-compat/PKGBUILD.sh.ep b/qt6-tools/static-compat/PKGBUILD.sh.ep index dfe35cf8..7a5e87a0 100644 --- a/qt6-tools/static-compat/PKGBUILD.sh.ep +++ b/qt6-tools/static-compat/PKGBUILD.sh.ep @@ -2,7 +2,7 @@ \ _qtver=6.5.2 pkgver=${_qtver/-/} -pkgrel=1 +pkgrel=2 arch=(x86_64) url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) @@ -39,5 +39,5 @@ optdepends=('clang: for qdoc and lupdate') -DLLVM_DIR="$PWD/prefix/lib/cmake/llvm" \\ -DClang_DIR="$PWD/prefix/lib/cmake/clang" # ensure system libc/libdl/libm is present on the linker-line before other libs - sed -i -E 's|(LINK_LIBRARIES = )(.*libLLVM-15.so.*)|\1/usr/lib/libpthread.so.0 /usr/lib/libm.so.6 /usr/lib/libmvec.so.1 /usr/lib/libdl.so.2 /usr/lib/libc.so.6 \2|g' build/build.ninja\ + sed -i -E 's|(LINK_LIBRARIES = )(.*libLLVM-16.so.*)|\1/usr/lib/libpthread.so.0 /usr/lib/libm.so.6 /usr/lib/libmvec.so.1 /usr/lib/libdl.so.2 /usr/lib/libc.so.6 \2|g' build/build.ninja\ % end diff --git a/qtutilities/default/PKGBUILD b/qtutilities/default/PKGBUILD index 9e97395b..828ef77c 100644 --- a/qtutilities/default/PKGBUILD +++ b/qtutilities/default/PKGBUILD @@ -5,7 +5,7 @@ _reponame=qtutilities pkgname=qtutilities -pkgver=6.13.0 +pkgver=6.13.1 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models' @@ -16,7 +16,7 @@ optdepends=("$pkgname-doc: API documentation") provides=(libqtutilities.so) url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('0ecd7904df394a92a42b31384368aa376dacaada0830b3fde39fd95a0b84d49e') +sha256sums=('0549044a2762f9054b161df17265f22e49f3cb09f16ac7c73e37363bba3889ab') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/qtutilities/doc/PKGBUILD b/qtutilities/doc/PKGBUILD index 66874e89..07105257 100644 --- a/qtutilities/doc/PKGBUILD +++ b/qtutilities/doc/PKGBUILD @@ -6,7 +6,7 @@ _name=qtutilities _reponame=$_name pkgname=$_name-doc -pkgver=6.13.0 +pkgver=6.13.1 pkgrel=1 arch=('any') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (API documentation)' @@ -14,7 +14,7 @@ license=('GPL') makedepends=('cmake' 'ninja' 'doxygen' 'graphviz' 'c++utilities' 'qt5-tools' 'mesa') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('0ecd7904df394a92a42b31384368aa376dacaada0830b3fde39fd95a0b84d49e') +sha256sums=('0549044a2762f9054b161df17265f22e49f3cb09f16ac7c73e37363bba3889ab') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/qtutilities/mingw-w64-qt6/PKGBUILD b/qtutilities/mingw-w64-qt6/PKGBUILD index ad5b02b1..bc970744 100644 --- a/qtutilities/mingw-w64-qt6/PKGBUILD +++ b/qtutilities/mingw-w64-qt6/PKGBUILD @@ -7,7 +7,7 @@ _reponame=qtutilities pkgname=mingw-w64-qtutilities-qt6 _name=${pkgname#mingw-w64-} _name=${_name%-qt6} -pkgver=6.13.0 +pkgver=6.13.1 pkgrel=1 arch=('any') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)' @@ -18,7 +18,7 @@ checkdepends=('mingw-w64-wine') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt6-tools' 'qt6-base' 'qt6-tools' 'qt6-declarative' 'clang' 'ninja') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('0ecd7904df394a92a42b31384368aa376dacaada0830b3fde39fd95a0b84d49e') +sha256sums=('0549044a2762f9054b161df17265f22e49f3cb09f16ac7c73e37363bba3889ab') options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') diff --git a/qtutilities/mingw-w64/PKGBUILD b/qtutilities/mingw-w64/PKGBUILD index 1a86767f..c81cd418 100644 --- a/qtutilities/mingw-w64/PKGBUILD +++ b/qtutilities/mingw-w64/PKGBUILD @@ -6,7 +6,7 @@ _reponame=qtutilities pkgname=mingw-w64-qtutilities _name=${pkgname#mingw-w64-} -pkgver=6.13.0 +pkgver=6.13.1 pkgrel=1 arch=('any') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)' @@ -17,7 +17,7 @@ checkdepends=('mingw-w64-wine') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools' 'ninja') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('0ecd7904df394a92a42b31384368aa376dacaada0830b3fde39fd95a0b84d49e') +sha256sums=('0549044a2762f9054b161df17265f22e49f3cb09f16ac7c73e37363bba3889ab') options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') diff --git a/qtutilities/qt6/PKGBUILD b/qtutilities/qt6/PKGBUILD index 48da885a..508a3a0f 100644 --- a/qtutilities/qt6/PKGBUILD +++ b/qtutilities/qt6/PKGBUILD @@ -7,7 +7,7 @@ _reponame=qtutilities _cfg=qt6 pkgname=qtutilities-$_cfg _name=${pkgname%-$_cfg} -pkgver=6.13.0 +pkgver=6.13.1 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (using Qt 6)' @@ -18,7 +18,7 @@ optdepends=("$_name-doc: API documentation") provides=(libqtutilities-qt6.so) url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('0ecd7904df394a92a42b31384368aa376dacaada0830b3fde39fd95a0b84d49e') +sha256sums=('0549044a2762f9054b161df17265f22e49f3cb09f16ac7c73e37363bba3889ab') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/qtutilities/static-compat/PKGBUILD b/qtutilities/static-compat/PKGBUILD index 6ed29d53..34c28638 100644 --- a/qtutilities/static-compat/PKGBUILD +++ b/qtutilities/static-compat/PKGBUILD @@ -6,7 +6,7 @@ _reponame=qtutilities pkgname=static-compat-qtutilities _name=${pkgname#static-compat-} -pkgver=6.13.0 +pkgver=6.13.1 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models' @@ -16,7 +16,7 @@ makedepends=('static-compat-cmake' 'ninja' 'static-compat-qt6-tools' 'clang') optdepends=("$_name-doc: API documentation") url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('0ecd7904df394a92a42b31384368aa376dacaada0830b3fde39fd95a0b84d49e') +sha256sums=('0549044a2762f9054b161df17265f22e49f3cb09f16ac7c73e37363bba3889ab') build() { check_buildoption ccache y && ccache_args=' diff --git a/syncthingtray/default/PKGBUILD b/syncthingtray/default/PKGBUILD index 91942f03..9309e292 100644 --- a/syncthingtray/default/PKGBUILD +++ b/syncthingtray/default/PKGBUILD @@ -24,7 +24,7 @@ _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-1} _reponame=syncthingtray pkgname=syncthingtray -pkgver=1.4.5 +pkgver=1.4.6 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Tray application for Syncthing' @@ -44,7 +44,7 @@ checkdepends=('cppunit' 'syncthing' 'iproute2' 'appstream') [[ $_enable_plasmoid ]] && makedepends+=('plasma-framework' 'extra-cmake-modules') url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('9d0cabec3d2ac6de56754baeb56585cb90dfbe0db4acbcbb4c9269a334a370ae') +sha256sums=('3805fe0d7ec8d5df9670ba480e396b982cc1995361d446c691ad7eb1aacb322d') ephemeral_port() { comm -23 <(seq 49152 65535) <(ss -tan | awk '{print $4}' | cut -d':' -f2 | grep "[0-9]\{1,5\}" | sort | uniq) | shuf | head -n 1 diff --git a/syncthingtray/mingw-w64-qt6/PKGBUILD b/syncthingtray/mingw-w64-qt6/PKGBUILD index a25f91e8..ff813e31 100644 --- a/syncthingtray/mingw-w64-qt6/PKGBUILD +++ b/syncthingtray/mingw-w64-qt6/PKGBUILD @@ -16,7 +16,7 @@ _reponame=syncthingtray pkgname=mingw-w64-syncthingtray-qt6 _name=${pkgname#mingw-w64-} _name=${_name%-qt6} -pkgver=1.4.5 +pkgver=1.4.6 pkgrel=1 arch=('any') pkgdesc='Tray application for Syncthing (mingw-w64)' @@ -32,7 +32,7 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt6-tools' 'qt6-tools' url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") [[ $_enable_libsyncthing == ON ]] && source+=("syncthing::git+https://github.com/Martchus/syncthing.git#branch=libsyncthing-latest") -sha256sums=('9d0cabec3d2ac6de56754baeb56585cb90dfbe0db4acbcbb4c9269a334a370ae' +sha256sums=('3805fe0d7ec8d5df9670ba480e396b982cc1995361d446c691ad7eb1aacb322d' 'SKIP') options=(!buildflags staticlibs !strip !emptydirs) @@ -122,6 +122,21 @@ build() { done } +check() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + + for _arch in 'x86_64-w64-mingw32'; do + for _cfg in 'static'; do + msg2 "${_arch}-${_cfg}" + pushd "build-${_arch}-${_cfg}" + export WINEPATH="/usr/${_arch}/bin" WINEDEBUG=-all + export QT_QPA_PLATFORM=offscreen + [[ $_cfg == shared ]] && ninja tests + popd + done + done +} + package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/syncthingtray/mingw-w64/PKGBUILD b/syncthingtray/mingw-w64/PKGBUILD index 2a30f389..5906dfb7 100644 --- a/syncthingtray/mingw-w64/PKGBUILD +++ b/syncthingtray/mingw-w64/PKGBUILD @@ -15,7 +15,7 @@ _enable_libsyncthing=${MINGW_W64_SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-ON} _reponame=syncthingtray pkgname=mingw-w64-syncthingtray _name=${pkgname#mingw-w64-} -pkgver=1.4.5 +pkgver=1.4.6 pkgrel=1 arch=('any') pkgdesc='Tray application for Syncthing (mingw-w64)' @@ -31,7 +31,7 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools' 'ffmpeg' 'n url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") [[ $_enable_libsyncthing == ON ]] && source+=("syncthing::git+https://github.com/Martchus/syncthing.git#branch=libsyncthing-latest") -sha256sums=('9d0cabec3d2ac6de56754baeb56585cb90dfbe0db4acbcbb4c9269a334a370ae' +sha256sums=('3805fe0d7ec8d5df9670ba480e396b982cc1995361d446c691ad7eb1aacb322d' 'SKIP') options=(!buildflags staticlibs !strip !emptydirs) @@ -116,6 +116,21 @@ build() { done } +check() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + + for _arch in 'x86_64-w64-mingw32'; do + for _cfg in 'static'; do + msg2 "${_arch}-${_cfg}" + pushd "build-${_arch}-${_cfg}" + export WINEPATH="/usr/${_arch}/bin" WINEDEBUG=-all + export QT_QPA_PLATFORM=offscreen + [[ $_cfg == shared ]] && ninja tests + popd + done + done +} + package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/syncthingtray/qt6/PKGBUILD b/syncthingtray/qt6/PKGBUILD index 5c5ad01a..c73bef8e 100644 --- a/syncthingtray/qt6/PKGBUILD +++ b/syncthingtray/qt6/PKGBUILD @@ -26,7 +26,7 @@ _reponame=syncthingtray _cfg=qt6 pkgname=syncthingtray-$_cfg _name=${pkgname%-$_cfg} -pkgver=1.4.5 +pkgver=1.4.6 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Tray application for Syncthing (using Qt 6)' @@ -46,7 +46,7 @@ checkdepends=('cppunit' 'syncthing' 'iproute2' 'appstream') [[ $_enable_plasmoid ]] && makedepends+=('plasma-framework' 'extra-cmake-modules') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('9d0cabec3d2ac6de56754baeb56585cb90dfbe0db4acbcbb4c9269a334a370ae') +sha256sums=('3805fe0d7ec8d5df9670ba480e396b982cc1995361d446c691ad7eb1aacb322d') ephemeral_port() { comm -23 <(seq 49152 65535) <(ss -tan | awk '{print $4}' | cut -d':' -f2 | grep "[0-9]\{1,5\}" | sort | uniq) | shuf | head -n 1 diff --git a/syncthingtray/static-compat/PKGBUILD b/syncthingtray/static-compat/PKGBUILD index a194ee14..4c1e68e3 100644 --- a/syncthingtray/static-compat/PKGBUILD +++ b/syncthingtray/static-compat/PKGBUILD @@ -28,7 +28,7 @@ _enable_libsyncthing=${SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-ON} _reponame=syncthingtray pkgname=static-compat-syncthingtray _name=${pkgname#static-compat-} -pkgver=1.4.5 +pkgver=1.4.6 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='Tray application for Syncthing' @@ -49,7 +49,7 @@ checkdepends=('static-compat-cppunit' 'syncthing' 'iproute2') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") [[ $_enable_libsyncthing == ON ]] && source+=("syncthing::git+https://github.com/Martchus/syncthing.git#branch=libsyncthing-latest") -sha256sums=('9d0cabec3d2ac6de56754baeb56585cb90dfbe0db4acbcbb4c9269a334a370ae' +sha256sums=('3805fe0d7ec8d5df9670ba480e396b982cc1995361d446c691ad7eb1aacb322d' 'SKIP') [[ $_enable_libsyncthing == ON ]] && _disable_libsyncthing=OFF || _disable_libsyncthing=ON diff --git a/tageditor/cli/PKGBUILD b/tageditor/cli/PKGBUILD index 1c445e5d..d39d85d4 100644 --- a/tageditor/cli/PKGBUILD +++ b/tageditor/cli/PKGBUILD @@ -11,7 +11,7 @@ _json_export=${TAGEDITOR_JSON_EXPORT:-OFF} _reponame=tageditor pkgname=tageditor-cli -pkgver=3.8.1 +pkgver=3.9.0 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='A tag editor with command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska (GUI disabled)' @@ -24,7 +24,7 @@ provides=("${pkgname%-cli}") checkdepends=('cppunit') url="https://github.com/Martchus/${_reponame}" source=("${_reponame}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('92965ed67676e46196d3178c99deb043d0af36c78f3756d72837de9fdfa10937') +sha256sums=('ebafac24ab7c3833a018b5848b32d9fa2cfa01cafeff1b1ec1a6e30eb7415b1b') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/tageditor/default/PKGBUILD b/tageditor/default/PKGBUILD index 82c41fa1..b0ac1a57 100644 --- a/tageditor/default/PKGBUILD +++ b/tageditor/default/PKGBUILD @@ -14,7 +14,7 @@ _json_export=${TAGEDITOR_JSON_EXPORT:-ON} _reponame=tageditor pkgname=tageditor -pkgver=3.8.1 +pkgver=3.9.0 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' @@ -30,7 +30,7 @@ makedepends=('cmake' 'ninja' 'qt5-tools' 'mesa') checkdepends=('cppunit' 'jq' 'appstream') url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('92965ed67676e46196d3178c99deb043d0af36c78f3756d72837de9fdfa10937') +sha256sums=('ebafac24ab7c3833a018b5848b32d9fa2cfa01cafeff1b1ec1a6e30eb7415b1b') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/tageditor/mingw-w64-qt6/PKGBUILD b/tageditor/mingw-w64-qt6/PKGBUILD index 5502d89b..b84a8c20 100644 --- a/tageditor/mingw-w64-qt6/PKGBUILD +++ b/tageditor/mingw-w64-qt6/PKGBUILD @@ -16,7 +16,7 @@ _reponame=tageditor pkgname=mingw-w64-tageditor-qt6 _name=${pkgname#mingw-w64-} _name=${_name%-qt6} -pkgver=3.8.1 +pkgver=3.9.0 pkgrel=1 arch=('any') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' @@ -31,7 +31,7 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt6-tools' 'qt6-tools' [[ $_json_export == ON ]] && makedepends+=('mingw-w64-reflective-rapidjson') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('92965ed67676e46196d3178c99deb043d0af36c78f3756d72837de9fdfa10937') +sha256sums=('ebafac24ab7c3833a018b5848b32d9fa2cfa01cafeff1b1ec1a6e30eb7415b1b') options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') @@ -103,6 +103,27 @@ build() { done } +check() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + + if [[ -z $TEST_FILE_PATH ]]; then + msg2 'Skipping execution of testsuite because the environment variable TEST_FILE_PATH is not set.' + return + fi + + # note: Only testing the most important configuration here because executing the tests takes quite a while. + for _arch in 'x86_64-w64-mingw32'; do + for _cfg in 'static'; do + msg2 "${_arch}-${_cfg}" + pushd "build-${_arch}-${_cfg}" + export WINEPATH="/usr/${_arch}/bin" WINEDEBUG=-all + export QT_QPA_PLATFORM=offscreen + [[ $_cfg == shared ]] && ninja check + popd + done + done +} + package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/tageditor/mingw-w64/PKGBUILD b/tageditor/mingw-w64/PKGBUILD index 9ec16452..b8d1507c 100644 --- a/tageditor/mingw-w64/PKGBUILD +++ b/tageditor/mingw-w64/PKGBUILD @@ -15,7 +15,7 @@ _json_export=${MINGW_64_TAGEDITOR_JSON_EXPORT:-ON} _reponame=tageditor pkgname=mingw-w64-tageditor _name=${pkgname#mingw-w64-} -pkgver=3.8.1 +pkgver=3.9.0 pkgrel=1 arch=('any') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' @@ -30,7 +30,7 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools' 'ffmpeg' 'n [[ $_json_export == ON ]] && makedepends+=('mingw-w64-reflective-rapidjson') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('92965ed67676e46196d3178c99deb043d0af36c78f3756d72837de9fdfa10937') +sha256sums=('ebafac24ab7c3833a018b5848b32d9fa2cfa01cafeff1b1ec1a6e30eb7415b1b') options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') @@ -97,6 +97,27 @@ build() { done } +check() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + + if [[ -z $TEST_FILE_PATH ]]; then + msg2 'Skipping execution of testsuite because the environment variable TEST_FILE_PATH is not set.' + return + fi + + # note: Only testing the most important configuration here because executing the tests takes quite a while. + for _arch in 'x86_64-w64-mingw32'; do + for _cfg in 'static'; do + msg2 "${_arch}-${_cfg}" + pushd "build-${_arch}-${_cfg}" + export WINEPATH="/usr/${_arch}/bin" WINEDEBUG=-all + export QT_QPA_PLATFORM=offscreen + [[ $_cfg == shared ]] && ninja check + popd + done + done +} + package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/tageditor/qt6/PKGBUILD b/tageditor/qt6/PKGBUILD index 3125adda..a3f857ae 100644 --- a/tageditor/qt6/PKGBUILD +++ b/tageditor/qt6/PKGBUILD @@ -16,7 +16,7 @@ _reponame=tageditor _cfg=qt6 pkgname=tageditor-$_cfg _name=${pkgname%-$_cfg} -pkgver=3.8.1 +pkgver=3.9.0 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska (using Qt 6)' @@ -32,7 +32,7 @@ makedepends=('cmake' 'ninja' 'qt6-tools' 'qt6-declarative' 'clang' 'mesa') checkdepends=('cppunit' 'jq' 'appstream') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('92965ed67676e46196d3178c99deb043d0af36c78f3756d72837de9fdfa10937') +sha256sums=('ebafac24ab7c3833a018b5848b32d9fa2cfa01cafeff1b1ec1a6e30eb7415b1b') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/tageditor/static-compat/PKGBUILD b/tageditor/static-compat/PKGBUILD index 92b0df7e..6ab58f1d 100644 --- a/tageditor/static-compat/PKGBUILD +++ b/tageditor/static-compat/PKGBUILD @@ -18,7 +18,7 @@ _json_export=${TAGEDITOR_JSON_EXPORT:-OFF} _reponame=tageditor pkgname=static-compat-tageditor _name=${pkgname#static-compat-} -pkgver=3.8.1 +pkgver=3.9.0 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' @@ -34,7 +34,7 @@ makedepends=('static-compat-cmake' 'static-compat-tagparser' 'ninja') checkdepends=('static-compat-cppunit' 'jq') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('92965ed67676e46196d3178c99deb043d0af36c78f3756d72837de9fdfa10937') +sha256sums=('ebafac24ab7c3833a018b5848b32d9fa2cfa01cafeff1b1ec1a6e30eb7415b1b') build() { check_buildoption ccache y && ccache_args=' diff --git a/tagparser/default/PKGBUILD b/tagparser/default/PKGBUILD index 3218cb2d..8f35ff2c 100644 --- a/tagparser/default/PKGBUILD +++ b/tagparser/default/PKGBUILD @@ -5,7 +5,7 @@ _reponame=tagparser pkgname=tagparser -pkgver=12.0.0 +pkgver=12.1.0 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags' @@ -17,7 +17,7 @@ optdepends=("$pkgname-doc: API documentation") provides=(libtagparser.so) url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('94ded89093beb67d95816c4ba700cb50f64b4f4fdc7748ccfbb61946246b635e') +sha256sums=('5632786ab40509fc15039210b6092fcd496231d3db3c5e8995a2689f39954540') prepare() { [[ -d tagparser ]] || ln -s "${PROJECT_DIR_NAME:-$_reponame-$pkgver}" tagparser diff --git a/tagparser/doc/PKGBUILD b/tagparser/doc/PKGBUILD index df63eaef..37177e29 100644 --- a/tagparser/doc/PKGBUILD +++ b/tagparser/doc/PKGBUILD @@ -6,7 +6,7 @@ _name=tagparser _reponame=tagparser pkgname=$_name-doc -pkgver=12.0.0 +pkgver=12.1.0 pkgrel=1 arch=('any') pkgdesc='C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags (API documentation)' @@ -14,7 +14,7 @@ license=('GPL') makedepends=('cmake' 'ninja' 'iso-codes' 'doxygen' 'graphviz' 'c++utilities') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('94ded89093beb67d95816c4ba700cb50f64b4f4fdc7748ccfbb61946246b635e') +sha256sums=('5632786ab40509fc15039210b6092fcd496231d3db3c5e8995a2689f39954540') prepare() { [[ -d tagparser ]] || ln -s "${PROJECT_DIR_NAME:-$_reponame-$pkgver}" tagparser diff --git a/tagparser/mingw-w64/PKGBUILD b/tagparser/mingw-w64/PKGBUILD index 0f4c15ca..4495d9dd 100644 --- a/tagparser/mingw-w64/PKGBUILD +++ b/tagparser/mingw-w64/PKGBUILD @@ -6,7 +6,7 @@ _reponame=tagparser pkgname=mingw-w64-tagparser _name=${pkgname#mingw-w64-} -pkgver=12.0.0 +pkgver=12.1.0 pkgrel=1 arch=('any') pkgdesc='C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags (mingw-w64)' @@ -17,7 +17,7 @@ checkdepends=('mingw-w64-cppunit' 'mingw-w64-wine' 'mingw-w64-openssl') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'ninja' 'iso-codes') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('94ded89093beb67d95816c4ba700cb50f64b4f4fdc7748ccfbb61946246b635e') +sha256sums=('5632786ab40509fc15039210b6092fcd496231d3db3c5e8995a2689f39954540') options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') diff --git a/tagparser/static-compat/PKGBUILD b/tagparser/static-compat/PKGBUILD index f1d45fe4..a4187056 100644 --- a/tagparser/static-compat/PKGBUILD +++ b/tagparser/static-compat/PKGBUILD @@ -6,7 +6,7 @@ _reponame=tagparser pkgname=static-compat-tagparser _name=${pkgname#static-compat-} -pkgver=12.0.0 +pkgver=12.1.0 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags' @@ -17,7 +17,7 @@ checkdepends=('static-compat-cppunit' 'static-compat-openssl') optdepends=("$_name-doc: API documentation") url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('94ded89093beb67d95816c4ba700cb50f64b4f4fdc7748ccfbb61946246b635e') +sha256sums=('5632786ab40509fc15039210b6092fcd496231d3db3c5e8995a2689f39954540') prepare() { [[ -d tagparser ]] || ln -s "${PROJECT_DIR_NAME:-$_reponame-$pkgver}" tagparser