Skip to content

Commit

Permalink
Update own projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jan 6, 2025
1 parent 9ab7f04 commit 7669f26
Show file tree
Hide file tree
Showing 17 changed files with 45 additions and 41 deletions.
4 changes: 2 additions & 2 deletions c++utilities/default/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

_reponame=cpp-utilities
pkgname=c++utilities
pkgver=5.27.0
pkgver=5.27.1
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities'
Expand All @@ -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=('aa3bfdcd5cc16a27d2a80611d4c6a7fd96f37c4dad2622233a0e019885bffc82')
sha256sums=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions c++utilities/doc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
_name=c++utilities
_reponame=cpp-utilities
pkgname=$_name-doc
pkgver=5.27.0
pkgver=5.27.1
pkgrel=1
arch=('any')
pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (API documentation)'
license=(GPL-2-or-later)
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=('aa3bfdcd5cc16a27d2a80611d4c6a7fd96f37c4dad2622233a0e019885bffc82')
sha256sums=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions c++utilities/mingw-w64/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_reponame=cpp-utilities
pkgname=mingw-w64-c++utilities
_name=${pkgname#mingw-w64-}
pkgver=5.27.0
pkgver=5.27.1
pkgrel=1
arch=('any')
pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (mingw-w64)'
Expand All @@ -17,7 +17,7 @@ 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=('aa3bfdcd5cc16a27d2a80611d4c6a7fd96f37c4dad2622233a0e019885bffc82')
sha256sums=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')
options=(!buildflags staticlibs !strip !emptydirs)

_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32')
Expand Down
4 changes: 2 additions & 2 deletions c++utilities/static-compat/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_reponame=cpp-utilities
pkgname=static-compat-c++utilities
_name=${pkgname#static-compat-}
pkgver=5.27.0
pkgver=5.27.1
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities'
Expand All @@ -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=('aa3bfdcd5cc16a27d2a80611d4c6a7fd96f37c4dad2622233a0e019885bffc82')
sha256sums=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')

prepare() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down
2 changes: 1 addition & 1 deletion devel/own-projects/upload-mingw-w64-to-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e # abort on first error
shopt -s nullglob
shopt -s extglob
path=$(dirname $0)
path=$(realpath "$(dirname $0)")
source "$path/../versions.sh"

if ! [[ $DRY_RUN ]] && ! [[ $GITHUB_TOKEN ]]; then
Expand Down
6 changes: 3 additions & 3 deletions devel/versions.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
declare -A versions=(
[syncthingtray]=1.6.4
[c++utilities]=5.27.0
[qtutilities]=6.14.4
[syncthingtray]=1.7.0
[c++utilities]=5.27.1
[qtutilities]=6.14.5
[qtforkawesome]=0.2.3
[tagparser]=12.4.0
[tageditor]=3.9.4
Expand Down
4 changes: 2 additions & 2 deletions qtutilities/default/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

_reponame=qtutilities
pkgname=qtutilities
pkgver=6.14.4
pkgver=6.14.5
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'
Expand All @@ -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=('d23734b6e97d32809ce46acb33a34180ee49ae2830aebe5cea7cb6b1cc4f934b')
sha256sums=('f4f3fbb57402f476a027c4d334ff410d6ff5eafbdf45c5d65fda822335cc37d7')

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions qtutilities/doc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
_name=qtutilities
_reponame=$_name
pkgname=$_name-doc
pkgver=6.14.4
pkgver=6.14.5
pkgrel=1
arch=('any')
pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (API documentation)'
license=(GPL-2-or-later)
makedepends=('cmake' 'ninja' 'doxygen' 'graphviz' 'c++utilities' 'qt5-tools')
url="https://github.com/Martchus/${_reponame}"
source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('d23734b6e97d32809ce46acb33a34180ee49ae2830aebe5cea7cb6b1cc4f934b')
sha256sums=('f4f3fbb57402f476a027c4d334ff410d6ff5eafbdf45c5d65fda822335cc37d7')

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions qtutilities/mingw-w64-qt6/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _reponame=qtutilities
pkgname=mingw-w64-qtutilities-qt6
_name=${pkgname#mingw-w64-}
_name=${_name%-qt6}
pkgver=6.14.4
pkgver=6.14.5
pkgrel=1
arch=('any')
pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)'
Expand All @@ -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=('d23734b6e97d32809ce46acb33a34180ee49ae2830aebe5cea7cb6b1cc4f934b')
sha256sums=('f4f3fbb57402f476a027c4d334ff410d6ff5eafbdf45c5d65fda822335cc37d7')
options=(!buildflags staticlibs !strip !emptydirs)

_architectures=(${MINGW_W64_QT6_ARCHS:-x86_64-w64-mingw32})
Expand Down
4 changes: 2 additions & 2 deletions qtutilities/mingw-w64/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_reponame=qtutilities
pkgname=mingw-w64-qtutilities
_name=${pkgname#mingw-w64-}
pkgver=6.14.4
pkgver=6.14.5
pkgrel=1
arch=('any')
pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)'
Expand All @@ -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=('d23734b6e97d32809ce46acb33a34180ee49ae2830aebe5cea7cb6b1cc4f934b')
sha256sums=('f4f3fbb57402f476a027c4d334ff410d6ff5eafbdf45c5d65fda822335cc37d7')
options=(!buildflags staticlibs !strip !emptydirs)

_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32')
Expand Down
4 changes: 2 additions & 2 deletions qtutilities/qt6/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _reponame=qtutilities
_cfg=qt6
pkgname=qtutilities-$_cfg
_name=${pkgname%-$_cfg}
pkgver=6.14.4
pkgver=6.14.5
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)'
Expand All @@ -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=('d23734b6e97d32809ce46acb33a34180ee49ae2830aebe5cea7cb6b1cc4f934b')
sha256sums=('f4f3fbb57402f476a027c4d334ff410d6ff5eafbdf45c5d65fda822335cc37d7')

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions qtutilities/static-compat/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_reponame=qtutilities
pkgname=static-compat-qtutilities
_name=${pkgname#static-compat-}
pkgver=6.14.4
pkgver=6.14.5
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'
Expand All @@ -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=('d23734b6e97d32809ce46acb33a34180ee49ae2830aebe5cea7cb6b1cc4f934b')
sha256sums=('f4f3fbb57402f476a027c4d334ff410d6ff5eafbdf45c5d65fda822335cc37d7')

build() {
check_buildoption ccache y && ccache_args='
Expand Down
4 changes: 2 additions & 2 deletions syncthingtray/default/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-0}

_reponame=syncthingtray
pkgname=syncthingtray
pkgver=1.6.4
pkgver=1.7.0
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing'
Expand All @@ -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=('1d8729557d04595f814dd153fbfa5baf10b8d2c371aab20a595cb060dacd3ff4')
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519')

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
Expand Down
22 changes: 13 additions & 9 deletions syncthingtray/mingw-w64-qt6/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ _webview_provider=${MINGW_W64_SYNCTHING_TRAY_WEBVIEW_PROVIDER:-none}
# set the JavaScript provider: either script, qml, auto or none
_js_provider=${MINGW_W64_SYNCTHING_TRAY_JS_PROVIDER:-qml}

# set whether libsyncthing should be enabled: either ON or OFF
_enable_libsyncthing=${MINGW_W64_SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-ON}

_reponame=syncthingtray
pkgname=mingw-w64-syncthingtray-qt6
_reponame=syncthingtray
_name=${pkgname#mingw-w64-}
_name=${_name%-qt6}
pkgver=1.6.4
pkgrel=2
pkgver=1.7.0
pkgrel=1
arch=('any')
pkgdesc='Tray application for Syncthing (mingw-w64)'
license=(GPL-2-or-later)
Expand All @@ -28,14 +25,21 @@ depends=('mingw-w64-crt' 'mingw-w64-qt6-svg' 'mingw-w64-qtutilities-qt6' 'mingw-
[[ $_js_provider == script ]] && depends+=('mingw-w64-qt6-script')
[[ $_js_provider == qml ]] && depends+=('mingw-w64-qt6-declarative' 'qt6-declarative')
makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt6-tools' 'qt6-tools' 'clang' 'ffmpeg' 'ninja')
[[ $_enable_libsyncthing == ON ]] && makedepends+=('git' 'go')
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=('1d8729557d04595f814dd153fbfa5baf10b8d2c371aab20a595cb060dacd3ff4'
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
'SKIP')
options=(!buildflags staticlibs !strip !emptydirs)

# set whether libsyncthing should be enabled: either ON or OFF
[[ $pkgname =~ .*-clang-.* ]] \
&& _enable_libsyncthing=${MINGW_W64_CLANG_SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-OFF} \
|| _enable_libsyncthing=${MINGW_W64_SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-ON}
if [[ $_enable_libsyncthing == ON ]]; then
makedepends+=('git' 'go')
source+=("syncthing::git+https://github.com/Martchus/syncthing.git#branch=libsyncthing-latest")
fi

_architectures=(${MINGW_W64_QT6_ARCHS:-x86_64-w64-mingw32})
_configurations=()
if ! [[ $NO_SHARED_LIBS ]]; then
Expand Down
4 changes: 2 additions & 2 deletions syncthingtray/mingw-w64/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.4
pkgver=1.7.0
pkgrel=1
arch=('any')
pkgdesc='Tray application for Syncthing (mingw-w64)'
Expand All @@ -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=('1d8729557d04595f814dd153fbfa5baf10b8d2c371aab20a595cb060dacd3ff4'
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
'SKIP')
options=(!buildflags staticlibs !strip !emptydirs)

Expand Down
4 changes: 2 additions & 2 deletions syncthingtray/qt6/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _reponame=syncthingtray
_cfg=qt6
pkgname=syncthingtray-$_cfg
_name=${pkgname%-$_cfg}
pkgver=1.6.4
pkgver=1.7.0
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing (using Qt 6)'
Expand All @@ -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=('1d8729557d04595f814dd153fbfa5baf10b8d2c371aab20a595cb060dacd3ff4')
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519')

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
Expand Down
4 changes: 2 additions & 2 deletions syncthingtray/static-compat/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ _enable_libsyncthing=${SYNCTHING_TRAY_ENABLE_LIBSYNCTHING:-ON}
_reponame=syncthingtray
pkgname=static-compat-syncthingtray
_name=${pkgname#static-compat-}
pkgver=1.6.4
pkgver=1.7.0
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing'
Expand All @@ -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=('1d8729557d04595f814dd153fbfa5baf10b8d2c371aab20a595cb060dacd3ff4'
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
'SKIP')

[[ $_enable_libsyncthing == ON ]] && _disable_libsyncthing=OFF || _disable_libsyncthing=ON
Expand Down

0 comments on commit 7669f26

Please sign in to comment.