From: lonwillett <lonwillett@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: seadrive-{daemon,gui}-2.0.10 [depends on #30384 (seafile-client update)]
Date: Sat, 24 Apr 2021 17:47:53 +0200 [thread overview]
Message-ID: <20210424154753.nn2hpk5YfcdSHA4emGxK550AtlV2wbeIiN1JE8km-3c@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30475@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
There is an updated pull request by lonwillett against master on the void-packages repository
https://github.com/lonwillett/void-packages seadrive
https://github.com/void-linux/void-packages/pull/30475
New packages: seadrive-{daemon,gui}-2.0.10 [depends on #30384 (seafile-client update)]
<!-- Mark items with [x] where applicable -->
#### General
- [ x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
A patch file from https://github.com/void-linux/void-packages/pull/30475.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-seadrive-30475.patch --]
[-- Type: text/x-diff, Size: 3674 bytes --]
From 702c84f00b79960931f9e0f6393a680418e7a430 Mon Sep 17 00:00:00 2001
From: Lon Willett <xgit@lonw.net>
Date: Sat, 24 Apr 2021 16:56:32 +0200
Subject: [PATCH 1/2] New package: seadrive-daemon-2.0.10
---
srcpkgs/seadrive-daemon/template | 20 ++++++++++++++++++++
srcpkgs/seadrive-daemon/update | 2 ++
2 files changed, 22 insertions(+)
create mode 100644 srcpkgs/seadrive-daemon/template
create mode 100644 srcpkgs/seadrive-daemon/update
diff --git a/srcpkgs/seadrive-daemon/template b/srcpkgs/seadrive-daemon/template
new file mode 100644
index 000000000000..a61c24b73fbe
--- /dev/null
+++ b/srcpkgs/seadrive-daemon/template
@@ -0,0 +1,20 @@
+# Template file for 'seadrive-daemon'
+pkgname=seadrive-daemon
+version=2.0.10
+revision=1
+_distname="seadrive-fuse"
+wrksrc="${_distname}-${version}"
+build_style=gnu-configure
+hostmakedepends="autoconf automake libtool intltool vala pkg-config python3"
+makedepends="libevent-devel libcurl-devel gtk+-devel libuuid-devel sqlite-devel jansson-devel openssl-devel libsearpc-devel fuse-devel"
+short_desc="Seafile drive daemon (fuse interface)"
+maintainer="Lon Willett <xgit@lonw.net>"
+license="GPL-3.0-or-later"
+homepage="https://seafile.com"
+distfiles="https://github.com/haiwen/${_distname}/archive/v${version}.tar.gz"
+checksum=d476f1f95b8a13d49881cb004921dad2bbc32e61d431d810873a2882daebbe91
+python_version=3
+
+pre_configure() {
+ ./autogen.sh
+}
diff --git a/srcpkgs/seadrive-daemon/update b/srcpkgs/seadrive-daemon/update
new file mode 100644
index 000000000000..1ab833abe936
--- /dev/null
+++ b/srcpkgs/seadrive-daemon/update
@@ -0,0 +1,2 @@
+site=https://github.com/haiwen/seadrive-fuse/releases
+pattern='tags/v\K[\d.]+(?=.tar.gz)'
From b1f093764be2e995a8bdf65f59aee0bd8a88d7bf Mon Sep 17 00:00:00 2001
From: Lon Willett <xgit@lonw.net>
Date: Sat, 24 Apr 2021 16:57:15 +0200
Subject: [PATCH 2/2] New package: seadrive-gui-2.0.10
---
srcpkgs/seadrive-gui/template | 40 +++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 srcpkgs/seadrive-gui/template
diff --git a/srcpkgs/seadrive-gui/template b/srcpkgs/seadrive-gui/template
new file mode 100644
index 000000000000..7601eaabe6d8
--- /dev/null
+++ b/srcpkgs/seadrive-gui/template
@@ -0,0 +1,40 @@
+# Template file for 'seadrive-gui'
+pkgname=seadrive-gui
+version=2.0.10
+revision=1
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr"
+hostmakedepends="autoconf automake libtool intltool vala pkg-config"
+# python3?
+makedepends="libevent-devel libcurl-devel gtk+-devel libuuid-devel sqlite-devel jansson-devel openssl-devel libsearpc-devel>=3.2.0.20200318 qt5-devel qt5-tools-devel qt5-webengine-devel qt5-webchannel-devel qt5-declarative-devel qt5-location-devel"
+depends="seadrive-daemon>=${version}"
+short_desc="Seafile drive client (qt5 gui)"
+maintainer="Lon Willett <xgit@lonw.net>"
+license="Apache-2.0"
+homepage="https://seafile.com"
+distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz"
+checksum=e9dc3e3bf7d18f3931a57faa528fa469a9d54f158d8247c96126509981c240c8
+
+case "$XBPS_TARGET_MACHINE" in
+ *-musl) # need fts implementation
+ makedepends+=" musl-fts-devel" ;;
+esac
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" qt5-qmake qt5-host-tools"
+fi
+
+pre_configure() {
+ case "$XBPS_TARGET_MACHINE" in
+ *-musl)
+ # append '-ltfs' argument on link via cmake (macro TARGET_LINK_LIBRARIES)
+ # "LDFLAGS=-lfts" does not work, its prepends it (useless)
+ # XXX prefer patch on CMakeLists.txt ?
+ sed -i -e 's,\(\${EXTRA_LIBS}\)$,\1 -lfts,' ${wrksrc}/CMakeLists.txt
+ ;;
+ esac
+}
+
+post_install() {
+ vdoc README.md
+}
next prev parent reply other threads:[~2021-04-24 15:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 15:29 [PR PATCH] " lonwillett
2021-04-24 15:40 ` lonwillett
2021-04-24 15:47 ` lonwillett [this message]
2021-04-24 16:14 ` [PR PATCH] [Updated] New packages: seadrive-{daemon,gui}-2.0.10 [ci skip] " lonwillett
2021-04-24 16:23 ` lonwillett
2021-04-25 10:42 ` lonwillett
2021-04-26 18:22 ` [PR REVIEW] " yopito
2021-04-26 18:30 ` yopito
2021-04-26 20:22 ` [PR PATCH] [Updated] New packages: seadrive-{daemon,gui}-2.0.10 lonwillett
2021-04-26 20:32 ` lonwillett
2021-04-27 8:37 ` lonwillett
2022-05-18 2:09 ` github-actions
2022-06-02 2:13 ` [PR PATCH] [Closed]: " github-actions
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=20210424154753.nn2hpk5YfcdSHA4emGxK550AtlV2wbeIiN1JE8km-3c@z \
--to=lonwillett@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).