Merge pull request #34566 from dotlambda/qmediathekview

qmediathekview: init at 2017-04-16
This commit is contained in:
Jörg Thalheim 2018-02-10 10:08:59 +00:00 committed by GitHub
commit 1307ffdcd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, qtbase, qttools, xz, boost, qmake, pkgconfig }:
stdenv.mkDerivation rec {
pname = "QMediathekView";
version = "2017-04-16";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "adamreichold";
repo = pname;
rev = "8c69892b95bf6825bd06a8c594168a98fe7cb2d1";
sha256 = "1wca1w4iywd3hmiwcqx6fv79p3x5n1cgbw2liw3hs24ch3z54ckm";
};
postPatch = ''
substituteInPlace ${pname}.pro \
--replace /usr ""
'';
buildInputs = [ qtbase qttools xz boost ];
nativeBuildInputs = [ qmake pkgconfig ];
installFlags = [ "INSTALL_ROOT=$(out)" ];
meta = with stdenv.lib; {
description = "An alternative Qt-based front-end for the database maintained by the MediathekView project";
inherit (src.meta) homepage;
license = licenses.gpl3Plus;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -16822,6 +16822,8 @@ with pkgs;
qmapshack = libsForQt5.callPackage ../applications/misc/qmapshack { };
qmediathekview = libsForQt5.callPackage ../applications/video/qmediathekview { };
qmetro = callPackage ../applications/misc/qmetro { };
qmidinet = callPackage ../applications/audio/qmidinet { };