unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: 74398@debbugs.gnu.org
Cc: Sughosha <sughosha@disroot.org>
Subject: [bug#74398] [PATCH 4/4] gnu: vmpk: Update to 0.9.0.
Date: Sun, 17 Nov 2024 21:05:16 +0530	[thread overview]
Message-ID: <d5f4d6cfc83f23bd22eb31a4fee65fd2bd604e11.1731857716.git.sughosha@disroot.org> (raw)
In-Reply-To: <40160a86ed6b263f3e24f75b1cc3bcfd48c02a89.1731857716.git.sughosha@disroot.org>

* gnu/packages/music.scm (vmpk): Update to 0.9.0.
[build-system]: Switch to qt-build-system.
[arguments]<#:qtbase>: Use qtbase.
<#:phases>: Add wrap-drumstick.
[inputs]: Remove qtbase-5. Replace qtsvg-5 with qtsvg. Add qtwayland.
[native-inputs]: Replace qttools-5 with qttools.

Change-Id: I3aced579ece316348c900409171e63c3c2cfa192
---
 gnu/packages/music.scm | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ed260d27ba..3742e4ea2f 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3379,22 +3379,31 @@ (define-public drumstick
 (define-public vmpk
   (package
     (name "vmpk")
-    (version "0.8.4")
+    (version "0.9.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
                                   version "/vmpk-" version ".tar.bz2"))
               (sha256
                (base32
-                "0kh8pns9pla9c47y2nwckjpiihczg6rpg96aignsdsd7vkql69s9"))))
-    (build-system cmake-build-system)
+                "1ndwmshw3skfcxb3f606hv4y80hfisfp5bdc81a0f0qrpx6f2zn4"))))
+    (build-system qt-build-system)
     (arguments
-     `(#:tests? #f))  ; no test target
+     (list #:qtbase qtbase
+           #:tests? #f  ; no test target
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'wrap-drumstick
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (wrap-program (string-append #$output "/bin/vmpk")
+                     `("DRUMSTICKRT" =
+                       (,(search-input-directory inputs
+                                            "/lib/drumstick2")))))))))
     (inputs
-     (list drumstick qtbase-5 qtsvg-5 qtx11extras))
+     (list drumstick qt5compat qtsvg qtwayland))
     (native-inputs
      (list libxslt ;for xsltproc
-           docbook-xml-4.4 docbook-xsl qttools-5 pkg-config))
+           docbook-xml-4.4 docbook-xsl qttools pkg-config))
     (home-page "https://vmpk.sourceforge.io/")
     (synopsis "Virtual MIDI piano keyboard")
     (description
-- 
2.46.0





      parent reply	other threads:[~2024-11-17 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-17 15:29 [bug#74398] [PATCH 0/4] gnu: vmpk: Update to 0.9.0 Sughosha via Guix-patches via
2024-11-17 15:35 ` [bug#74398] [PATCH 1/4] gnu: Add sonivox Sughosha via Guix-patches via
2024-11-17 15:35   ` [bug#74398] [PATCH 2/4] gnu: drumstick: Update to 2.9.1 Sughosha via Guix-patches via
2024-11-17 15:35   ` [bug#74398] [PATCH 3/4] gnu: sonivox-eas: Update to 1.5.1 Sughosha via Guix-patches via
2024-11-17 15:35   ` Sughosha via Guix-patches via [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d5f4d6cfc83f23bd22eb31a4fee65fd2bd604e11.1731857716.git.sughosha@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=74398@debbugs.gnu.org \
    --cc=sughosha@disroot.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).