qsstv: remove additional desktop item
This commit is contained in:
parent
ac1ddc70cf
commit
304d6cf8e7
@ -1,5 +1,5 @@
|
|||||||
{ mkDerivation, stdenv, fetchurl, qtbase, qmake, makeDesktopItem, openjpeg,
|
{ mkDerivation, stdenv, fetchurl, qtbase, qmake, openjpeg, pkgconfig, fftw,
|
||||||
pkgconfig, fftw, libpulseaudio, alsaLib, hamlib, libv4l, fftwFloat }:
|
libpulseaudio, alsaLib, hamlib, libv4l, fftwFloat }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
version = "9.4.4";
|
version = "9.4.4";
|
||||||
@ -20,25 +20,9 @@ mkDerivation rec {
|
|||||||
buildInputs = [ qtbase openjpeg fftw libpulseaudio alsaLib hamlib libv4l
|
buildInputs = [ qtbase openjpeg fftw libpulseaudio alsaLib hamlib libv4l
|
||||||
fftwFloat ];
|
fftwFloat ];
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
postInstall = ''
|
||||||
name = "QSSTV";
|
|
||||||
exec = "qsstv";
|
|
||||||
icon = "qsstv.png";
|
|
||||||
comment = "Qt-based slow-scan TV and fax";
|
|
||||||
desktopName = "QSSTV";
|
|
||||||
genericName = "qsstv";
|
|
||||||
categories = "Application;HamRadio;";
|
|
||||||
};
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
# Install binary
|
|
||||||
make install
|
|
||||||
|
|
||||||
# Install desktop icon
|
# Install desktop icon
|
||||||
install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png
|
install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png
|
||||||
|
|
||||||
# Install desktop item
|
|
||||||
cp -rv ${desktopItem}/share $out
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user