summaryrefslogtreecommitdiff
blob: e7518338c7b0ea9980c4654623b972414489ca3e (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
WX_GTK_VER="3.2-gtk3"

inherit desktop wxwidgets

DESCRIPTION="Photo editor for selective color, saturation, and hue shift adjustments"
HOMEPAGE="https://www.indii.org/software/tintii/"
SRC_URI="https://www.indii.org/files/tint/releases/${P}.tar.gz
	https://dev.gentoo.org/~pacho/${PN}/${PN}_128.png"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	x11-libs/wxGTK:${WX_GTK_VER}[X]
"
DEPEND="${RDEPEND}
	dev-libs/boost
"
BDEPEND="app-alternatives/bc"

src_prepare() {
	default
	setup-wxwidgets
}

src_configure() {
	econf --disable-assert
}

src_install() {
	default
	newicon "${DISTDIR}"/${PN}_128.png ${PN}.png
	make_desktop_entry ${PN} Tintii
}