summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2020-09-19 18:36:47 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2020-09-19 18:40:37 +0300
commitc630935617aa5c55593b0d0497d83610bb5320d9 (patch)
tree59dadc5c70818e46f8f16ae1d0a34a7571145ded
parentdev-games/irrlicht-headers: inherit edos2unix instead of eutils (diff)
downloadgentoo-c630935617aa5c55593b0d0497d83610bb5320d9.tar.gz
gentoo-c630935617aa5c55593b0d0497d83610bb5320d9.tar.bz2
gentoo-c630935617aa5c55593b0d0497d83610bb5320d9.zip
app-text/xpdf: migrate from cmake-utils to cmake eclass
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
-rw-r--r--app-text/xpdf/xpdf-4.02-r4.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-text/xpdf/xpdf-4.02-r4.ebuild b/app-text/xpdf/xpdf-4.02-r4.ebuild
index c8a43737864..288d1e75901 100644
--- a/app-text/xpdf/xpdf-4.02-r4.ebuild
+++ b/app-text/xpdf/xpdf-4.02-r4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils desktop xdg
+inherit cmake desktop xdg
DESCRIPTION="The PDF viewer and tools"
HOMEPAGE="https://www.xpdfreader.com"
@@ -65,7 +65,8 @@ src_prepare() {
sed -i "s|/usr/local|${EPREFIX}/usr|" "${WORKDIR}"/*/add-to-xpdfrc || die
fi
- cmake-utils_src_prepare
+ xdg_environment_reset
+ cmake_src_prepare
}
src_configure() {
@@ -80,11 +81,11 @@ src_configure() {
-DXPDFWIDGET_PRINTING=$(usex cups)
-DSYSTEM_XPDFRC="${EPREFIX}/etc/xpdfrc"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use icons; then
# in some cases inkscape tries to write font cache to the
@@ -104,7 +105,7 @@ src_compile() {
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
domenu "${FILESDIR}/xpdf.desktop"
newicon -s scalable xpdf-qt/xpdf-icon.svg xpdf.svg