summaryrefslogtreecommitdiff
path: root/media-gfx/pencil/pencil-0.7.0_p20260127.ebuild
blob: d71ac296ec5d55877147c27277cf5da20a365838 (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

COMMIT=2c971b937d0608b05aa496b0f7e9aebcddf8e7fc

inherit qmake-utils xdg

DESCRIPTION="2D animation and drawing program based on Qt"
HOMEPAGE="https://www.pencil2d.org/"
SRC_URI="https://github.com/pencil2d/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-qt/qtbase:6[gui,network,widgets,xml]
	dev-qt/qtmultimedia:6
	dev-qt/qtsvg:6
"
DEPEND="${RDEPEND}"
# BDEPEND="dev-qt/qttools:6[linguist]"

src_configure() {
# 	$(qt6_get_bindir)/lrelease gpxsee.pro || die
	eqmake6 PREFIX=/usr $(usex test "" "CONFIG+=NO_TESTS")
}

src_install() {
	einstalldocs
	emake INSTALL_ROOT="${D}" install
	# TODO: Install l10n files
}