3
0
Fork 0
forked from mirrors/nixpkgs

kdepim-runtime: replace sed by a proper patch

- remove unused qca-qt5
This commit is contained in:
Jos van den Oever 2019-04-22 16:18:49 +02:00 committed by worldofpeace
parent ec4448a376
commit 044cd208b7
5 changed files with 18 additions and 11 deletions

View file

@ -102,7 +102,7 @@ let
kdegraphics-thumbnailers = callPackage ./kdegraphics-thumbnailers.nix {};
kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {};
kdenlive = callPackage ./kdenlive.nix {};
kdepim-runtime = callPackage ./kdepim-runtime.nix {};
kdepim-runtime = callPackage ./kdepim-runtime {};
kdepim-addons = callPackage ./kdepim-addons.nix {};
kdepim-apps-libs = callPackage ./kdepim-apps-libs {};
kdf = callPackage ./kdf.nix {};

View file

@ -0,0 +1,12 @@
diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt
index 99f7dbf..03e953b 100644
--- a/resources/CMakeLists.txt
+++ b/resources/CMakeLists.txt
@@ -45,7 +45,6 @@ add_subdirectory( imap )
if (Libkolabxml_FOUND)
add_subdirectory( kolab )
endif()
-add_subdirectory( facebook )
add_subdirectory( maildir )
add_subdirectory( openxchange )

View file

@ -1,12 +1,11 @@
{
mkDerivation, lib, kdepimTeam,
mkDerivation, copyPathsToStore, lib, kdepimTeam,
extra-cmake-modules, kdoctools,
shared-mime-info,
akonadi, akonadi-calendar, akonadi-contacts, akonadi-mime, akonadi-notes,
kalarmcal, kcalutils, kcontacts, kdav, kdelibs4support, kidentitymanagement,
kimap, kmailtransport, kmbox, kmime, knotifications, knotifyconfig,
pimcommon, qtwebengine, libkgapi, qtspeech, qtxmlpatterns,
qca-qt5, qtnetworkauth
pimcommon, qtwebengine, libkgapi, qtnetworkauth, qtspeech, qtxmlpatterns,
}:
mkDerivation {
@ -15,18 +14,14 @@ mkDerivation {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = kdepimTeam;
};
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
nativeBuildInputs = [ extra-cmake-modules kdoctools shared-mime-info ];
buildInputs = [
akonadi akonadi-calendar akonadi-contacts akonadi-mime akonadi-notes
kalarmcal kcalutils kcontacts kdav kdelibs4support kidentitymanagement kimap
kmailtransport kmbox kmime knotifications knotifyconfig qtwebengine
pimcommon libkgapi qtspeech qtxmlpatterns qca-qt5 qtnetworkauth
pimcommon libkgapi qtnetworkauth qtspeech qtxmlpatterns
];
# Attempts to build some files before dependencies have been generated
enableParallelBuilding = false;
# build failure, not worth fixing, rc anyway
postPatch = ''
sed -i resources/CMakeLists.txt -e '/facebook/d'
'';
}

View file

@ -0,0 +1 @@
00-no-facebook.patch

View file

@ -3,5 +3,4 @@
qtModule {
name = "qtnetworkauth";
qtInputs = [ qtbase ];
outputs = [ "out" "dev" "bin" ];
}