lxqt.obconf-qt: port to qt6

This commit is contained in:
José Romildo 2024-04-18 14:34:35 -03:00
parent 550334fd8a
commit 9d4f020897

View File

@ -1,19 +1,23 @@
{ lib { lib
, mkDerivation , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, pkg-config , libSM
, pcre , libXdmcp
, qtbase , libpthreadstubs
, qttools
, qtx11extras
, xorg
, lxqt-build-tools , lxqt-build-tools
, openbox , openbox
, pcre
, pkg-config
, qtbase
, qttools
, qtwayland
, wrapQtAppsHook
, gitUpdater , gitUpdater
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "obconf-qt"; pname = "obconf-qt";
version = "0.16.4"; version = "0.16.4";
@ -29,16 +33,25 @@ mkDerivation rec {
pkg-config pkg-config
lxqt-build-tools lxqt-build-tools
qttools qttools
wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
libSM
libXdmcp
libpthreadstubs
openbox
pcre pcre
qtbase qtbase
qtx11extras qtwayland
xorg.libpthreadstubs ];
xorg.libXdmcp
xorg.libSM patches = [
openbox (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 { }; passthru.updateScript = gitUpdater { };