dde-network-core: 1.1.8 -> 2.0.15
This commit is contained in:
parent
7613b21f12
commit
5cf7c0bc9b
1 changed files with 9 additions and 25 deletions
|
@ -5,41 +5,28 @@
|
||||||
, qttools
|
, qttools
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
|
, qtbase
|
||||||
|
, qtsvg
|
||||||
, dtkwidget
|
, dtkwidget
|
||||||
, dde-dock
|
, dde-dock
|
||||||
, dde-control-center
|
, dde-control-center
|
||||||
, dde-session-shell
|
, dde-session-shell
|
||||||
, dde-qt-dbus-factory
|
|
||||||
, gsettings-qt
|
|
||||||
, gio-qt
|
|
||||||
, networkmanager-qt
|
, networkmanager-qt
|
||||||
, glib
|
, glib
|
||||||
, pcre
|
|
||||||
, util-linux
|
|
||||||
, libselinux
|
|
||||||
, libsepol
|
|
||||||
, dbus
|
|
||||||
, gtest
|
, gtest
|
||||||
, qtbase
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dde-network-core";
|
pname = "dde-network-core";
|
||||||
version = "1.1.8";
|
version = "2.0.15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxdeepin";
|
owner = "linuxdeepin";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-ysmdB9CT7mhN/0r8CRT4FQsK12HkhjbezGXwWiNScqg=";
|
hash = "sha256-AMuWEz3Eyw0tG0srLWpqS7MO7Z4ZzIay4z59cZQZU0o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace dock-network-plugin/networkplugin.cpp dcc-network-plugin/dccnetworkmodule.cpp dss-network-plugin/network_module.cpp \
|
|
||||||
--replace "/usr/share" "$out/share"
|
|
||||||
substituteInPlace dss-network-plugin/notification/bubbletool.cpp \
|
|
||||||
--replace "/usr/share" "/run/current-system/sw/share"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
qttools
|
qttools
|
||||||
|
@ -48,19 +35,14 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
qtbase
|
||||||
|
qtsvg
|
||||||
dtkwidget
|
dtkwidget
|
||||||
dde-dock
|
dde-dock
|
||||||
dde-control-center
|
dde-control-center
|
||||||
dde-session-shell
|
dde-session-shell
|
||||||
dde-qt-dbus-factory
|
|
||||||
gsettings-qt
|
|
||||||
gio-qt
|
|
||||||
networkmanager-qt
|
networkmanager-qt
|
||||||
glib
|
glib
|
||||||
pcre
|
|
||||||
util-linux
|
|
||||||
libselinux
|
|
||||||
libsepol
|
|
||||||
gtest
|
gtest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -68,6 +50,8 @@ stdenv.mkDerivation rec {
|
||||||
"-DVERSION=${version}"
|
"-DVERSION=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "DDE network library framework";
|
description = "DDE network library framework";
|
||||||
homepage = "https://github.com/linuxdeepin/dde-network-core";
|
homepage = "https://github.com/linuxdeepin/dde-network-core";
|
||||||
|
|
Loading…
Reference in a new issue