summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-01-11 15:14:52 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-01-11 15:15:05 +0100
commit3527319091508de2254e94f8382f8befce92e029 (patch)
treebb24bd5e61ab13703118eb40f022d4ee0e913d82 /x11-misc/xaos
parentpackage.mask: mask old app-misc/mime-types version (diff)
downloadgentoo-3527319091508de2254e94f8382f8befce92e029.tar.gz
gentoo-3527319091508de2254e94f8382f8befce92e029.tar.bz2
gentoo-3527319091508de2254e94f8382f8befce92e029.zip
x11-misc/xaos: add latest snapshot version
Closes: https://bugs.gentoo.org/776418 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'x11-misc/xaos')
-rw-r--r--x11-misc/xaos/Manifest1
-rw-r--r--x11-misc/xaos/xaos-4.2.1_p20210828.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/x11-misc/xaos/Manifest b/x11-misc/xaos/Manifest
index 84765264890d..ec1e9c60886b 100644
--- a/x11-misc/xaos/Manifest
+++ b/x11-misc/xaos/Manifest
@@ -1,2 +1,3 @@
DIST xaos-3.6.tar.gz 2040707 BLAKE2B 7f8bd0e34e6ef81b57d3ac7203f590efb7bea4f6878ff69f0ffe34f2455290381dc01dc4de98efeadfbe02c55671c4d2a0de601a6b8673ced81b72bfb5158548 SHA512 5f61df978b7842b84a52cfb28f7daf1a5ab11d9d7adadbd0dd5bfb60240fcb2fc59b2a3d34faff7896c0c44c32daaf3941071d70db3d58b06b1aef1bcd1022c1
+DIST xaos-4.2.1_p20210828.tar.gz 10918756 BLAKE2B c1431596b503d9b99c880945edae577c493ff4061020052d16dafe79f3abce0b137b789493b103a35d96ac954a47d76aa47d32972feaab0406d2cedc0e685504 SHA512 847315566c72d6b793f32b2c468b0c90e69877d9e9620f1f871e768cfdaf5b156c0d5b568274f3fb89b58ffb74c990108a96a94c21a753965b682adc5e99dbf3
DIST xaos.png.tar 10240 BLAKE2B 5c925f00d19f6b74ff12c8910fbbfd9d108191d1454be82f8bb0d243001d004f2c10b84d93383bff8214f6192766fb8b4f84435ae129a822d0c2f10accb27f9d SHA512 43d51a07ac8014162b0ff4e9bbefdeeca759d3613816a95149b6fd2397b7c661adcfb33bb45b8de4dedfa41d8799ef7df3eacb426712679e867098eaf144a262
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
+}