Merge pull request #123629 from dasj19/adwaita-qt-update
adwaita-qt: 1.1.4 -> 1.3.0
This commit is contained in:
commit
633b9193d0
1 changed files with 18 additions and 5 deletions
|
@ -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 {
|
||||
pname = "adwaita-qt";
|
||||
version = "1.1.4";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FedoraQt";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "19s97wm96g3828dp8m85j3lsn1n6h5h2zqk4652hcqcgq6xb6gv5";
|
||||
sha256 = "1fkivdiz4al84nhgg1srj33l109j9si63biw3asy339cyyzj28c9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -18,11 +28,14 @@ mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qt5.qtx11extras
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
xorg.libxcb
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix plugin dir
|
||||
substituteInPlace style/CMakeLists.txt \
|
||||
substituteInPlace src/style/CMakeLists.txt \
|
||||
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles"
|
||||
'';
|
||||
|
||||
|
@ -37,6 +50,6 @@ mkDerivation rec {
|
|||
homepage = "https://github.com/FedoraQt/adwaita-qt";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = teams.gnome.members ++ (with maintainers; [ ]);
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue