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 9, 2025
1 parent 5ba6071 commit 4d440bd
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 47 deletions.
15 changes: 4 additions & 11 deletions c++utilities/default/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

_reponame=cpp-utilities
pkgname=c++utilities
pkgver=5.27.1
pkgrel=2
pkgver=5.27.2
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities'
license=(GPL-2-or-later)
Expand All @@ -16,15 +16,8 @@ makedepends=('cmake' 'ninja')
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"
https://github.com/Martchus/cpp-utilities/commit/34bd17dc88d493f9b68c92d6c896245e933ff01e.patch)
sha256sums=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97'
'155785b3476663b256641f73ea6a319ca2d8883b0a0fb03ef9f8b755945f038c')

prepare() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
patch -p1 -i ../34bd17dc88d493f9b68c92d6c896245e933ff01e.patch
}
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('1fe766c560924e01bbeabf87a7e76c301c1041add0f84f705b2ee7bd64f41944')

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.1
pkgver=5.27.2
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=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')
sha256sums=('1fe766c560924e01bbeabf87a7e76c301c1041add0f84f705b2ee7bd64f41944')

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.1
pkgver=5.27.2
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=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')
sha256sums=('1fe766c560924e01bbeabf87a7e76c301c1041add0f84f705b2ee7bd64f41944')
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.1
pkgver=5.27.2
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=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')
sha256sums=('1fe766c560924e01bbeabf87a7e76c301c1041add0f84f705b2ee7bd64f41944')

prepare() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions devel/versions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
declare -A versions=(
[syncthingtray]=1.7.0
[c++utilities]=5.27.1
[syncthingtray]=1.7.1
[c++utilities]=5.27.2
[qtutilities]=6.14.5
[qtforkawesome]=0.2.3
[tagparser]=12.4.0
Expand Down
15 changes: 4 additions & 11 deletions syncthingtray/default/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-0}

_reponame=syncthingtray
pkgname=syncthingtray
pkgver=1.7.0
pkgrel=2
pkgver=1.7.1
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing'
license=(GPL-2-or-later)
Expand All @@ -43,20 +43,13 @@ checkdepends=('cppunit' 'syncthing' 'iproute2')
[[ $_enable_kio_plugin ]] && makedepends+=('kio5')
[[ $_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"
https://github.com/Martchus/syncthingtray/commit/ce7b85669165d3a3c3d76a5a47ef4dacbef924a6.patch)
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
'774208a8920f81dc669e461450e0cdda2a10760ad66c6a49bd1b01b2a8dc1f13')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('2c9cc5bef94736688ce2862f987cc6732dee25768b61a33b24ff1258a0a66b7a')

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 ../ce7b85669165d3a3c3d76a5a47ef4dacbef924a6.patch
}

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

Expand Down
4 changes: 2 additions & 2 deletions syncthingtray/mingw-w64-qt6/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pkgname=mingw-w64-syncthingtray-qt6
_reponame=syncthingtray
_name=${pkgname#mingw-w64-}
_name=${_name%-qt6}
pkgver=1.7.0
pkgver=1.7.1
pkgrel=1
arch=('any')
pkgdesc='Tray application for Syncthing (mingw-w64)'
Expand All @@ -27,7 +27,7 @@ depends=('mingw-w64-crt' 'mingw-w64-qt6-svg' 'mingw-w64-qtutilities-qt6' 'mingw-
makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt6-tools' 'qt6-tools' 'clang' 'ffmpeg' 'ninja')
url="https://github.com/Martchus/${_reponame}"
source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
sha256sums=('2c9cc5bef94736688ce2862f987cc6732dee25768b61a33b24ff1258a0a66b7a'
'SKIP')
options=(!buildflags staticlibs !strip !emptydirs)

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.7.0
pkgver=1.7.1
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=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
sha256sums=('2c9cc5bef94736688ce2862f987cc6732dee25768b61a33b24ff1258a0a66b7a'
'SKIP')
options=(!buildflags staticlibs !strip !emptydirs)

Expand Down
15 changes: 4 additions & 11 deletions syncthingtray/qt6/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ _reponame=syncthingtray
_cfg=qt6
pkgname=syncthingtray-$_cfg
_name=${pkgname%-$_cfg}
pkgver=1.7.0
pkgrel=2
pkgver=1.7.1
pkgrel=1
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing (using Qt 6)'
license=(GPL-2-or-later)
Expand All @@ -45,20 +45,13 @@ checkdepends=('cppunit' 'syncthing' 'iproute2')
[[ $_enable_kio_plugin ]] && makedepends+=('kio')
[[ $_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"
https://github.com/Martchus/syncthingtray/commit/ce7b85669165d3a3c3d76a5a47ef4dacbef924a6.patch)
sha256sums=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
'774208a8920f81dc669e461450e0cdda2a10760ad66c6a49bd1b01b2a8dc1f13')
source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('2c9cc5bef94736688ce2862f987cc6732dee25768b61a33b24ff1258a0a66b7a')

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 ../ce7b85669165d3a3c3d76a5a47ef4dacbef924a6.patch
}

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

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.7.0
pkgver=1.7.1
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=('19e89ab3ecc228d1a5081bc50bf856b684f6336400726c45011ebad4fcde2519'
sha256sums=('2c9cc5bef94736688ce2862f987cc6732dee25768b61a33b24ff1258a0a66b7a'
'SKIP')

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

0 comments on commit 4d440bd

Please sign in to comment.