git.iko.soy/typeable/nixpkgs
on master help sign in
qsstv: init at 9.2.6
commitf09e3a385d4b8559540c0fc334d8da9a6c8b35eb authorGeorg Haas <hax404foogit@hax404.de> dateTue 31 Jul 2018, 21:22 (8 years ago) parent333a664
2 files changed+56
pkgs/applications/misc/qsstv/default.nix+54 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/qsstv/default.nixnew file+54
@@ -0,0 +1,54 @@
1+{ stdenv, fetchurl, qtbase, qmake, makeDesktopItem, openjpeg, pkgconfig, fftw,
2+ libpulseaudio, alsaLib, hamlib, libv4l, fftwFloat }:
3+
4+stdenv.mkDerivation rec {
5+ version = "9.2.6";
6+ name = "qsstv-${version}";
7+
8+ src = fetchurl {
9+ url = "http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz";
10+ sha256 = "0sx70yk389fq5djvjwnam6ics5knmg9b5x608bk2sjbfxkila108";
11+ };
12+
13+ enableParallelBuilding = true;
14+
15+ nativeBuildInputs = [
16+ qmake
17+ pkgconfig
18+ ];
19+
20+ buildInputs = [ qtbase openjpeg fftw libpulseaudio alsaLib hamlib libv4l
21+ fftwFloat ];
22+
23+ desktopItem = makeDesktopItem {
24+ name = "QSSTV";
25+ exec = "qsstv";
26+ icon = "qsstv.png";
27+ comment = "Qt-based slow-scan TV and fax";
28+ desktopName = "QSSTV";
29+ genericName = "qsstv";
30+ categories = "Application;HamRadio;";
31+ };
32+
33+ installPhase = ''
34+ # Install binary to the right location
35+ make install INSTALL_ROOT=$out
36+ mv $out/usr/bin $out/
37+ rm -r $out/usr
38+
39+ # Install desktop icon
40+ install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png
41+
42+ # Install desktop item
43+ cp -rv ${desktopItem}/share $out
44+ '';
45+
46+ meta = with stdenv.lib; {
47+ description = "Qt-based slow-scan TV and fax";
48+ homepage = http://users.telenet.be/on4qz/;
49+ platforms = platforms.linux;
50+ license = stdenv.lib.licenses.gpl3;
51+ maintainers = with stdenv.lib.maintainers; [ hax404 ];
52+ };
53+}
54+
pkgs/top-level/all-packages.nix+2
@@ -17956,6 +17956,8 @@ with pkgs;
1795617956 qt = qt4;
1795717957 };
1795817958
17959+ qsstv = qt5.callPackage ../applications/misc/qsstv { };
17960+
1795917961 qsyncthingtray = libsForQt5.callPackage ../applications/misc/qsyncthingtray { };
1796017962
1796117963 qstopmotion = callPackage ../applications/video/qstopmotion { };