Merge pull request #118145 from peterhoeg/f/multimon

multimon-ng: drop qt4
This commit is contained in:
markuskowa 2021-04-06 12:58:30 +02:00 committed by GitHub
commit 9279336b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 16 deletions

View File

@ -1,10 +1,8 @@
{ lib, stdenv, fetchFromGitHub, qt4, qmake4Hook, libpulseaudio }:
let
version = "1.1.9";
in
stdenv.mkDerivation {
{ lib, stdenv, fetchFromGitHub, cmake, libpulseaudio, libX11 }:
stdenv.mkDerivation rec {
pname = "multimon-ng";
inherit version;
version = "1.1.9";
src = fetchFromGitHub {
owner = "EliasOenal";
@ -13,16 +11,9 @@ stdenv.mkDerivation {
sha256 = "01716cfhxfzsab9zjply9giaa4nn4b7rm3p3vizrwi7n253yiwm2";
};
buildInputs = [ qt4 libpulseaudio ];
buildInputs = [ libpulseaudio libX11 ];
nativeBuildInputs = [ qmake4Hook ];
qmakeFlags = [ "multimon-ng.pro" ];
installPhase = ''
mkdir -p $out/bin
cp multimon-ng $out/bin
'';
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Multimon is a digital baseband audio protocol decoder";
@ -39,6 +30,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/EliasOenal/multimon-ng";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = [ maintainers.markuskowa ];
maintainers = with maintainers; [ markuskowa ];
};
}