Github messages for voidlinux
 help / color / mirror / Atom feed
From: iFoundSilentHouse <iFoundSilentHouse@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: jack-keyboard-2.7.2
Date: Wed, 10 Apr 2024 22:26:06 +0200	[thread overview]
Message-ID: <20240410202606.594B223F6C@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49790@inbox.vuxu.org>

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

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

https://github.com/iFoundSilentHouse/void-packages jack-keyboard-2.7.2
https://github.com/void-linux/void-packages/pull/49790

New package: jack-keyboard-2.7.2
- I tested the changes in this PR: **YES**

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

- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures:
  - x86_64-musl
  - aarch64-musl (cross)
  - armv7l (cross)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jack-keyboard-2.7.2-49790.patch --]
[-- Type: text/x-diff, Size: 3068 bytes --]

From d6016ef18266dffd462b0ef2e9b37a197afac687 Mon Sep 17 00:00:00 2001
From: IFoundSilentHouse <adeptslab@gmail.com>
Date: Wed, 10 Apr 2024 22:52:12 +0600
Subject: [PATCH 1/2] New package: jack-keyboard-2.7.2

---
 srcpkgs/jack-keyboard/template | 35 ++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/jack-keyboard/template

diff --git a/srcpkgs/jack-keyboard/template b/srcpkgs/jack-keyboard/template
new file mode 100644
index 00000000000000..5c4a89142b1f8a
--- /dev/null
+++ b/srcpkgs/jack-keyboard/template
@@ -0,0 +1,35 @@
+# Template file for 'jack-keyboard'
+pkgname=jack-keyboard
+version=2.7.2
+revision=1
+build_style=gnu-makefile
+hostmakedepends="cmake pkg-config"
+makedepends="gtk+-devel jack-devel pango-devel"
+short_desc="Send jack midi events with PC keyboard"
+maintainer="IFoundSilentHouse <adeptslab@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://jack-keyboard.sourceforge.net/"
+distfiles="${SOURCEFORGE_SITE}/jack-keyboard/${version}/jack-keyboard-${version}.tar.gz"
+checksum=59953c996aa057146d4ccb7697d846dad87c3e7c4e3b05eeea6f47f3837a64fc
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" gtk+-devel"
+fi
+
+pre_build() {
+	mkdir -p build
+	cd build
+	CFLAGS+=" $(pkg-config --cflags gtk+-2.0)"
+	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
+	-DLashEnable=False
+}
+
+do_build() {
+	# Package is built on "make install" phase
+	true
+}
+
+post_install() {
+	vlicense COPYING
+	mv "${DESTDIR}/usr/man" "${DESTDIR}/usr/share/man"
+}

From 82dbc9654f85512b615f213b7e4d1147304448d6 Mon Sep 17 00:00:00 2001
From: IFoundSilentHouse <adeptslab@gmail.com>
Date: Thu, 11 Apr 2024 02:25:16 +0600
Subject: [PATCH 2/2] jack-keyboard: update to 2.7.2.

---
 srcpkgs/jack-keyboard/template | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/srcpkgs/jack-keyboard/template b/srcpkgs/jack-keyboard/template
index 5c4a89142b1f8a..11ee2adc8b11cd 100644
--- a/srcpkgs/jack-keyboard/template
+++ b/srcpkgs/jack-keyboard/template
@@ -2,8 +2,9 @@
 pkgname=jack-keyboard
 version=2.7.2
 revision=1
-build_style=gnu-makefile
-hostmakedepends="cmake pkg-config"
+build_style=cmake
+configure_args="-DLashEnable=False"
+hostmakedepends="pkg-config"
 makedepends="gtk+-devel jack-devel pango-devel"
 short_desc="Send jack midi events with PC keyboard"
 maintainer="IFoundSilentHouse <adeptslab@gmail.com>"
@@ -12,21 +13,8 @@ homepage="https://jack-keyboard.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/jack-keyboard/${version}/jack-keyboard-${version}.tar.gz"
 checksum=59953c996aa057146d4ccb7697d846dad87c3e7c4e3b05eeea6f47f3837a64fc
 
-if [ "$CROSS_BUILD" ]; then
-	hostmakedepends+=" gtk+-devel"
-fi
-
-pre_build() {
-	mkdir -p build
-	cd build
-	CFLAGS+=" $(pkg-config --cflags gtk+-2.0)"
-	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-	-DLashEnable=False
-}
-
-do_build() {
-	# Package is built on "make install" phase
-	true
+pre_configure() {
+  CFLAGS+=" $(pkg-config --cflags gtk+-2.0)"
 }
 
 post_install() {

  parent reply	other threads:[~2024-04-10 20:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-10 17:01 [PR PATCH] " iFoundSilentHouse
2024-04-10 17:07 ` [PR PATCH] [Updated] " iFoundSilentHouse
2024-04-10 19:43 ` meator
2024-04-10 19:48 ` iFoundSilentHouse
2024-04-10 19:58 ` meator
2024-04-10 19:59 ` meator
2024-04-10 20:26 ` iFoundSilentHouse [this message]
2024-04-10 20:26 ` [PR PATCH] [Updated] " iFoundSilentHouse
2024-04-10 20:29 ` iFoundSilentHouse
2024-04-10 20:31 ` iFoundSilentHouse
2024-04-10 20:46 ` [PR REVIEW] " classabbyamp
2024-04-10 20:48 ` [PR PATCH] [Closed]: " iFoundSilentHouse

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=20240410202606.594B223F6C@inbox.vuxu.org \
    --to=ifoundsilenthouse@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).