Github messages for voidlinux
 help / color / mirror / Atom feed
From: teldra <teldra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: zrythm and dependencies
Date: Wed, 24 Feb 2021 00:02:51 +0100	[thread overview]
Message-ID: <20210223230251.8UBkD_-ILV59XNui2RflvmCP9Y4CUHCosijLkr8RnhE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26356@inbox.vuxu.org>

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

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

https://github.com/teldra/void-packages zrythm
https://github.com/void-linux/void-packages/pull/26356

New package: zrythm and dependencies


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

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

From 869ff7b11d071427364adfe7f84f9ce656e17593 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Tue, 10 Nov 2020 15:13:33 +0100
Subject: [PATCH 1/4] New package: libaudec-0.2.4

---
 srcpkgs/libaudec-devel    |  1 +
 srcpkgs/libaudec/template | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/libaudec-devel
 create mode 100644 srcpkgs/libaudec/template

diff --git a/srcpkgs/libaudec-devel b/srcpkgs/libaudec-devel
new file mode 120000
index 00000000000..0310ac0e636
--- /dev/null
+++ b/srcpkgs/libaudec-devel
@@ -0,0 +1 @@
+libaudec
\ No newline at end of file
diff --git a/srcpkgs/libaudec/template b/srcpkgs/libaudec/template
new file mode 100644
index 00000000000..eced8c9777e
--- /dev/null
+++ b/srcpkgs/libaudec/template
@@ -0,0 +1,27 @@
+# Template file for 'libaudec'
+pkgname=libaudec
+version=0.2.4
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake"
+makedepends="libsamplerate-devel libsndfile-devel"
+short_desc="Read and resample audio files"
+maintainer="teldra <teldra@rotce.de>"
+license="AGPL-3.0-or-later"
+homepage="https://git.zrythm.org/cgit/libaudec/"
+distfiles="https://git.zrythm.org/cgit/libaudec/snapshot/libaudec-${version}.tar.gz"
+checksum=eb769bc50f1f2b45cf13159eceff3e302a60bb80617e57023ba3408608860a46
+
+post_install() {
+	vlicense COPYING
+}
+
+libaudec-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	nostrip=yes
+	pkg_install() {
+		vmove "usr/include"
+		vmove "usr/lib"
+	}
+}

From a21bf266ad9393fa92121b2f2b943c778e55c669 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Tue, 10 Nov 2020 15:14:00 +0100
Subject: [PATCH 2/4] New package: libcyaml-1.1.0

---
 common/shlibs                           |  1 +
 srcpkgs/libcyaml/patches/libcyaml.patch | 62 +++++++++++++++++++++++++
 srcpkgs/libcyaml/template               | 19 ++++++++
 3 files changed, 82 insertions(+)
 create mode 100644 srcpkgs/libcyaml/patches/libcyaml.patch
 create mode 100644 srcpkgs/libcyaml/template

diff --git a/common/shlibs b/common/shlibs
index c9f9bf389e8..121e7df5cd5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3937,3 +3937,4 @@ libsimavr.so.1 simavr-1.6_2
 libsimavrparts.so.1 simavr-1.6_2
 libsword-1.8.1.so libsword-1.8.1_6
 libtree-sitter.so.0 tree-sitter-0.18.2_1
+libcyaml.so.1 libcyaml-1.1.0_1
diff --git a/srcpkgs/libcyaml/patches/libcyaml.patch b/srcpkgs/libcyaml/patches/libcyaml.patch
new file mode 100644
index 00000000000..9f114649a2d
--- /dev/null
+++ b/srcpkgs/libcyaml/patches/libcyaml.patch
@@ -0,0 +1,62 @@
+From 0e947264b947f51f7ea785068637c4bfce5d4171 Mon Sep 17 00:00:00 2001
+From: Michael Drake <tlsa@netsurf-browser.org>
+Date: Sat, 27 Jun 2020 21:35:40 +0100
+Subject: [PATCH] Tests: Update reference data for libyaml version 0.2.5.
+
+Libyaml does not emit trailing whitespace now.  Since we want
+to work with older versions of libyaml too, we check against
+reference output with and without trailing whitespace.
+
+See: https://github.com/yaml/libyaml/pull/186
+---
+ test/units/save.c | 19 ++++++++++++++++---
+ 1 file changed, 16 insertions(+), 3 deletions(-)
+
+diff --git a/test/units/save.c b/test/units/save.c
+index 7866ac3..dc0c5bf 100644
+--- a/test/units/save.c
++++ b/test/units/save.c
+@@ -3476,7 +3476,7 @@ static bool test_save_sequence_null_values_int(
+ 		ttest_report_ctx_t *report,
+ 		const cyaml_config_t *config)
+ {
+-	static const unsigned char ref[] =
++	static const unsigned char ref1[] =
+ 		"---\n"
+ 		"- 7\n"
+ 		"- 6\n"
+@@ -3487,6 +3487,18 @@ static bool test_save_sequence_null_values_int(
+ 		"- \n"
+ 		"- 0\n"
+ 		"...\n";
++	/* As of libyaml 0.2.5, trailing spaces are not emitted. */
++	static const unsigned char ref2[] =
++		"---\n"
++		"- 7\n"
++		"- 6\n"
++		"- 5\n"
++		"-\n"
++		"- 3\n"
++		"- 2\n"
++		"-\n"
++		"- 0\n"
++		"...\n";
+ 	static const int d[] = { 7, 6, 5, 4, 3, 2, 1, 0 };
+ 	static const int *data[] = { d + 0, d + 1, d + 2, NULL,
+ 	                             d + 4, d + 5, NULL, d + 7, };
+@@ -3515,11 +3527,12 @@ static bool test_save_sequence_null_values_int(
+ 		return ttest_fail(&tc, cyaml_strerror(err));
+ 	}
+ 
+-	if (len != YAML_LEN(ref) || memcmp(ref, buffer, len) != 0) {
++	if ((len != YAML_LEN(ref1) || memcmp(ref1, buffer, len) != 0) &&
++	    (len != YAML_LEN(ref2) || memcmp(ref2, buffer, len) != 0)) {
+ 		return ttest_fail(&tc, "Bad data:\n"
+ 				"EXPECTED (%zu):\n\n%.*s\n\n"
+ 				"GOT (%zu):\n\n%.*s\n",
+-				YAML_LEN(ref), YAML_LEN(ref), ref,
++				YAML_LEN(ref1), YAML_LEN(ref1), ref1,
+ 				len, len, buffer);
+ 	}
+ 
+
diff --git a/srcpkgs/libcyaml/template b/srcpkgs/libcyaml/template
new file mode 100644
index 00000000000..ab1b770b5c0
--- /dev/null
+++ b/srcpkgs/libcyaml/template
@@ -0,0 +1,19 @@
+# Template file for 'libcyaml'
+pkgname=libcyaml
+version=1.1.0
+revision=1
+build_style=gnu-makefile
+make_use_env=yes
+hostmakedepends="pkg-config"
+makedepends="libyaml-devel"
+depends="libyaml"
+short_desc="C library for reading and writing YAML"
+maintainer="teldra <teldra@rotce.de>"
+license="ISC"
+homepage="https://github.com/tlsa/libcyaml"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=37a00ed8ec206b60a712acfd44196bef063b8f02e376d8e86f61a7007a81daea
+
+post_install() {
+	vlicense LICENSE
+}

From bd4a013a43a144c485d4dd9b3b4b067628a8e13b Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Tue, 10 Nov 2020 15:14:27 +0100
Subject: [PATCH 3/4] New package: reproc-14.2.1

---
 srcpkgs/reproc/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/reproc/template

diff --git a/srcpkgs/reproc/template b/srcpkgs/reproc/template
new file mode 100644
index 00000000000..c3cfcf01a0e
--- /dev/null
+++ b/srcpkgs/reproc/template
@@ -0,0 +1,18 @@
+# Template file for 'reproc'
+pkgname=reproc
+version=14.2.1
+revision=1
+build_style=cmake
+short_desc="Simplifies working with external CLI applications from C and C++"
+maintainer="teldra <teldra@rotce.de>"
+license="MIT"
+homepage="https://github.com/DaanDeMeyer/reproc"
+distfiles="https://github.com/DaanDeMeyer/reproc/archive/v${version}.tar.gz"
+checksum=f75f0524bdbf03813c126655f83d9c1b6a5b695c8e840bd62cd7aa61a96c66e3
+
+export CFLAGS="$CFLAGS -fPIC"
+export BUILD_CFLAGS="$BUILD_CFLAGS -fPIC"
+
+post_install() {
+	vlicense LICENSE
+}

From e586d20842d1aa2f87af792ae00d14b3c25bbcfa Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Tue, 10 Nov 2020 15:14:50 +0100
Subject: [PATCH 4/4] New package: zrythm-0.8.982

closes https://github.com/void-linux/void-packages/issues/26221
closes https://github.com/void-linux/void-packages/issues/21236
closes https://github.com/void-linux/void-packages/issues/23831
---
 srcpkgs/zrythm/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/zrythm/template

diff --git a/srcpkgs/zrythm/template b/srcpkgs/zrythm/template
new file mode 100644
index 00000000000..bf3c04f460b
--- /dev/null
+++ b/srcpkgs/zrythm/template
@@ -0,0 +1,37 @@
+# Template file for 'zrythm'
+pkgname=zrythm
+version=0.8.982
+revision=1
+archs="~*-musl"
+build_style=meson
+build_helper=qemu
+hostmakedepends="cmake gettext xdg-utils pkg-config guile glib-devel"
+makedepends="libzstd-devel libcyaml reproc guile-devel lilv-devel libaudec-devel
+ chromaprint-devel rubberband-devel fftw-devel gtk+3-devel gtksourceview4-devel libyaml-devel
+ jack-devel alsa-lib-devel graphviz-devel SDL2-devel python3-Sphinx"
+depends="breeze-icons"
+short_desc="Highly automated and intuitive digital audio workstation"
+maintainer="teldra <teldra@rotce.de>"
+license="AGPL-3.0-or-later"
+homepage="https://www.zrythm.org/"
+distfiles="https://git.zrythm.org/cgit/zrythm/snapshot/zrythm-${version}.tar.gz"
+checksum=73a63bbc636c780e7ddf86830601ea39546a4c9747d49438b74bc4cae2c4814d
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -Dmanpage=false"
+else
+	hostmakedepends+=" help2man"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	arm*|aarch64)
+		makedepends+=" libatomic_ops-devel"
+esac
+
+post_install() {
+	# Move bash-completion to the correct dir.
+	vmkdir usr/share/bash-completion/completions
+	mv ${DESTDIR}/etc/bash_completion.d \
+	${DESTDIR}/usr/share/bash-completion/completions
+	vlicense COPYING
+}

  parent reply	other threads:[~2021-02-23 23:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13 16:25 [PR PATCH] " teldra
2020-11-13 16:28 ` [PR PATCH] [Updated] " teldra
2020-11-13 16:37 ` [WIP] " teldra
2020-11-13 16:38 ` teldra
2020-11-13 17:12 ` ericonr
2020-11-13 20:12 ` [PR PATCH] [Updated] " teldra
2020-11-13 20:13 ` teldra
2020-11-13 22:38 ` [PR PATCH] [Updated] " teldra
2020-11-13 22:41 ` teldra
2020-11-13 22:44 ` teldra
2020-11-14 11:11 ` teldra
2020-11-16 13:01 ` teldra
2020-12-27 22:33 ` teldra
2020-12-27 22:59 ` teldra
2020-12-27 23:11 ` teldra
2021-02-23 23:02 ` teldra [this message]
2021-02-23 23:06 ` teldra
2021-04-18  5:19 ` [PR REVIEW] " ericonr
2021-04-18  5:19 ` ericonr
2021-04-18  5:19 ` ericonr
2021-04-18  5:19 ` ericonr
2022-02-05 23:49 ` [PR PATCH] [Closed]: " teldra

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=20210223230251.8UBkD_-ILV59XNui2RflvmCP9Y4CUHCosijLkr8RnhE@z \
    --to=teldra@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).