# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools flag-o-matic readme.gentoo-r1 toolchain-funcs wxwidgets
>=dev-texlive/texlive-latexrecommended-2008-r2 ) )
libcaca? ( media-libs/libcaca )
lua? ( dev-lang/lua:0 )
- qt5? ( dev-qt/qtcore:5=
+ qt5? (
+ dev-qt/qtcore:5=
dev-qt/qtgui:5=
dev-qt/qtnetwork:5=
dev-qt/qtprintsupport:5=
x11-libs/pango
x11-libs/gtk+:2 )
X? ( x11-libs/libXaw )"
-DEPEND="${RDEPEND}
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
virtual/pkgconfig
doc? (
virtual/latex-base
# Demo files
insinto /usr/share/${PN}/${GP_VERSION}
doins -r demo
- rm -f "${ED%/}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile*
- rm -f "${ED%/}"/usr/share/${PN}/${GP_VERSION}/demo/binary*
+ rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile*
+ rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary*
fi
if use doc; then
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools flag-o-matic readme.gentoo-r1 toolchain-funcs wxwidgets
>=dev-texlive/texlive-latexrecommended-2008-r2 ) )
libcaca? ( media-libs/libcaca )
lua? ( dev-lang/lua:0 )
- qt5? ( dev-qt/qtcore:5=
+ qt5? (
+ dev-qt/qtcore:5=
dev-qt/qtgui:5=
dev-qt/qtnetwork:5=
dev-qt/qtprintsupport:5=
x11-libs/pango
x11-libs/gtk+:2 )
X? ( x11-libs/libXaw )"
-DEPEND="${RDEPEND}
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
virtual/pkgconfig
doc? (
virtual/latex-base
# Demo files
insinto /usr/share/${PN}/${GP_VERSION}
doins -r demo
- rm -f "${ED%/}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile*
- rm -f "${ED%/}"/usr/share/${PN}/${GP_VERSION}/demo/binary*
+ rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile*
+ rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary*
fi
if use doc; then