manage exiv2.lsm file

This commit is contained in:
HumanDynamo 2010-04-20 09:51:34 +00:00
parent 0f3e431f5f
commit 5fc8771f3d
3 changed files with 19 additions and 3 deletions

View File

@ -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.

View File

@ -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 )
# ******************************************************************************

14
config/exiv2.lsm.cmake Normal file
View File

@ -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 <ahuggel@gmx.net>
Maintained-by: Andreas Huggel <ahuggel@gmx.net>
Primary-site: ${PACKAGE_URL}
Original-site: ${PACKAGE_URL}
Platforms: Linux and other Unices, MacOs-X, Win32.
Copying-policy: GPL
End