Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 01feeb23502473657b7684e8255eb5a6 > files > 2

sankore-3.1-1.mga2.src.rpm

diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro
index aff1440..e15543b 100644
--- a/Sankore_3.1.pro
+++ b/Sankore_3.1.pro
@@ -1,10 +1,9 @@
 TARGET = "Sankore 3.1"
 TEMPLATE = app
 
-THIRD_PARTY_PATH=../Sankore-ThirdParty
 
 CONFIG += debug_and_release \
-   no_include_pwd
+   no_include_pwd qtsingleapplication
 
 VERSION_MAJ = 1
 VERSION_MIN = 35 
@@ -30,9 +29,13 @@ QT += xml
 QT += script
 QT += xmlpatterns
 
+XPDF_DIR     = "/usr/include/xpdf"
 INCLUDEPATH += src
+INCLUDEPATH += "/usr/include/quazip"
+INCLUDEPATH += "$$XPDF_DIR"
+INCLUDEPATH += "$$XPDF_DIR/goo"
+INCLUDEPATH += "$$XPDF_DIR/splash"
 
-include($$THIRD_PARTY_PATH/libs.pri)
 include(src/adaptors/adaptors.pri)
 include(src/api/api.pri)
 include(src/board/board.pri)
@@ -53,12 +56,10 @@ include(src/transition/transition.pri)
 DEPENDPATH += src/pdf-merger
 INCLUDEPATH += src/pdf-merger
 include(src/pdf-merger/pdfMerger.pri)
-DEPENDPATH += $$THIRD_PARTY_PATH/quazip/
-INCLUDEPATH += $$THIRD_PARTY_PATH/quazip/
-include($$THIRD_PARTY_PATH/quazip/quazip.pri)
-DEPENDPATH += $$THIRD_PARTY_PATH/trolltech/singleapplication
-INCLUDEPATH += $$THIRD_PARTY_PATH/trolltech/singleapplication
-include($$THIRD_PARTY_PATH/trolltech/singleapplication/qtsingleapplication.pri)
+
+LIBS        += "-lfreetype"
+LIBS        += "-lxpdf"
+LIBS        += "-lquazip"
 
 FORMS += resources/forms/mainWindow.ui \
    resources/forms/preferences.ui \
@@ -161,7 +162,6 @@ macx {
    UB_LIBRARY.path = "$$RESOURCES_DIR"
    UB_FONTS.files = "resources/fonts"
    UB_FONTS.path = "$$RESOURCES_DIR"
-   UB_THIRDPARTY_INTERACTIVE.files = $$files($$THIRD_PARTY_PATH/interactive/*)
    UB_THIRDPARTY_INTERACTIVE.path = "$$RESOURCES_DIR/library/interactive"
    UB_MACX_ICNS.files = $$files(resources/macx/*.icns)
    UB_MACX_ICNS.path = "$$RESOURCES_DIR"