Skip to content

Commit 94e8bd9

Browse files
committed
Split architectures for syncthingctl and dependencies
1 parent 29b7e25 commit 94e8bd9

5 files changed

Lines changed: 41 additions & 13 deletions

File tree

package/libcpp-utilities/package

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,24 @@
22
# Copyright (c) 2021 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

5+
archs=(
6+
rm1os2
7+
rm1os3
8+
rm2os2
9+
rm2os3
10+
)
511
pkgnames=(libcpp-utilities libcpp-utilities-dev)
612
pkgdesc="Common C++ classes and routines used by Martchus' applications"
713
url=https://github.com/Martchus/cpp-utilities
8-
pkgver=5.31.0-1
14+
_srcver=5.31.0
15+
pkgver=$_srcver-2
916
timestamp=2025-09-20T23:53Z
1017
section="devel"
1118
maintainer="Tom Parker-Shemilt <palfrey@tevps.net>"
1219
license=GPL-2.0-or-later
1320
image=base:v3.3
1421
source=(
15-
https://github.com/Martchus/cpp-utilities/archive/refs/tags/v5.31.0.zip
22+
"https://github.com/Martchus/cpp-utilities/archive/refs/tags/v$_srcver.zip"
1623
targets.cmake.patch
1724
)
1825
sha256sums=(
@@ -49,7 +56,7 @@ libcpp-utilities-dev() {
4956
install -d "$pkgdir"/opt/lib
5057
cp -r "$srcdir"/install/opt/lib/pkgconfig "$pkgdir"/opt/lib
5158
cp -r "$srcdir"/install/opt/share "$pkgdir"/opt
52-
(cd $pkgdir/opt/share/c++utilities/cmake && patch -p0 < $srcdir/targets.cmake.patch)
59+
(cd "$pkgdir/opt/share/c++utilities/cmake" && patch -p0 < "$srcdir/targets.cmake.patch")
5360
cp -r "$srcdir"/install/opt/include "$pkgdir"/opt
5461
}
5562
}

package/qtforkawesome/package

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,24 @@
22
# Copyright (c) 2021 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

5+
archs=(
6+
rm1os2
7+
rm1os3
8+
rm2os2
9+
rm2os3
10+
)
511
pkgnames=(libqtforkawesome libqtforkawesome-dev)
612
pkgdesc="Library that bundles ForkAwesome for use within Qt applications"
713
url=https://github.com/Martchus/qtforkawesome
8-
pkgver=0.3.2-1
14+
_srcver=0.3.2
15+
pkgver=$_srcver-2
916
timestamp=2025-11-04T20:54Z
1017
section="devel"
1118
maintainer="Tom Parker-Shemilt <palfrey@tevps.net>"
1219
license=GPL-2.0-or-later
1320
image=qt:v3.3
1421
source=(
15-
"https://github.com/Martchus/qtforkawesome/archive/refs/tags/v0.3.2.zip"
22+
"https://github.com/Martchus/qtforkawesome/archive/refs/tags/v$_srcver.zip"
1623
"https://raw.githubusercontent.com/ForkAwesome/Fork-Awesome/1e3849530d0266ece3a883649e1398414b92241d/fonts/forkawesome-webfont.ttf"
1724
"https://raw.githubusercontent.com/ForkAwesome/Fork-Awesome/0237ab8eafeeacb896e008f744be6d9d717f44b0/src/icons/icons.yml"
1825
)
@@ -29,10 +36,10 @@ build() {
2936
-DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake" \
3037
-DCMAKE_INSTALL_PREFIX="/opt" \
3138
-DBUILD_SHARED_LIBS=ON \
32-
-DFORK_AWESOME_ICON_DEFINITIONS=$(realpath $srcdir/icons.yml)
39+
-DFORK_AWESOME_ICON_DEFINITIONS="$(realpath "$srcdir/icons.yml")"
3340
cmake --build build
3441
rm -f build/qtforkawesome/forkawesome-webfont.ttf
35-
cp $(realpath $srcdir/forkawesome-webfont.ttf) build/qtforkawesome/forkawesome-webfont.ttf
42+
cp "$(realpath "$srcdir/forkawesome-webfont.ttf")" build/qtforkawesome/forkawesome-webfont.ttf
3643
cmake --build build --target install -- DESTDIR=../install
3744
}
3845

package/qtutilities/package

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,24 @@
22
# Copyright (c) 2021 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

5+
archs=(
6+
rm1os2
7+
rm1os3
8+
rm2os2
9+
rm2os3
10+
)
511
pkgnames=(libqtutilities libqtutilities-dev)
612
pkgdesc="Common Qt related C++ classes and routines used by Martchus' applications"
713
url=https://github.com/Martchus/qtutilities
8-
pkgver=6.18.2-1
14+
_srcver=6.18.2
15+
pkgver=$_srcver-2
916
timestamp=2025-09-24T09:03Z
1017
section="devel"
1118
maintainer="Tom Parker-Shemilt <palfrey@tevps.net>"
1219
license=GPL-2.0-or-later
1320
image=qt:v3.3
1421
source=(
15-
https://github.com/Martchus/qtutilities/archive/refs/tags/v6.18.2.zip
22+
"https://github.com/Martchus/qtutilities/archive/refs/tags/v$_srcver.zip"
1623
targets.cmake.patch
1724
)
1825
sha256sums=(
@@ -52,7 +59,7 @@ libqtutilities-dev() {
5259
install -d "$pkgdir"/opt/lib
5360
cp -r "$srcdir"/install/opt/lib/pkgconfig "$pkgdir"/opt/lib
5461
cp -r "$srcdir"/install/opt/share "$pkgdir"/opt
55-
(cd $pkgdir/opt/share/qtutilities/cmake && patch -p0 < $srcdir/targets.cmake.patch)
62+
(cd "$pkgdir/opt/share/qtutilities/cmake" && patch -p0 < "$srcdir/targets.cmake.patch")
5663
cp -r "$srcdir"/install/opt/include "$pkgdir"/opt
5764
}
5865
}

package/syncthingctl/package

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22
# Copyright (c) 2025 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

5+
archs=(
6+
rm1os2
7+
rm1os3
8+
rm2os2
9+
rm2os3
10+
)
511
pkgnames=(syncthingctl)
612
pkgdesc="CLI that orchestrates syncthing"
713
url="https://martchus.github.io/syncthingtray/"
8-
pkgver=2.0.3-1
14+
_srcver=2.0.3
15+
pkgver=$_srcver-2
916
timestamp=2025-11-04T22:54:13Z
1017
section=utils
1118
maintainer="Tom Parker-Shemilt <palfrey@tevps.net>"
@@ -14,7 +21,7 @@ image=qt:v3.3
1421
makedepends=(build:cmake host:libcpp-utilities-dev host:libcpp-utilities host:libqtutilities host:libqtutilities-dev)
1522
installdepends=(libcpp-utilities libqtutilities syncthing)
1623
source=(
17-
https://github.com/Martchus/syncthingtray/archive/refs/tags/v2.0.3.zip
24+
"https://github.com/Martchus/syncthingtray/archive/refs/tags/v$_srcver.zip"
1825
syncthingctl
1926
)
2027
sha256sums=(

package/syncthingctl/syncthingctl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
export XDG_RUNTIME_DIR=/tmp/runtime-root
44

5-
exec /opt/libexec/syncthingctl $@
5+
exec /opt/libexec/syncthingctl "$@"

0 commit comments

Comments
 (0)