*/*: Switch media-video proj packages to cmake.eclass

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2019-12-31 18:23:36 +01:00
parent d7500b6e39
commit 7b0e0aecbc
22 changed files with 75 additions and 82 deletions
@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="JSON for Modern C++"
HOMEPAGE="https://github.com/nlohmann/json https://nlohmann.github.io/json/"
@@ -27,11 +27,11 @@ src_configure() {
-DJSON_MultipleHeaders=ON
)
cmake-utils_src_configure
cmake_src_configure
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
use doc && emake -C doc
}
@@ -40,6 +40,6 @@ src_test() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
use doc && dodoc -r doc/html
}
@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="JSON for Modern C++"
HOMEPAGE="https://github.com/nlohmann/json https://nlohmann.github.io/json/"
@@ -27,11 +27,11 @@ src_configure() {
-DJSON_MultipleHeaders=ON
)
cmake-utils_src_configure
cmake_src_configure
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
use doc && emake -C doc
}
@@ -40,6 +40,6 @@ src_test() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
use doc && dodoc -r doc/html
}