mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
deepin.deepin-compressor: 5.12.24 -> 6.0.1
This commit is contained in:
parent
67bde3c8c7
commit
bd98a8a7f1
@ -1,20 +0,0 @@
|
||||
diff --git a/src/source/common/ddesktopservicesthread.h b/src/source/common/ddesktopservicesthread.h
|
||||
index 49313744..456a5e96 100644
|
||||
--- a/src/source/common/ddesktopservicesthread.h
|
||||
+++ b/src/source/common/ddesktopservicesthread.h
|
||||
@@ -8,10 +8,14 @@
|
||||
|
||||
#include <QThread>
|
||||
|
||||
+#include <dtkwidget_global.h>
|
||||
+#include <dtkgui_global.h>
|
||||
#include <DDesktopServices>
|
||||
#include <QDebug>
|
||||
#include <QFileInfo>
|
||||
+
|
||||
DWIDGET_USE_NAMESPACE
|
||||
+DGUI_USE_NAMESPACE
|
||||
|
||||
// 文管打开文件目录线程
|
||||
class DDesktopServicesThread : public QThread
|
||||
|
@ -20,22 +20,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deepin-compressor";
|
||||
version = "5.12.24";
|
||||
version = "6.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-XNhG28VZifQrl3TZfx/OHnsAOo0eKrhGKDk+OjOYD8k=";
|
||||
hash = "sha256-DUpYb1xNmWpBcKo9kajeVm/+z4yj2OBE+qOyEkCHbUI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-fix-build-on-new-dtk.diff
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/source/common/pluginmanager.cpp \
|
||||
--replace-fail "/usr/lib/" "$out/lib/"
|
||||
--replace-fail "/usr/lib" "$out/lib"
|
||||
substituteInPlace src/desktop/deepin-compressor.desktop \
|
||||
--replace-fail "/usr" "$out"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user