PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="libArcus"
-DBUILD_STATIC=$(usex static-libs ON OFF)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="libArcus"
sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die
sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" cmake/FindSIP.cmake || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DBUILD_STATIC=$(usex static-libs ON OFF)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="libCharon"
EAPI=7
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="libCharon"
# Use current python version, not the latest installed
sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
EAPI=7
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="libSavitar"
-DBUILD_STATIC=$(usex static-libs ON OFF)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="libSavitar"
sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die
sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" cmake/FindSIP.cmake || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DBUILD_STATIC=$(usex static-libs ON OFF)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="Uranium"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc test"
-RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
BDEPEND="${PYTHON_DEPS}
sys-devel/gettext
doc? ( app-doc/doxygen )
src_configure() {
local mycmakeargs=(
- -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" )
- cmake-utils_src_configure
+ -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
+ )
+ cmake_src_configure
if ! use debug; then
sed -i 's/logging.DEBUG/logging.ERROR/' plugins/ConsoleLogger/ConsoleLogger.py || die
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc; then
- cmake-utils_src_compile doc
+ cmake_src_compile doc
DOCS+=( html )
fi
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
python_optimize "${D}/usr/$(get_libdir)"
}
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
MY_PN="Uranium"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc test"
-RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
BDEPEND="${PYTHON_DEPS}
sys-devel/gettext
doc? ( app-doc/doxygen )
src_configure() {
local mycmakeargs=(
- -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" )
- cmake-utils_src_configure
+ -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
+ )
+ cmake_src_configure
if ! use debug; then
sed -i 's/logging.DEBUG/logging.ERROR/' plugins/ConsoleLogger/ConsoleLogger.py || die
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc; then
- cmake-utils_src_compile doc
+ cmake_src_compile doc
DOCS+=( html )
fi
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
python_optimize "${D}/usr/$(get_libdir)"
}
EAPI=7
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils desktop python-single-r1 xdg
+inherit cmake desktop python-single-r1 xdg
MY_PN=Cura
src_prepare() {
sed -i "s/set(CURA_VERSION \"master\"/set(CURA_VERSION \"${PV}\"/" CMakeLists.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
doicon icons/*.png
python_optimize "${D}${get_libdir}"
}
EAPI=7
PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils desktop python-single-r1 xdg
+inherit cmake desktop python-single-r1 xdg
MY_PN=Cura
src_prepare() {
sed -i "s/set(CURA_VERSION \"master\"/set(CURA_VERSION \"${PV}\"/" CMakeLists.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
doicon icons/*.png
python_optimize "${D}${get_libdir}"
}
EAPI=7
-inherit cmake-utils toolchain-funcs
+inherit cmake toolchain-funcs
MY_PN="CuraEngine"
src_configure() {
local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_make
+ cmake_build
if use doc; then
doxygen
mv docs/html . || die
EAPI=7
-inherit cmake-utils toolchain-funcs
+inherit cmake toolchain-funcs
MY_PN="CuraEngine"
src_configure() {
local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_make
+ cmake_build
if use doc; then
doxygen || die
mv docs/html . || die
EAPI=7
-inherit cmake-utils
+inherit cmake
MY_PN="fdm_materials"
EAPI=7
-inherit cmake-utils
+inherit cmake
MY_PN="fdm_materials"