Update syncthingtray

This commit is contained in:
Martchus 2024-04-09 15:22:06 +02:00
parent 4714226962
commit ac51c38a95
6 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
declare -A versions=(
[syncthingtray]=1.5.1
[syncthingtray]=1.5.2
[c++utilities]=5.24.7
[qtutilities]=6.14.0
[qtforkawesome]=0.2.0

View File

@ -24,7 +24,7 @@ _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-0}
_reponame=syncthingtray
pkgname=syncthingtray
pkgver=1.5.1
pkgver=1.5.2
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing'
@ -44,7 +44,7 @@ checkdepends=('cppunit' 'syncthing' 'iproute2')
[[ $_enable_plasmoid ]] && makedepends+=('plasma-framework5' '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=('38350e7b69de42c0a736762f70cb90399637e3b8619eef50149115600273dbdd')
sha256sums=('0e3f13bd1a966fef1042707b323ff4decde6cf6f091ee61e7f1a643925f9579e')
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

View File

@ -16,7 +16,7 @@ _reponame=syncthingtray
pkgname=mingw-w64-syncthingtray-qt6
_name=${pkgname#mingw-w64-}
_name=${_name%-qt6}
pkgver=1.5.1
pkgver=1.5.2
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=('38350e7b69de42c0a736762f70cb90399637e3b8619eef50149115600273dbdd'
sha256sums=('0e3f13bd1a966fef1042707b323ff4decde6cf6f091ee61e7f1a643925f9579e'
'SKIP')
options=(!buildflags staticlibs !strip !emptydirs)

View File

@ -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.5.1
pkgver=1.5.2
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=('38350e7b69de42c0a736762f70cb90399637e3b8619eef50149115600273dbdd'
sha256sums=('0e3f13bd1a966fef1042707b323ff4decde6cf6f091ee61e7f1a643925f9579e'
'SKIP')
options=(!buildflags staticlibs !strip !emptydirs)

View File

@ -26,7 +26,7 @@ _reponame=syncthingtray
_cfg=qt6
pkgname=syncthingtray-$_cfg
_name=${pkgname%-$_cfg}
pkgver=1.5.1
pkgver=1.5.2
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')
[[ $_enable_plasmoid ]] && makedepends+=('libplasma' '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=('38350e7b69de42c0a736762f70cb90399637e3b8619eef50149115600273dbdd')
sha256sums=('0e3f13bd1a966fef1042707b323ff4decde6cf6f091ee61e7f1a643925f9579e')
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

View File

@ -28,7 +28,7 @@ _enable_libsyncthing=${SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-ON}
_reponame=syncthingtray
pkgname=static-compat-syncthingtray
_name=${pkgname#static-compat-}
pkgver=1.5.1
pkgver=1.5.2
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=('38350e7b69de42c0a736762f70cb90399637e3b8619eef50149115600273dbdd'
sha256sums=('0e3f13bd1a966fef1042707b323ff4decde6cf6f091ee61e7f1a643925f9579e'
'SKIP')
[[ $_enable_libsyncthing == ON ]] && _disable_libsyncthing=OFF || _disable_libsyncthing=ON