diff options
Diffstat (limited to 'x11-misc/xaos/xaos-4.2.1_p20210828.ebuild')
-rw-r--r-- | x11-misc/xaos/xaos-4.2.1_p20210828.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/x11-misc/xaos/xaos-4.2.1_p20210828.ebuild b/x11-misc/xaos/xaos-4.2.1_p20210828.ebuild new file mode 100644 index 000000000000..107b23186abb --- /dev/null +++ b/x11-misc/xaos/xaos-4.2.1_p20210828.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VIRTUALX_REQUIRED="always" +DOCS_BUILDER="doxygen" +DOCS_DEPEND="media-gfx/graphviz" + +inherit docs qmake-utils + +COMMIT="de9e4f16849c5388760ba3a2e3b0955c5a39b71a" + +DESCRIPTION="Very fast real-time fractal zoomer" +HOMEPAGE="https://xaos-project.github.io/" +SRC_URI="https://github.com/xaos-project/XaoS/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/XaoS-${COMMIT}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-qt/qtwidgets:5 + dev-qt/qtopengl:5 +" +DEPEND="${RDEPEND}" + +src_configure() { + # install into /usr/ instead of /usr/local + sed -i -e "s:PREFIX = /usr/local:PREFIX = /usr:g" XaoS.pro || die + eqmake5 + # Don't strip, this requires running X/wayland session + sed -i -e '/$(STRIP) $(TARGET)/d' Makefile || die + # Fix INSTALL_ROOT ignored for examples dir + sed -i -e "s:cp {} /usr/share/XaoS/examples:cp {} \${INSTALL_ROOT}/usr/share/XaoS/examples:g" Makefile || die +} + +src_compile() { + default + docs_compile +} + +src_install() { + INSTALL_ROOT="${ED}" default +} |