deepin.gio-qt: 0.0.12 -> 0.0.14

This commit is contained in:
rewine 2024-07-26 20:03:37 +08:00
parent c4a0a122c0
commit 03f5c8cf80

View File

@ -13,15 +13,22 @@
stdenv.mkDerivation rec {
pname = "gio-qt";
version = "0.0.12";
version = "0.0.14";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-/wLaVR31T+EcT6D5Cw0QIjZasioPWC74KNmt1tckwXk=";
hash = "sha256-qDkkLqGsrw+otUy3/iZJJZ2RtpNYPGc/wktdVpw2weg=";
};
# Upstream compiles both qt5 and qt6 versions, which is not possible in nixpkgs
# because of the conflict between qt5 hooks and qt6 hooks
postPatch = ''
substituteInPlace {gio-qt,qgio-tools}/CMakeLists.txt \
--replace "include(qt6.cmake)" " "
'';
nativeBuildInputs = [
cmake
pkg-config