Merge pull request #47305 from worldofpeace/qgnome
Add adwaita-qt & qgnomeplatform
This commit is contained in:
commit
aba011fe71
37
pkgs/development/libraries/qgnomeplatform/default.nix
Normal file
37
pkgs/development/libraries/qgnomeplatform/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, pkgconfig, gtk3, qtbase, qmake }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "qgnomeplatform-${version}";
|
||||||
|
version = "0.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "FedoraQt";
|
||||||
|
repo = "QGnomePlatform";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1403300d435g7ngcxsgnllhryk63nrhl1ahx16b28wkxnh2vi9ly";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
qmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
|
qtbase
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Fix plugin dir
|
||||||
|
substituteInPlace qgnomeplatform.pro \
|
||||||
|
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "QPlatformTheme for a better Qt application inclusion in GNOME";
|
||||||
|
homepage = https://github.com/FedoraQt/QGnomePlatform;
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
maintainers = with maintainers; [ worldofpeace ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
38
pkgs/misc/themes/adwaita-qt/default.nix
Normal file
38
pkgs/misc/themes/adwaita-qt/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -11960,6 +11960,8 @@ with pkgs;
|
|||||||
|
|
||||||
qrupdate = callPackage ../development/libraries/qrupdate { };
|
qrupdate = callPackage ../development/libraries/qrupdate { };
|
||||||
|
|
||||||
|
qgnomeplatform = libsForQt5.callPackage ../development/libraries/qgnomeplatform { };
|
||||||
|
|
||||||
resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
|
resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
|
||||||
|
|
||||||
rhino = callPackage ../development/libraries/java/rhino {
|
rhino = callPackage ../development/libraries/java/rhino {
|
||||||
@ -20586,6 +20588,8 @@ with pkgs;
|
|||||||
|
|
||||||
latte-dock = libsForQt5.callPackage ../applications/misc/latte-dock { };
|
latte-dock = libsForQt5.callPackage ../applications/misc/latte-dock { };
|
||||||
|
|
||||||
|
adwaita-qt = libsForQt5.callPackage ../misc/themes/adwaita-qt { };
|
||||||
|
|
||||||
orion = callPackage ../misc/themes/orion {};
|
orion = callPackage ../misc/themes/orion {};
|
||||||
|
|
||||||
elementary-gtk-theme = callPackage ../misc/themes/elementary { };
|
elementary-gtk-theme = callPackage ../misc/themes/elementary { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user