dde-file-manager: 6.0.23 -> 6.0.31
This commit is contained in:
parent
9824e03f5e
commit
f21a5f646f
2 changed files with 28 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, runtimeShell
|
||||
, dtkwidget
|
||||
, qt5integration
|
||||
|
@ -38,17 +39,18 @@
|
|||
, pcre
|
||||
, udisks2
|
||||
, libisoburn
|
||||
, gsettings-qt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dde-file-manager";
|
||||
version = "6.0.23";
|
||||
version = "6.0.31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-H+pCWZ1jj5p3gOKXYyLxSmjCMv5/BPIz5A25JGGzrR8=";
|
||||
hash = "sha256-mc2HcoLrwMXKU8w34KUEh62ZfEIfbJLVzz4JGnUE5EM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -60,6 +62,16 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
dontWrapGApps = true;
|
||||
|
||||
patches = [
|
||||
./use_v23_dbus_interface.diff
|
||||
|
||||
(fetchpatch {
|
||||
name = "use-pkgconfig-to-check-mount.patch";
|
||||
url = "https://github.com/linuxdeepin/dde-file-manager/commit/b6c210057d991591df45b80607a614e7a57a9dc0.patch";
|
||||
hash = "sha256-k0ZYlOVN3hHs1qvvRaJ3i6okOhDE+DoUKGs9AhSFBGU=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
|
||||
|
@ -115,11 +127,11 @@ stdenv.mkDerivation rec {
|
|||
pcre
|
||||
udisks2
|
||||
libisoburn
|
||||
gsettings-qt
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DVERSION=${version}"
|
||||
"-DDEEPIN_OS_VERSION=20"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e93d3ad..94e3eca 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -30,7 +30,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
endif()
|
||||
|
||||
#Indentify the version
|
||||
-if (${DEEPIN_OS_VERSION} MATCHES "23")
|
||||
+if (TRUE)
|
||||
add_definitions(-DCOMPILE_ON_V23)
|
||||
set(COMPLIE_ON_V23 TRUE)
|
||||
message("COMPILE ON v23")
|
Loading…
Reference in a new issue