Merge pull request #225124 from wineee/deepin-clearup
deepin: don't need prefix qt5integration for all application
This commit is contained in:
commit
11f2f419a8
|
@ -8,6 +8,8 @@
|
||||||
, dtkwidget
|
, dtkwidget
|
||||||
, qt5integration
|
, qt5integration
|
||||||
, qt5platform-plugins
|
, qt5platform-plugins
|
||||||
|
, qtbase
|
||||||
|
, qtsvg
|
||||||
, udisks2-qt5
|
, udisks2-qt5
|
||||||
, gio-qt
|
, gio-qt
|
||||||
, image-editor
|
, image-editor
|
||||||
|
@ -16,7 +18,6 @@
|
||||||
, opencv
|
, opencv
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, ffmpegthumbnailer
|
, ffmpegthumbnailer
|
||||||
, qtbase
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -35,9 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace libUnionImage/CMakeLists.txt \
|
substituteInPlace libUnionImage/CMakeLists.txt \
|
||||||
--replace "/usr" "$out"
|
--replace "/usr" "$out"
|
||||||
substituteInPlace src/CMakeLists.txt \
|
substituteInPlace src/CMakeLists.txt \
|
||||||
--replace "set(PREFIX /usr)" "set(PREFIX $out)" \
|
--replace "/usr" "$out"
|
||||||
--replace "/usr/bin" "$out/bin" \
|
|
||||||
--replace "/usr/share/deepin-manual/manual-assets/application/)" "share/deepin-manual/manual-assets/application/)"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -49,7 +48,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
|
qtbase
|
||||||
|
qtsvg
|
||||||
udisks2-qt5
|
udisks2-qt5
|
||||||
gio-qt
|
gio-qt
|
||||||
image-editor
|
image-editor
|
||||||
|
@ -60,10 +62,7 @@ stdenv.mkDerivation rec {
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
];
|
];
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
strictDeps = true;
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [ "-DVERSION=${version}" ];
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
, dtkwidget
|
, dtkwidget
|
||||||
, qt5integration
|
, qt5integration
|
||||||
, qt5platform-plugins
|
, qt5platform-plugins
|
||||||
|
, qtbase
|
||||||
|
, qtsvg
|
||||||
, dde-qt-dbus-factory
|
, dde-qt-dbus-factory
|
||||||
, cmake
|
, cmake
|
||||||
, qtbase
|
|
||||||
, qttools
|
, qttools
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
|
@ -33,14 +34,15 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
|
qt5platform-plugins
|
||||||
|
qtbase
|
||||||
|
qtsvg
|
||||||
dde-qt-dbus-factory
|
dde-qt-dbus-factory
|
||||||
gtest
|
gtest
|
||||||
];
|
];
|
||||||
|
|
||||||
qtWrapperArgs = [
|
strictDeps = true;
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
"--prefix QT_QPA_PLATFORM_PLUGIN_PATH : ${qt5platform-plugins}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [ "-DVERSION=${version}" ];
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
||||||
|
|
||||||
|
|
|
@ -36,11 +36,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/CMakeLists.txt \
|
substituteInPlace src/CMakeLists.txt \
|
||||||
--replace "/usr/share/libimagevisualresult/filter_cube" "${image-editor}/share/libimagevisualresult/filter_cube" \
|
--replace "/usr/share/libimagevisualresult" "${image-editor}/share/libimagevisualresult" \
|
||||||
--replace "/usr/include/libusb-1.0" "${lib.getDev libusb1}/include/libusb-1.0"
|
--replace "/usr/include/libusb-1.0" "${lib.getDev libusb1}/include/libusb-1.0"
|
||||||
substituteInPlace src/com.deepin.Camera.service \
|
substituteInPlace src/com.deepin.Camera.service \
|
||||||
--replace "/usr/bin/qdbus" "${lib.getBin qttools}/bin/qdbus" \
|
--replace "/usr/bin/qdbus" "${lib.getBin qttools}/bin/qdbus" \
|
||||||
--replace "/usr/share/applications/deepin-camera.desktop" "$out/share/applications/deepin-camera.desktop"
|
--replace "/usr/share" "$out/share"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -52,6 +52,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
image-editor
|
image-editor
|
||||||
qtbase
|
qtbase
|
||||||
|
@ -70,14 +71,14 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DVERSION=${version}" ];
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString [
|
env.NIX_CFLAGS_COMPILE = toString [
|
||||||
"-I${gst_all_1.gstreamer.dev}/include/gstreamer-1.0"
|
"-I${gst_all_1.gstreamer.dev}/include/gstreamer-1.0"
|
||||||
"-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
|
"-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
|
||||||
];
|
];
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
qtWrapperArgs = [
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ ffmpeg ffmpegthumbnailer gst_all_1.gstreamer gst_all_1.gst-plugins-base libusb1 libv4l portaudio systemd ]}"
|
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ ffmpeg ffmpegthumbnailer gst_all_1.gstreamer gst_all_1.gst-plugins-base libusb1 libv4l portaudio systemd ]}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
libuuid
|
libuuid
|
||||||
parted
|
parted
|
||||||
|
@ -61,11 +62,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Disk and partition backup/restore tool";
|
description = "Disk and partition backup/restore tool";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-clone";
|
homepage = "https://github.com/linuxdeepin/deepin-clone";
|
||||||
|
|
|
@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
udisks2-qt5
|
udisks2-qt5
|
||||||
kcodecs
|
kcodecs
|
||||||
|
@ -60,11 +61,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fast and lightweight application for creating and extracting archives";
|
description = "A fast and lightweight application for creating and extracting archives";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-compressor";
|
homepage = "https://github.com/linuxdeepin/deepin-compressor";
|
||||||
|
|
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
|
qt5integration
|
||||||
qtsvg
|
qtsvg
|
||||||
dtkwidget
|
dtkwidget
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
|
@ -55,11 +56,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Lightweight drawing tool for users to freely draw and simply edit images";
|
description = "Lightweight drawing tool for users to freely draw and simply edit images";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-draw";
|
homepage = "https://github.com/linuxdeepin/deepin-draw";
|
||||||
|
|
|
@ -54,6 +54,7 @@ stdenv.mkDerivation rec {
|
||||||
qtbase
|
qtbase
|
||||||
qtsvg
|
qtsvg
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
dde-qt-dbus-factory
|
dde-qt-dbus-factory
|
||||||
kcodecs
|
kcodecs
|
||||||
|
@ -68,11 +69,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DVERSION=${version}" ];
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A desktop text editor that supports common text editing features";
|
description = "A desktop text editor that supports common text editing features";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-editor";
|
homepage = "https://github.com/linuxdeepin/deepin-editor";
|
||||||
|
|
|
@ -59,6 +59,7 @@ stdenv.mkDerivation rec {
|
||||||
qtbase
|
qtbase
|
||||||
qtsvg
|
qtsvg
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
gio-qt
|
gio-qt
|
||||||
udisks2-qt5
|
udisks2-qt5
|
||||||
|
@ -71,11 +72,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DVERSION=${version}" ];
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An image viewing tool with fashion interface and smooth performance";
|
description = "An image viewing tool with fashion interface and smooth performance";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-image-viewer";
|
homepage = "https://github.com/linuxdeepin/deepin-image-viewer";
|
||||||
|
|
|
@ -73,6 +73,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
qtx11extras
|
qtx11extras
|
||||||
qtmultimedia
|
qtmultimedia
|
||||||
|
@ -99,12 +100,6 @@ stdenv.mkDerivation rec {
|
||||||
gst-plugins-base
|
gst-plugins-base
|
||||||
]);
|
]);
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ mpv ffmpeg ffmpegthumbnailer gst_all_1.gstreamer gst_all_1.gst-plugins-base ]}"
|
|
||||||
];
|
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString [
|
env.NIX_CFLAGS_COMPILE = toString [
|
||||||
"-I${gst_all_1.gstreamer.dev}/include/gstreamer-1.0"
|
"-I${gst_all_1.gstreamer.dev}/include/gstreamer-1.0"
|
||||||
"-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
|
"-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
|
||||||
|
@ -114,6 +109,12 @@ stdenv.mkDerivation rec {
|
||||||
"-DVERSION=${version}"
|
"-DVERSION=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
qtWrapperArgs = [
|
||||||
|
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ mpv ffmpeg ffmpegthumbnailer gst_all_1.gstreamer gst_all_1.gst-plugins-base ]}"
|
||||||
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
glib-compile-schemas ${glib.makeSchemaPath "$out" "${pname}-${version}"}
|
glib-compile-schemas ${glib.makeSchemaPath "$out" "${pname}-${version}"}
|
||||||
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
||||||
|
|
|
@ -38,8 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/music-player/CMakeLists.txt \
|
substituteInPlace src/music-player/CMakeLists.txt \
|
||||||
--replace "include_directories(/usr/include/vlc)" "include_directories(${libvlc}/include/vlc)" \
|
--replace "/usr/include/vlc" "${libvlc}/include/vlc" \
|
||||||
--replace "include_directories(/usr/include/vlc/plugins)" "include_directories(${libvlc}/include/vlc/plugins)" \
|
|
||||||
--replace "/usr/share" "$out/share"
|
--replace "/usr/share" "$out/share"
|
||||||
substituteInPlace src/libmusic-plugin/CMakeLists.txt \
|
substituteInPlace src/libmusic-plugin/CMakeLists.txt \
|
||||||
--replace "/usr/lib/deepin-aiassistant" "$out/lib/deepin-aiassistant"
|
--replace "/usr/lib/deepin-aiassistant" "$out/lib/deepin-aiassistant"
|
||||||
|
@ -56,6 +55,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
dde-qt-dbus-factory
|
dde-qt-dbus-factory
|
||||||
udisks2-qt5
|
udisks2-qt5
|
||||||
|
@ -76,15 +76,12 @@ stdenv.mkDerivation rec {
|
||||||
gst-plugins-good
|
gst-plugins-good
|
||||||
]);
|
]);
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DVERSION=${version}"
|
"-DVERSION=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
dde-qt-dbus-factory
|
dde-qt-dbus-factory
|
||||||
qtwebengine
|
qtwebengine
|
||||||
|
@ -61,11 +62,6 @@ stdenv.mkDerivation rec {
|
||||||
"DEFINES+=VERSION=${version}"
|
"DEFINES+=VERSION=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A simple memo software with texts and voice recordings";
|
description = "A simple memo software with texts and voice recordings";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-reader";
|
homepage = "https://github.com/linuxdeepin/deepin-reader";
|
||||||
|
|
|
@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -40,11 +41,6 @@ stdenv.mkDerivation rec {
|
||||||
"PREFIX=${placeholder "out"}"
|
"PREFIX=${placeholder "out"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Deepin Shortcut Viewer";
|
description = "Deepin Shortcut Viewer";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-shortcut-viewer";
|
homepage = "https://github.com/linuxdeepin/deepin-shortcut-viewer";
|
||||||
|
|
|
@ -53,6 +53,7 @@ stdenv.mkDerivation rec {
|
||||||
qtbase
|
qtbase
|
||||||
qtsvg
|
qtsvg
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
dde-qt-dbus-factory
|
dde-qt-dbus-factory
|
||||||
qtx11extras
|
qtx11extras
|
||||||
|
@ -64,11 +65,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features";
|
description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features";
|
||||||
homepage = "https://github.com/linuxdeepin/deepin-terminal";
|
homepage = "https://github.com/linuxdeepin/deepin-terminal";
|
||||||
|
|
|
@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
dtkwidget
|
dtkwidget
|
||||||
|
qt5integration
|
||||||
qt5platform-plugins
|
qt5platform-plugins
|
||||||
dde-qt-dbus-factory
|
dde-qt-dbus-factory
|
||||||
qtmultimedia
|
qtmultimedia
|
||||||
|
@ -62,11 +63,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = "-I${dde-qt-dbus-factory}/include/libdframeworkdbus-2.0";
|
env.NIX_CFLAGS_COMPILE = "-I${dde-qt-dbus-factory}/include/libdframeworkdbus-2.0";
|
||||||
|
|
||||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
|
||||||
qtWrapperArgs = [
|
|
||||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
|
||||||
];
|
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue