mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
*/*: Switch graphics proj packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
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/_/}"
|
||||
@@ -86,7 +86,7 @@ pkg_pretend() {
|
||||
src_prepare() {
|
||||
use cpu_flags_x86_sse3 && append-flags -msse3
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -109,11 +109,11 @@ 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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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/_/}"
|
||||
@@ -84,7 +84,7 @@ pkg_pretend() {
|
||||
src_prepare() {
|
||||
use cpu_flags_x86_sse3 && append-flags -msse3
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -107,11 +107,11 @@ 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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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/_/}"
|
||||
@@ -84,7 +84,7 @@ pkg_pretend() {
|
||||
src_prepare() {
|
||||
use cpu_flags_x86_sse3 && append-flags -msse3
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -107,11 +107,11 @@ 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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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"
|
||||
|
||||
@@ -73,7 +73,7 @@ pkg_pretend() {
|
||||
src_prepare() {
|
||||
use cpu_flags_x86_sse3 && append-flags -msse3
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -96,11 +96,11 @@ 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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Image Blending with Multiresolution Splines"
|
||||
HOMEPAGE="http://enblend.sourceforge.net/"
|
||||
@@ -52,7 +52,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
sed -i -e "s:share/doc/enblend:share/doc/${PF}:" doc/CMakeLists.txt || die
|
||||
}
|
||||
@@ -70,7 +70,7 @@ src_configure() {
|
||||
-DINSTALL_PDF_DOC=ON
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@@ -81,5 +81,5 @@ 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
|
||||
}
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
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"
|
||||
@@ -81,14 +79,14 @@ pkg_pretend() {
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
@@ -115,7 +113,7 @@ src_configure() {
|
||||
-DENABLE_DYNAMIC_LINKING=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
|
||||
# configure gmic-qt frontends
|
||||
local CMAKE_USE_DIR="${S}/gmic-qt"
|
||||
@@ -128,32 +126,32 @@ src_configure() {
|
||||
|
||||
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}
|
||||
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
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"
|
||||
@@ -81,14 +79,14 @@ pkg_pretend() {
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
@@ -115,7 +113,7 @@ src_configure() {
|
||||
-DENABLE_DYNAMIC_LINKING=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
|
||||
# configure gmic-qt frontends
|
||||
local CMAKE_USE_DIR="${S}/gmic-qt"
|
||||
@@ -128,32 +126,32 @@ src_configure() {
|
||||
|
||||
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}
|
||||
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
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"
|
||||
@@ -81,14 +79,14 @@ pkg_pretend() {
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
@@ -115,7 +113,7 @@ src_configure() {
|
||||
-DENABLE_DYNAMIC_LINKING=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
|
||||
# configure gmic-qt frontends
|
||||
local CMAKE_USE_DIR="${S}/gmic-qt"
|
||||
@@ -128,32 +126,32 @@ src_configure() {
|
||||
|
||||
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}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
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/"
|
||||
@@ -109,7 +109,7 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
sed -i "/install.*COPYING/d" CMakeScripts/ConfigCPack.cmake || die
|
||||
}
|
||||
|
||||
@@ -136,11 +136,11 @@ src_configure() {
|
||||
-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
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ EAPI=7
|
||||
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/"
|
||||
@@ -108,7 +108,7 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
sed -i "/install.*COPYING/d" CMakeScripts/ConfigCPack.cmake || die
|
||||
}
|
||||
|
||||
@@ -135,11 +135,11 @@ src_configure() {
|
||||
-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
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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"
|
||||
@@ -70,10 +70,10 @@ pkg_pretend() {
|
||||
|
||||
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() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
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/"
|
||||
@@ -58,7 +58,7 @@ src_configure() {
|
||||
-DCACHE_NAME_SUFFIX=""
|
||||
-DWITH_SYSTEM_KLT="off"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
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/"
|
||||
@@ -58,7 +58,7 @@ src_configure() {
|
||||
-DCACHE_NAME_SUFFIX=""
|
||||
-DWITH_SYSTEM_KLT="off"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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"
|
||||
@@ -37,11 +37,11 @@ PATCHES=( "${FILESDIR}"/${P}-tests.patch )
|
||||
|
||||
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"
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
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/"
|
||||
@@ -36,5 +36,5 @@ multilib_src_configure() {
|
||||
-DLIBHPDF_EXAMPLES=NO # Doesn't work
|
||||
-DLIBHPDF_STATIC=NO
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
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/"
|
||||
@@ -57,7 +57,7 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
use python && python_fix_shebang .
|
||||
}
|
||||
@@ -84,8 +84,7 @@ src_configure() {
|
||||
-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
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
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"
|
||||
@@ -81,7 +81,7 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
cmake_comment_add_subdirectory src/fonts
|
||||
}
|
||||
|
||||
@@ -121,5 +121,5 @@ src_configure() {
|
||||
-DUSE_SIMD=$(local IFS=','; echo "${mysimd[*]}")
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
# Make sure that test data are not newer than release;
|
||||
@@ -41,7 +42,7 @@ src_prepare() {
|
||||
die "Failed to rename test data"
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
@@ -53,7 +54,7 @@ multilib_src_configure() {
|
||||
-DBUILD_STATIC_LIBS=$(usex static-libs)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
|
||||
Reference in New Issue
Block a user