liblxqt: init at 0.11.0

This commit is contained in:
José Romildo Malaquias 2016-10-03 18:46:35 -03:00
parent 6b92742a46
commit 9899d3a2fd
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "liblxqt";
version = "0.11.0";
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "12gla3pdg0n28w15qrmha83xm3021xdby8ydwp1qzcips5pa5zac";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
qt5.qtx11extras
qt5.qttools
qt5.qtsvg
kde5.kwindowsystem
lxqt.libqtxdg
xorg.libXScrnSaver
];
cmakeFlags = [
"-DPULL_TRANSLATIONS=NO"
"-DLXQT_ETC_XDG_DIR=/run/current-system/sw/etc/xdg"
];
patchPhase = ''
sed -i 's|set(LXQT_SHARE_DIR .*)|set(LXQT_SHARE_DIR "/run/current-system/sw/share/lxqt")|' CMakeLists.txt
'';
meta = with stdenv.lib; {
description = "Core utility library for all LXQt components";
homepage = https://github.com/lxde/liblxqt;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ romildo ];
platforms = with platforms; unix;
};
}

View File

@ -29,5 +29,6 @@ let
### BASE
libqtxdg = callPackage ./base/libqtxdg { };
libsysstat = callPackage ./base/libsysstat { };
liblxqt = callPackage ./base/liblxqt { };
in self