summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-12-30 19:22:57 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-31 18:19:21 +0100
commitd7500b6e39eb8b24bd63a8cc2daebb7f2078b7ae (patch)
tree59bbc37e50369e582eb856d2ad017e47ed7cc6bd /media-libs/libjpeg-turbo
parentxfce-extra/xfce4-hdaps: remove "unused" xfce4-hdaps-0.0.9-r4.ebuild. (diff)
downloadgentoo-d7500b6e39eb8b24bd63a8cc2daebb7f2078b7ae.tar.gz
gentoo-d7500b6e39eb8b24bd63a8cc2daebb7f2078b7ae.tar.bz2
gentoo-d7500b6e39eb8b24bd63a8cc2daebb7f2078b7ae.zip
*/*: Switch graphics proj packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/libjpeg-turbo')
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-2.0.3.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.3.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.3.ebuild
index 2371b0b89b5d..57630393fa94 100644
--- a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.3.ebuild
+++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.3.ebuild
@@ -3,6 +3,7 @@
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib java-pkg-opt-2 libtool toolchain-funcs
DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library"
@@ -37,7 +38,7 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h )
src_prepare() {
default
- cmake-utils_src_prepare
+ cmake_src_prepare
java-pkg-opt-2_src_prepare
}
@@ -54,11 +55,11 @@ multilib_src_configure() {
-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
@@ -68,7 +69,7 @@ multilib_src_compile() {
}
multilib_src_install() {
- cmake-utils_src_install
+ cmake_src_install
if multilib_is_native_abi ; then
pushd "${WORKDIR}/debian/extra" &>/dev/null || die