summaryrefslogtreecommitdiff
path: root/x11-misc/evolvotron/evolvotron-0.8.2.ebuild
blob: 0227e9ce27549bd893e69d48be4e23919d1e0248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
}