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