deepin.dtk6core: 6.0.15 -> 6.0.16

This commit is contained in:
rewine 2024-05-31 14:46:45 +08:00
parent 602cff3e0c
commit cf7b36c5f6

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "dtk6core";
version = "6.0.15";
version = "6.0.16";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "dtk6core";
rev = finalAttrs.version;
hash = "sha256-zUJFilafR0hNH/Owmuyh6BLBFPbBuFKcHv40fena0GM=";
hash = "sha256-m2unpWx8FBvZT8AmdFlzc5dp55kgtDsR62SHF8RwHhU=";
};
patches = [
@ -35,6 +35,11 @@ stdenv.mkDerivation (finalAttrs: {
})
];
postPatch = ''
substituteInPlace misc/DtkCoreConfig.cmake.in \
--subst-var-by PACKAGE_TOOL_INSTALL_DIR ${placeholder "out"}/libexec/dtk6/DCore/bin
'';
nativeBuildInputs = [
cmake
pkg-config