File 0001-Use-system-libraries.patch of Package kitscenarist

From 576a289528fa64b57c2eac7d7b8d818b61196bc7 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Wed, 21 Oct 2020 09:56:24 +0200
Subject: [PATCH 1/2] Use system libraries

---
 src/bin/scenarist-desktop.pro | 11 ++---------
 src/libs/libs.pro             |  2 --
 2 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/src/bin/scenarist-desktop.pro b/src/bin/scenarist-desktop.pro
index 872abbd..f9cc3a3 100755
--- a/src/bin/scenarist-desktop.pro
+++ b/src/bin/scenarist-desktop.pro
@@ -37,20 +37,13 @@ UI_DIR = $$DESTDIR/.ui
 #
 # Подключаем библиотеку HUNSPELL
 #
-LIBS += -L$$DESTDIR/../../libs/hunspell/ -lhunspell
-
-INCLUDEPATH += $$PWD/../libs/hunspell/src
-DEPENDPATH += $$PWD/../libs/hunspell
-PRE_TARGETDEPS += $$PWD/../libs/hunspell
-#
+LIBS += -lhunspell
 
 ##
 ## Подключаем библиотеку MYTHES
 ##
-#LIBS += -L$$DESTDIR/../../libs/mythes/ -lmythes
+#LIBS += -lmythes
 
-#INCLUDEPATH += $$PWD/../libs/mythes
-#DEPENDPATH += $$PWD/../libs/mythes
 ##
 
 #
diff --git a/src/libs/libs.pro b/src/libs/libs.pro
index 00c6aff..eb37202 100755
--- a/src/libs/libs.pro
+++ b/src/libs/libs.pro
@@ -11,10 +11,8 @@ CONFIG(debug, debug|release) {
 #
 
 SUBDIRS = \
-    hunspell \
     fileformats \
     webloader \
-    mythes \
     qgumboparser
 
 win32: SUBDIRS += qBreakpad
-- 
2.28.0

openSUSE Build Service is sponsored by