Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: seadrive-{daemon,gui}-2.0.10 [depends on #30384 (seafile-client update)]
@ 2021-04-24 15:29 lonwillett
  2021-04-24 15:40 ` lonwillett
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: lonwillett @ 2021-04-24 15:29 UTC (permalink / raw)
  To: ml

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

There is a new 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: 3658 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 ea34d15d6f4982188ccf4771cd693acb10af69ee 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..62ece7c34a16
--- /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 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
+}

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

end of thread, other threads:[~2022-06-02  2:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-24 15:29 [PR PATCH] New packages: seadrive-{daemon,gui}-2.0.10 [depends on #30384 (seafile-client update)] lonwillett
2021-04-24 15:40 ` lonwillett
2021-04-24 15:47 ` [PR PATCH] [Updated] " lonwillett
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

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).