Github messages for voidlinux
 help / color / mirror / Atom feed
From: robertek <robertek@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: jamesdsp-2.6.1
Date: Wed, 15 Nov 2023 00:24:03 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47244@inbox.vuxu.org> (raw)

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

There is a new pull request by robertek against master on the void-packages repository

https://github.com/robertek/void-packages jamesdsp
https://github.com/void-linux/void-packages/pull/47244

New package: jamesdsp-2.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**
- The package can be installed, it is working correctly and the desktop menu item is present.

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (cross)
  - aarch64 (cross)
  - armv6l (cross)




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

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

From cb6b2a7510b943401d7ce830a1a7da1fee0cc189 Mon Sep 17 00:00:00 2001
From: Robert David <robert.david@posteo.net>
Date: Tue, 14 Nov 2023 22:44:46 +0100
Subject: [PATCH] New package: jamesdsp-2.6.1

---
 srcpkgs/jamesdsp/files/jamesdsp.desktop   | 11 +++++
 srcpkgs/jamesdsp/patches/musl-build.patch | 20 ++++++++
 srcpkgs/jamesdsp/template                 | 58 +++++++++++++++++++++++
 3 files changed, 89 insertions(+)
 create mode 100644 srcpkgs/jamesdsp/files/jamesdsp.desktop
 create mode 100644 srcpkgs/jamesdsp/patches/musl-build.patch
 create mode 100644 srcpkgs/jamesdsp/template

diff --git a/srcpkgs/jamesdsp/files/jamesdsp.desktop b/srcpkgs/jamesdsp/files/jamesdsp.desktop
new file mode 100644
index 0000000000000..d10acc6065811
--- /dev/null
+++ b/srcpkgs/jamesdsp/files/jamesdsp.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=JamesDSP
+GenericName=Audio effect processor
+Comment=JamesDSP for Linux
+Keywords=equalizer;audio;effect
+Categories=AudioVideo;Audio
+Exec=/usr/bin/jamesdsp
+Icon=/usr/share/pixmaps/jamesdsp.png
+StartupNotify=false
+Terminal=false
+Type=Application
diff --git a/srcpkgs/jamesdsp/patches/musl-build.patch b/srcpkgs/jamesdsp/patches/musl-build.patch
new file mode 100644
index 0000000000000..3e8f14c4fc8c2
--- /dev/null
+++ b/srcpkgs/jamesdsp/patches/musl-build.patch
@@ -0,0 +1,20 @@
+--- a/src/subprojects/LiquidEqualizerWidget/3rdparty/JdspImpResToolbox.cpp
++++ b/src/subprojects/LiquidEqualizerWidget/3rdparty/JdspImpResToolbox.cpp
+@@ -6,6 +6,7 @@
+ #include <string.h>
+ #include <math.h>
+ #include <float.h>
++#include <cstdint>
+ 
+ using namespace Interpolation;
+ 
+--- a/libjamesdsp/subtree/Main/libjamesdsp/jni/jamesdsp/jdsp/jdspController.c
++++ b/libjamesdsp/subtree/Main/libjamesdsp/jni/jamesdsp/jdsp/jdspController.c
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <math.h>
+ #include <time.h>
++#include <sys/time.h>
+ #include <float.h>
+ #include "Effects/eel2/dr_flac.h"
+ #include "Effects/eel2/ns-eel.h"
diff --git a/srcpkgs/jamesdsp/template b/srcpkgs/jamesdsp/template
new file mode 100644
index 0000000000000..6cfee74277c0e
--- /dev/null
+++ b/srcpkgs/jamesdsp/template
@@ -0,0 +1,58 @@
+# Template file for 'jamesdsp'
+pkgname=jamesdsp
+version=2.6.1
+revision=1
+_geqw_commit="739a016aa54ed8465133d3b70b687d67b326e1e1"
+_ftw_commit="e98f51f46fe8322914d184d6d80264fe9a14496a"
+_lew_commit="4cf30acf164026915e08ee0067ffe4753be3ace6"
+_lide_commit="e2c7202d1f496e435e27443d320d5213d14112ab"
+build_style=qmake
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
+makedepends="libarchive-devel qt5-devel qt5-svg-devel glibmm-devel glib-devel pipewire-devel"
+short_desc="Open-source sound effects for PipeWire and PulseAudio"
+maintainer="Robert David <<robert.david@posteo.net>>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Audio4Linux/JDSP4Linux"
+distfiles="https://github.com/Audio4Linux/JDSP4Linux/archive/refs/tags/${version}.tar.gz"
+checksum="0e22e54fca8b9b34f3616c861b345747437e725a1e1f8c50babc626e35fb99c8"
+# GraphicEQWidget submodule
+distfiles+=" https://github.com/ThePBone/GraphicEQWidget/archive/${_geqw_commit}.tar.gz"
+checksum+=" 6c218e8095a67d7eddd8c40fdae5d17e6f4f28765d1456e64a09d29c0512c7d0"
+# FlatTabWidget submodule
+distfiles+=" https://github.com/ThePBone/FlatTabWidget/archive/${_ftw_commit}.tar.gz"
+checksum+=" 23ab4167986f76c09cb6f767115f3188f4e95ba8a6350dd6d5ce4a0d7151c55d"
+# LiquidEqualizerWidget submodule
+distfiles+=" https://github.com/ThePBone/LiquidEqualizerWidget/archive/${_lew_commit}.tar.gz"
+checksum+=" 2edbc0b13bbc17caa4a6c37026a61d33ea176f04863998f9d340ab3a279b30dc"
+# LiveprogIDE submodule
+distfiles+=" https://github.com/ThePBone/LiveprogIDE/archive/${_lide_commit}.tar.gz"
+checksum+=" 2029cae50b9cdaab8ea276520d01a68f38144dfe05a9a8ca703c79b4365fe29e"
+
+case "$XBPS_TARGET_MACHINE" in
+	arm*|aarch64*|*-musl) configure_args="CONFIG+=NO_CRASH_HANDLER";;
+esac
+
+post_extract() {
+	mv JDSP4Linux-${version}/* .
+
+	# move submodules to proper location
+
+	rmdir src/subprojects/EELEditor
+	mv LiveprogIDE-${_lide_commit} src/subprojects/EELEditor
+
+	rmdir src/subprojects/FlatTabWidget
+	mv FlatTabWidget-${_ftw_commit} src/subprojects/FlatTabWidget
+
+	rmdir src/subprojects/GraphicEQWidget
+	mv GraphicEQWidget-${_geqw_commit} src/subprojects/GraphicEQWidget
+
+	rmdir src/subprojects/LiquidEqualizerWidget
+	mv LiquidEqualizerWidget-${_lew_commit} src/subprojects/LiquidEqualizerWidget
+}
+
+do_install() {
+	vbin src/jamesdsp
+
+	vinstall resources/icons/icon.png 644 usr/share/pixmaps jamesdsp.png
+	vinstall ${FILESDIR}/jamesdsp.desktop 644 usr/share/applications
+}

             reply	other threads:[~2023-11-14 23:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-14 23:24 robertek [this message]
2023-11-30  9:32 ` [PR PATCH] [Updated] " robertek
2023-11-30  9:34 ` robertek
2024-02-29  1:44 ` github-actions
2024-03-14  1:44 ` [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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47244@inbox.vuxu.org \
    --to=robertek@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).