adwaita-qt: 1.1.4 -> 1.3.0
This commit is contained in:
parent
1dbb8fa2be
commit
dce2a7a763
@ -1,14 +1,24 @@
|
|||||||
{ mkDerivation, lib, fetchFromGitHub, nix-update-script, cmake, ninja, qtbase, pantheon }:
|
{ mkDerivation
|
||||||
|
, stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nix-update-script
|
||||||
|
, cmake
|
||||||
|
, ninja
|
||||||
|
, qtbase
|
||||||
|
, qt5
|
||||||
|
, xorg
|
||||||
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "adwaita-qt";
|
pname = "adwaita-qt";
|
||||||
version = "1.1.4";
|
version = "1.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FedoraQt";
|
owner = "FedoraQt";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "19s97wm96g3828dp8m85j3lsn1n6h5h2zqk4652hcqcgq6xb6gv5";
|
sha256 = "1fkivdiz4al84nhgg1srj33l109j9si63biw3asy339cyyzj28c9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -18,11 +28,14 @@ mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
|
qt5.qtx11extras
|
||||||
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
|
xorg.libxcb
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Fix plugin dir
|
# Fix plugin dir
|
||||||
substituteInPlace style/CMakeLists.txt \
|
substituteInPlace src/style/CMakeLists.txt \
|
||||||
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles"
|
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -37,6 +50,6 @@ mkDerivation rec {
|
|||||||
homepage = "https://github.com/FedoraQt/adwaita-qt";
|
homepage = "https://github.com/FedoraQt/adwaita-qt";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = teams.gnome.members ++ (with maintainers; [ ]);
|
maintainers = teams.gnome.members ++ (with maintainers; [ ]);
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user