Unverified Commit c9f4347b authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

drumkv1: 0.9.23 -> 1.0.0 (+fix LV2 Qt UI issues) (#326887)

parents 8ec24935 99df3b54
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -22915,6 +22915,13 @@
    name = "Rouven Seifert";
    keys = [ { fingerprint = "1169 87A8 DD3F 78FF 8601  BF4D B95E 8FE6 B11C 4D09"; } ];
  };
  theredstonedev = {
    email = "theredstonedev@devellight.space";
    matrix = "@theredstonedev_de:matrix.devellight.space";
    github = "TheRedstoneDEV-DE";
    githubId = 75328096;
    name = "Robert Richter";
  };
  therishidesai = {
    email = "desai.rishi1@gmail.com";
    github = "therishidesai";
+42 −8
Original line number Diff line number Diff line
{ mkDerivation, lib, fetchurl, pkg-config, libjack2, alsa-lib, libsndfile, liblo, lv2, qt5 }:
{
  stdenv,
  lib,
  pkg-config,
  fetchurl,
  cmake,
  libjack2,
  alsa-lib,
  libsndfile,
  liblo,
  lv2,
  qt6,
  xorg,
}:

mkDerivation rec {
stdenv.mkDerivation rec {
  pname = "drumkv1";
  version = "0.9.23";
  version = "1.0.0";

  src = fetchurl {
    url = "mirror://sourceforge/drumkv1/${pname}-${version}.tar.gz";
    sha256 = "sha256-gNscsqGpEfU1CNJDlBAzum9M0vzJSm6Wx5b/zhOt+sk=";
    url = "mirror://sourceforge/drumkv1/drumkv1-${version}.tar.gz";
    hash = "sha256-vi//84boqaVxC/KCg+HF76vB4Opch02LU4RtbVaxaX4=";
  };

  buildInputs = [ libjack2 alsa-lib libsndfile liblo lv2 qt5.qtbase qt5.qttools ];
  buildInputs = [
    libjack2
    alsa-lib
    libsndfile
    liblo
    lv2
    xorg.libX11
    qt6.qtbase
    qt6.qtwayland
    qt6.qtsvg
  ];

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    pkg-config
    cmake
    qt6.wrapQtAppsHook
  ];

  cmakeFlags = [
    # disable experimental feature "LV2 port change request"
    "-DCONFIG_LV2_PORT_CHANGE_REQUEST=false"
    # override libdir -- temporary until upstream fixes CMakeLists.txt
    "-DCMAKE_INSTALL_LIBDIR=lib"
  ];

  meta = with lib; {
    description = "Old-school drum-kit sampler synthesizer with stereo fx";
@@ -19,6 +53,6 @@ mkDerivation rec {
    homepage = "http://drumkv1.sourceforge.net/";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = [ ];
    maintainers = [ maintainers.theredstonedev ];
  };
}