bitmeter: fix libm underlinking

This commit is contained in:
Piotr Bogdan 2019-01-04 19:33:50 +00:00
parent ae7557c4cb
commit 0b0430928b

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libjack2, gtk2, pkgconfig }: { stdenv, autoreconfHook, fetchurl, libjack2, gtk2, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bitmeter-${version}"; name = "bitmeter-${version}";
@ -9,9 +9,16 @@ stdenv.mkDerivation rec {
sha256 = "09ck2gxqky701dc1p0ip61rrn16v0pdc7ih2hc2sd63zcw53g2a7"; sha256 = "09ck2gxqky701dc1p0ip61rrn16v0pdc7ih2hc2sd63zcw53g2a7";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libjack2 gtk2 ]; buildInputs = [ libjack2 gtk2 ];
patches = [
(fetchurl {
url = https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch;
sha256 = "021mz6933iw7mpk6b9cbjr8naj6smbq1hwqjszlyx72qbwrrid7k";
})
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://devel.tlrmx.org/audio/bitmeter/; homepage = http://devel.tlrmx.org/audio/bitmeter/;
description = "Also known as jack bitscope. Useful to detect denormals"; description = "Also known as jack bitscope. Useful to detect denormals";