Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: syncthingtray-1.2.2
@ 2022-08-10  4:19 classabbyamp
  2022-08-10  4:28 ` [PR PATCH] [Updated] [WIP] " classabbyamp
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-10  4:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 5003 bytes --]

From 003b743061c77a60538014bba44fab9f2e51b0f1 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 38 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 3 files changed, 41 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..73c28c13accb
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,38 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ perl-YAML qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+# Unable to find executable: /builddir/qtforkawesome-0.0.4/qtforkawesome-0.0.4/build/qtforkawesome/qtforkawesome_renderer_tests
+make_check=no
+# make_check_pre="env QT_QPA_PLATFORM=offscreen"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From 6f2eeac86da33d18c0761a7d25899e595a8e2f53 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 srcpkgs/syncthingtray/template | 37 ++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..752b9fc0cc58
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,37 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DNO_FILE_ITEM_ACTION_PLUGIN=$(vopt_if kde OFF ON)
+ -DNO_PLASMOID=$(vopt_if kde OFF ON)
+ -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)
+ -DJS_PROVIDER=qml"
+hostmakedepends="pkg-config $(vopt_if kde extra-cmake-modules plasma-framework)"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-dbus
+ qt5-declarative qt5-quickcontrols boost-devel
+ $(vopt_if webengine qt5-webengine-devel qt5-webchannel-devel)
+ $(vopt_if kde kio-devel plasma-framework-devel)"
+short_desc="Tray application and Dolphin/Plasma integration for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+
+build_options="kde webengine"
+desc_option_kde="Build with KDE support"
+desc_option_webengine="Build with Qt5 WebEngine support"
+build_options_default="kde"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+="libcppunit-devel"
+fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
@ 2022-08-10  4:28 ` classabbyamp
  2022-08-10  4:38 ` classabbyamp
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-10  4:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

[WIP] New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 5421 bytes --]

From 72ee25b6490dc7172b10bf9133fbaffb28ff675e Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  1 +
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 38 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..e89bb4ff58f2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,4 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..73c28c13accb
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,38 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ perl-YAML qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+# Unable to find executable: /builddir/qtforkawesome-0.0.4/qtforkawesome-0.0.4/build/qtforkawesome/qtforkawesome_renderer_tests
+make_check=no
+# make_check_pre="env QT_QPA_PLATFORM=offscreen"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From 6b0f29f09d3ec633b19c29f16c94da9a708b3b01 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 srcpkgs/syncthingtray/template | 37 ++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..d319df404ccd
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,37 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DNO_FILE_ITEM_ACTION_PLUGIN=$(vopt_if kde OFF ON)
+ -DNO_PLASMOID=$(vopt_if kde OFF ON)
+ -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)
+ -DJS_PROVIDER=qml"
+hostmakedepends="pkg-config $(vopt_if kde 'extra-cmake-modules plasma-framework')"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-dbus
+ qt5-declarative qt5-quickcontrols qt5-location-devel boost-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')
+ $(vopt_if kde 'kio-devel plasma-framework-devel')"
+short_desc="Tray application and Dolphin/Plasma integration for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+
+build_options="kde webengine"
+desc_option_kde="Build with KDE support"
+desc_option_webengine="Build with Qt5 WebEngine support"
+build_options_default="kde"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+=" libcppunit-devel"
+fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
  2022-08-10  4:28 ` [PR PATCH] [Updated] [WIP] " classabbyamp
@ 2022-08-10  4:38 ` classabbyamp
  2022-08-10  6:03 ` classabbyamp
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-10  4:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

[WIP] New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 5594 bytes --]

From 03428e4598efaf9e6f45d21ed235103948067d3e Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  1 +
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 39 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 43 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..e89bb4ff58f2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,4 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..9f26cdebb076
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,39 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+hostmakedepends="qt5-host-tools qt5-qmake perl-YAML"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+# Unable to find executable: /builddir/qtforkawesome-0.0.4/qtforkawesome-0.0.4/build/qtforkawesome/qtforkawesome_renderer_tests
+make_check=no
+# make_check_pre="env QT_QPA_PLATFORM=offscreen"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From f804c9c42984b57e728554febb78bfcaa5b4a379 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 srcpkgs/syncthingtray/template | 39 ++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..69f316cce489
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,39 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DNO_FILE_ITEM_ACTION_PLUGIN=$(vopt_if kde OFF ON)
+ -DNO_PLASMOID=$(vopt_if kde OFF ON)
+ -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)
+ -DJS_PROVIDER=qml"
+hostmakedepends="pkg-config qt5-host-tools qt5-qmake $(vopt_if kde 'extra-cmake-modules plasma-framework')"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-dbus
+ qt5-declarative qt5-quickcontrols qt5-location-devel boost-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')
+ $(vopt_if kde 'kio-devel plasma-framework-devel')"
+short_desc="Tray application and Dolphin/Plasma integration for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+# Unable to find executable: /builddir/syncthingtray-1.2.2/build/cli/syncthingctl_tests
+make_check=no
+
+build_options="kde webengine"
+desc_option_kde="Build with KDE support"
+desc_option_webengine="Build with Qt5 WebEngine support"
+build_options_default="kde"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+=" libcppunit-devel"
+fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
  2022-08-10  4:28 ` [PR PATCH] [Updated] [WIP] " classabbyamp
  2022-08-10  4:38 ` classabbyamp
@ 2022-08-10  6:03 ` classabbyamp
  2022-08-10  6:21 ` [PR PATCH] [Updated] " classabbyamp
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-10  6:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

[WIP] New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 8197 bytes --]

From 829f596576fdf11d8203ca9bc1e7ac5ce871def7 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  2 ++
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 39 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..ae42824eac85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,5 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..9f26cdebb076
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,39 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+hostmakedepends="qt5-host-tools qt5-qmake perl-YAML"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+# Unable to find executable: /builddir/qtforkawesome-0.0.4/qtforkawesome-0.0.4/build/qtforkawesome/qtforkawesome_renderer_tests
+make_check=no
+# make_check_pre="env QT_QPA_PLATFORM=offscreen"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From b6e5e23260add50cf084986cf7dfc978674f5ce9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 common/shlibs                  |  3 ++
 srcpkgs/syncthingtray-devel    |  1 +
 srcpkgs/syncthingtray-dolphin  |  1 +
 srcpkgs/syncthingtray-plasma   |  1 +
 srcpkgs/syncthingtray/template | 74 ++++++++++++++++++++++++++++++++++
 5 files changed, 80 insertions(+)
 create mode 120000 srcpkgs/syncthingtray-devel
 create mode 120000 srcpkgs/syncthingtray-dolphin
 create mode 120000 srcpkgs/syncthingtray-plasma
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/common/shlibs b/common/shlibs
index ae42824eac85..61924610cc52 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4187,3 +4187,6 @@ libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
 libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
 libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libsyncthingwidgets.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingmodel.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingconnector.so.1.2.2 syncthingtray-1.2.2_1
diff --git a/srcpkgs/syncthingtray-devel b/srcpkgs/syncthingtray-devel
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-devel
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-dolphin b/srcpkgs/syncthingtray-dolphin
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-dolphin
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-plasma b/srcpkgs/syncthingtray-plasma
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-plasma
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..d0f2158ac6a1
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,74 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DNO_FILE_ITEM_ACTION_PLUGIN=$(vopt_if kde OFF ON)
+ -DNO_PLASMOID=$(vopt_if kde OFF ON) -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)
+ -DJS_PROVIDER=qml -DBUILTIN_TRANSLATIONS=ON -DSYSTEMD_SUPPORT=OFF -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="pkg-config qt5-host-tools qt5-qmake $(vopt_if kde 'extra-cmake-modules plasma-framework')"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-declarative
+ qt5-quickcontrols qt5-location-devel boost-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')
+ $(vopt_if kde 'kio-devel plasma-framework-devel')"
+depends="syncthing"
+short_desc="Tray application for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+# Unable to find executable: /builddir/syncthingtray-1.2.2/build/cli/syncthingctl_tests
+make_check=no
+# checkdepends="libcppunit syncthing iproute2"
+
+build_options="kde webengine"
+desc_option_kde="Build with KDE support"
+desc_option_webengine="Build with Qt5 WebEngine support"
+build_options_default="kde"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+=" libcppunit-devel"
+fi
+
+subpackages="syncthingtray-devel $(vopt_if kde 'syncthingtray-plasma syncthingtray-dolphin')"
+
+syncthingtray-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		for d in connector fileitemaction model plasmoid widgets; do
+			vmove "usr/share/syncthing${d}/cmake"
+		done
+	}
+}
+
+syncthingtray-plasma_package() {
+	depends="${sourcepkg}>=${version}_${revision} plasma-workspace"
+	short_desc+=" - KDE plasmoid"
+	pkg_install() {
+		vmove usr/lib/qt5/plugins/plasma
+		vmove usr/share/plasma
+		vmove usr/share/kservices5/plasma-applet-martchus.syncthingplasmoid.desktop
+	}
+}
+
+syncthingtray-dolphin_package() {
+	depends="${sourcepkg}>=${version}_${revision} kio"
+	short_desc+=" - KDE dolphin integration"
+	pkg_install() {
+		vmove usr/share/kservices5/syncthingfileitemaction.desktop
+		vmove usr/lib/qt5/plugins
+	}
+}

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (2 preceding siblings ...)
  2022-08-10  6:03 ` classabbyamp
@ 2022-08-10  6:21 ` classabbyamp
  2022-08-10  6:22 ` classabbyamp
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-10  6:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 8222 bytes --]

From 792be2f041c6c0ba6ce46e19ef60a61b16ca669d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  2 ++
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 39 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..ae42824eac85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,5 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..33820cedf364
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,39 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+hostmakedepends="qt5-host-tools qt5-qmake perl-YAML"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+
+make_check_pre="env QT_QPA_PLATFORM=offscreen"
+make_check_target="check"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From bc34c08efebd574a42188343c0e86be3d814d24f Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 common/shlibs                  |  3 ++
 srcpkgs/syncthingtray-devel    |  1 +
 srcpkgs/syncthingtray-dolphin  |  1 +
 srcpkgs/syncthingtray-plasma   |  1 +
 srcpkgs/syncthingtray/template | 79 ++++++++++++++++++++++++++++++++++
 5 files changed, 85 insertions(+)
 create mode 120000 srcpkgs/syncthingtray-devel
 create mode 120000 srcpkgs/syncthingtray-dolphin
 create mode 120000 srcpkgs/syncthingtray-plasma
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/common/shlibs b/common/shlibs
index ae42824eac85..61924610cc52 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4187,3 +4187,6 @@ libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
 libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
 libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libsyncthingwidgets.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingmodel.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingconnector.so.1.2.2 syncthingtray-1.2.2_1
diff --git a/srcpkgs/syncthingtray-devel b/srcpkgs/syncthingtray-devel
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-devel
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-dolphin b/srcpkgs/syncthingtray-dolphin
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-dolphin
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-plasma b/srcpkgs/syncthingtray-plasma
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-plasma
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..1a361be2b2d1
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,79 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DNO_FILE_ITEM_ACTION_PLUGIN=$(vopt_if kde OFF ON)
+ -DNO_PLASMOID=$(vopt_if kde OFF ON) -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)
+ -DJS_PROVIDER=qml -DBUILTIN_TRANSLATIONS=ON -DSYSTEMD_SUPPORT=OFF -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="pkg-config qt5-host-tools qt5-qmake $(vopt_if kde 'extra-cmake-modules plasma-framework')"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-declarative
+ qt5-quickcontrols qt5-location-devel boost-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')
+ $(vopt_if kde 'kio-devel plasma-framework-devel')"
+checkdepends="syncthing iproute2"
+depends="syncthing"
+short_desc="Tray application for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+
+make_check_pre="env SYNCTHING_TEST_TIMEOUT_FACTOR=3"
+make_check_target="check"
+
+build_options="kde webengine"
+desc_option_kde="Build with KDE support"
+desc_option_webengine="Build with Qt5 WebEngine support"
+build_options_default="kde"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+=" libcppunit-devel"
+fi
+
+pre_check() {
+	export SYNCTHING_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)
+}
+
+subpackages="syncthingtray-devel $(vopt_if kde 'syncthingtray-plasma syncthingtray-dolphin')"
+
+syncthingtray-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		for d in connector fileitemaction model plasmoid widgets; do
+			vmove "usr/share/syncthing${d}/cmake"
+		done
+	}
+}
+
+syncthingtray-plasma_package() {
+	depends="${sourcepkg}>=${version}_${revision} plasma-workspace"
+	short_desc+=" - KDE plasmoid"
+	pkg_install() {
+		vmove usr/lib/qt5/plugins/plasma
+		vmove usr/share/plasma
+		vmove usr/share/kservices5/plasma-applet-martchus.syncthingplasmoid.desktop
+	}
+}
+
+syncthingtray-dolphin_package() {
+	depends="${sourcepkg}>=${version}_${revision} kio"
+	short_desc+=" - KDE dolphin integration"
+	pkg_install() {
+		vmove usr/share/kservices5/syncthingfileitemaction.desktop
+		vmove usr/lib/qt5/plugins
+	}
+}

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (3 preceding siblings ...)
  2022-08-10  6:21 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-08-10  6:22 ` classabbyamp
  2022-08-11  1:48 ` [PR REVIEW] " ahesford
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-10  6:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 8222 bytes --]

From 792be2f041c6c0ba6ce46e19ef60a61b16ca669d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  2 ++
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 39 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..ae42824eac85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,5 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..33820cedf364
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,39 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+hostmakedepends="qt5-host-tools qt5-qmake perl-YAML"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+
+make_check_pre="env QT_QPA_PLATFORM=offscreen"
+make_check_target="check"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From 63fa1308ec8457983e9bbf5acdc8cc28261931ce Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 common/shlibs                  |  3 ++
 srcpkgs/syncthingtray-devel    |  1 +
 srcpkgs/syncthingtray-dolphin  |  1 +
 srcpkgs/syncthingtray-plasma   |  1 +
 srcpkgs/syncthingtray/template | 79 ++++++++++++++++++++++++++++++++++
 5 files changed, 85 insertions(+)
 create mode 120000 srcpkgs/syncthingtray-devel
 create mode 120000 srcpkgs/syncthingtray-dolphin
 create mode 120000 srcpkgs/syncthingtray-plasma
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/common/shlibs b/common/shlibs
index ae42824eac85..61924610cc52 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4187,3 +4187,6 @@ libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
 libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
 libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libsyncthingwidgets.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingmodel.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingconnector.so.1.2.2 syncthingtray-1.2.2_1
diff --git a/srcpkgs/syncthingtray-devel b/srcpkgs/syncthingtray-devel
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-devel
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-dolphin b/srcpkgs/syncthingtray-dolphin
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-dolphin
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-plasma b/srcpkgs/syncthingtray-plasma
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-plasma
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..beefdc1966fb
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,79 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DNO_FILE_ITEM_ACTION_PLUGIN=$(vopt_if kde OFF ON)
+ -DNO_PLASMOID=$(vopt_if kde OFF ON) -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)
+ -DJS_PROVIDER=qml -DBUILTIN_TRANSLATIONS=ON -DSYSTEMD_SUPPORT=OFF -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="pkg-config qt5-host-tools qt5-qmake $(vopt_if kde 'extra-cmake-modules plasma-framework')"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-declarative
+ qt5-quickcontrols qt5-location-devel boost-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')
+ $(vopt_if kde 'kio-devel plasma-framework-devel')"
+depends="syncthing"
+checkdepends="syncthing iproute2"
+short_desc="Tray application for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+
+make_check_pre="env SYNCTHING_TEST_TIMEOUT_FACTOR=3"
+make_check_target="check"
+
+build_options="kde webengine"
+desc_option_kde="Build with KDE support"
+desc_option_webengine="Build with Qt5 WebEngine support"
+build_options_default="kde"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+=" libcppunit-devel"
+fi
+
+pre_check() {
+	export SYNCTHING_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)
+}
+
+subpackages="syncthingtray-devel $(vopt_if kde 'syncthingtray-plasma syncthingtray-dolphin')"
+
+syncthingtray-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		for d in connector fileitemaction model plasmoid widgets; do
+			vmove "usr/share/syncthing${d}/cmake"
+		done
+	}
+}
+
+syncthingtray-plasma_package() {
+	depends="${sourcepkg}>=${version}_${revision} plasma-workspace"
+	short_desc+=" - KDE plasmoid"
+	pkg_install() {
+		vmove usr/lib/qt5/plugins/plasma
+		vmove usr/share/plasma
+		vmove usr/share/kservices5/plasma-applet-martchus.syncthingplasmoid.desktop
+	}
+}
+
+syncthingtray-dolphin_package() {
+	depends="${sourcepkg}>=${version}_${revision} kio"
+	short_desc+=" - KDE dolphin integration"
+	pkg_install() {
+		vmove usr/share/kservices5/syncthingfileitemaction.desktop
+		vmove usr/lib/qt5/plugins
+	}
+}

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR REVIEW] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (4 preceding siblings ...)
  2022-08-10  6:22 ` classabbyamp
@ 2022-08-11  1:48 ` ahesford
  2022-08-11  1:48 ` ahesford
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ahesford @ 2022-08-11  1:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38572#discussion_r943040686

Comment:
I'd be inclined to say the KDE option should be omitted and always enabled until somebody presents a pressing need to disable it. (Of course, I'm also the one who added some gratuitous qt options to tageditor...)

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR REVIEW] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (5 preceding siblings ...)
  2022-08-11  1:48 ` [PR REVIEW] " ahesford
@ 2022-08-11  1:48 ` ahesford
  2022-08-11  1:48 ` ahesford
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ahesford @ 2022-08-11  1:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38572#discussion_r943040972

Comment:
O_O

Is this even worth doing?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR REVIEW] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (6 preceding siblings ...)
  2022-08-11  1:48 ` ahesford
@ 2022-08-11  1:48 ` ahesford
  2022-08-11  1:50 ` classabbyamp
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ahesford @ 2022-08-11  1:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38572#discussion_r943039756

Comment:
I'd move this up top with the other metadata.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR REVIEW] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (7 preceding siblings ...)
  2022-08-11  1:48 ` ahesford
@ 2022-08-11  1:50 ` classabbyamp
  2022-08-11  2:09 ` ahesford
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-11  1:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38572#discussion_r943041825

Comment:
I grabbed it from the AUR package (maintained by the author). it just finds a free port in that range for tests to use.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR REVIEW] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (8 preceding siblings ...)
  2022-08-11  1:50 ` classabbyamp
@ 2022-08-11  2:09 ` ahesford
  2022-08-11  2:11 ` classabbyamp
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ahesford @ 2022-08-11  2:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38572#discussion_r943047144

Comment:
Yeah, I'm just wondering if it's worth doing this dance to find a port, or if checks should just be disabled. 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR REVIEW] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (9 preceding siblings ...)
  2022-08-11  2:09 ` ahesford
@ 2022-08-11  2:11 ` classabbyamp
  2022-08-11  2:14 ` [PR PATCH] [Updated] " classabbyamp
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-11  2:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38572#discussion_r943047698

Comment:
it's a small number of tests, so I don't see any issue with keeping it

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (10 preceding siblings ...)
  2022-08-11  2:11 ` classabbyamp
@ 2022-08-11  2:14 ` classabbyamp
  2022-08-11  2:21 ` classabbyamp
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-11  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 7985 bytes --]

From 792be2f041c6c0ba6ce46e19ef60a61b16ca669d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  2 ++
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 39 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..ae42824eac85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,5 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..33820cedf364
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,39 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+hostmakedepends="qt5-host-tools qt5-qmake perl-YAML"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+
+make_check_pre="env QT_QPA_PLATFORM=offscreen"
+make_check_target="check"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From 28292d800fbdc34d27769cf4d5703ac70506bfcf Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 common/shlibs                  |  3 ++
 srcpkgs/syncthingtray-devel    |  1 +
 srcpkgs/syncthingtray-dolphin  |  1 +
 srcpkgs/syncthingtray-plasma   |  1 +
 srcpkgs/syncthingtray/template | 74 ++++++++++++++++++++++++++++++++++
 5 files changed, 80 insertions(+)
 create mode 120000 srcpkgs/syncthingtray-devel
 create mode 120000 srcpkgs/syncthingtray-dolphin
 create mode 120000 srcpkgs/syncthingtray-plasma
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/common/shlibs b/common/shlibs
index ae42824eac85..61924610cc52 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4187,3 +4187,6 @@ libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
 libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
 libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libsyncthingwidgets.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingmodel.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingconnector.so.1.2.2 syncthingtray-1.2.2_1
diff --git a/srcpkgs/syncthingtray-devel b/srcpkgs/syncthingtray-devel
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-devel
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-dolphin b/srcpkgs/syncthingtray-dolphin
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-dolphin
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-plasma b/srcpkgs/syncthingtray-plasma
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-plasma
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..31e2d678f248
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,74 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DNO_FILE_ITEM_ACTION_PLUGIN=OFF -DNO_PLASMOID=OFF
+ -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none) -DJS_PROVIDER=qml
+ -DBUILTIN_TRANSLATIONS=ON -DSYSTEMD_SUPPORT=OFF -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules plasma-framework"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-declarative
+ qt5-quickcontrols qt5-location-devel boost-devel kio-devel plasma-framework-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')"
+depends="syncthing"
+checkdepends="syncthing iproute2"
+short_desc="Tray application for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+
+make_check_pre="env SYNCTHING_TEST_TIMEOUT_FACTOR=3"
+make_check_target="check"
+
+build_options="webengine"
+desc_option_webengine="Build with Qt5 WebEngine support"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+=" libcppunit-devel"
+fi
+
+pre_check() {
+	export SYNCTHING_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)
+}
+
+syncthingtray-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		for d in connector fileitemaction model plasmoid widgets; do
+			vmove "usr/share/syncthing${d}/cmake"
+		done
+	}
+}
+
+syncthingtray-plasma_package() {
+	depends="${sourcepkg}>=${version}_${revision} plasma-workspace"
+	short_desc+=" - KDE plasmoid"
+	pkg_install() {
+		vmove usr/lib/qt5/plugins/plasma
+		vmove usr/share/plasma
+		vmove usr/share/kservices5/plasma-applet-martchus.syncthingplasmoid.desktop
+	}
+}
+
+syncthingtray-dolphin_package() {
+	depends="${sourcepkg}>=${version}_${revision} kio"
+	short_desc+=" - KDE dolphin integration"
+	pkg_install() {
+		vmove usr/share/kservices5/syncthingfileitemaction.desktop
+		vmove "usr/lib/qt5/plugins/*.so"
+	}
+}

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (11 preceding siblings ...)
  2022-08-11  2:14 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-08-11  2:21 ` classabbyamp
  2022-08-11  2:28 ` classabbyamp
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-11  2:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 7932 bytes --]

From 792be2f041c6c0ba6ce46e19ef60a61b16ca669d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  2 ++
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 39 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..ae42824eac85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,5 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..33820cedf364
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,39 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+hostmakedepends="qt5-host-tools qt5-qmake perl-YAML"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+
+make_check_pre="env QT_QPA_PLATFORM=offscreen"
+make_check_target="check"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From d16ed8e0be422f3beb324beb63ccc46de0516800 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 common/shlibs                  |  3 ++
 srcpkgs/syncthingtray-devel    |  1 +
 srcpkgs/syncthingtray-dolphin  |  1 +
 srcpkgs/syncthingtray-plasma   |  1 +
 srcpkgs/syncthingtray/template | 73 ++++++++++++++++++++++++++++++++++
 5 files changed, 79 insertions(+)
 create mode 120000 srcpkgs/syncthingtray-devel
 create mode 120000 srcpkgs/syncthingtray-dolphin
 create mode 120000 srcpkgs/syncthingtray-plasma
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/common/shlibs b/common/shlibs
index ae42824eac85..61924610cc52 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4187,3 +4187,6 @@ libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
 libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
 libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libsyncthingwidgets.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingmodel.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingconnector.so.1.2.2 syncthingtray-1.2.2_1
diff --git a/srcpkgs/syncthingtray-devel b/srcpkgs/syncthingtray-devel
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-devel
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-dolphin b/srcpkgs/syncthingtray-dolphin
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-dolphin
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-plasma b/srcpkgs/syncthingtray-plasma
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-plasma
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..27e2f8d7d878
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,73 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DJS_PROVIDER=qml -DBUILTIN_TRANSLATIONS=ON -DSYSTEMD_SUPPORT=OFF
+ -DBUILD_SHARED_LIBS=ON -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)"
+hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules plasma-framework"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-declarative
+ qt5-quickcontrols qt5-location-devel boost-devel kio-devel plasma-framework-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')"
+depends="syncthing"
+checkdepends="syncthing iproute2"
+short_desc="Tray application for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+
+make_check_pre="env SYNCTHING_TEST_TIMEOUT_FACTOR=3"
+make_check_target="check"
+
+build_options="webengine"
+desc_option_webengine="Build with Qt5 WebEngine support"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	makedepends+=" libcppunit-devel"
+fi
+
+pre_check() {
+	export SYNCTHING_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)
+}
+
+syncthingtray-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		for d in connector fileitemaction model plasmoid widgets; do
+			vmove "usr/share/syncthing${d}/cmake"
+		done
+	}
+}
+
+syncthingtray-plasma_package() {
+	depends="${sourcepkg}>=${version}_${revision} plasma-workspace"
+	short_desc+=" - KDE plasmoid"
+	pkg_install() {
+		vmove usr/lib/qt5/plugins/plasma
+		vmove usr/share/plasma
+		vmove usr/share/kservices5/plasma-applet-martchus.syncthingplasmoid.desktop
+	}
+}
+
+syncthingtray-dolphin_package() {
+	depends="${sourcepkg}>=${version}_${revision} kio"
+	short_desc+=" - KDE dolphin integration"
+	pkg_install() {
+		vmove usr/share/kservices5/syncthingfileitemaction.desktop
+		vmove "usr/lib/qt5/plugins/*.so"
+	}
+}

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (12 preceding siblings ...)
  2022-08-11  2:21 ` classabbyamp
@ 2022-08-11  2:28 ` classabbyamp
  2022-08-11  3:41 ` [PR PATCH] [Updated] " classabbyamp
  2022-08-11  3:52 ` [PR PATCH] [Merged]: " classabbyamp
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-11  2:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38572#issuecomment-1211490919

Comment:
everything else should be addressed now

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (13 preceding siblings ...)
  2022-08-11  2:28 ` classabbyamp
@ 2022-08-11  3:41 ` classabbyamp
  2022-08-11  3:52 ` [PR PATCH] [Merged]: " classabbyamp
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-11  3:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/syncthingtray
https://github.com/void-linux/void-packages/pull/38572

New package: syncthingtray-1.2.2
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38572.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/syncthingtray-38572.patch --]
[-- Type: text/x-diff, Size: 7758 bytes --]

From 792be2f041c6c0ba6ce46e19ef60a61b16ca669d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:11:18 -0400
Subject: [PATCH 1/2] New package: qtforkawesome-0.0.4

---
 common/shlibs                  |  2 ++
 srcpkgs/qtforkawesome-devel    |  1 +
 srcpkgs/qtforkawesome/template | 39 ++++++++++++++++++++++++++++++++++
 srcpkgs/qtforkawesome/update   |  2 ++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/qtforkawesome-devel
 create mode 100644 srcpkgs/qtforkawesome/template
 create mode 100644 srcpkgs/qtforkawesome/update

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..ae42824eac85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,5 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
diff --git a/srcpkgs/qtforkawesome-devel b/srcpkgs/qtforkawesome-devel
new file mode 120000
index 000000000000..4fdc9afbf63f
--- /dev/null
+++ b/srcpkgs/qtforkawesome-devel
@@ -0,0 +1 @@
+qtforkawesome
\ No newline at end of file
diff --git a/srcpkgs/qtforkawesome/template b/srcpkgs/qtforkawesome/template
new file mode 100644
index 000000000000..33820cedf364
--- /dev/null
+++ b/srcpkgs/qtforkawesome/template
@@ -0,0 +1,39 @@
+# Template file for 'qtforkawesome'
+pkgname=qtforkawesome
+version=0.0.4
+revision=1
+_fork_awesome_version=1.2.0
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON"
+hostmakedepends="qt5-host-tools qt5-qmake perl-YAML"
+makedepends="qt5-devel qt5-declarative-devel qtutilities-devel cpp-utilities-devel
+ qt5-gui qt5-core qt5-quickcontrols"
+short_desc="Library that bundles ForkAwesome for use within Qt applications"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later, OFL-1.1"
+homepage="Library that bundles ForkAwesome for use within Qt applications"
+distfiles="https://github.com/Martchus/qtforkawesome/archive/refs/tags/v${version}.tar.gz
+ https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/${_fork_awesome_version}.tar.gz"
+checksum="35db0d10365fef90788fa70f50743f76eff2d36cae51955f300d57b84a76893f
+ 23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
+
+make_check_pre="env QT_QPA_PLATFORM=offscreen"
+make_check_target="check"
+
+pre_configure() {
+	configure_args+=" -DFORK_AWESOME_FONT_FILE=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/fonts/forkawesome-webfont.woff2
+	 -DFORK_AWESOME_ICON_DEFINITIONS=${wrksrc}/Fork-Awesome-${_fork_awesome_version}/src/icons/icons.yml"
+}
+
+qtforkawesome-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/qtforkawesome/update b/srcpkgs/qtforkawesome/update
new file mode 100644
index 000000000000..b0881647ebae
--- /dev/null
+++ b/srcpkgs/qtforkawesome/update
@@ -0,0 +1,2 @@
+site="https://github.com/Martchus/qtforkawesome/tags"
+pattern='/archive/refs/tags/(v?|\Qqtforkawesome\E-)?\K[\d.]+(?=\.tar\.gz")'

From 4fadd2ab5d4e9f146a06dd06ab4454ccd196aabf Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Aug 2022 00:17:59 -0400
Subject: [PATCH 2/2] New package: syncthingtray-1.2.2

closes #38550
---
 common/shlibs                  |  3 ++
 srcpkgs/syncthingtray-devel    |  1 +
 srcpkgs/syncthingtray-dolphin  |  1 +
 srcpkgs/syncthingtray-plasma   |  1 +
 srcpkgs/syncthingtray/template | 66 ++++++++++++++++++++++++++++++++++
 5 files changed, 72 insertions(+)
 create mode 120000 srcpkgs/syncthingtray-devel
 create mode 120000 srcpkgs/syncthingtray-dolphin
 create mode 120000 srcpkgs/syncthingtray-plasma
 create mode 100644 srcpkgs/syncthingtray/template

diff --git a/common/shlibs b/common/shlibs
index ae42824eac85..61924610cc52 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4187,3 +4187,6 @@ libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
 libqtforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
 libqtquickforkawesome.so.0.0.4 qtforkawesome-0.0.4_1
+libsyncthingwidgets.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingmodel.so.1.2.2 syncthingtray-1.2.2_1
+libsyncthingconnector.so.1.2.2 syncthingtray-1.2.2_1
diff --git a/srcpkgs/syncthingtray-devel b/srcpkgs/syncthingtray-devel
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-devel
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-dolphin b/srcpkgs/syncthingtray-dolphin
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-dolphin
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray-plasma b/srcpkgs/syncthingtray-plasma
new file mode 120000
index 000000000000..146441954aaa
--- /dev/null
+++ b/srcpkgs/syncthingtray-plasma
@@ -0,0 +1 @@
+syncthingtray
\ No newline at end of file
diff --git a/srcpkgs/syncthingtray/template b/srcpkgs/syncthingtray/template
new file mode 100644
index 000000000000..4f338f2cc200
--- /dev/null
+++ b/srcpkgs/syncthingtray/template
@@ -0,0 +1,66 @@
+# Template file for 'syncthingtray'
+pkgname=syncthingtray
+version=1.2.2
+revision=1
+build_style=cmake
+configure_args="-DJS_PROVIDER=qml -DBUILTIN_TRANSLATIONS=ON -DSYSTEMD_SUPPORT=OFF
+ -DBUILD_SHARED_LIBS=ON -DWEBVIEW_PROVIDER=$(vopt_if webengine webengine none)"
+hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules plasma-framework"
+makedepends="cpp-utilities-devel qtutilities-devel qtforkawesome-devel
+ qt5-devel qt5-core qt5-network qt5-gui qt5-widgets qt5-svg qt5-declarative
+ qt5-quickcontrols qt5-location-devel boost-devel kio-devel plasma-framework-devel
+ $(vopt_if webengine 'qt5-webengine-devel qt5-webchannel-devel')"
+depends="syncthing"
+checkdepends="syncthing iproute2"
+short_desc="Tray application for Syncthing"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Martchus/syncthingtray"
+distfiles="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${version}.tar.gz"
+checksum=0f556e30091ffc06e7e489c5e09e5460401c28fd1e8318b68cb6066ead7fe7a1
+
+# requires weird port-binding shenanigans that may not work on ipv6
+# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=syncthingtray#n50
+make_check=no
+
+build_options="webengine"
+desc_option_webengine="Build with Qt5 WebEngine support"
+
+# if not enabled, it will fall back to web browser
+if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
+	if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
+		build_options_default+=" webengine"
+	fi
+fi
+
+syncthingtray-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		for d in connector fileitemaction model plasmoid widgets; do
+			vmove "usr/share/syncthing${d}/cmake"
+		done
+	}
+}
+
+syncthingtray-plasma_package() {
+	depends="${sourcepkg}>=${version}_${revision} plasma-workspace"
+	short_desc+=" - KDE plasmoid"
+	pkg_install() {
+		vmove usr/lib/qt5/plugins/plasma
+		vmove usr/share/plasma
+		vmove usr/share/kservices5/plasma-applet-martchus.syncthingplasmoid.desktop
+	}
+}
+
+syncthingtray-dolphin_package() {
+	depends="${sourcepkg}>=${version}_${revision} kio"
+	short_desc+=" - KDE dolphin integration"
+	pkg_install() {
+		vmove usr/share/kservices5/syncthingfileitemaction.desktop
+		vmove "usr/lib/qt5/plugins/*.so"
+	}
+}

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Merged]: New package: syncthingtray-1.2.2
  2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
                   ` (14 preceding siblings ...)
  2022-08-11  3:41 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-08-11  3:52 ` classabbyamp
  15 siblings, 0 replies; 17+ messages in thread
From: classabbyamp @ 2022-08-11  3:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

There's a merged pull request on the void-packages repository

New package: syncthingtray-1.2.2
https://github.com/void-linux/void-packages/pull/38572

Description:
- New package: qtforkawesome-0.0.4
    - dependency
- New package: syncthingtray-1.2.2

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-08-11  3:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10  4:19 [PR PATCH] New package: syncthingtray-1.2.2 classabbyamp
2022-08-10  4:28 ` [PR PATCH] [Updated] [WIP] " classabbyamp
2022-08-10  4:38 ` classabbyamp
2022-08-10  6:03 ` classabbyamp
2022-08-10  6:21 ` [PR PATCH] [Updated] " classabbyamp
2022-08-10  6:22 ` classabbyamp
2022-08-11  1:48 ` [PR REVIEW] " ahesford
2022-08-11  1:48 ` ahesford
2022-08-11  1:48 ` ahesford
2022-08-11  1:50 ` classabbyamp
2022-08-11  2:09 ` ahesford
2022-08-11  2:11 ` classabbyamp
2022-08-11  2:14 ` [PR PATCH] [Updated] " classabbyamp
2022-08-11  2:21 ` classabbyamp
2022-08-11  2:28 ` classabbyamp
2022-08-11  3:41 ` [PR PATCH] [Updated] " classabbyamp
2022-08-11  3:52 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).