Update own projects

This commit is contained in:
Martchus 2022-12-06 11:58:33 +01:00
parent 80b5a50bbc
commit 25ba758d58
12 changed files with 29 additions and 87 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash
declare -A versions=(
[syncthingtray]=1.3.0
[syncthingtray]=1.3.1
[c++utilities]=5.20.0
[qtutilities]=6.10.0
[qtforkawesome]=0.1.0
[tagparser]=11.5.0
[tageditor]=3.7.5
[tageditor]=3.7.6
[passwordfile]=5.0.7
[passwordmanager]=4.1.10
[videodownloader]=1.3.6

View File

@ -24,8 +24,8 @@ _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-1}
_reponame=syncthingtray
pkgname=syncthingtray
pkgver=1.3.0
pkgrel=5
pkgver=1.3.1
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing'
license=('GPL')
@ -43,42 +43,13 @@ checkdepends=('cppunit' 'syncthing' 'iproute2' 'appstream')
[[ $_enable_kio_plugin ]] && makedepends+=('kio')
[[ $_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"
'https://github.com/Martchus/syncthingtray/commit/f121f5f740d799c2b29e9f5ce8e15ddae7857a28.patch'
'https://github.com/Martchus/syncthingtray/commit/ad81c29a1d8024e79da51efc2b3dc19583be1e21.patch'
'https://github.com/Martchus/syncthingtray/commit/0ca1fd163824e3100ff3ab258ffeb65a6ceadb3a.patch'
'https://github.com/Martchus/syncthingtray/commit/0ab21657c4feb0500299af79314664b05edfc365.patch'
'https://github.com/Martchus/syncthingtray/commit/521567f2350baa1e75a60ad48f5ed7923777b024.patch'
'https://github.com/Martchus/syncthingtray/commit/10ddc79382a385ac361a968121548e616d54004d.patch'
'https://github.com/Martchus/syncthingtray/commit/8f4961d1b93f1eb868d8782ba54b97d36721cb56.patch'
'https://github.com/Martchus/syncthingtray/commit/e5ffffcaec07c60b49ddc9bd1e8ffc19738f1ea2.patch')
sha256sums=('aece0be140187a3c0c989a50007c3d5541d9e1abd51ec45b8c1e45ab783a9e52'
'2df0516de56fa279af4fa1f85d524a1aa9e9df4ea3ecd8bacbc146aabf5920d9'
'd6b4af56e0a80d3c813637bc0e9b74dae51f2fbd3919e992a342f9a5abd10acc'
'763fd7e2804c5bcf2f78ed3fb3669528163f2ba0b0b4d14eda07174932761cc2'
'8dfddabf8f231457327d4eb91a6d204af64f4c621038cdb488b050c07581a430'
'db68ebd99729865788da17d2b7d61e58602b0df494dcd83de58b5ad088dd225c'
'959d85df17243215fb144d4556e10dc2a3dc0a8e380ac5e2bc9e17de29f96027'
'89c4ddda556926ea4dbb66d2c9373930804801fa276f8cbcb61daef2fe2e801e'
'43dcb6baaa5ea16efecebc4bceb11677d04c82945a4ec0642483fe85f8909ba4')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('c5b4c9b5ee2234eb8ba1e383064abba317de5ba2589ba92c286cf9535bbec295')
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
}
prepare() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
patch -p1 -i ../f121f5f740d799c2b29e9f5ce8e15ddae7857a28.patch
patch -p1 -i ../ad81c29a1d8024e79da51efc2b3dc19583be1e21.patch
patch -p1 -i ../0ca1fd163824e3100ff3ab258ffeb65a6ceadb3a.patch
patch -p1 -i ../0ab21657c4feb0500299af79314664b05edfc365.patch
patch -p1 -i ../521567f2350baa1e75a60ad48f5ed7923777b024.patch
patch -p1 -i ../10ddc79382a385ac361a968121548e616d54004d.patch
patch -p1 -i ../8f4961d1b93f1eb868d8782ba54b97d36721cb56.patch
patch -p1 -i ../e5ffffcaec07c60b49ddc9bd1e8ffc19738f1ea2.patch
}
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

View File

@ -16,7 +16,7 @@ _reponame=syncthingtray
pkgname=mingw-w64-syncthingtray-qt6
_name=${pkgname#mingw-w64-}
_name=${_name%-qt6}
pkgver=1.3.0
pkgver=1.3.1
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=('aece0be140187a3c0c989a50007c3d5541d9e1abd51ec45b8c1e45ab783a9e52'
sha256sums=('c5b4c9b5ee2234eb8ba1e383064abba317de5ba2589ba92c286cf9535bbec295'
'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.3.0
pkgver=1.3.1
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=('aece0be140187a3c0c989a50007c3d5541d9e1abd51ec45b8c1e45ab783a9e52'
sha256sums=('c5b4c9b5ee2234eb8ba1e383064abba317de5ba2589ba92c286cf9535bbec295'
'SKIP')
options=(!buildflags staticlibs !strip !emptydirs)

View File

@ -26,8 +26,8 @@ _reponame=syncthingtray
_cfg=qt6
pkgname=syncthingtray-$_cfg
_name=${pkgname%-$_cfg}
pkgver=1.3.0
pkgrel=5
pkgver=1.3.1
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing (using Qt 6)'
license=('GPL')
@ -45,42 +45,13 @@ checkdepends=('cppunit' 'syncthing' 'iproute2' 'appstream')
[[ $_enable_kio_plugin ]] && makedepends+=('kio')
[[ $_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"
'https://github.com/Martchus/syncthingtray/commit/f121f5f740d799c2b29e9f5ce8e15ddae7857a28.patch'
'https://github.com/Martchus/syncthingtray/commit/ad81c29a1d8024e79da51efc2b3dc19583be1e21.patch'
'https://github.com/Martchus/syncthingtray/commit/0ca1fd163824e3100ff3ab258ffeb65a6ceadb3a.patch'
'https://github.com/Martchus/syncthingtray/commit/0ab21657c4feb0500299af79314664b05edfc365.patch'
'https://github.com/Martchus/syncthingtray/commit/521567f2350baa1e75a60ad48f5ed7923777b024.patch'
'https://github.com/Martchus/syncthingtray/commit/10ddc79382a385ac361a968121548e616d54004d.patch'
'https://github.com/Martchus/syncthingtray/commit/8f4961d1b93f1eb868d8782ba54b97d36721cb56.patch'
'https://github.com/Martchus/syncthingtray/commit/e5ffffcaec07c60b49ddc9bd1e8ffc19738f1ea2.patch')
sha256sums=('aece0be140187a3c0c989a50007c3d5541d9e1abd51ec45b8c1e45ab783a9e52'
'2df0516de56fa279af4fa1f85d524a1aa9e9df4ea3ecd8bacbc146aabf5920d9'
'd6b4af56e0a80d3c813637bc0e9b74dae51f2fbd3919e992a342f9a5abd10acc'
'763fd7e2804c5bcf2f78ed3fb3669528163f2ba0b0b4d14eda07174932761cc2'
'8dfddabf8f231457327d4eb91a6d204af64f4c621038cdb488b050c07581a430'
'db68ebd99729865788da17d2b7d61e58602b0df494dcd83de58b5ad088dd225c'
'959d85df17243215fb144d4556e10dc2a3dc0a8e380ac5e2bc9e17de29f96027'
'89c4ddda556926ea4dbb66d2c9373930804801fa276f8cbcb61daef2fe2e801e'
'43dcb6baaa5ea16efecebc4bceb11677d04c82945a4ec0642483fe85f8909ba4')
source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('c5b4c9b5ee2234eb8ba1e383064abba317de5ba2589ba92c286cf9535bbec295')
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
}
prepare() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
patch -p1 -i ../f121f5f740d799c2b29e9f5ce8e15ddae7857a28.patch
patch -p1 -i ../ad81c29a1d8024e79da51efc2b3dc19583be1e21.patch
patch -p1 -i ../0ca1fd163824e3100ff3ab258ffeb65a6ceadb3a.patch
patch -p1 -i ../0ab21657c4feb0500299af79314664b05edfc365.patch
patch -p1 -i ../521567f2350baa1e75a60ad48f5ed7923777b024.patch
patch -p1 -i ../10ddc79382a385ac361a968121548e616d54004d.patch
patch -p1 -i ../8f4961d1b93f1eb868d8782ba54b97d36721cb56.patch
patch -p1 -i ../e5ffffcaec07c60b49ddc9bd1e8ffc19738f1ea2.patch
}
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

View File

@ -28,8 +28,8 @@ _enable_libsyncthing=${SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-ON}
_reponame=syncthingtray
pkgname=static-compat-syncthingtray
_name=${pkgname#static-compat-}
pkgver=1.3.0
pkgrel=2
pkgver=1.3.1
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing'
license=('GPL')
@ -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=('aece0be140187a3c0c989a50007c3d5541d9e1abd51ec45b8c1e45ab783a9e52'
sha256sums=('c5b4c9b5ee2234eb8ba1e383064abba317de5ba2589ba92c286cf9535bbec295'
'SKIP')
[[ $_enable_libsyncthing == ON ]] && _disable_libsyncthing=OFF || _disable_libsyncthing=ON

View File

@ -11,7 +11,7 @@ _json_export=${TAGEDITOR_JSON_EXPORT:-OFF}
_reponame=tageditor
pkgname=tageditor-cli
pkgver=3.7.5
pkgver=3.7.6
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=('e989d3ea6ad109d94aa3e4ccbf2b7bd62b8fe844a3bd9d3540700ff7e08ecba3')
sha256sums=('48991e04a95caeaa60a458a3c05b127d96268a2c3092487010ba7f1fe7c94f3e')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

View File

@ -14,7 +14,7 @@ _json_export=${TAGEDITOR_JSON_EXPORT:-ON}
_reponame=tageditor
pkgname=tageditor
pkgver=3.7.5
pkgver=3.7.6
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=('e989d3ea6ad109d94aa3e4ccbf2b7bd62b8fe844a3bd9d3540700ff7e08ecba3')
sha256sums=('48991e04a95caeaa60a458a3c05b127d96268a2c3092487010ba7f1fe7c94f3e')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

View File

@ -16,7 +16,7 @@ _reponame=tageditor
pkgname=mingw-w64-tageditor-qt6
_name=${pkgname#mingw-w64-}
_name=${_name%-qt6}
pkgver=3.7.5
pkgver=3.7.6
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=('e989d3ea6ad109d94aa3e4ccbf2b7bd62b8fe844a3bd9d3540700ff7e08ecba3')
sha256sums=('48991e04a95caeaa60a458a3c05b127d96268a2c3092487010ba7f1fe7c94f3e')
options=(!buildflags staticlibs !strip !emptydirs)
_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32')

View File

@ -15,7 +15,7 @@ _json_export=${MINGW_64_TAGEDITOR_JSON_EXPORT:-ON}
_reponame=tageditor
pkgname=mingw-w64-tageditor
_name=${pkgname#mingw-w64-}
pkgver=3.7.5
pkgver=3.7.6
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=('e989d3ea6ad109d94aa3e4ccbf2b7bd62b8fe844a3bd9d3540700ff7e08ecba3')
sha256sums=('48991e04a95caeaa60a458a3c05b127d96268a2c3092487010ba7f1fe7c94f3e')
options=(!buildflags staticlibs !strip !emptydirs)
_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32')

View File

@ -16,7 +16,7 @@ _reponame=tageditor
_cfg=qt6
pkgname=tageditor-$_cfg
_name=${pkgname%-$_cfg}
pkgver=3.7.5
pkgver=3.7.6
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=('e989d3ea6ad109d94aa3e4ccbf2b7bd62b8fe844a3bd9d3540700ff7e08ecba3')
sha256sums=('48991e04a95caeaa60a458a3c05b127d96268a2c3092487010ba7f1fe7c94f3e')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

View File

@ -18,7 +18,7 @@ _json_export=${TAGEDITOR_JSON_EXPORT:-OFF}
_reponame=tageditor
pkgname=static-compat-tageditor
_name=${pkgname#static-compat-}
pkgver=3.7.5
pkgver=3.7.6
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=('e989d3ea6ad109d94aa3e4ccbf2b7bd62b8fe844a3bd9d3540700ff7e08ecba3')
sha256sums=('48991e04a95caeaa60a458a3c05b127d96268a2c3092487010ba7f1fe7c94f3e')
build() {
check_buildoption ccache y && ccache_args='