summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-12-30 19:43:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-30 19:45:46 +0100
commit4a7495631b6bf30ba8fcd214e508b9f47efdf4ab (patch)
treed479a2a62f69b71db4d2024e0e37af8f3beb6d3b /dev-libs/libical
parentapp-crypt/pesign: Remove broken gcc-ar hack (diff)
downloadgentoo-4a7495631b6bf30ba8fcd214e508b9f47efdf4ab.tar.gz
gentoo-4a7495631b6bf30ba8fcd214e508b9f47efdf4ab.tar.bz2
gentoo-4a7495631b6bf30ba8fcd214e508b9f47efdf4ab.zip
*/*: Switch my own packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/libical')
-rw-r--r--dev-libs/libical/libical-3.0.5.ebuild16
-rw-r--r--dev-libs/libical/libical-3.0.6.ebuild16
-rw-r--r--dev-libs/libical/libical-3.0.7.ebuild16
3 files changed, 24 insertions, 24 deletions
diff --git a/dev-libs/libical/libical-3.0.5.ebuild b/dev-libs/libical/libical-3.0.5.ebuild
index 8db90e5024fb..3396a02d8f85 100644
--- a/dev-libs/libical/libical-3.0.5.ebuild
+++ b/dev-libs/libical/libical-3.0.5.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
-inherit cmake-utils python-any-r1
+inherit cmake python-any-r1
DESCRIPTION="An implementation of basic iCAL protocols"
HOMEPAGE="https://github.com/libical/libical"
@@ -52,7 +52,7 @@ pkg_setup() {
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
use examples || cmake_comment_add_subdirectory examples
}
@@ -61,18 +61,18 @@ src_configure() {
-DICAL_GLIB=$(usex glib)
-DICAL_GLIB_VAPI=OFF
-DGOBJECT_INTROSPECTION=OFF
- $(cmake-utils_use_find_package berkdb BDB)
+ $(cmake_use_find_package berkdb BDB)
-DICAL_BUILD_DOCS=$(usex doc)
-DSHARED_ONLY=$(usex !static-libs)
)
# TODO: disabled until useful
# -DGOBJECT_INTROSPECTION=$(usex introspection)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
- use doc && cmake-utils_src_compile docs
+ cmake_src_compile
+ use doc && cmake_src_compile docs
}
src_test() {
@@ -80,13 +80,13 @@ src_test() {
-E "(icalrecurtest|icalrecurtest-r)" # bug 660282
)
- cmake-utils_src_test
+ cmake_src_test
}
src_install() {
use doc && HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. )
- cmake-utils_src_install
+ cmake_src_install
if use examples; then
rm examples/CMakeLists.txt || die
diff --git a/dev-libs/libical/libical-3.0.6.ebuild b/dev-libs/libical/libical-3.0.6.ebuild
index 7d8dbfd7e5f3..4026fa7a7134 100644
--- a/dev-libs/libical/libical-3.0.6.ebuild
+++ b/dev-libs/libical/libical-3.0.6.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
VALA_USE_DEPEND="vapigen"
-inherit cmake-utils python-any-r1 vala
+inherit cmake python-any-r1 vala
DESCRIPTION="An implementation of basic iCAL protocols"
HOMEPAGE="https://github.com/libical/libical"
@@ -53,14 +53,14 @@ pkg_setup() {
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
use examples || cmake_comment_add_subdirectory examples
use vala && vala_src_prepare
}
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package berkdb BDB)
+ $(cmake_use_find_package berkdb BDB)
-DICAL_BUILD_DOCS=$(usex doc)
-DICAL_GLIB=$(usex introspection)
-DGOBJECT_INTROSPECTION=$(usex introspection)
@@ -74,12 +74,12 @@ src_configure() {
-DVAPIGEN="${VAPIGEN}"
)
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
- use doc && cmake-utils_src_compile docs
+ cmake_src_compile
+ use doc && cmake_src_compile docs
}
src_test() {
@@ -87,13 +87,13 @@ src_test() {
-E "(icalrecurtest|icalrecurtest-r)" # bug 660282
)
- cmake-utils_src_test
+ cmake_src_test
}
src_install() {
use doc && HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. )
- cmake-utils_src_install
+ cmake_src_install
if use examples; then
rm examples/CMakeLists.txt || die
diff --git a/dev-libs/libical/libical-3.0.7.ebuild b/dev-libs/libical/libical-3.0.7.ebuild
index 6a708436675f..9706f1bd65aa 100644
--- a/dev-libs/libical/libical-3.0.7.ebuild
+++ b/dev-libs/libical/libical-3.0.7.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
VALA_USE_DEPEND="vapigen"
-inherit cmake-utils python-any-r1 vala
+inherit cmake python-any-r1 vala
DESCRIPTION="An implementation of basic iCAL protocols"
HOMEPAGE="https://github.com/libical/libical"
@@ -53,14 +53,14 @@ pkg_setup() {
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
use examples || cmake_comment_add_subdirectory examples
use vala && vala_src_prepare
}
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package berkdb BDB)
+ $(cmake_use_find_package berkdb BDB)
-DICAL_BUILD_DOCS=$(usex doc)
-DICAL_GLIB=$(usex introspection)
-DGOBJECT_INTROSPECTION=$(usex introspection)
@@ -74,12 +74,12 @@ src_configure() {
-DVAPIGEN="${VAPIGEN}"
)
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
- use doc && cmake-utils_src_compile docs
+ cmake_src_compile
+ use doc && cmake_src_compile docs
}
src_test() {
@@ -87,13 +87,13 @@ src_test() {
-E "(icalrecurtest|icalrecurtest-r)" # bug 660282
)
- cmake-utils_src_test
+ cmake_src_test
}
src_install() {
use doc && HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. )
- cmake-utils_src_install
+ cmake_src_install
if use examples; then
rm examples/CMakeLists.txt || die