From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: syncthingtray-1.2.2
Date: Wed, 10 Aug 2022 06:38:15 +0200 [thread overview]
Message-ID: <20220810043815.arLOuphaSyiMlvNq9oY6XuQQo4dy27XNCBWEihjJX6g@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38572@inbox.vuxu.org>
[-- 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
next prev parent reply other threads:[~2022-08-10 4:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 4:19 [PR PATCH] " classabbyamp
2022-08-10 4:28 ` [PR PATCH] [Updated] [WIP] " classabbyamp
2022-08-10 4:38 ` classabbyamp [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220810043815.arLOuphaSyiMlvNq9oY6XuQQo4dy27XNCBWEihjJX6g@z \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).