Merge pull request #285004 from wineee/deepin-compressor

deepin.deepin-compressor: 5.12.20 -> 5.12.23
This commit is contained in:
Mario Rodas 2024-01-30 19:34:30 -05:00 committed by GitHub
commit 55ad4874cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, dtkwidget
, qt5integration
, qt5platform-plugins
@ -21,23 +20,15 @@
stdenv.mkDerivation rec {
pname = "deepin-compressor";
version = "5.12.20";
version = "5.12.23";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-oOxto0X/GBAA9q691uwC0PtCdHDTMBqi80ov4xCXPn0=";
hash = "sha256-8qfpNM2rci4subdodxfJZLP3OvAxXl7QRl4MHGr15nA=";
};
patches = [
(fetchpatch {
name = "fix-build-failures-for-new-dtkgui.patch";
url = "https://github.com/linuxdeepin/deepin-compressor/commit/0ee07030034b06021e366d8d6109f344d47ea26c.patch";
hash = "sha256-P++SxzZCWoXJnLQhC0H/64/LjW/dqnl3hCGBWHVDn9Q=";
})
];
postPatch = ''
substituteInPlace src/source/common/pluginmanager.cpp \
--replace "/usr/lib/" "$out/lib/"