Merge pull request #298134 from jopejoe1/updates/a2jmidid/12

a2jmidid: 9 -> 12
This commit is contained in:
lassulus 2024-04-17 22:18:03 +02:00 committed by GitHub
commit 7b672175d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,15 +1,17 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, pkg-config, alsa-lib, dbus, libjack2 { lib, stdenv, fetchFromGitea, makeWrapper, pkg-config, alsa-lib, dbus, libjack2
, python3Packages , meson, ninja }: , python3Packages , meson, ninja, gitUpdater }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "a2jmidid"; pname = "a2jmidid";
version = "9"; version = "12";
src = fetchFromGitHub { src = fetchFromGitea {
owner = "linuxaudio"; domain = "gitea.ladish.org";
repo = pname; owner = "LADI";
rev = version; repo = "a2jmidid";
sha256 = "sha256-WNt74tSWV8bY4TnpLp86PsnrjkqWynJJt3Ra4gZl2fQ="; rev = "refs/tags/${version}";
fetchSubmodules = true;
hash = "sha256-PZKGhHmPMf0AucPruOLB9DniM5A3BKdghFCrd5pTzeM=";
}; };
nativeBuildInputs = [ pkg-config makeWrapper meson ninja ]; nativeBuildInputs = [ pkg-config makeWrapper meson ninja ];
@ -21,9 +23,12 @@ stdenv.mkDerivation rec {
substituteInPlace $out/bin/a2j --replace "a2j_control" "$out/bin/a2j_control" substituteInPlace $out/bin/a2j --replace "a2j_control" "$out/bin/a2j_control"
''; '';
passthru.updateScript = gitUpdater { };
meta = with lib; { meta = with lib; {
description = "Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system"; description = "Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system";
license = licenses.gpl2; homepage = "https://a2jmidid.ladish.org/";
license = licenses.gpl2Only;
maintainers = [ maintainers.goibhniu ]; maintainers = [ maintainers.goibhniu ];
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ]; platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];
}; };