don't build the qgv library anymore

This commit is contained in:
Marco Martin 2012-09-24 18:24:59 +02:00
parent 16ee068aba
commit 1cf7a6214c

View File

@ -188,8 +188,6 @@ set(plasma_LIB_SRCS
private/qtjolie-branch/qtjolie/serverthread.cpp private/qtjolie-branch/qtjolie/serverthread.cpp
#FIXME: all these must move into the qgv library #FIXME: all these must move into the qgv library
#private/themedwidgetinterface.cpp
#widgets/iconwidget.cpp
#view.cpp #view.cpp
applet.cpp applet.cpp
containment.cpp containment.cpp
@ -199,65 +197,70 @@ set(plasma_LIB_SRCS
#popupapplet.cpp #popupapplet.cpp
) )
set (plasmaqgv_LIB_SRCS #TODO: all those files will have to be deleted
private/applethandle.cpp # set (plasmaqgv_LIB_SRCS
abstracttoolbox.cpp # private/applethandle.cpp
delegate.cpp # abstracttoolbox.cpp
#FIXME: this is duplicated with libplasma because iconwidget requires it! # delegate.cpp
private/themedwidgetinterface.cpp # dialog.cpp
# view.cpp
graphicsview/private/graphicsviewappletprivate.cpp # private/themedwidgetinterface.cpp
animator.cpp # widgets/iconwidget.cpp
animations/animation.cpp # #FIXME: this is duplicated with libplasma because iconwidget requires it!
animations/easinganimation.cpp # private/themedwidgetinterface.cpp
animations/fade.cpp #
animations/grow.cpp # graphicsview/private/graphicsviewappletprivate.cpp
animations/pendulumcurve.cpp # animator.cpp
animations/pixmaptransition.cpp # animations/animation.cpp
animations/pulser.cpp # animations/easinganimation.cpp
animations/rotation.cpp # animations/fade.cpp
animations/rotationstacked.cpp # animations/grow.cpp
animations/slide.cpp # animations/pendulumcurve.cpp
animations/stackedlayout.cpp # animations/pixmaptransition.cpp
animations/geometry.cpp # animations/pulser.cpp
animations/widgetsnapshot.cpp # animations/rotation.cpp
animations/zoom.cpp # animations/rotationstacked.cpp
# animations/slide.cpp
private/declarative/declarativenetworkaccessmanagerfactory.cpp # animations/stackedlayout.cpp
private/declarative/dataenginebindings.cpp # animations/geometry.cpp
graphicsview/private/animablegraphicswebview.cpp # animations/widgetsnapshot.cpp
graphicsview/private/focusindicator.cpp # animations/zoom.cpp
graphicsview/private/nativetabbar.cpp #
graphicsview/private/style.cpp # private/declarative/declarativenetworkaccessmanagerfactory.cpp
graphicsview/private/kineticscroll.cpp # private/declarative/dataenginebindings.cpp
# graphicsview/private/animablegraphicswebview.cpp
widgets/label.cpp # graphicsview/private/focusindicator.cpp
widgets/scrollbar.cpp # graphicsview/private/nativetabbar.cpp
widgets/svgwidget.cpp # graphicsview/private/style.cpp
widgets/scrollwidget.cpp # graphicsview/private/kineticscroll.cpp
widgets/textedit.cpp #
widgets/textbrowser.cpp # widgets/label.cpp
widgets/busywidget.cpp # widgets/scrollbar.cpp
widgets/checkbox.cpp # widgets/svgwidget.cpp
widgets/combobox.cpp # widgets/scrollwidget.cpp
widgets/declarativewidget.cpp # widgets/textedit.cpp
widgets/flashinglabel.cpp # widgets/textbrowser.cpp
widgets/frame.cpp # widgets/busywidget.cpp
widgets/groupbox.cpp # widgets/checkbox.cpp
widgets/itembackground.cpp # widgets/combobox.cpp
widgets/lineedit.cpp # widgets/declarativewidget.cpp
widgets/meter.cpp # widgets/flashinglabel.cpp
widgets/pushbutton.cpp # widgets/frame.cpp
widgets/radiobutton.cpp # widgets/groupbox.cpp
widgets/signalplotter.cpp # widgets/itembackground.cpp
widgets/slider.cpp # widgets/lineedit.cpp
widgets/spinbox.cpp # widgets/meter.cpp
widgets/toolbutton.cpp # widgets/pushbutton.cpp
widgets/separator.cpp # widgets/radiobutton.cpp
widgets/tabbar.cpp # widgets/signalplotter.cpp
widgets/treeview.cpp # widgets/slider.cpp
widgets/webview.cpp # widgets/spinbox.cpp
) # widgets/toolbutton.cpp
# widgets/separator.cpp
# widgets/tabbar.cpp
# widgets/treeview.cpp
# widgets/webview.cpp
# )
kconfig_add_kcfg_files(plasma_LIB_SRCS data/kconfigxt/libplasma-theme-global.kcfgc) kconfig_add_kcfg_files(plasma_LIB_SRCS data/kconfigxt/libplasma-theme-global.kcfgc)
@ -273,28 +276,14 @@ kde4_add_ui_files(plasma_LIB_SRCS
#) #)
if (PHONON_FOUND)
message(STATUS "Adding support for Phonon to libplasma")
include_directories(${KDE4_PHONON_INCLUDES})
set(plasmaqgv_LIB_SRCS
${plasmaqgv_LIB_SRCS}
widgets/videowidget.cpp)
endif(PHONON_FOUND)
kde4_add_library(plasma ${LIBRARY_TYPE} ${plasma_LIB_SRCS}) kde4_add_library(plasma ${LIBRARY_TYPE} ${plasma_LIB_SRCS})
kde4_add_library(plasmaqgv ${LIBRARY_TYPE} ${plasmaqgv_LIB_SRCS})
target_link_libraries(plasma ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY} target_link_libraries(plasma ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
${QT_QTSCRIPT_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTSCRIPT_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
${KDE4_KDEUI_LIBS} kdnssd threadweaver kauth kwindowsystem ${PLASMA_EXTRA_LIBS} kcoreaddons ${QtMimeTypes_LIBRARY}) ${KDE4_KDEUI_LIBS} kdnssd threadweaver kauth kwindowsystem ${PLASMA_EXTRA_LIBS} kcoreaddons ${QtMimeTypes_LIBRARY})
#FIXME gpgme++ is in kdepimlibs, neeeds to be elsewhere #FIXME gpgme++ is in kdepimlibs, neeeds to be elsewhere
target_link_libraries(plasma ${KDEPIMLIBS_GPGMEPP_LIBS} kdeclarative karchive) target_link_libraries(plasma ${KDEPIMLIBS_GPGMEPP_LIBS} kdeclarative karchive)
target_link_libraries(plasmaqgv plasma ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
${QT_QTSCRIPT_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
${KDE4_KDEUI_LIBS} kdeclarative ${PLASMA_EXTRA_LIBS} kcoreaddons ${QtMimeTypes_LIBRARY})
if(QCA2_FOUND) if(QCA2_FOUND)
target_link_libraries(plasma ${QCA2_LIBRARIES}) target_link_libraries(plasma ${QCA2_LIBRARIES})
endif(QCA2_FOUND) endif(QCA2_FOUND)
@ -303,10 +292,6 @@ if(X11_FOUND)
target_link_libraries(plasma ${X11_LIBRARIES}) target_link_libraries(plasma ${X11_LIBRARIES})
endif(X11_FOUND) endif(X11_FOUND)
if(PHONON_FOUND)
target_link_libraries(plasmaqgv ${KDE4_PHONON_LIBS})
endif(PHONON_FOUND)
if(DL_LIBRARY) if(DL_LIBRARY)
target_link_libraries(plasma ${DL_LIBRARY}) target_link_libraries(plasma ${DL_LIBRARY})
endif(DL_LIBRARY) endif(DL_LIBRARY)
@ -319,13 +304,7 @@ set_target_properties(plasma PROPERTIES
SOVERSION 4 SOVERSION 4
) )
set_target_properties(plasmaqgv PROPERTIES
VERSION 1.0.0
SOVERSION 1
)
install(TARGETS plasma EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) install(TARGETS plasma EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS plasmaqgv EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ############### ########### install files ###############
generate_export_header(plasma) generate_export_header(plasma)