copyq: build with qt6
This commit is contained in:
parent
06a3b21531
commit
7b61a2bf69
2 changed files with 15 additions and 11 deletions
|
@ -1,20 +1,21 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, ninja
|
||||
, extra-cmake-modules
|
||||
, qtbase
|
||||
, qtscript
|
||||
, qtsvg
|
||||
, qttools
|
||||
, qtdeclarative
|
||||
, libXfixes
|
||||
, libXtst
|
||||
, qtx11extras
|
||||
, knotifications
|
||||
, qtwayland
|
||||
, wayland
|
||||
, fetchpatch
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "CopyQ";
|
||||
version = "6.4.0";
|
||||
|
||||
|
@ -27,16 +28,18 @@ mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtscript
|
||||
qtsvg
|
||||
qttools
|
||||
qtdeclarative
|
||||
libXfixes
|
||||
libXtst
|
||||
qtx11extras
|
||||
knotifications
|
||||
qtwayland
|
||||
wayland
|
||||
];
|
||||
|
@ -46,13 +49,14 @@ mkDerivation rec {
|
|||
--replace copyq "$out/bin/copyq"
|
||||
'';
|
||||
|
||||
cmakeFlags = [ "-DWITH_QT6=ON" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://hluk.github.io/CopyQ";
|
||||
description = "Clipboard Manager with Advanced Features";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ artturin ];
|
||||
# NOTE: CopyQ supports windows and osx, but I cannot test these.
|
||||
# OSX build requires QT5.
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28386,7 +28386,7 @@ with pkgs;
|
|||
|
||||
confclerk = libsForQt5.callPackage ../applications/misc/confclerk { };
|
||||
|
||||
copyq = libsForQt5.callPackage ../applications/misc/copyq { };
|
||||
copyq = qt6Packages.callPackage ../applications/misc/copyq { };
|
||||
|
||||
corectrl = libsForQt5.callPackage ../applications/misc/corectrl { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue