mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
liblxqt: 0.12.0 -> 0.13.0
This commit is contained in:
parent
4de15eea4a
commit
165a228117
@ -1,16 +1,16 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools,
|
||||
qtx11extras, qttools, qtsvg, libqtxdg, kwindowsystem, xorg }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras,
|
||||
qttools, qtsvg, libqtxdg, polkit-qt, kwindowsystem, xorg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "liblxqt";
|
||||
version = "0.12.0";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxqt";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1852vfbkbpw49i8ad682jhqmnskmc9a90qwpalipgak7m64azg3j";
|
||||
sha256 = "1lbvnx6gg15k7fy1bnv5sjji659f603glblcl8c9psh0m1cjdbll";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
|
||||
qtx11extras
|
||||
qttools
|
||||
qtsvg
|
||||
polkit-qt
|
||||
kwindowsystem
|
||||
libqtxdg
|
||||
xorg.libXScrnSaver
|
||||
@ -31,11 +32,12 @@ stdenv.mkDerivation rec {
|
||||
"-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
|
||||
sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt
|
||||
'';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Core utility library for all LXQt components";
|
||||
homepage = https://github.com/lxqt/liblxqt;
|
||||
|
Loading…
Reference in New Issue
Block a user