From 0f78fcec7a606b5abdf3df6a8857fe361303cceb Mon Sep 17 00:00:00 2001 From: romildo Date: Fri, 14 Oct 2016 19:48:32 -0300 Subject: screengrab: init at 2016-02-24 fixes #19561 --- pkgs/desktops/lxqt/optional/screengrab/default.nix | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/desktops/lxqt/optional/screengrab/default.nix (limited to 'pkgs/desktops/lxqt/optional') diff --git a/pkgs/desktops/lxqt/optional/screengrab/default.nix b/pkgs/desktops/lxqt/optional/screengrab/default.nix new file mode 100644 index 000000000000..99a372553a13 --- /dev/null +++ b/pkgs/desktops/lxqt/optional/screengrab/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg }: + +stdenv.mkDerivation rec { + name = "screengrab-unstable-2016-09-12"; + + srcs = fetchFromGitHub { + owner = "QtDesktop"; + repo = "screengrab"; + rev = "3dbacb9d6f52825689846c798a6c4c95e3815bf6"; + sha256 = "0rflb1q5b1mik8sm1wm63hwpyaah8liizxq1f5q33zapl1qafzi5"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = [ + qt5.qtbase + qt5.qttools + qt5.qtx11extras + qt5.qtsvg + kde5.kwindowsystem + lxqt.libqtxdg + xorg.libpthreadstubs + xorg.libXdmcp + ]; + + cmakeFlags = [ "-DSG_USE_SYSTEM_QXT=ON" "-DCMAKE_INSTALL_LIBDIR=lib" ]; + + meta = with stdenv.lib; { + description = "Crossplatform tool for fast making screenshots"; + homepage = https://github.com/lxde/screengrab; + license = licenses.gpl2; + platforms = with platforms; unix; + maintainers = with maintainers; [ romildo ]; + }; +} -- cgit 1.4.1