lxqt.lxqt-admin: 1.4.0 -> 2.0.0

This commit is contained in:
José Romildo 2024-04-18 14:21:40 -03:00
parent e853eaaab7
commit ad6f920cd7
1 changed files with 15 additions and 13 deletions

View File

@ -1,47 +1,49 @@
{ lib
, mkDerivation
, stdenv
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtx11extras
, qttools
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, polkit-qt
, lxqt-build-tools
, polkit-qt-1
, qtsvg
, qttools
, qtwayland
, wrapQtAppsHook
, gitUpdater
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "lxqt-admin";
version = "1.4.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-wPK3TMBC359GnisjpdY2zU+Jnvr7Hdzb6r+HuUQC3mo=";
hash = "sha256-Ps+XiCA6OmnsYj0D+pxpvRxfIZfRGFBbZ0t/IPZjlv8=";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
qtx11extras
qtsvg
kwindowsystem
liblxqt
libqtxdg
polkit-qt
polkit-qt-1
qtsvg
qtwayland
];
postPatch = ''
for f in lxqt-admin-{time,user}/CMakeLists.txt; do
substituteInPlace $f --replace \
substituteInPlace $f --replace-fail \
"\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}" \
"$out/share/polkit-1/actions"
done