gqrx: update 2.2.0 -> 2.3.0
Also install desktop file (new in this version) and icon.
This commit is contained in:
parent
f56d9e30a1
commit
041242192c
@ -8,11 +8,11 @@ assert pulseaudioSupport -> pulseaudio != null;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gqrx-${version}";
|
name = "gqrx-${version}";
|
||||||
version = "2.2.0";
|
version = "2.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/gqrx/${version}/${name}-src.tar.gz";
|
url = "mirror://sourceforge/project/gqrx/${version}/${name}.tar.xz";
|
||||||
sha256 = "15ncx2shh43skph7sj3jvmkls9cbbbysld49c8xd23fhdsxanj9x";
|
sha256 = "0fyfkdd2ailg54ppv1y2fy2c692jmlmsyl1lxr20lyn6bvd9gpyn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -21,6 +21,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configurePhase = ''qmake PREFIX="$out"'';
|
configurePhase = ''qmake PREFIX="$out"'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p "$out/share/applications"
|
||||||
|
mkdir -p "$out/share/icons"
|
||||||
|
|
||||||
|
cp gqrx.desktop "$out/share/applications/"
|
||||||
|
cp icons/gqrx.svg "$out/share/icons/"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Software defined radio (SDR) receiver";
|
description = "Software defined radio (SDR) receiver";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user