git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #44323 from hax404/add/qsstv

qsstv: init 9.2.6

commitb9fafcfc3020580be1cefac93d8fe4cefe9135f5 authorJörg Thalheim <Mic92@users.noreply.github.com> dateSat 18 Aug 2018, 08:24 (8 years ago) parent5828cb3acd1551
3 files changed+61
maintainers/maintainer-list.nix+5 pkgs/applications/misc/qsstv/default.nix+54 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -1590,6 +1590,11 @@
15901590 github = "havvy";
15911591 name = "Ryan Scheel";
15921592 };
1593+ hax404 = {
1594+ email = "hax404foogit@hax404.de";
1595+ github = "hax404";
1596+ name = "Georg Haas";
1597+ };
15931598 hbunke = {
15941599 email = "bunke.hendrik@gmail.com";
15951600 github = "hbunke";
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
@@ -18045,6 +18045,8 @@ with pkgs;
1804518045 qt = qt4;
1804618046 };
1804718047
18048+ qsstv = qt5.callPackage ../applications/misc/qsstv { };
18049+
1804818050 qsyncthingtray = libsForQt5.callPackage ../applications/misc/qsyncthingtray { };
1804918051
1805018052 qstopmotion = libsForQt5.callPackage ../applications/video/qstopmotion { };