mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@parhuet.fr> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
committed by
Andreas Sturmlechner
parent
a6fa4735c4
commit
985109a8cb
@@ -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
|
||||
|
||||
47
x11-misc/evolvotron/evolvotron-0.8.2.ebuild
Normal file
47
x11-misc/evolvotron/evolvotron-0.8.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
12
x11-misc/evolvotron/files/evolvotron-0.8.2-fix-desktop.patch
Normal file
12
x11-misc/evolvotron/files/evolvotron-0.8.2-fix-desktop.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user