dtkwidget: init at 2.0.9.3
This commit is contained in:
parent
c48a234ab1
commit
de7a1c8e46
|
@ -11,6 +11,7 @@ let
|
|||
wnck = pkgs.libwnck3;
|
||||
};
|
||||
dtkcore = callPackage ./dtkcore { };
|
||||
dtkwidget = callPackage ./dtkwidget { };
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, qtmultimedia,
|
||||
qtsvg, qtx11extras, librsvg, libstartup_notification, gsettings-qt,
|
||||
dde-qt-dbus-factory, dtkcore
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "dtkwidget";
|
||||
version = "2.0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ngspvjvws1d2nkyqjh9y45ilahkd1fqwxnlmazgik4355mb76bv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
qmake
|
||||
qttools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtmultimedia
|
||||
qtsvg
|
||||
qtx11extras
|
||||
librsvg
|
||||
libstartup_notification
|
||||
gsettings-qt
|
||||
dde-qt-dbus-factory
|
||||
dtkcore
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
qmakeFlags="$qmakeFlags \
|
||||
INCLUDE_INSTALL_DIR=$out/include \
|
||||
LIB_INSTALL_DIR=$out/lib \
|
||||
QT_HOST_DATA=$out"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Deepin graphical user interface library";
|
||||
homepage = https://github.com/linuxdeepin/dtkwidget;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue