commit:     985109a8cb31d516e11692b801c3e25fdcc70fa6
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Wed Feb 26 20:54:36 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Mar  8 19:31:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985109a8

x11-misc/evolvotron: add 0.8.2, qt6, gh repo

port to qt6 (xml component not required here)

eclass : add desktop and xdg

Closes: https://bugs.gentoo.org/947649
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/evolvotron/Manifest                       |  1 +
 x11-misc/evolvotron/evolvotron-0.8.2.ebuild        | 47 ++++++++++++++++++++++
 .../files/evolvotron-0.8.2-fix-desktop.patch       | 12 ++++++
 3 files changed, 60 insertions(+)

diff --git a/x11-misc/evolvotron/Manifest b/x11-misc/evolvotron/Manifest
index a787e0f2a0a8..9d66e0c1ec5e 100644
--- a/x11-misc/evolvotron/Manifest
+++ b/x11-misc/evolvotron/Manifest
@@ -1 +1,2 @@
 DIST evolvotron-0.7.1.tar.gz 179516 BLAKE2B 
b73c813fdf134e0e4c7882e06a12bc06acfb6dcdf4a38043c4c30027bf00da10df85d6877abdbd8ca6393496038ba9fa0c32a16b0f37dd14d72cc63c00a17d1c
 SHA512 
74f48dc0881a82d999ccc910df026da80fcc46a906fe2fbb8edbae50a1fa42a3379087f00dd21fd9e5d69cee7c6fc745b80f8703b1af1ebc3a1cdb52ffbe16e9
+DIST evolvotron-0.8.2.tar.gz 250210 BLAKE2B 
95d5d4cb6c242b1f07a763d4621257a33501134bfe09dec0a9b6368cb21fcd33a3d7ffd5527246b79be03d6266411c0964265150a5dc11b38336c99909f65a9d
 SHA512 
6d998fb76b0dfb375d4cf135cbd7333a3d450f40d8adcfdcc90d1fa261e21a9ab60e3cc3ba5c9438efedc9ad9ba469697917291f1955413f21cb6bbbc340101e

diff --git a/x11-misc/evolvotron/evolvotron-0.8.2.ebuild 
b/x11-misc/evolvotron/evolvotron-0.8.2.ebuild
new file mode 100644
index 000000000000..0227e9ce2754
--- /dev/null
+++ b/x11-misc/evolvotron/evolvotron-0.8.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="Generative art image evolver"
+HOMEPAGE="https://www.timday.com/share/evolvotron/";
+SRC_URI="https://github.com/WickedSmoke/evolvotron/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+       dev-libs/boost:=
+       dev-qt/qtbase:6[gui,widgets]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+       # to be removed at the next release 0.8.3
+       "${FILESDIR}"/${PN}-0.8.2-fix-desktop.patch
+)
+
+HTML_DOCS=( evolvotron.html )
+
+src_configure() {
+       eqmake6 main.pro
+}
+
+src_install() {
+       local bin
+       for bin in ${PN}{,_mutate,_render}; do
+               dobin ${bin}/${bin}
+       done
+
+       for x in 48 128; do
+               doicon -s ${x} dist/icon-${x}.png
+       done
+
+       domenu dist/${PN}.desktop
+
+       doman man/man1/*
+       einstalldocs
+}

diff --git a/x11-misc/evolvotron/files/evolvotron-0.8.2-fix-desktop.patch 
b/x11-misc/evolvotron/files/evolvotron-0.8.2-fix-desktop.patch
new file mode 100644
index 000000000000..6503c6722211
--- /dev/null
+++ b/x11-misc/evolvotron/files/evolvotron-0.8.2-fix-desktop.patch
@@ -0,0 +1,12 @@
+https://github.com/WickedSmoke/evolvotron/pull/8.patch
+diff --git a/dist/evolvotron.desktop b/dist/evolvotron.desktop
+index a2f79c7..8d5f550 100644
+--- a/dist/evolvotron.desktop
++++ b/dist/evolvotron.desktop
+@@ -4,5 +4,5 @@ Name=Evolvotron
+ Comment=Interactive generative art program
+ Exec=evolvotron
+ Icon=evolvotron
+-Terminal=0
++Terminal=false
+ Categories=Qt;Graphics;2DGraphics;

Reply via email to