aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/implot/implot-0.16.ebuild')
-rw-r--r--media-libs/implot/implot-0.16.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/implot/implot-0.16.ebuild b/media-libs/implot/implot-0.16.ebuild
new file mode 100644
index 000000000..9bc245b81
--- /dev/null
+++ b/media-libs/implot/implot-0.16.ebuild
@@ -0,0 +1,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
+}