summaryrefslogtreecommitdiff
path: root/libraries/libkexiv2/libkexiv2cmake.diff
diff options
context:
space:
mode:
authorGiovanne Castro <giovannefc@ig.com.br>2010-08-29 23:36:41 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-30 07:49:34 -0500
commit5d281599ee97a53c927bce4f611d76acfdf7b87b (patch)
tree1cc0545cb9a64a34618b7d09c754c687aadd4ea9 /libraries/libkexiv2/libkexiv2cmake.diff
parent20b7ced3d631c0f43fa30d6d745a8fbd76d81c7a (diff)
downloadslackbuilds-5d281599ee97a53c927bce4f611d76acfdf7b87b.tar.gz
libraries/libkexiv2: Added (wrapper around Exiv2 library)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libkexiv2/libkexiv2cmake.diff')
-rw-r--r--libraries/libkexiv2/libkexiv2cmake.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/libraries/libkexiv2/libkexiv2cmake.diff b/libraries/libkexiv2/libkexiv2cmake.diff
new file mode 100644
index 0000000000..c047b864f2
--- /dev/null
+++ b/libraries/libkexiv2/libkexiv2cmake.diff
@@ -0,0 +1,24 @@
+Index: CMakeLists.txt
+===================================================================
+--- CMakeLists.txt (Revision 1117624)
++++ CMakeLists.txt (Arbeitskopie)
+@@ -1,5 +1,20 @@
+ PROJECT(libkexiv2)
+
++FIND_PACKAGE(KDE4 REQUIRED)
++INCLUDE(KDE4Defaults)
++INCLUDE(MacroLibrary)
++INCLUDE(MacroOptionalAddSubdirectory)
++INCLUDE(FindPackageHandleStandardArgs)
++
++ADD_DEFINITIONS (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS})
++INCLUDE_DIRECTORIES (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
++
++# Preview acess was added in Exiv2 0.18
++# IMPORTANT : Several fixes done in 0.19. Set as default version when KDE 4.4 will be released
++set(EXIV2_MIN_VERSION "0.18")
++macro_optional_find_package(Exiv2)
++macro_log_feature(EXIV2_FOUND "Exiv2" "A library to access image metadata" "http://www.exiv2.org" FALSE ${EXIV2_MIN_VERSION} "Required to build libkexiv2 and gwenview.")
++
+ # =======================================================
+ # Information to update before to release this library.