summaryrefslogtreecommitdiff
path: root/media-libs/plutosvg/plutosvg-0.0.6.ebuild
blob: 3301de9f325ace5b1dd781266ed59c595cf1dcf3 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson-multilib

DESCRIPTION="Tiny SVG rendering library in C"
HOMEPAGE="https://github.com/sammycage/plutosvg"
SRC_URI="https://github.com/sammycage/plutosvg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

IUSE="+freetype"

RDEPEND="
	>=media-libs/plutovg-1.0.0[${MULTILIB_USEDEP}]
	freetype? ( media-libs/freetype:2[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}"

multilib_src_configure() {
	local emesonargs=(
		$(meson_feature freetype)
	)
	meson_src_configure
}