Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: syncthingtray-1.2.2
Date: Wed, 10 Aug 2022 06:19:07 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38572@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2022-08-10  4:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10  4:19 classabbyamp [this message]
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

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38572@inbox.vuxu.org \
    --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).