Merge pull request #53859 from schmittlauch/ktouch

ktouch: init at 18.12.0
This commit is contained in:
Jörg Thalheim 2019-01-13 12:28:24 +00:00 committed by GitHub
commit 7b7865a973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 1 deletions

View File

@ -141,6 +141,7 @@ let
kruler = callPackage ./kruler.nix {}; kruler = callPackage ./kruler.nix {};
ksystemlog = callPackage ./ksystemlog.nix {}; ksystemlog = callPackage ./ksystemlog.nix {};
ktnef = callPackage ./ktnef.nix {}; ktnef = callPackage ./ktnef.nix {};
ktouch = callPackage ./ktouch.nix {};
kwalletmanager = callPackage ./kwalletmanager.nix {}; kwalletmanager = callPackage ./kwalletmanager.nix {};
libgravatar = callPackage ./libgravatar.nix {}; libgravatar = callPackage ./libgravatar.nix {};
libkcddb = callPackage ./libkcddb.nix {}; libkcddb = callPackage ./libkcddb.nix {};

View File

@ -0,0 +1,26 @@
{ mkDerivation, lib
, extra-cmake-modules, kdoctools
, kconfig, kconfigwidgets, kcoreaddons, kdeclarative, ki18n
, kitemviews, kcmutils, kio, knewstuff, ktexteditor, kwidgetsaddons
, kwindowsystem, kxmlgui, qtscript, qtdeclarative, kqtquickcharts
, qtx11extras, qtgraphicaleffects, xorg
}:
mkDerivation {
name = "ktouch";
meta = {
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.schmittlauch ];
description = "A touch typing tutor from the KDE software collection";
};
nativeBuildInputs = [ extra-cmake-modules kdoctools qtdeclarative ];
buildInputs = [
kconfig kconfigwidgets kcoreaddons kdeclarative ki18n
kitemviews kcmutils kio knewstuff ktexteditor kwidgetsaddons
kwindowsystem kxmlgui qtscript qtdeclarative kqtquickcharts
qtx11extras qtgraphicaleffects xorg.libxkbfile xorg.libxcb
];
enableParallelBuilding = true;
}

View File

@ -18,6 +18,19 @@ index 005db4248..685c5b1b2 100644
// env import paths // env import paths
if (Q_UNLIKELY(!qEnvironmentVariableIsEmpty("QML2_IMPORT_PATH"))) { if (Q_UNLIKELY(!qEnvironmentVariableIsEmpty("QML2_IMPORT_PATH"))) {
const QString envImportPath = qEnvironmentVariable("QML2_IMPORT_PATH"); const QString envImportPath = qEnvironmentVariable("QML2_IMPORT_PATH");
diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake
index 56cb3fb55..74509d601 100644
--- a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake
+++ b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake
@@ -17,7 +17,7 @@ function(QTQUICK_COMPILER_ADD_RESOURCES outfiles)
find_package(Qt5 COMPONENTS Qml Core)
- set(compiler_path "${_qt5Core_install_prefix}/bin/qmlcachegen")
+ set(compiler_path "qmlcachegen")
get_target_property(rcc_path ${Qt5Core_RCC_EXECUTABLE} IMPORTED_LOCATION)
diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf
index 537eaf62e..e21de58f6 100644 index 537eaf62e..e21de58f6 100644
--- a/tools/qmlcachegen/qmlcache.prf --- a/tools/qmlcachegen/qmlcache.prf

View File

@ -17811,7 +17811,7 @@ in
akonadi akregator ark dolphin dragon ffmpegthumbs filelight gwenview k3b akonadi akregator ark dolphin dragon ffmpegthumbs filelight gwenview k3b
kaddressbook kate kcachegrind kcalc kcharselect kcolorchooser kcontacts kdenlive kdf kdialog kaddressbook kate kcachegrind kcalc kcharselect kcolorchooser kcontacts kdenlive kdf kdialog
keditbookmarks kget kgpg khelpcenter kig kleopatra kmail kmix kolourpaint kompare konsole keditbookmarks kget kgpg khelpcenter kig kleopatra kmail kmix kolourpaint kompare konsole
kpkpass kitinerary kontact korganizer krdc krfb ksystemlog kwalletmanager marble minuet okular spectacle; kpkpass kitinerary kontact korganizer krdc krfb ksystemlog ktouch kwalletmanager marble minuet okular spectacle;
okteta = libsForQt5.callPackage ../applications/editors/okteta { }; okteta = libsForQt5.callPackage ../applications/editors/okteta { };