aboutsummaryrefslogtreecommitdiff
blob: 9bc245b81486dcd2718ba10184a83f33cd19ebaf (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson-multilib

MESON_WRAP_VER="1"

DESCRIPTION="Immediate Mode Plotting"
HOMEPAGE="
	https://github.com/epezent/implot/
"

SRC_URI="
	https://github.com/epezent/implot/archive/v${PV}.tar.gz -> implot-${PV}.tar.gz
	https://wrapdb.mesonbuild.com/v2/implot_${PV}-${MESON_WRAP_VER}/get_patch -> implot-${PV}-${MESON_WRAP_VER}-meson-wrap.zip
"

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"

DEPEND="
	media-libs/imgui
"

BDEPEND="
	virtual/pkgconfig
	app-arch/unzip
"

PATCHES=(
	"${FILESDIR}/${P}-wrapdb-meson-fix.diff"
)

src_unpack() {
	default

	unpack implot-${PV}-${MESON_WRAP_VER}-meson-wrap.zip
}