gqrx: 2.3.2 -> 2.5.3

This commit is contained in:
Franz Pletz 2016-03-22 01:17:27 +01:00
parent 441f8a84c0
commit 29275f9740

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4, gnuradio, boost, gnuradio-osmosdr { stdenv, fetchFromGitHub, qt4, gnuradio, boost, gnuradio-osmosdr
# drivers (optional): # drivers (optional):
, rtl-sdr, hackrf , rtl-sdr, hackrf
, pulseaudioSupport ? true, libpulseaudio , pulseaudioSupport ? true, libpulseaudio
@ -8,11 +8,13 @@ assert pulseaudioSupport -> libpulseaudio != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gqrx-${version}"; name = "gqrx-${version}";
version = "2.3.2"; version = "2.5.3";
src = fetchurl { src = fetchFromGitHub {
url = "mirror://sourceforge/project/gqrx/${version}/${name}.tar.xz"; owner = "csete";
sha256 = "1vfqqa976xlbapqkpc9nka364zydvsy18xiwfqjy015kpasshdz1"; repo = "gqrx";
rev = "v${version}";
sha256 = "02pavd1kc0gsnrl18bfa01r2f3j4j05zly4a8zwss9yrsgf8432x";
}; };
buildInputs = [ buildInputs = [
@ -21,12 +23,14 @@ stdenv.mkDerivation rec {
configurePhase = ''qmake PREFIX="$out"''; configurePhase = ''qmake PREFIX="$out"'';
enableParallelBuilding = true;
postInstall = '' postInstall = ''
mkdir -p "$out/share/applications" mkdir -p "$out/share/applications"
mkdir -p "$out/share/icons" mkdir -p "$out/share/icons"
cp gqrx.desktop "$out/share/applications/" cp gqrx.desktop "$out/share/applications/"
cp icons/gqrx.svg "$out/share/icons/" cp resources/icons/gqrx.svg "$out/share/icons/"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -42,6 +46,6 @@ stdenv.mkDerivation rec {
# it's currently unknown which version of the BSD license that is. # it's currently unknown which version of the BSD license that is.
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; # should work on Darwin / OS X too platforms = platforms.linux; # should work on Darwin / OS X too
maintainers = with maintainers; [ bjornfor the-kenny ]; maintainers = with maintainers; [ bjornfor the-kenny fpletz ];
}; };
} }