git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1231305 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
07a14c4107
commit
6e0e1a2a26
@ -0,0 +1,65 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( cursors )
|
||||
add_subdirectory( pics )
|
||||
add_subdirectory( pixmapfx )
|
||||
add_subdirectory( tools )
|
||||
add_subdirectory( views )
|
||||
add_subdirectory( widgets )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tools
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/views
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/widgets
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kolourpaint.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES kolourpaintui.rc DESTINATION ${DATA_INSTALL_DIR}/kolourpaint )
|
||||
|
||||
|
||||
##### kolourpaint (executable) ##################
|
||||
|
||||
tde_file_to_cpp( COPYING kolourpaintlicense.h kpLicenseText )
|
||||
tde_file_to_cpp( VERSION kolourpaintversion.h kpVersionText )
|
||||
|
||||
tde_add_executable( kolourpaint AUTOMOC
|
||||
SOURCES
|
||||
kolourpaint.cpp kpdocument.cpp kpdocumentmetainfo.cpp
|
||||
kpdocumentsaveoptions.cpp kpdocumentsaveoptionswidget.cpp
|
||||
kpview.cpp kpcolor.cpp kpcommandhistory.cpp kpmainwindow.cpp
|
||||
kpmainwindow_edit.cpp kpmainwindow_help.cpp
|
||||
kpmainwindow_image.cpp kpmainwindow_tools.cpp
|
||||
kpmainwindow_file.cpp kpmainwindow_settings.cpp
|
||||
kpmainwindow_statusbar.cpp kpmainwindow_text.cpp
|
||||
kpmainwindow_view.cpp kpselection.cpp kpselectiondrag.cpp
|
||||
kpselectiontransparency.cpp kpsinglekeytriggersaction.cpp
|
||||
kptemppixmap.cpp kptextstyle.cpp kpthumbnail.cpp kptool.cpp
|
||||
kpviewmanager.cpp kpviewscrollablecontainer.cpp kpwidgetmapper.cpp
|
||||
LINK
|
||||
kolourpainttools-static kolourpaintpixmapfx-static kolourpaintcursors-static
|
||||
kolourpaintviews-static kolourpaintwidgets-static
|
||||
kdeprint-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kolourpaintcursors (static) ###############
|
||||
|
||||
tde_add_library( kolourpaintcursors STATIC_PIC
|
||||
SOURCES kpcursorlightcross.cpp kpcursorprovider.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( custom )
|
||||
|
||||
tde_install_icons( kolourpaint )
|
||||
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kolourpaint/icons )
|
@ -0,0 +1,18 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES
|
||||
tool_spraycan_9x9.png tool_spraycan_17x17.png tool_spraycan_29x29.png
|
||||
color_transparent_26x26.png colorbutton_swap_16x16.png
|
||||
option_opaque.png option_transparent.png resize.png scale.png
|
||||
smooth_scale.png image_skew_horizontal.png image_skew_vertical.png
|
||||
image_rotate_anticlockwise.png image_rotate_clockwise.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kolourpaint/pics )
|
@ -0,0 +1,30 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../tools
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kolourpaintpixmapfx (static) ##############
|
||||
|
||||
tde_add_library( kolourpaintpixmapfx STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kpcoloreffect.cpp kpeffectbalance.cpp kpeffectblursharpen.cpp
|
||||
kpeffectemboss.cpp kpeffectflatten.cpp kpeffectinvert.cpp
|
||||
kpeffectreducecolors.cpp kpeffectsdialog.cpp kpfloodfill.cpp
|
||||
kppixmapfx.cpp
|
||||
)
|
@ -0,0 +1,38 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../pixmapfx
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../widgets
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../cursors
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kolourpainttools (static) #################
|
||||
|
||||
tde_add_library( kolourpainttools STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kptoolaction.cpp kptoolairspray.cpp kptoolautocrop.cpp
|
||||
kptoolbrush.cpp kptoolclear.cpp kptoolcolorpicker.cpp
|
||||
kptoolcolorwasher.cpp kptoolconverttograyscale.cpp kptoolcrop.cpp
|
||||
kptoolcurve.cpp kptoolellipse.cpp kptoolellipticalselection.cpp
|
||||
kptooleraser.cpp kptoolflip.cpp kptoolfloodfill.cpp
|
||||
kptoolfreeformselection.cpp kptoolline.cpp kptoolpen.cpp
|
||||
kptoolpolygon.cpp kptoolpolyline.cpp kptoolpreviewdialog.cpp
|
||||
kptoolrectangle.cpp kptoolrectselection.cpp kptoolresizescale.cpp
|
||||
kptoolrotate.cpp kptoolroundedrectangle.cpp kptoolselection.cpp
|
||||
kptoolskew.cpp kptooltext.cpp
|
||||
)
|
@ -0,0 +1,28 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../pixmapfx
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../views
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kolourpaintviews (static) #################
|
||||
|
||||
tde_add_library( kolourpaintviews STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kpthumbnailview.cpp kpunzoomedthumbnailview.cpp
|
||||
kpzoomedthumbnailview.cpp kpzoomedview.cpp
|
||||
)
|
@ -0,0 +1,33 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../pixmapfx
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../tools
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kolourpaintwidgets (static) ###############
|
||||
|
||||
tde_add_library( kolourpaintwidgets STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kpcolorsimilaritycube.cpp kpcolorsimilaritydialog.cpp
|
||||
kpcolortoolbar.cpp kpresizesignallinglabel.cpp
|
||||
kpsqueezedtextlabel.cpp kptooltoolbar.cpp kptoolwidgetbase.cpp
|
||||
kptoolwidgetbrush.cpp kptoolwidgeterasersize.cpp
|
||||
kptoolwidgetfillstyle.cpp kptoolwidgetlinewidth.cpp
|
||||
kptoolwidgetopaqueortransparent.cpp kptoolwidgetspraycansize.cpp
|
||||
)
|
Loading…
Reference in new issue