diff options
| author | Pino Toscano <pino@kde.org> | 2017-05-20 08:08:20 +0200 |
|---|---|---|
| committer | Pino Toscano <pino@kde.org> | 2017-05-20 08:08:20 +0200 |
| commit | 97ba63aafa510e64c78a529cb5e88eebd2e97967 (patch) | |
| tree | aa845b80f997f86db2fef8878b8d55576dff189a /attic/modules/FindLibAttica.cmake | |
| parent | b58820c4af6407ca6a67d342d7bc43ab09778e7d (diff) | |
| download | extra-cmake-modules-97ba63aafa510e64c78a529cb5e88eebd2e97967.tar.gz extra-cmake-modules-97ba63aafa510e64c78a529cb5e88eebd2e97967.tar.bz2 | |
Drop modules from attic that are not useful anymore
Even if they are in attic and not actually in use, drop a number of
modules (and old tests) that it does not make sense to keep carry
further:
- FindAlsa.cmake, config-alsa.h.cmake:
cmake has been providing a better FindALSA for long time
- FindEigen.cmake, FindEigen2.cmake & test:
Eigen v1 & v2 are deprecated and unmaintained for years
- FindGStreamer.cmake:
gstreamer-0.10 is long dead upstream
- FindKdcraw.cmake, FindKDE4Workspace.cmake, FindKdeMultimedia.cmake,
FindKDevPlatform.cmake, FindKexiv2.cmake, FindKipi.cmake,
FindLibAttica.cmake, FindLibKonq.cmake:
modules for KDE 4 libraries -- they are provided already by kdelibs 4.x,
and the frameworks versions of those libraries provide cmake config
files already
- FindKNepomuk.cmake, FindKonto.cmake, FindNepomuk.cmake,
NepomukAddOntologyClasses.cmake, NepomukMacros.cmake:
Nepomuk stuff, which is long dead
- FindKopete.cmake:
the Frameworks version of Kopete is not released yet, so it'd rather
provide own cmake config files
- FindKorundum.cmake:
Korudum is dead upstream, and so is Ruby 1.8
- FindLCMS.cmake & test:
LCMS 1 is dead for many years already
- FindMusicBrainz.cmake:
libmusicbrainz v2 is long dead, and the web service API it uses was
dismantled years ago
- FindOpenEXR.cmake & test:
ECM already provides an improved and polished version of this module
- FindPolkitQt.cmake:
polkit-qt is long dead, replaced by polkit-qt-1
- FindPopplerQt4.cmake:
ECM 5.19+ already provides a better FindPoppler module
- FindSharedDesktopOntologies.cmake:
dead upstream, but also used to provide cmake config files already
- tests for Blitz, Flex, LibXslt:
their modules are not even in attic
Diffstat (limited to 'attic/modules/FindLibAttica.cmake')
| -rw-r--r-- | attic/modules/FindLibAttica.cmake | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/attic/modules/FindLibAttica.cmake b/attic/modules/FindLibAttica.cmake deleted file mode 100644 index bb919da7..00000000 --- a/attic/modules/FindLibAttica.cmake +++ /dev/null @@ -1,63 +0,0 @@ -# Try to find the Attica library -# Once done this will define -# -# LIBATTICA_FOUND Indicates that Attica was found -# LIBATTICA_LIBRARIES Libraries needed to use Attica -# LIBATTICA_LIBRARY_DIRS Paths needed for linking against Attica -# LIBATTICA_INCLUDE_DIR Path needed for finding Attica include files -# -# The minimum required version of LibAttica can be specified using the -# standard syntax, e.g. find_package(LibAttica 0.20) - -# Copyright (c) 2009 Frederik Gladhorn <gladhorn@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. - -# Support LIBATTICA_MIN_VERSION for compatibility: -IF(NOT LibAttica_FIND_VERSION) - SET(LibAttica_FIND_VERSION "${LIBATTICA_MIN_VERSION}") -ENDIF(NOT LibAttica_FIND_VERSION) - -# the minimum version of LibAttica we require -IF(NOT LibAttica_FIND_VERSION) - SET(LibAttica_FIND_VERSION "0.1.0") -ENDIF(NOT LibAttica_FIND_VERSION) - - -IF (NOT WIN32) - # use pkg-config to get the directories and then use these values - # in the FIND_PATH() and FIND_LIBRARY() calls - FIND_PACKAGE(PkgConfig) - PKG_CHECK_MODULES(PC_LIBATTICA QUIET libattica) - SET(LIBATTICA_DEFINITIONS ${PC_ATTICA_CFLAGS_OTHER}) -ENDIF (NOT WIN32) - -FIND_PATH(LIBATTICA_INCLUDE_DIR attica/provider.h - HINTS - ${PC_LIBATTICA_INCLUDEDIR} - ${PC_LIBATTICA_INCLUDE_DIRS} - PATH_SUFFIXES attica - ) - -# Store the version number in the cache, so we don't have to search everytime: -IF(LIBATTICA_INCLUDE_DIR AND NOT LIBATTICA_VERSION) - FILE(READ ${LIBATTICA_INCLUDE_DIR}/attica/version.h LIBATTICA_VERSION_CONTENT) - STRING (REGEX MATCH "LIBATTICA_VERSION_STRING \".*\"\n" LIBATTICA_VERSION_MATCH "${LIBATTICA_VERSION_CONTENT}") - IF(LIBATTICA_VERSION_MATCH) - STRING(REGEX REPLACE "LIBATTICA_VERSION_STRING \"(.*)\"\n" "\\1" _LIBATTICA_VERSION ${LIBATTICA_VERSION_MATCH}) - ENDIF(LIBATTICA_VERSION_MATCH) - SET(LIBATTICA_VERSION "${_LIBATTICA_VERSION}" CACHE STRING "Version number of LibAttica" FORCE) -ENDIF(LIBATTICA_INCLUDE_DIR AND NOT LIBATTICA_VERSION) - - -FIND_LIBRARY(LIBATTICA_LIBRARIES NAMES attica libattica - HINTS - ${PC_LIBATTICA_LIBDIR} - ${PC_LIBATTICA_LIBRARY_DIRS} - ) - -INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibAttica REQUIRED_VARS LIBATTICA_LIBRARIES LIBATTICA_INCLUDE_DIR - VERSION_VAR LIBATTICA_VERSION) - -MARK_AS_ADVANCED(LIBATTICA_INCLUDE_DIR LIBATTICA_LIBRARIES) |
