qgnomeplatform: 0.5 -> 0.6.0

This commit is contained in:
worldofpeace 2019-11-20 05:48:30 -05:00
parent 3575bd5e2e
commit 522f0dfd4d

View File

@ -1,14 +1,14 @@
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, gtk3, qtbase, qmake }: { mkDerivation, lib, fetchFromGitHub, pkgconfig, gtk3, qtbase, qmake, qtx11extras }:
mkDerivation rec { mkDerivation rec {
pname = "qgnomeplatform"; pname = "qgnomeplatform";
version = "0.5"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FedoraQt"; owner = "FedoraQt";
repo = "QGnomePlatform"; repo = "QGnomePlatform";
rev = version; rev = version;
sha256 = "01ncj21cxd5p7pch6p3zbhv5wp0dgn9vy5hrw54g49fmqnbb1ymz"; sha256 = "0fb1mzs6sx76bl7f0z2xhc0jq6y1c55jrw1v3na8577is6g5ji0a";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -19,11 +19,14 @@ mkDerivation rec {
buildInputs = [ buildInputs = [
gtk3 gtk3
qtbase qtbase
qtx11extras
]; ];
postPatch = '' postPatch = ''
# Fix plugin dir # Fix plugin dir
substituteInPlace qgnomeplatform.pro \ substituteInPlace decoration/decoration.pro \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
substituteInPlace theme/theme.pro \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix" --replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
''; '';