*/*: Switch kde proj packages to cmake.eclass

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2019-12-21 12:09:43 +01:00
parent 1cb5419c9e
commit ce86df7eb9
154 changed files with 453 additions and 453 deletions

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils qmake-utils
inherit cmake qmake-utils
DESCRIPTION="Qt Cryptographic Architecture (QCA)"
HOMEPAGE="https://userbase.kde.org/QCA"
@@ -64,16 +64,16 @@ src_configure() {
$(qca_plugin_use ssl ossl)
-DBUILD_TESTS=$(usex test)
)
cmake-utils_src_configure
cmake_src_configure
}
src_test() {
local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca"
cmake-utils_src_test
cmake_src_test
}
src_install() {
cmake-utils_src_install
cmake_src_install
if use doc; then
pushd "${BUILD_DIR}" >/dev/null || die

View File

@@ -52,7 +52,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DOMIT_EXAMPLES=ON
$(cmake-utils_use_find_package crypt Qca-qt5)
$(cmake_use_find_package crypt Qca-qt5)
-DBUILD_DESIGNERPLUGIN=$(usex designer)
)

View File

@@ -77,10 +77,10 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package holidays KF5Holidays)
$(cmake-utils_use_find_package kwallet Qca-qt5)
$(cmake-utils_use_find_package kwallet KF5Wallet)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package holidays KF5Holidays)
$(cmake_use_find_package kwallet Qca-qt5)
$(cmake_use_find_package kwallet KF5Wallet)
)
# Qt5DBus can't be disabled because of KF5DBusAddons dependency

View File

@@ -77,10 +77,10 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package holidays KF5Holidays)
$(cmake-utils_use_find_package kwallet Qca-qt5)
$(cmake-utils_use_find_package kwallet KF5Wallet)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package holidays KF5Holidays)
$(cmake_use_find_package kwallet Qca-qt5)
$(cmake_use_find_package kwallet KF5Wallet)
)
# Qt5DBus can't be disabled because of KF5DBusAddons dependency

View File

@@ -75,10 +75,10 @@ src_configure() {
-DKEXI_MIGRATEMANAGER_DEBUG=$(usex debug)
-DKEXI_AUTORISE_TABBED_TOOLBAR=$(usex experimental)
-DKEXI_SCRIPTS_SUPPORT=$(usex experimental)
$(cmake-utils_use_find_package marble KexiMarble)
$(cmake-utils_use_find_package mdb GLIB2)
$(cmake-utils_use_find_package mysql MySQL)
$(cmake-utils_use_find_package postgres PostgreSQL)
$(cmake_use_find_package marble KexiMarble)
$(cmake_use_find_package mdb GLIB2)
$(cmake_use_find_package mysql MySQL)
$(cmake_use_find_package postgres PostgreSQL)
)
use experimental && mycmakeargs+=( -DKEXI_SCRIPTING_DEBUG=$(usex debug) )

View File

@@ -102,17 +102,17 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
-DUSE_QT_DESIGNER=OFF
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package addressbook KF5Akonadi)
$(cmake-utils_use_find_package addressbook KF5Contacts)
$(cmake-utils_use_find_package addressbook KF5IdentityManagement)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package addressbook KF5Akonadi)
$(cmake_use_find_package addressbook KF5Contacts)
$(cmake_use_find_package addressbook KF5IdentityManagement)
-DENABLE_LIBICAL=$(usex calendar)
-DENABLE_KBANKING=$(usex hbci)
$(cmake-utils_use_find_package holidays KF5Holidays)
$(cmake_use_find_package holidays KF5Holidays)
-DENABLE_OFXIMPORTER=$(usex ofx)
-DENABLE_WEBENGINE=$(usex !webkit)
-DENABLE_WEBOOB=$(usex weboob)
$(cmake-utils_use_find_package weboob PythonLibs)
$(cmake_use_find_package weboob PythonLibs)
)
ecm_src_configure
}

View File

@@ -31,8 +31,8 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package doc Doxygen)
$(cmake-utils_use_find_package !gmp MPIR)
$(cmake_use_find_package doc Doxygen)
$(cmake_use_find_package !gmp MPIR)
)
kde5_src_configure
}

View File

@@ -84,9 +84,9 @@ src_configure() {
local mycmakeargs=(
-DSKG_BUILD_TEST=$(usex test)
-DSKG_DESIGNER=$(usex designer)
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package kde KF5Runner)
$(cmake-utils_use_find_package ofx LibOfx)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package kde KF5Runner)
$(cmake_use_find_package ofx LibOfx)
-DSKG_WEBENGINE=$(usex !webkit)
)

View File

@@ -68,7 +68,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON
$(cmake_use_find_package webengine Qt5WebEngineWidgets)
$(cmake-utils_use_find_package zotero Qca-qt5)
$(cmake_use_find_package zotero Qca-qt5)
)
ecm_src_configure

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils toolchain-funcs xdg-utils
inherit cmake toolchain-funcs xdg-utils
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
@@ -65,7 +65,7 @@ PATCHES=(
)
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# Clang doesn't grok this flag, the configure nicely tests that, but
# cmake just uses it, so remove it if we use clang
@@ -101,17 +101,17 @@ src_configure() {
-DENABLE_CMS=$(usex lcms lcms2 none)
-DWITH_NSS3=$(usex nss)
-DWITH_PNG=$(usex png)
$(cmake-utils_use_find_package qt5 Qt5Core)
$(cmake_use_find_package qt5 Qt5Core)
-DWITH_TIFF=$(usex tiff)
-DENABLE_UTILS=$(usex utils)
)
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
# live version doesn't provide html documentation
if use cairo && use doc && [[ ${PV} != *9999* ]]; then

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils toolchain-funcs xdg-utils
inherit cmake toolchain-funcs xdg-utils
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
@@ -65,7 +65,7 @@ PATCHES=(
)
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# Clang doesn't grok this flag, the configure nicely tests that, but
# cmake just uses it, so remove it if we use clang
@@ -101,17 +101,17 @@ src_configure() {
-DENABLE_CMS=$(usex lcms lcms2 none)
-DWITH_NSS3=$(usex nss)
-DWITH_PNG=$(usex png)
$(cmake-utils_use_find_package qt5 Qt5Core)
$(cmake_use_find_package qt5 Qt5Core)
-DWITH_TIFF=$(usex tiff)
-DENABLE_UTILS=$(usex utils)
)
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
# live version doesn't provide html documentation
if use cairo && use doc && [[ ${PV} != *9999* ]]; then

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils toolchain-funcs xdg-utils
inherit cmake toolchain-funcs xdg-utils
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
@@ -65,7 +65,7 @@ PATCHES=(
)
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# Clang doesn't grok this flag, the configure nicely tests that, but
# cmake just uses it, so remove it if we use clang
@@ -101,17 +101,17 @@ src_configure() {
-DENABLE_CMS=$(usex lcms lcms2 none)
-DWITH_NSS3=$(usex nss)
-DWITH_PNG=$(usex png)
$(cmake-utils_use_find_package qt5 Qt5Core)
$(cmake_use_find_package qt5 Qt5Core)
-DWITH_TIFF=$(usex tiff)
-DENABLE_UTILS=$(usex utils)
)
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
# live version doesn't provide html documentation
if use cairo && use doc && [[ ${PV} != *9999* ]]; then

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils toolchain-funcs xdg-utils
inherit cmake toolchain-funcs xdg-utils
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
@@ -65,7 +65,7 @@ PATCHES=(
)
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# Clang doesn't grok this flag, the configure nicely tests that, but
# cmake just uses it, so remove it if we use clang
@@ -101,17 +101,17 @@ src_configure() {
-DENABLE_CMS=$(usex lcms lcms2 none)
-DWITH_NSS3=$(usex nss)
-DWITH_PNG=$(usex png)
$(cmake-utils_use_find_package qt5 Qt5Core)
$(cmake_use_find_package qt5 Qt5Core)
-DWITH_TIFF=$(usex tiff)
-DENABLE_UTILS=$(usex utils)
)
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
# live version doesn't provide html documentation
if use cairo && use doc && [[ ${PV} != *9999* ]]; then

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="Run Time Type Reflection - library adding reflection to C++"
HOMEPAGE="https://www.rttr.org/"
@@ -28,7 +28,7 @@ src_configure() {
-DBUILD_DOCUMENTATION=off #broken
)
cmake-utils_src_configure
cmake_src_configure
}
src_test() {

View File

@@ -43,9 +43,9 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
-DKDB_DEBUG_GUI=$(usex debug)
$(cmake-utils_use_find_package mysql MySQL)
$(cmake-utils_use_find_package postgres PostgreSQL)
$(cmake-utils_use_find_package sqlite Sqlite)
$(cmake_use_find_package mysql MySQL)
$(cmake_use_find_package postgres PostgreSQL)
$(cmake_use_find_package sqlite Sqlite)
)
kde5_src_configure

View File

@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils python-single-r1
inherit cmake python-single-r1
DESCRIPTION="C library for automatically solving Freecell and some other solitaire variants"
HOMEPAGE="https://fc-solve.shlomifish.org/"
@@ -37,7 +37,7 @@ src_prepare() {
python_fix_shebang board_gen
cmake-utils_src_prepare
cmake_src_prepare
}
src_configure() {
@@ -48,5 +48,5 @@ src_configure() {
-DFCS_AVOID_TCMALLOC=$(usex !tcmalloc)
)
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="Memory efficient serialization library"
HOMEPAGE="https://google.github.io/flatbuffers/"
@@ -26,5 +26,5 @@ src_configure() {
use elibc_musl && mycmakeargs+=( -DFLATBUFFERS_LOCALE_INDEPENDENT=0 )
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -4,7 +4,7 @@
EAPI=7
VIRTUALX_REQUIRED="test"
inherit cmake-utils virtualx
inherit cmake virtualx
DESCRIPTION="C++ string template engine based on the Django template system"
HOMEPAGE="https://github.com/steveire/grantlee"
@@ -40,21 +40,21 @@ src_configure() {
-DBUILD_TESTS=$(usex test)
)
cmake-utils_src_configure
cmake_src_configure
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
use doc && cmake-utils_src_compile docs
use doc && cmake_src_compile docs
}
src_test() {
virtx cmake-utils_src_test
virtx cmake_src_test
}
src_install() {
use doc && local HTML_DOCS=("${BUILD_DIR}/apidox/")
cmake-utils_src_install
cmake_src_install
}

View File

@@ -42,8 +42,8 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package marble Marble)
$(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
$(cmake_use_find_package marble Marble)
$(cmake_use_find_package webkit Qt5WebKitWidgets)
-DKREPORT_SCRIPTING=$(usex scripting)
)
kde5_src_configure

View File

@@ -4,7 +4,7 @@
EAPI=7
MY_PV=${PV/_pre/+16.04.}
inherit cmake-utils
inherit cmake
DESCRIPTION="Library providing Qt implementation of DBusMenu specification"
HOMEPAGE="https://launchpad.net/libdbusmenu-qt/"
@@ -28,7 +28,7 @@ S="${WORKDIR}"/${PN}-${MY_PV}
PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
cmake_comment_add_subdirectory tools
# tests fail due to missing connection to dbus

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils multibuild
inherit cmake multibuild
DESCRIPTION="Library for manipulating zip archives"
HOMEPAGE="https://nih.at/libzip/"
@@ -90,20 +90,20 @@ src_configure() {
-DENABLE_OPENSSL=OFF
)
fi
cmake-utils_src_configure
cmake_src_configure
}
multibuild_foreach_variant myconfigure
}
src_compile() {
multibuild_foreach_variant cmake-utils_src_compile
multibuild_foreach_variant cmake_src_compile
}
src_test() {
[[ ${MULTIBUILD_VARIANT} = shared ]] && cmake-utils_src_test
[[ ${MULTIBUILD_VARIANT} = shared ]] && cmake_src_test
}
src_install() {
multibuild_foreach_variant cmake-utils_src_install
multibuild_foreach_variant cmake_src_install
}

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="Data access layer handling synchronization, caching and indexing"
HOMEPAGE="https://kube-project.com"
@@ -50,5 +50,5 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON
)
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics"
HOMEPAGE="https://cgit.kde.org/clazy.git/tree/README.md"
@@ -23,7 +23,7 @@ DEPEND="${RDEPEND}"
DOCS=( README.md )
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
sed -e '/install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION/d' \
-i CMakeLists.txt || die
@@ -39,11 +39,11 @@ src_configure() {
# bug #681568
local clang_version=$(best_version sys-devel/clang)
export LLVM_ROOT="/usr/lib/llvm/$(ver_cut 1 ${clang_version##sys-devel/clang-})"
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
mv "${D}"/usr/share/doc/clazy/* "${D}"/usr/share/doc/${PF} || die
rmdir "${D}"/usr/share/doc/clazy || die
}

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics"
HOMEPAGE="https://cgit.kde.org/clazy.git/tree/README.md"
@@ -23,7 +23,7 @@ DEPEND="${RDEPEND}"
DOCS=( README.md )
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
sed -e '/install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION/d' \
-i CMakeLists.txt || die
@@ -33,7 +33,7 @@ src_prepare() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
mv "${D}"/usr/share/doc/clazy/* "${D}"/usr/share/doc/${PF} || die
rmdir "${D}"/usr/share/doc/clazy || die
}

View File

@@ -4,8 +4,8 @@
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
CMAKE_REMOVE_MODULES="no"
inherit bash-completion-r1 elisp-common flag-o-matic toolchain-funcs virtualx xdg cmake-utils
CMAKE_REMOVE_MODULES_LIST=( none )
inherit bash-completion-r1 elisp-common flag-o-matic toolchain-funcs virtualx xdg cmake
MY_P="${P/_/-}"
@@ -135,7 +135,7 @@ cmake_src_test() {
}
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# disable Xcode hooks, bug #652134
if [[ ${CHOST} == *-darwin* ]] ; then
@@ -174,15 +174,15 @@ src_configure() {
if use qt5 ; then
mycmakeargs+=(
-DBUILD_QtDialog=ON
$(cmake-utils_use_find_package qt5 Qt5Widgets)
$(cmake_use_find_package qt5 Qt5Widgets)
)
fi
cmake-utils_src_configure
cmake_src_configure
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
use emacs && elisp-compile Auxiliary/cmake-mode.el
}
@@ -191,7 +191,7 @@ src_test() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
if use emacs; then
elisp-install ${PN} Auxiliary/cmake-mode.el Auxiliary/cmake-mode.elc

View File

@@ -4,8 +4,8 @@
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
CMAKE_REMOVE_MODULES="no"
inherit bash-completion-r1 elisp-common flag-o-matic toolchain-funcs virtualx xdg cmake-utils
CMAKE_REMOVE_MODULES_LIST=( none )
inherit bash-completion-r1 elisp-common flag-o-matic toolchain-funcs virtualx xdg cmake
MY_P="${P/_/-}"
@@ -134,7 +134,7 @@ cmake_src_test() {
}
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# disable Xcode hooks, bug #652134
if [[ ${CHOST} == *-darwin* ]] ; then
@@ -174,15 +174,15 @@ src_configure() {
if use qt5 ; then
mycmakeargs+=(
-DBUILD_QtDialog=ON
$(cmake-utils_use_find_package qt5 Qt5Widgets)
$(cmake_use_find_package qt5 Qt5Widgets)
)
fi
cmake-utils_src_configure
cmake_src_configure
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
use emacs && elisp-compile Auxiliary/cmake-mode.el
}
@@ -191,7 +191,7 @@ src_test() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
if use emacs; then
elisp-install ${PN} Auxiliary/cmake-mode.el Auxiliary/cmake-mode.elc

View File

@@ -4,9 +4,9 @@
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
CMAKE_REMOVE_MODULES="no"
CMAKE_REMOVE_MODULES_LIST=( none )
inherit bash-completion-r1 elisp-common flag-o-matic multiprocessing \
toolchain-funcs virtualx xdg cmake-utils
toolchain-funcs virtualx xdg cmake
MY_P="${P/_/-}"
@@ -125,7 +125,7 @@ cmake_src_test() {
}
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# disable Xcode hooks, bug #652134
if [[ ${CHOST} == *-darwin* ]] ; then
@@ -164,15 +164,15 @@ src_configure() {
if use qt5 ; then
mycmakeargs+=(
-DBUILD_QtDialog=ON
$(cmake-utils_use_find_package qt5 Qt5Widgets)
$(cmake_use_find_package qt5 Qt5Widgets)
)
fi
cmake-utils_src_configure
cmake_src_configure
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
use emacs && elisp-compile Auxiliary/cmake-mode.el
}
@@ -181,7 +181,7 @@ src_test() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
if use emacs; then
elisp-install ${PN} Auxiliary/cmake-mode.el Auxiliary/cmake-mode.elc

View File

@@ -103,14 +103,14 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package gdbui KF5SysGuard)
$(cmake_use_find_package gdbui KF5SysGuard)
-DBUILD_executeplasmoid=$(usex plasma)
$(cmake-utils_use_find_package plasma KF5Plasma)
$(cmake-utils_use_find_package hex OktetaKastenControllers)
$(cmake-utils_use_find_package qmake KDevelop-PG-Qt)
$(cmake-utils_use_find_package reviewboard KF5Purpose)
$(cmake-utils_use_find_package subversion SubversionLibrary)
$(cmake-utils_use_find_package !webkit Qt5WebEngineWidgets)
$(cmake_use_find_package plasma KF5Plasma)
$(cmake_use_find_package hex OktetaKastenControllers)
$(cmake_use_find_package qmake KDevelop-PG-Qt)
$(cmake_use_find_package reviewboard KF5Purpose)
$(cmake_use_find_package subversion SubversionLibrary)
$(cmake_use_find_package !webkit Qt5WebEngineWidgets)
)
use reviewboard || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON )

View File

@@ -40,7 +40,7 @@ PATCHES=( "${FILESDIR}/${P}-fix-window-icon.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package callgraph KGraphViewerPart)
$(cmake_use_find_package callgraph KGraphViewerPart)
)
kde5_src_configure
}

View File

@@ -98,7 +98,7 @@ src_configure() {
local mycmakeargs=(
-DAKONADI_BUILD_QSQLITE=$(usex sqlite)
-DBUILD_TOOLS=$(usex tools)
$(cmake-utils_use_find_package xml LibXml2)
$(cmake_use_find_package xml LibXml2)
)
ecm_src_configure

View File

@@ -40,7 +40,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package eigen Eigen3)
$(cmake_use_find_package eigen Eigen3)
)
ecm_src_configure

View File

@@ -55,9 +55,9 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package bzip2 BZip2)
$(cmake-utils_use_find_package lzma LibLZMA)
$(cmake-utils_use_find_package zip LibZip)
$(cmake_use_find_package bzip2 BZip2)
$(cmake_use_find_package lzma LibLZMA)
$(cmake_use_find_package zip LibZip)
)
ecm_src_configure

View File

@@ -39,8 +39,8 @@ PATCHES=( "${FILESDIR}/${PN}-19.04.0-handbook.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package flac FLAC)
$(cmake-utils_use_find_package vorbis OggVorbis)
$(cmake_use_find_package flac FLAC)
$(cmake_use_find_package vorbis OggVorbis)
)
ecm_src_configure

View File

@@ -96,14 +96,14 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_PythonLibs=ON
$(cmake-utils_use_find_package analitza Analitza5)
$(cmake-utils_use_find_package julia Julia)
$(cmake-utils_use_find_package lua LuaJIT)
$(cmake-utils_use_find_package markdown Discount)
$(cmake-utils_use_find_package postscript LibSpectre)
$(cmake-utils_use_find_package python PythonLibs3)
$(cmake-utils_use_find_package qalculate Qalculate)
$(cmake-utils_use_find_package R R)
$(cmake_use_find_package analitza Analitza5)
$(cmake_use_find_package julia Julia)
$(cmake_use_find_package lua LuaJIT)
$(cmake_use_find_package markdown Discount)
$(cmake_use_find_package postscript LibSpectre)
$(cmake_use_find_package python PythonLibs3)
$(cmake_use_find_package qalculate Qalculate)
$(cmake_use_find_package R R)
)
ecm_src_configure
}

View File

@@ -64,10 +64,10 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package semantic-desktop KF5Baloo)
$(cmake-utils_use_find_package semantic-desktop KF5BalooWidgets)
$(cmake-utils_use_find_package semantic-desktop KF5FileMetaData)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package semantic-desktop KF5Baloo)
$(cmake_use_find_package semantic-desktop KF5BalooWidgets)
$(cmake_use_find_package semantic-desktop KF5FileMetaData)
)
ecm_src_configure

View File

@@ -86,12 +86,12 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package fits CFitsio)
$(cmake-utils_use_find_package kipi KF5Kipi)
$(cmake-utils_use_find_package raw KF5KDcraw)
$(cmake-utils_use_find_package share KF5Purpose)
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package fits CFitsio)
$(cmake_use_find_package kipi KF5Kipi)
$(cmake_use_find_package raw KF5KDcraw)
$(cmake_use_find_package share KF5Purpose)
$(cmake_use_find_package X X11)
)
if use semantic-desktop; then

View File

@@ -103,7 +103,7 @@ src_configure() {
-DK3B_ENABLE_TAGLIB=$(usex taglib)
-DK3B_BUILD_OGGVORBIS_DECODER_PLUGIN=$(usex vorbis)
-DK3B_BUILD_OGGVORBIS_ENCODER_PLUGIN=$(usex vorbis)
$(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
$(cmake_use_find_package webkit Qt5WebKitWidgets)
)
ecm_src_configure

View File

@@ -77,8 +77,8 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X Qt5X11Extras)
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X Qt5X11Extras)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -39,7 +39,7 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package readline Readline)
$(cmake_use_find_package readline Readline)
)
ecm_src_configure

View File

@@ -52,11 +52,11 @@ src_configure(){
[[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
local mycmakeargs=(
$(cmake-utils_use_find_package editor Eigen3)
$(cmake-utils_use_find_package editor AvogadroLibs)
$(cmake-utils_use_find_package editor OpenBabel2)
$(cmake-utils_use_find_package solver OCaml)
$(cmake-utils_use_find_package solver Libfacile)
$(cmake_use_find_package editor Eigen3)
$(cmake_use_find_package editor AvogadroLibs)
$(cmake_use_find_package editor OpenBabel2)
$(cmake_use_find_package solver OCaml)
$(cmake_use_find_package solver Libfacile)
)
ecm_src_configure

View File

@@ -42,7 +42,7 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package speech Qt5TextToSpeech)
$(cmake_use_find_package speech Qt5TextToSpeech)
)
ecm_src_configure

View File

@@ -69,7 +69,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake_use_find_package activities KF5Activities)
-DBUILD_addons=$(usex addons)
-DBUILD_kwrite=FALSE
)

View File

@@ -72,10 +72,10 @@ PATCHES=( "${FILESDIR}"/${P}-qt-5.14-{1,2}.patch )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package freesound Qt5WebKitWidgets)
$(cmake-utils_use_find_package semantic-desktop KF5FileMetaData)
$(cmake-utils_use_find_package share KF5Purpose)
$(cmake-utils_use_find_package v4l LibV4L2)
$(cmake_use_find_package freesound Qt5WebKitWidgets)
$(cmake_use_find_package semantic-desktop KF5FileMetaData)
$(cmake_use_find_package share KF5Purpose)
$(cmake_use_find_package v4l LibV4L2)
)
ecm_src_configure

View File

@@ -76,8 +76,8 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
-DKDEPIMADDONS_BUILD_EXAMPLES=$(usex examples)
$(cmake-utils_use_find_package importwizard KPimImportWizard)
$(cmake-utils_use_find_package markdown Discount)
$(cmake_use_find_package importwizard KPimImportWizard)
$(cmake_use_find_package markdown Discount)
)
ecm_src_configure

View File

@@ -34,7 +34,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X X11)
)
ecm_src_configure
}

View File

@@ -58,11 +58,11 @@ DEPEND="${RDEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package bittorrent KF5Torrent)
$(cmake-utils_use_find_package gpg Gpgmepp)
$(cmake-utils_use_find_package kde LibKWorkspace)
$(cmake-utils_use_find_package mms LibMms)
$(cmake-utils_use_find_package sqlite Sqlite)
$(cmake_use_find_package bittorrent KF5Torrent)
$(cmake_use_find_package gpg Gpgmepp)
$(cmake_use_find_package kde LibKWorkspace)
$(cmake_use_find_package mms LibMms)
$(cmake_use_find_package sqlite Sqlite)
)
ecm_src_configure

View File

@@ -69,14 +69,14 @@ PATCHES=( "${FILESDIR}/${P}-libssh-0.9.2.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package man Gperf)
$(cmake-utils_use_find_package mtp Mtp)
$(cmake-utils_use_find_package openexr OpenEXR)
$(cmake-utils_use_find_package phonon Phonon4Qt5)
$(cmake-utils_use_find_package samba Samba)
$(cmake-utils_use_find_package sftp libssh)
$(cmake-utils_use_find_package taglib Taglib)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package man Gperf)
$(cmake_use_find_package mtp Mtp)
$(cmake_use_find_package openexr OpenEXR)
$(cmake_use_find_package phonon Phonon4Qt5)
$(cmake_use_find_package samba Samba)
$(cmake_use_find_package sftp libssh)
$(cmake_use_find_package taglib Taglib)
)
ecm_src_configure

View File

@@ -45,10 +45,10 @@ DEPEND="${RDEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package flashexport KF5Archive)
$(cmake-utils_use_find_package mediawiki KF5MediaWiki)
$(cmake-utils_use_find_package remotestorage KF5KIO)
$(cmake-utils_use_find_package vkontakte KF5Vkontakte)
$(cmake_use_find_package flashexport KF5Archive)
$(cmake_use_find_package mediawiki KF5MediaWiki)
$(cmake_use_find_package remotestorage KF5KIO)
$(cmake_use_find_package vkontakte KF5Vkontakte)
)
ecm_src_configure

View File

@@ -37,8 +37,8 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package barcode ZXing)
$(cmake-utils_use_find_package pdf Poppler)
$(cmake_use_find_package barcode ZXing)
$(cmake_use_find_package pdf Poppler)
)
ecm_src_configure
}

View File

@@ -32,7 +32,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package keyboardfocus QAccessibilityClient)
$(cmake_use_find_package keyboardfocus QAccessibilityClient)
)
ecm_src_configure

View File

@@ -48,9 +48,9 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package alsa ALSA)
$(cmake-utils_use_find_package pulseaudio Canberra)
$(cmake-utils_use_find_package pulseaudio PulseAudio)
$(cmake_use_find_package alsa ALSA)
$(cmake_use_find_package pulseaudio Canberra)
$(cmake_use_find_package pulseaudio PulseAudio)
)
ecm_src_configure

View File

@@ -68,8 +68,8 @@ RDEPEND="${DEPEND}
src_configure() {
# local mycmakeargs=(
# # FIXME: Does not build (last checked 2016-02-17)
# $(cmake-utils_use_find_package X Qt5X11Extras)
# $(cmake-utils_use_find_package X X11)
# $(cmake_use_find_package X Qt5X11Extras)
# $(cmake_use_find_package X X11)
# )
ecm_src_configure

View File

@@ -38,7 +38,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package scanner KF5Sane)
$(cmake_use_find_package scanner KF5Sane)
)
ecm_src_configure

View File

@@ -82,10 +82,10 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package speech Qt5TextToSpeech)
$(cmake-utils_use_find_package tidy LibTidy)
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package speech Qt5TextToSpeech)
$(cmake_use_find_package tidy LibTidy)
$(cmake_use_find_package X X11)
)
ecm_src_configure
}

View File

@@ -54,7 +54,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -89,7 +89,7 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -44,7 +44,7 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package vnc LibVNCServer)
$(cmake_use_find_package vnc LibVNCServer)
)
ecm_src_configure

View File

@@ -49,7 +49,7 @@ PATCHES=( "${FILESDIR}/${P}-portal-support.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package wayland PipeWire)
$(cmake_use_find_package wayland PipeWire)
)
ecm_src_configure

View File

@@ -38,7 +38,7 @@ PATCHES=( "${FILESDIR}"/${P}-qt-5.14.patch )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -47,7 +47,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package opengl OpenGL)
$(cmake_use_find_package opengl OpenGL)
)
ecm_src_configure

View File

@@ -59,7 +59,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package systemd Journald)
$(cmake_use_find_package systemd Journald)
)
ecm_src_configure
}

View File

@@ -57,8 +57,8 @@ RDEPEND="${COMMON_DEPEND}
src_configure() {
local mycmakeargs=(
-DCOMPILE_QML=OFF
$(cmake-utils_use_find_package X X11)
$(cmake-utils_use_find_package X Qt5X11Extras)
$(cmake_use_find_package X X11)
$(cmake_use_find_package X Qt5X11Extras)
)
ecm_src_configure
}

View File

@@ -60,10 +60,10 @@ PATCHES=( "${FILESDIR}/${P}-telepathy-0.9.8.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package sso KAccounts)
$(cmake-utils_use_find_package sso AccountsQt5)
$(cmake-utils_use_find_package otr Libgcrypt)
$(cmake-utils_use_find_package otr LibOTR)
$(cmake_use_find_package sso KAccounts)
$(cmake_use_find_package sso AccountsQt5)
$(cmake_use_find_package otr Libgcrypt)
$(cmake_use_find_package otr LibOTR)
)
ecm_src_configure

View File

@@ -52,7 +52,7 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package speech Qt5TextToSpeech)
$(cmake_use_find_package speech Qt5TextToSpeech)
)
ecm_src_configure

View File

@@ -46,7 +46,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package musicbrainz MusicBrainz5)
$(cmake_use_find_package musicbrainz MusicBrainz5)
)
ecm_src_configure

View File

@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package alsa ALSA)
$(cmake_use_find_package alsa ALSA)
)
ecm_src_configure
}

View File

@@ -38,7 +38,7 @@ RDEPEND="${COMMON_DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package fancyviewer KF5PimTextEdit)
$(cmake_use_find_package fancyviewer KF5PimTextEdit)
)
ecm_src_configure

View File

@@ -26,7 +26,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package kwallet KF5Wallet)
$(cmake_use_find_package kwallet KF5Wallet)
)
ecm_src_configure
}

View File

@@ -74,16 +74,16 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package aprs Perl)
$(cmake-utils_use_find_package geolocation Qt5Positioning)
$(cmake_use_find_package aprs Perl)
$(cmake_use_find_package geolocation Qt5Positioning)
-DBUILD_MARBLE_TESTS=$(usex test)
-DWITH_DESIGNER_PLUGIN=$(usex designer)
-DWITH_libgps=$(usex gps)
-DWITH_KF5=$(usex kde)
-DWITH_Phonon4Qt5=$(usex phonon)
-DWITH_libshp=$(usex shapefile)
$(cmake-utils_use_find_package webengine Qt5WebEngine)
$(cmake-utils_use_find_package webengine Qt5WebEngineWidgets)
$(cmake_use_find_package webengine Qt5WebEngine)
$(cmake_use_find_package webengine Qt5WebEngineWidgets)
-DWITH_libwlocate=OFF
# bug 608890
-DKDE_INSTALL_CONFDIR="/etc/xdg"
@@ -91,6 +91,6 @@ src_configure() {
if use kde; then
ecm_src_configure
else
cmake-utils_src_configure
cmake_src_configure
fi
}

View File

@@ -91,6 +91,6 @@ src_configure() {
if use kde; then
ecm_src_configure
else
cmake-utils_src_configure
cmake_src_configure
fi
}

View File

@@ -82,19 +82,19 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package chm CHM)
$(cmake-utils_use_find_package crypt Qca-qt5)
$(cmake-utils_use_find_package djvu DjVuLibre)
$(cmake-utils_use_find_package epub EPub)
$(cmake-utils_use_find_package image-backend KF5KExiv2)
$(cmake-utils_use_find_package markdown Discount)
$(cmake-utils_use_find_package mobi QMobipocket)
$(cmake-utils_use_find_package pdf Poppler)
$(cmake-utils_use_find_package plucker JPEG)
$(cmake-utils_use_find_package postscript LibSpectre)
$(cmake-utils_use_find_package share KF5Purpose)
$(cmake-utils_use_find_package speech Qt5TextToSpeech)
$(cmake-utils_use_find_package tiff TIFF)
$(cmake_use_find_package chm CHM)
$(cmake_use_find_package crypt Qca-qt5)
$(cmake_use_find_package djvu DjVuLibre)
$(cmake_use_find_package epub EPub)
$(cmake_use_find_package image-backend KF5KExiv2)
$(cmake_use_find_package markdown Discount)
$(cmake_use_find_package mobi QMobipocket)
$(cmake_use_find_package pdf Poppler)
$(cmake_use_find_package plucker JPEG)
$(cmake_use_find_package postscript LibSpectre)
$(cmake_use_find_package share KF5Purpose)
$(cmake_use_find_package speech Qt5TextToSpeech)
$(cmake_use_find_package tiff TIFF)
)
ecm_src_configure

View File

@@ -49,8 +49,8 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package kipi KF5Kipi)
$(cmake-utils_use_find_package share KF5Purpose)
$(cmake_use_find_package kipi KF5Kipi)
$(cmake_use_find_package share KF5Purpose)
)
ecm_src_configure
}

View File

@@ -57,8 +57,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package gsl GSL)
$(cmake-utils_use_find_package qalculate Qalculate)
$(cmake_use_find_package gsl GSL)
$(cmake_use_find_package qalculate Qalculate)
)
ecm_src_configure
}

View File

@@ -28,8 +28,8 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package raw KF5KExiv2)
$(cmake-utils_use_find_package raw KF5KDcraw)
$(cmake_use_find_package raw KF5KExiv2)
$(cmake_use_find_package raw KF5KDcraw)
)
ecm_src_configure

View File

@@ -50,8 +50,8 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package absolute-position KF5Wayland)
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package absolute-position KF5Wayland)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -5,7 +5,7 @@ EAPI=7
KDE_ORG_NAME="breeze-icons"
PVCUT=$(ver_cut 1-2)
inherit cmake-utils kde.org
inherit cmake kde.org
DESCRIPTION="Breeze SVG icon theme binary resource"
LICENSE="LGPL-3"
@@ -22,7 +22,7 @@ DEPEND="test? ( dev-qt/qttest:5 )"
RESTRICT+=" !test? ( test )"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
use test || cmake_comment_add_subdirectory autotests
}
@@ -31,5 +31,5 @@ src_configure() {
-DBINARY_ICONS_RESOURCE=ON
-DSKIP_INSTALL_ICONS=ON
)
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -5,7 +5,7 @@ EAPI=7
KDE_ORG_NAME="breeze-icons"
PVCUT=$(ver_cut 1-2)
inherit cmake-utils kde.org
inherit cmake kde.org
DESCRIPTION="Breeze SVG icon theme binary resource"
LICENSE="LGPL-3"
@@ -22,7 +22,7 @@ DEPEND="test? ( dev-qt/qttest:5 )"
RESTRICT+=" !test? ( test )"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
use test || cmake_comment_add_subdirectory autotests
}
@@ -31,5 +31,5 @@ src_configure() {
-DBINARY_ICONS_RESOURCE=ON
-DSKIP_INSTALL_ICONS=ON
)
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -4,7 +4,7 @@
EAPI=7
PVCUT=$(ver_cut 1-2)
inherit cmake-utils kde.org
inherit cmake kde.org
DESCRIPTION="Breeze SVG icon theme"
LICENSE="LGPL-3"
@@ -21,7 +21,7 @@ DEPEND="test? ( dev-qt/qttest:5 )"
RESTRICT+=" !test? ( test )"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
use test || cmake_comment_add_subdirectory autotests
}
@@ -29,5 +29,5 @@ src_configure() {
local mycmakeargs=(
-DBINARY_ICONS_RESOURCE=OFF
)
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -4,7 +4,7 @@
EAPI=7
PVCUT=$(ver_cut 1-2)
inherit cmake-utils kde.org
inherit cmake kde.org
DESCRIPTION="Breeze SVG icon theme"
LICENSE="LGPL-3"
@@ -21,7 +21,7 @@ DEPEND="test? ( dev-qt/qttest:5 )"
RESTRICT+=" !test? ( test )"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
use test || cmake_comment_add_subdirectory autotests
}
@@ -29,5 +29,5 @@ src_configure() {
local mycmakeargs=(
-DBINARY_ICONS_RESOURCE=OFF
)
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
QTMIN=5.12.3
inherit cmake-utils kde.org python-any-r1
inherit cmake kde.org python-any-r1
DESCRIPTION="Extra modules and scripts for CMake"
HOMEPAGE="https://cgit.kde.org/extra-cmake-modules.git"
@@ -45,7 +45,7 @@ pkg_setup() {
}
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# Requires PyQt5, bug #680256
sed -i -e "/^if(NOT SIP_Qt5Core_Mod_FILE)/s/NOT SIP_Qt5Core_Mod_FILE/TRUE/" \
tests/CMakeLists.txt || die "failed to disable GenerateSipBindings tests"
@@ -60,7 +60,7 @@ src_configure() {
-DBUILD_TESTING=$(usex test)
)
cmake-utils_src_configure
cmake_src_configure
}
src_test() {
@@ -70,5 +70,5 @@ src_test() {
-E "(ECMToolchainAndroidTest|ECMPoQmToolsTest)"
)
cmake-utils_src_test
cmake_src_test
}

View File

@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
QTMIN=5.12.3
inherit cmake-utils kde.org python-any-r1
inherit cmake kde.org python-any-r1
DESCRIPTION="Extra modules and scripts for CMake"
HOMEPAGE="https://cgit.kde.org/extra-cmake-modules.git"
@@ -45,7 +45,7 @@ pkg_setup() {
}
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# Requires PyQt5, bug #680256
sed -i -e "/^if(NOT SIP_Qt5Core_Mod_FILE)/s/NOT SIP_Qt5Core_Mod_FILE/TRUE/" \
tests/CMakeLists.txt || die "failed to disable GenerateSipBindings tests"
@@ -60,7 +60,7 @@ src_configure() {
-DBUILD_TESTING=$(usex test)
)
cmake-utils_src_configure
cmake_src_configure
}
src_test() {
@@ -70,5 +70,5 @@ src_test() {
-E "(ECMToolchainAndroidTest|ECMPoQmToolsTest)"
)
cmake-utils_src_test
cmake_src_test
}

View File

@@ -47,9 +47,9 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package appstream AppStreamQt)
$(cmake-utils_use_find_package appstream packagekitqt5)
$(cmake-utils_use_find_package X XCB)
$(cmake_use_find_package appstream AppStreamQt)
$(cmake_use_find_package appstream packagekitqt5)
$(cmake_use_find_package X XCB)
)
ecm_src_configure

View File

@@ -5,7 +5,7 @@ EAPI=7
DISTUTILS_SINGLE_IMPL="true"
PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils kde.org distutils-r1
inherit cmake kde.org distutils-r1
DESCRIPTION="Framework for building KDE API documentation in a standard format and style"
LICENSE="BSD-2"

View File

@@ -5,7 +5,7 @@ EAPI=7
DISTUTILS_SINGLE_IMPL="true"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake-utils kde.org distutils-r1
inherit cmake kde.org distutils-r1
DESCRIPTION="Framework for building KDE API documentation in a standard format and style"
LICENSE="BSD-2"

View File

@@ -19,8 +19,8 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package bzip2 BZip2)
$(cmake-utils_use_find_package lzma LibLZMA)
$(cmake_use_find_package bzip2 BZip2)
$(cmake_use_find_package lzma LibLZMA)
)
ecm_src_configure

View File

@@ -28,7 +28,7 @@ PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package policykit PolkitQt5-1)
$(cmake_use_find_package policykit PolkitQt5-1)
)
ecm_src_configure

View File

@@ -33,7 +33,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package man KF5DocTools)
$(cmake_use_find_package man KF5DocTools)
)
ecm_src_configure

View File

@@ -23,7 +23,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-D_KDE4_DEFAULT_HOME_POSTFIX=4
$(cmake-utils_use_find_package fam FAM)
$(cmake_use_find_package fam FAM)
)
ecm_src_configure

View File

@@ -23,7 +23,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X Qt5X11Extras)
$(cmake_use_find_package X Qt5X11Extras)
)
ecm_src_configure

View File

@@ -32,7 +32,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package man KF5DocTools)
$(cmake_use_find_package man KF5DocTools)
)
ecm_src_configure

View File

@@ -89,7 +89,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -26,7 +26,7 @@ DEPEND="${RDEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -26,7 +26,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON
$(cmake-utils_use_find_package zeroconf Avahi)
$(cmake_use_find_package zeroconf Avahi)
)
ecm_src_configure

View File

@@ -31,7 +31,7 @@ PATCHES=( "${FILESDIR}/${PN}-5.54.0-gentoo-docbundledir.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package nls KF5I18n)
$(cmake_use_find_package nls KF5I18n)
)
ecm_src_configure

View File

@@ -43,12 +43,12 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package epub EPub)
$(cmake-utils_use_find_package exif LibExiv2)
$(cmake-utils_use_find_package ffmpeg FFmpeg)
$(cmake-utils_use_find_package office KF5Archive)
$(cmake-utils_use_find_package pdf Poppler)
$(cmake-utils_use_find_package taglib Taglib)
$(cmake_use_find_package epub EPub)
$(cmake_use_find_package exif LibExiv2)
$(cmake_use_find_package ffmpeg FFmpeg)
$(cmake_use_find_package office KF5Archive)
$(cmake_use_find_package pdf Poppler)
$(cmake_use_find_package taglib Taglib)
)
ecm_src_configure

View File

@@ -65,7 +65,7 @@ DEPEND="${RDEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package X X11)
)
ecm_src_configure

View File

@@ -39,8 +39,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
$(cmake-utils_use_find_package X XCB)
$(cmake_use_find_package X X11)
$(cmake_use_find_package X XCB)
)
ecm_src_configure

View File

@@ -29,8 +29,8 @@ DOCS=( src/imageformats/AUTHORS )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package eps Qt5PrintSupport)
$(cmake-utils_use_find_package openexr OpenEXR)
$(cmake_use_find_package eps Qt5PrintSupport)
$(cmake_use_find_package openexr OpenEXR)
)
ecm_src_configure

View File

@@ -39,10 +39,10 @@ DEPEND="${RDEPEND}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package caps Libcap)
$(cmake-utils_use_find_package man KF5DocTools)
$(cmake-utils_use_find_package X X11)
$(cmake-utils_use_find_package X XCB)
$(cmake_use_find_package caps Libcap)
$(cmake_use_find_package man KF5DocTools)
$(cmake_use_find_package X X11)
$(cmake_use_find_package X XCB)
)
ecm_src_configure

View File

@@ -72,11 +72,11 @@ RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package acl ACL)
$(cmake-utils_use_find_package handbook KF5DocTools)
$(cmake-utils_use_find_package kerberos GSSAPI)
$(cmake-utils_use_find_package kwallet KF5Wallet)
$(cmake-utils_use_find_package X X11)
$(cmake_use_find_package acl ACL)
$(cmake_use_find_package handbook KF5DocTools)
$(cmake_use_find_package kerberos GSSAPI)
$(cmake_use_find_package kwallet KF5Wallet)
$(cmake_use_find_package X X11)
)
ecm_src_configure

Some files were not shown because too many files have changed in this diff Show More