Merge pull request #34756 from peterhoeg/p/discover

discover: init at 5.15.3
This commit is contained in:
Peter Hoeg 2019-04-29 15:40:09 +08:00 committed by GitHub
commit f92191e397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 10 deletions

View File

@ -102,6 +102,7 @@ let
breeze-qt5 = callPackage ./breeze-qt5.nix {};
breeze-grub = callPackage ./breeze-grub.nix {};
breeze-plymouth = callPackage ./breeze-plymouth {};
discover = callPackage ./discover.nix {};
kactivitymanagerd = callPackage ./kactivitymanagerd.nix {};
kde-cli-tools = callPackage ./kde-cli-tools.nix {};
kde-gtk-config = callPackage ./kde-gtk-config { inherit gsettings-desktop-schemas; };

View File

@ -0,0 +1,20 @@
{
mkDerivation,
extra-cmake-modules, gettext, kdoctools, python,
appstream-qt, discount, flatpak, fwupd, ostree, packagekit-qt, pcre, utillinux,
qtquickcontrols2,
karchive, kconfig, kcrash, kdbusaddons, kdeclarative, kio, kirigami2, kitemmodels,
knewstuff, kwindowsystem, kxmlgui, plasma-framework
}:
mkDerivation {
name = "discover";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python ];
buildInputs = [
# discount is needed for libmarkdown
appstream-qt discount flatpak fwupd ostree packagekit-qt pcre utillinux
qtquickcontrols2
karchive kconfig kcrash kdbusaddons kdeclarative kio kirigami2 kitemmodels knewstuff kwindowsystem kxmlgui
plasma-framework
];
}

View File

@ -1,5 +1,7 @@
{ stdenv, appstream, qtbase, qttools }:
# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
stdenv.mkDerivation rec {
name = "appstream-qt-${version}";
inherit (appstream) version src prePatch;
@ -10,15 +12,6 @@ stdenv.mkDerivation rec {
mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];
postInstall = ''
rm -rf $out/{bin,etc,include/appstream,lib/pkgconfig,lib/libappstream.so*,share}
'';
preFixup = ''
patchelf --add-needed ${appstream}/lib/libappstream.so.4 \
$out/lib/libAppStreamQt.so
'';
meta = appstream.meta // {
description = "Software metadata handling library - Qt";
};

View File

@ -21877,7 +21877,7 @@ in
inherit (kdeFrameworks) kded kinit frameworkintegration;
inherit (plasma5)
bluedevil breeze-gtk breeze-qt5 breeze-grub breeze-plymouth
bluedevil breeze-gtk breeze-qt5 breeze-grub breeze-plymouth discover
kactivitymanagerd kde-cli-tools kde-gtk-config kdeplasma-addons kgamma5
kinfocenter kmenuedit kscreen kscreenlocker ksshaskpass ksysguard
kwallet-pam kwayland-integration kwin kwrited milou oxygen plasma-browser-integration