adwaita-qt: init at 1.0

This commit is contained in:
worldofpeace 2018-09-24 22:14:37 -04:00
parent 6793313708
commit 94d079b6bc
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, qtbase }:
stdenv.mkDerivation rec {
pname = "adwaita-qt";
version = "1.0";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "FedoraQt";
repo = pname;
rev = version;
sha256 = "0xn8bianmdj15k11mnw52by9vxkmvpqr2s304kl3dbjj1l7v4cd7";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
];
postPatch = ''
# Fix plugin dir
substituteInPlace style/CMakeLists.txt \
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles"
'';
meta = with stdenv.lib; {
description = "A style to bend Qt applications to look like they belong into GNOME Shell";
homepage = https://github.com/FedoraQt/adwaita-qt;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ worldofpeace ];
platforms = platforms.linux;
};
}

View File

@ -20578,6 +20578,8 @@ with pkgs;
latte-dock = libsForQt5.callPackage ../applications/misc/latte-dock { };
adwaita-qt = libsForQt5.callPackage ../misc/themes/adwaita-qt { };
orion = callPackage ../misc/themes/orion {};
elementary-gtk-theme = callPackage ../misc/themes/elementary { };