lxqt-policykit: 0.11.1 -> 0.12.0

This commit is contained in:
José Romildo Malaquias 2017-11-01 23:57:37 -02:00
parent 9a907dcd6b
commit 644938aee9

View File

@ -1,19 +1,19 @@
{ {
stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt, qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt,
libqtxdg, libqtxdg, pcre
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
pname = "lxqt-policykit"; pname = "lxqt-policykit";
version = "0.11.1"; version = "0.12.0";
srcs = fetchFromGitHub { src = fetchFromGitHub {
owner = "lxde"; owner = "lxde";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0sf8wj152z1xid1i2x5g1zpgh7lwq8f0rbrk3r9shyksxqcj2d8p"; sha256 = "1hxz5bxxi118g255aqb3da767va0wd25y671lk2w9r1641j8zf2d";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -31,10 +31,16 @@ stdenv.mkDerivation rec {
kwindowsystem kwindowsystem
liblxqt liblxqt
libqtxdg libqtxdg
pcre
]; ];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
postPatch = ''
substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "The LXQt PolicyKit agent"; description = "The LXQt PolicyKit agent";
homepage = https://github.com/lxde/lxqt-policykit; homepage = https://github.com/lxde/lxqt-policykit;