lxqt-qtplugin: 0.11.1 -> 0.12.0

This commit is contained in:
José Romildo Malaquias 2017-11-01 23:58:19 -02:00
parent f50e270076
commit 2312b0ef47
1 changed files with 10 additions and 8 deletions

View File

@ -1,19 +1,19 @@
{ {
stdenv, fetchFromGitHub, standardPatch, stdenv, fetchFromGitHub,
cmake, lxqt-build-tools, cmake, lxqt-build-tools,
qtbase, qtx11extras, qttools, qtsvg, libdbusmenu, libqtxdg, qtbase, qtx11extras, qttools, qtsvg, libdbusmenu, libqtxdg, libfm-qt
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
pname = "lxqt-qtplugin"; pname = "lxqt-qtplugin";
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 = "12hyw7rk3zx51n6g2bazlqv70xap0lygm9v21ibxgy1aw0j6iy02"; sha256 = "1i1rga0pg764ccwhq7acdsckxpl1apxwj4lv4gygxxmpkrg62zkv";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -28,11 +28,13 @@ stdenv.mkDerivation rec {
qtsvg qtsvg
libdbusmenu libdbusmenu
libqtxdg libqtxdg
libfm-qt
]; ];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; postPatch = ''
substituteInPlace src/CMakeLists.txt \
postPatch = standardPatch; --replace "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"$qtPluginPrefix"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "LXQt Qt platform integration plugin"; description = "LXQt Qt platform integration plugin";