summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-01-15 16:56:42 +0000
committerJustin Lecher <jlec@gentoo.org>2017-01-15 16:57:49 +0000
commitfe5a79f2b150f550213f8e22d41fdf0a826a0b9a (patch)
tree87141affe97cd6af72fbc1e8158951aa9580629e /x11-libs
parentx11-libs/qwt: Version Bump (diff)
downloadgentoo-fe5a79f2b150f550213f8e22d41fdf0a826a0b9a.tar.gz
gentoo-fe5a79f2b150f550213f8e22d41fdf0a826a0b9a.tar.bz2
gentoo-fe5a79f2b150f550213f8e22d41fdf0a826a0b9a.zip
x11-libs/qwt: Backport changes
Fixes doc installation Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=595938 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qwt/qwt-6.1.2-r2.ebuild (renamed from x11-libs/qwt/qwt-6.1.2-r1.ebuild)20
1 files changed, 14 insertions, 6 deletions
diff --git a/x11-libs/qwt/qwt-6.1.2-r1.ebuild b/x11-libs/qwt/qwt-6.1.2-r2.ebuild
index 4bb636eb3dce..a4f11916e626 100644
--- a/x11-libs/qwt/qwt-6.1.2-r1.ebuild
+++ b/x11-libs/qwt/qwt-6.1.2-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit eutils multibuild multilib qmake-utils
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV/_/-}/${MY_P}.tar.bz2"
LICENSE="qwt mathml? ( LGPL-2.1 Nokia-Qt-LGPL-Exception-1.1 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
-SLOT="6"
+SLOT="6/1.2"
IUSE="designer doc examples mathml opengl qt4 qt5 static-libs svg"
REQUIRED_USE="|| ( qt4 qt5 )"
@@ -144,7 +144,7 @@ src_configure() {
;;
esac
}
- multibuild_parallel_foreach_variant run_in_build_dir configuration
+ multibuild_foreach_variant run_in_build_dir configuration
}
src_compile() {
@@ -178,11 +178,19 @@ src_install () {
if use mathml; then
sed \
- -e "s: -L${WORKDIR}.* -lqwt6: -lqwt6:g" \
+ -e "s: -L\"${WORKDIR}\".* -lqwt6: -lqwt6:g" \
-i "${ED}"/usr/$(get_libdir)/pkgconfig/qwtmathml.pc || die
fi
- use doc && dohtml -r doc/html/*
+ if use doc; then
+ dohtml -r doc/html/*
+ else
+ rm -rf "${ED}"/usr/share/doc/${PF}/html || die
+ fi
+
+ mkdir -p "${ED}"/usr/share/man/ || die
+ mv "${ED}"/usr/share/doc/${PF}/man/man3 "${ED}"/usr/share/man/ && \
+ rmdir "${ED}"/usr/share/doc/${PF}/man || die
if use examples; then
# don't build examples - fix the qt files to build once installed