diff --git a/TODO-CMAKE b/TODO-CMAKE index 764be47d..3487f5ed 100644 --- a/TODO-CMAKE +++ b/TODO-CMAKE @@ -75,9 +75,9 @@ DONE * Added targets to build/install man page. DONE * Need g++ specific : compiler options (warnings) and settings (visibility). -DONE * Manage eviv2.pc file with CMake, like it's do with kdegraphics/libs .pc file. Look there for details: - http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/CMakeLists.txt#59 - http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2.pc.cmake +DONE * Manage eviv2.pc file with CMake, like it's do with kdegraphics/libs .pc file. + +DONE * Manage eviv2.lsm file with CMake, like it's do with kdegraphics/libs .lsm file. DONE * added cmake target to uninstall Exiv2, based on KDE4 cmake script. diff --git a/config/ConfigureChecks.cmake b/config/ConfigureChecks.cmake index f7125b16..ed90c386 100644 --- a/config/ConfigureChecks.cmake +++ b/config/ConfigureChecks.cmake @@ -244,6 +244,8 @@ ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uni IF( NOT MSVC ) CONFIGURE_FILE( config/exiv2.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc ) INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc DESTINATION lib/pkgconfig ) + CONFIGURE_FILE( config/exiv2.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.lsm) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.lsm DESTINATION lib/pkgconfig ) ENDIF( NOT MSVC ) # ****************************************************************************** diff --git a/config/exiv2.lsm.cmake b/config/exiv2.lsm.cmake new file mode 100644 index 00000000..7c2e1768 --- /dev/null +++ b/config/exiv2.lsm.cmake @@ -0,0 +1,14 @@ +Begin4 +Title: ${PACKAGE_NAME} +Version: ${PACKAGE_VERSION} +Entered-date: 2004-05-01 +Description: Exiv2 is a C++ library and a command line utility to manage image metadata. + It provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images in various formats. +Keywords: image photo metadata exif iptc xmp makernotes +Author: Andreas Huggel +Maintained-by: Andreas Huggel +Primary-site: ${PACKAGE_URL} +Original-site: ${PACKAGE_URL} +Platforms: Linux and other Unices, MacOs-X, Win32. +Copying-policy: GPL +End