Skip to content

Commit

Permalink
screengrab: init at 2016-02-24
Browse files Browse the repository at this point in the history
fixes #19561
  • Loading branch information
romildo authored and Mic92 committed Oct 15, 2016
1 parent f175831 commit 0f78fce
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
1 change: 1 addition & 0 deletions nixos/modules/services/x11/desktop-managers/lxqt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ in
pkgs.lxqt.qps
pkgs.lxqt.qterminal
pkgs.lxqt.qtermwidget
pkgs.lxqt.screengrab
pkgs.menu-cache
pkgs.openbox # default window manager
pkgs.qt5.qtsvg # provides QT5 plugins for svg icons
Expand Down
3 changes: 2 additions & 1 deletion pkgs/desktops/lxqt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ let
obconf-qt = callPackage ./optional/obconf-qt { };
lximage-qt = callPackage ./optional/lximage-qt { };
qps = callPackage ./optional/qps { };

screengrab = callPackage ./optional/screengrab { };

};

in self
35 changes: 35 additions & 0 deletions pkgs/desktops/lxqt/optional/screengrab/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}

0 comments on commit 0f78fce

Please sign in to comment.