Commit 9d4f0208 authored by José Romildo's avatar José Romildo
Browse files

lxqt.obconf-qt: port to qt6

parent 550334fd
Loading
Loading
Loading
Loading
+25 −12
Original line number Diff line number Diff line
{ lib
, mkDerivation
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, libSM
, libXdmcp
, libpthreadstubs
, lxqt-build-tools
, openbox
, pcre
, pkg-config
, qtbase
, qttools
, qtx11extras
, xorg
, lxqt-build-tools
, openbox
, qtwayland
, wrapQtAppsHook
, gitUpdater
}:

mkDerivation rec {
stdenv.mkDerivation rec {
  pname = "obconf-qt";
  version = "0.16.4";

@@ -29,16 +33,25 @@ mkDerivation rec {
    pkg-config
    lxqt-build-tools
    qttools
    wrapQtAppsHook
  ];

  buildInputs = [
    libSM
    libXdmcp
    libpthreadstubs
    openbox
    pcre
    qtbase
    qtx11extras
    xorg.libpthreadstubs
    xorg.libXdmcp
    xorg.libSM
    openbox
    qtwayland
  ];

  patches = [
    (fetchpatch {
      name = "obconf-qt.port-to-qt6";
      url = "https://patch-diff.githubusercontent.com/raw/lxqt/obconf-qt/pull/230.patch";
      hash = "sha256-XLt8+/4oMXeli07qTAGc73U9RD1fGYqxTX0QdhuXpII=";
    })
  ];

  passthru.updateScript = gitUpdater { };