Github messages for voidlinux
 help / color / mirror / Atom feed
From: Logarithmus <Logarithmus@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: zam-plugins-3.14
Date: Mon, 28 Jun 2021 02:21:11 +0200	[thread overview]
Message-ID: <20210628002111.ys35fHWzmp-nfKYRNUHEGwu0SWSHt8QMeEcNT9z867c@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31665@inbox.vuxu.org>

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

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

https://github.com/Logarithmus/void-packages zam-plugins
https://github.com/void-linux/void-packages/pull/31665

New package: zam-plugins-3.14
<!-- Mark items with [x] where applicable -->

Required by `pulseeffects` maximizer effect.
Blocked by https://github.com/void-linux/void-packages/pull/31666.

TODO: fix cross-compilation.

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

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From d045baa741139122c7a5359497ae7d5244654077 Mon Sep 17 00:00:00 2001
From: Artur Sinila <freesoftware@logarithmus.dev>
Date: Sat, 26 Jun 2021 04:00:10 +0300
Subject: [PATCH] New package: zam-plugins-3.14

---
 .../zam-plugins/patches/00-fix-cross.patch    | 26 +++++++++++++++++
 srcpkgs/zam-plugins/template                  | 28 +++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/zam-plugins/patches/00-fix-cross.patch
 create mode 100644 srcpkgs/zam-plugins/template

diff --git a/srcpkgs/zam-plugins/patches/00-fix-cross.patch b/srcpkgs/zam-plugins/patches/00-fix-cross.patch
new file mode 100644
index 000000000000..23f705f1e7e5
--- /dev/null
+++ b/srcpkgs/zam-plugins/patches/00-fix-cross.patch
@@ -0,0 +1,26 @@
+--- a/zam-plugins/dpf/utils/lv2-ttl-generator/GNUmakefile
++++ b/zam-plugins/dpf/utils/lv2-ttl-generator/GNUmakefile
+@@ -20,8 +20,22 @@ endif
+ 
+ build: ../lv2_ttl_generator
+ 
++ifdef CROSS_BUILD
++
++HOST_CC := gcc
++HOST_CFLAGS := $(XBPS_CFLAGS)
++HOST_LDFLAGS := $(patsubst -L%, -L/usr/lib, $(LDFLAGS))
++
++else
++
++HOST_CC := $(CC)
++HOST_CFLAGS := $(CFLAGS)
++HOST_LDFLAGS := $(LDFLAGS)
++
++endif
++
+ ../lv2_ttl_generator: lv2_ttl_generator.c
+-	$(CC) $< $(CFLAGS) -o $@ $(LDFLAGS)
++	$(HOST_CC) $< $(HOST_CFLAGS) -o $@ $(HOST_LDFLAGS)
+ 
+ endif # WINDOWS
+ 
diff --git a/srcpkgs/zam-plugins/template b/srcpkgs/zam-plugins/template
new file mode 100644
index 000000000000..a433dce9d35e
--- /dev/null
+++ b/srcpkgs/zam-plugins/template
@@ -0,0 +1,28 @@
+# Template file for 'zam-plugins'
+pkgname=zam-plugins
+version=3.14
+revision=1
+create_wrksrc=yes
+build_wrksrc=${pkgname}
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args="HAVE_ZITA_CONVOLVER=true"
+hostmakedepends="pkg-config"
+makedepends="libX11-devel libglvnd-devel liblo-devel jack-devel ladspa-sdk
+ libsamplerate-devel zita-convolver-devel"
+# Use system zita-convolver instead of the vendored one
+short_desc="LADSPA/LV2/VST/JACK audio plugins for high-quality processing"
+maintainer="Artur Sinila <freesoftware@logarithmus.dev>"
+license="GPL-2.0-or-later"
+homepage="http://zamaudio.com/"
+changelog="https://raw.githubusercontent.com/zamaudio/zam-plugins/master/changelog"
+_dpf_commit="08669d1bc30c6e971fde800eade4ca40104ba8b2"
+distfiles="https://github.com/zamaudio/zam-plugins/archive/refs/tags/${version}.tar.gz
+ https://github.com/DISTRHO/DPF/archive/${_dpf_commit}.tar.gz"
+checksum="4a73a73fa03cc6d7faf2d65840349d2a33e7aaef5a13c6345f534b6c434e7b42
+ c4359020d1defb7ae2547b5dbdc0cf33f6e0e9cdd3ef75300533b4c4c9f1b9f4"
+
+post_extract() {
+	mv ${pkgname}-${version} $pkgname
+	mv DPF-${_dpf_commit}/* $build_wrksrc/dpf
+}

  parent reply	other threads:[~2021-06-28  0:21 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26 16:00 [PR PATCH] " Logarithmus
2021-06-26 19:30 ` [PR REVIEW] " ericonr
2021-06-26 19:30 ` ericonr
2021-06-26 19:30 ` ericonr
2021-06-26 19:30 ` ericonr
2021-06-26 19:30 ` ericonr
2021-06-27 16:00 ` Logarithmus
2021-06-27 16:00 ` Logarithmus
2021-06-27 16:02 ` Logarithmus
2021-06-27 16:36 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 16:50 ` [PR REVIEW] " Logarithmus
2021-06-27 16:50 ` Logarithmus
2021-06-27 16:50 ` Logarithmus
2021-06-27 16:55 ` Logarithmus
2021-06-27 16:56 ` Logarithmus
2021-06-27 16:57 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 17:07 ` [PR REVIEW] " Logarithmus
2021-06-27 17:29 ` Logarithmus
2021-06-27 17:30 ` Logarithmus
2021-06-27 17:51 ` ericonr
2021-06-27 17:51 ` ericonr
2021-06-27 17:53 ` Logarithmus
2021-06-27 18:01 ` ericonr
2021-06-27 18:33 ` Logarithmus
2021-06-27 18:45 ` ericonr
2021-06-27 19:02 ` Duncaen
2021-06-27 19:04 ` Logarithmus
2021-06-27 19:23 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 19:56 ` Logarithmus
2021-06-27 20:35 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 21:15 ` Logarithmus
2021-06-27 21:32 ` Logarithmus
2021-06-27 21:37 ` Logarithmus
2021-06-27 21:50 ` Logarithmus
2021-06-27 21:59 ` Logarithmus
2021-06-28  0:21 ` Logarithmus [this message]
2022-05-23  2:12 ` github-actions
2022-06-06  2:14 ` [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=20210628002111.ys35fHWzmp-nfKYRNUHEGwu0SWSHt8QMeEcNT9z867c@z \
    --to=logarithmus@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).