kdePackages.qtstyleplugin-kvantum: 1.1.2 -> 1.1.3 (#351109)

This commit is contained in:
Weijia Wang 2024-11-01 17:40:43 +01:00 committed by GitHub
commit ac6691a029
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,34 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, qmake
, qtbase
, qtsvg
, qtx11extras ? null
, kwindowsystem ? null
, qtwayland
, libX11
, libXext
, qttools
, wrapQtAppsHook
, gitUpdater
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
qmake,
qtbase,
qtsvg,
qtx11extras ? null, # Qt 5 only
kwindowsystem,
qtwayland,
libX11,
libXext,
qttools,
wrapQtAppsHook,
gitUpdater,
, qt6Kvantum ? null
qt6Kvantum ? null,
}:
let
isQt5 = lib.versionOlder qtbase.version "6";
in
stdenv.mkDerivation (finalAttrs: {
pname = "qtstyleplugin-kvantum${lib.optionalString isQt5 "5"}";
version = "1.1.2";
version = "1.1.3";
src = fetchFromGitHub {
owner = "tsujan";
repo = "Kvantum";
rev = "V${finalAttrs.version}";
hash = "sha256-1aeXcN9DwPE8CoaxCqCNL9UEcRHJdaKxS7Ivjp3YNN8=";
hash = "sha256-x2XsJ26y9y6IF9aY0fmAcvO4zmwLjvE2Lfvzw+GqchM=";
};
nativeBuildInputs = [
@ -38,14 +39,18 @@ stdenv.mkDerivation (finalAttrs: {
wrapQtAppsHook
];
buildInputs = [
qtbase
qtsvg
libX11
libXext
kwindowsystem
] ++ lib.optionals isQt5 [ qtx11extras ]
++ lib.optionals (!isQt5) [ qtwayland ];
buildInputs =
[
qtbase
qtsvg
libX11
libXext
]
++ lib.optionals isQt5 [ qtx11extras ]
++ lib.optionals (!isQt5) [
kwindowsystem
qtwayland
];
sourceRoot = "${finalAttrs.src.name}/Kvantum";
@ -78,11 +83,14 @@ stdenv.mkDerivation (finalAttrs: {
rev-prefix = "V";
};
meta = with lib; {
meta = {
description = "SVG-based Qt5 theme engine plus a config tool and extra themes";
homepage = "https://github.com/tsujan/Kvantum";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo Scrumplex ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
romildo
Scrumplex
];
};
})