stockholm/makefu/5pkgs/custom/qcma/default.nix

58 lines
1.6 KiB
Nix
Raw Normal View History

2016-09-02 22:45:11 +00:00
{ lib, stdenv, fetchFromGitHub, fetchgit, libusb, libtool, autoconf, pkgconfig, git,
2018-02-27 00:53:10 +00:00
gettext, automake, libxml2
, autoreconfHook
, qmake4Hook
, qmake
, qtbase, qttools, qtmultimedia, libnotify, ffmpeg, gdk_pixbuf }:
2016-09-02 22:45:11 +00:00
let
libvitamtp = stdenv.mkDerivation rec {
name = "libvitamtp-${version}";
version = "2.5.9";
src = fetchFromGitHub {
owner = "codestation";
repo = "vitamtp";
rev = "v"+version;
sha256 = "09c9f7gqpyicfpnhrfb4r67s2hci6hh31bzmqlpds4fywv5mzaf8";
};
2018-02-27 00:53:10 +00:00
buildInputs = [ libusb libxml2 libtool autoconf automake gettext pkgconfig
autoreconfHook ];
2016-09-02 22:45:11 +00:00
meta = {
description = "Content Manager Assistant for the PS Vita";
homepage = https://github.com/codestation/qcma;
2021-12-04 20:24:48 +00:00
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ makefu ];
2016-09-02 22:45:11 +00:00
};
};
in stdenv.mkDerivation rec {
name = "qcma-${version}";
2018-02-27 00:53:10 +00:00
version = "8e6cafedc0f47733f33323f829624e3fc847a176";
2016-09-02 22:45:11 +00:00
2018-02-27 00:53:10 +00:00
src = fetchFromGitHub {
owner = "codestation";
repo = "qcma";
rev = version;
sha256 = "1l95kx3x4pf5iwmwigbch5c6n2h27lls5qiy4xh15v59p5442yw5";
2016-09-02 22:45:11 +00:00
};
preConfigure = ''
lrelease common/resources/translations/*.ts
'';
enableParallelBuilding = true;
buildInputs = [ gdk_pixbuf ffmpeg libnotify libvitamtp git qtmultimedia qtbase ];
2018-02-27 00:53:10 +00:00
nativeBuildInputs = [ qttools pkgconfig qmake ];
2016-09-02 22:45:11 +00:00
meta = {
description = "Content Manager Assistant for the PS Vita";
homepage = https://github.com/codestation/qcma;
2021-12-04 20:24:48 +00:00
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ makefu ];
2016-09-02 22:45:11 +00:00
};
}