EAPI=7
-inherit cmake-utils flag-o-matic pax-utils toolchain-funcs xdg
+inherit cmake flag-o-matic pax-utils toolchain-funcs xdg
DOC_PV="2.6.0"
MY_PV="${PV/_/}"
src_prepare() {
use cpu_flags_x86_sse3 && append-flags -msse3
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DUSE_WEBP=$(usex webp)
)
CMAKE_BUILD_TYPE="RELWITHDEBINFO"
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
if use nls ; then
EAPI=7
-inherit cmake-utils flag-o-matic pax-utils toolchain-funcs xdg
+inherit cmake flag-o-matic pax-utils toolchain-funcs xdg
DOC_PV="2.6.0"
MY_PV="${PV/_/}"
src_prepare() {
use cpu_flags_x86_sse3 && append-flags -msse3
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DUSE_WEBP=$(usex webp)
)
CMAKE_BUILD_TYPE="RELWITHDEBINFO"
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
if use nls ; then
EAPI=7
-inherit cmake-utils flag-o-matic pax-utils toolchain-funcs xdg
+inherit cmake flag-o-matic pax-utils toolchain-funcs xdg
DOC_PV="2.6.0"
MY_PV="${PV/_/}"
src_prepare() {
use cpu_flags_x86_sse3 && append-flags -msse3
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DUSE_WEBP=$(usex webp)
)
CMAKE_BUILD_TYPE="RELWITHDEBINFO"
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
if use nls ; then
EAPI=7
-inherit cmake-utils flag-o-matic git-r3 pax-utils toolchain-funcs xdg
+inherit cmake flag-o-matic git-r3 pax-utils toolchain-funcs xdg
EGIT_REPO_URI="https://github.com/darktable-org/${PN}.git"
src_prepare() {
use cpu_flags_x86_sse3 && append-flags -msse3
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DUSE_WEBP=$(usex webp)
)
CMAKE_BUILD_TYPE="RELWITHDEBINFO"
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
if use nls ; then
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Image Blending with Multiresolution Splines"
HOMEPAGE="http://enblend.sourceforge.net/"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e "s:share/doc/enblend:share/doc/${PF}:" doc/CMakeLists.txt || die
}
-DINSTALL_PDF_DOC=ON
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
# forcing -j1 as every parallel compilation process needs about 1 GB RAM.
- cmake-utils_src_compile -j1
+ cmake_src_compile -j1
}
EAPI=7
CMAKE_BUILD_TYPE=Release
-CMAKE_MIN_VERSION=3.9
-
-inherit cmake-utils bash-completion-r1
+inherit cmake bash-completion-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/dtschump/gmic.git"
src_prepare() {
local PATCHES=( "${FILESDIR}"/${PN}-2.4.3-curl.patch )
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i '/CMAKE_CXX_FLAGS/s/-g //' CMakeLists.txt || die
if use gimp || use krita || use qt5; then
sed -i '/CMAKE_CXX_FLAGS_RELEASE/d' gmic-qt/CMakeLists.txt || die
local S="${S}/gmic-qt"
PATCHES=( "${FILESDIR}"/${PN}-2.6.7-qt-cmake.patch )
- cmake-utils_src_prepare
+ cmake_src_prepare
fi
}
-DENABLE_DYNAMIC_LINKING=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
# configure gmic-qt frontends
local CMAKE_USE_DIR="${S}/gmic-qt"
if use gimp; then
mycmakeargs+=( -DGMIC_QT_HOST=gimp )
- BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/gimp cmake_src_configure
fi
if use krita; then
mycmakeargs+=( -DGMIC_QT_HOST=krita )
- BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/krita cmake_src_configure
fi
if use qt5; then
mycmakeargs+=( -DGMIC_QT_HOST=none )
- BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/qt5 cmake_src_configure
fi
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
# build gmic-qt frontends
local S="${S}/gmic-qt"
- use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_compile || die "failed building gimp plugin" ; }
- use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_compile || die "failed building krita plugin" ; }
- use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_compile || die "failed building qt5 GUI" ; }
+ use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake_src_compile || die "failed building gimp plugin" ; }
+ use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake_src_compile || die "failed building krita plugin" ; }
+ use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake_src_compile || die "failed building qt5 GUI" ; }
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dodoc README
use cli && newbashcomp "${BUILD_DIR}"/resources/gmic_bashcompletion.sh ${PN}
EAPI=7
CMAKE_BUILD_TYPE=Release
-CMAKE_MIN_VERSION=3.9
-
-inherit cmake-utils bash-completion-r1
+inherit cmake bash-completion-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/dtschump/gmic.git"
src_prepare() {
local PATCHES=( "${FILESDIR}"/${PN}-2.4.3-curl.patch )
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i '/CMAKE_CXX_FLAGS/s/-g //' CMakeLists.txt || die
if use gimp || use krita || use qt5; then
sed -i '/CMAKE_CXX_FLAGS_RELEASE/d' gmic-qt/CMakeLists.txt || die
local S="${S}/gmic-qt"
PATCHES=( "${FILESDIR}"/${PN}-2.7.1-qt-cmake.patch )
- cmake-utils_src_prepare
+ cmake_src_prepare
fi
}
-DENABLE_DYNAMIC_LINKING=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
# configure gmic-qt frontends
local CMAKE_USE_DIR="${S}/gmic-qt"
if use gimp; then
mycmakeargs+=( -DGMIC_QT_HOST=gimp )
- BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/gimp cmake_src_configure
fi
if use krita; then
mycmakeargs+=( -DGMIC_QT_HOST=krita )
- BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/krita cmake_src_configure
fi
if use qt5; then
mycmakeargs+=( -DGMIC_QT_HOST=none )
- BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/qt5 cmake_src_configure
fi
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
# build gmic-qt frontends
local S="${S}/gmic-qt"
- use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_compile || die "failed building gimp plugin" ; }
- use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_compile || die "failed building krita plugin" ; }
- use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_compile || die "failed building qt5 GUI" ; }
+ use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake_src_compile || die "failed building gimp plugin" ; }
+ use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake_src_compile || die "failed building krita plugin" ; }
+ use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake_src_compile || die "failed building qt5 GUI" ; }
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dodoc README
use cli && newbashcomp "${BUILD_DIR}"/resources/gmic_bashcompletion.sh ${PN}
EAPI=7
CMAKE_BUILD_TYPE=Release
-CMAKE_MIN_VERSION=3.9
-
-inherit cmake-utils bash-completion-r1
+inherit cmake bash-completion-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/dtschump/gmic.git"
src_prepare() {
local PATCHES=( "${FILESDIR}"/${PN}-2.4.3-curl.patch )
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i '/CMAKE_CXX_FLAGS/s/-g //' CMakeLists.txt || die
if use gimp || use krita || use qt5; then
sed -i '/CMAKE_CXX_FLAGS_RELEASE/d' gmic-qt/CMakeLists.txt || die
local S="${S}/gmic-qt"
PATCHES=( "${FILESDIR}"/${PN}-2.7.1-qt-cmake.patch )
- cmake-utils_src_prepare
+ cmake_src_prepare
fi
}
-DENABLE_DYNAMIC_LINKING=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
# configure gmic-qt frontends
local CMAKE_USE_DIR="${S}/gmic-qt"
if use gimp; then
mycmakeargs+=( -DGMIC_QT_HOST=gimp )
- BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/gimp cmake_src_configure
fi
if use krita; then
mycmakeargs+=( -DGMIC_QT_HOST=krita )
- BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/krita cmake_src_configure
fi
if use qt5; then
mycmakeargs+=( -DGMIC_QT_HOST=none )
- BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}"/qt5 cmake_src_configure
fi
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
# build gmic-qt frontends
local S="${S}/gmic-qt"
- use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_compile || die "failed building gimp plugin" ; }
- use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_compile || die "failed building krita plugin" ; }
- use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_compile || die "failed building qt5 GUI" ; }
+ use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake_src_compile || die "failed building gimp plugin" ; }
+ use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake_src_compile || die "failed building krita plugin" ; }
+ use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake_src_compile || die "failed building qt5 GUI" ; }
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dodoc README
use cli && newbashcomp "${BUILD_DIR}"/resources/gmic_bashcompletion.sh ${PN}
PYTHON_REQ_USE="xml"
MY_P="${P/_/}"
RELEASE_SUFFIX="_2019-12-03_2b71d25d45"
-inherit cmake-utils flag-o-matic xdg toolchain-funcs python-single-r1
+inherit cmake flag-o-matic xdg toolchain-funcs python-single-r1
DESCRIPTION="SVG based generic vector-drawing program"
HOMEPAGE="https://inkscape.org/"
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i "/install.*COPYING/d" CMakeScripts/ConfigCPack.cmake || die
}
-DWITH_LIBWPG=$(usex wpg)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
find "${ED}" -type f -name "*.la" -delete || die
PYTHON_COMPAT=( python3_{5,6,7} )
PYTHON_REQ_USE="xml"
MY_P="${P/_/}"
-inherit cmake-utils flag-o-matic xdg toolchain-funcs python-single-r1 git-r3
+inherit cmake flag-o-matic xdg toolchain-funcs python-single-r1 git-r3
DESCRIPTION="SVG based generic vector-drawing program"
HOMEPAGE="https://inkscape.org/"
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i "/install.*COPYING/d" CMakeScripts/ConfigCPack.cmake || die
}
-DWITH_LIBWPG=$(usex wpg)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
find "${ED}" -type f -name "*.la" -delete || die
EAPI=7
-inherit cmake-utils toolchain-funcs flag-o-matic xdg-utils
+inherit cmake toolchain-funcs flag-o-matic xdg-utils
DESCRIPTION="Graphical user interface that provides a workflow for HDR imaging"
HOMEPAGE="http://qtpfsgui.sourceforge.net https://github.com/LuminanceHDR/LuminanceHDR"
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package fits CFITSIO)
+ $(cmake_use_find_package fits CFITSIO)
-DUSE_OPENMP="$(usex openmp)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
MY_P=${P/_rc/-rc}
-inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils
+inherit cmake flag-o-matic toolchain-funcs xdg-utils
DESCRIPTION="A powerful cross-platform raw image processing program"
HOMEPAGE="https://www.rawtherapee.com/"
-DCACHE_NAME_SUFFIX=""
-DWITH_SYSTEM_KLT="off"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
MY_P=${P/_rc/-rc}
-inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils
+inherit cmake flag-o-matic toolchain-funcs xdg-utils
DESCRIPTION="A powerful cross-platform raw image processing program"
HOMEPAGE="https://www.rawtherapee.com/"
-DCACHE_NAME_SUFFIX=""
-DWITH_SYSTEM_KLT="off"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils desktop virtualx
+inherit cmake desktop virtualx
DESCRIPTION="Interactive post-processing tool for scanned pages"
HOMEPAGE="http://scantailor.org/ https://github.com/4lex4/scantailor-advanced"
src_test() {
cd "${CMAKE_BUILD_DIR}" || die
- virtx cmake-utils_src_test
+ virtx cmake_src_test
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
newicon resources/appicon.svg ${PN}.svg
make_desktop_entry ${PN} "Scan Tailor Advanced"
EAPI=7
-inherit cmake-multilib
-
+CMAKE_ECLASS=cmake
MYP=RELEASE_${PV//./_}
+inherit cmake-multilib
DESCRIPTION="C/C++ library for PDF generation"
HOMEPAGE="http://www.libharu.org/"
-DLIBHPDF_EXAMPLES=NO # Doesn't work
-DLIBHPDF_STATIC=NO
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib java-pkg-opt-2 libtool toolchain-funcs
DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library"
src_prepare() {
default
- cmake-utils_src_prepare
+ cmake_src_prepare
java-pkg-opt-2_src_prepare
}
-DWITH_MEM_SRCDST=ON
)
[[ ${ABI} == "x32" ]] && mycmakeargs+=( -DREQUIRE_SIMD=OFF ) #420239
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if multilib_is_native_abi ; then
pushd "${WORKDIR}/debian/extra" &>/dev/null || die
}
multilib_src_install() {
- cmake-utils_src_install
+ cmake_src_install
if multilib_is_native_abi ; then
pushd "${WORKDIR}/debian/extra" &>/dev/null || die
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit cmake-utils flag-o-matic python-single-r1
+inherit cmake flag-o-matic python-single-r1
DESCRIPTION="A color management framework for visual effects and animation"
HOMEPAGE="http://opencolorio.org/"
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
use python && python_fix_shebang .
}
-DOCIO_BUILD_PYGLUE=$(usex python)
-DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)
-DOCIO_BUILD_TESTS=$(usex test)
- -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON # They don't build
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
DESCRIPTION="A library for reading and writing images"
HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO"
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
cmake_comment_add_subdirectory src/fonts
}
-DUSE_SIMD=$(local IFS=','; echo "${mysimd[*]}")
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
# Make sure that test data are not newer than release;
die "Failed to rename test data"
fi
- cmake-utils_src_prepare
+ cmake_src_prepare
}
multilib_src_configure() {
-DBUILD_STATIC_LIBS=$(usex static-libs)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_test() {