media-libs/implot - 0.17 (guru)

Search

Install

Install this version:

emerge -a =media-libs/implot-0.17

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-libs/implot-0.17

Or alternatively:

emerge --autounmask-write -a =media-libs/implot-0.17

Package Information

Description:
Immediate Mode Plotting
Homepage:
https://github.com/epezent/implot/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.17 8 ~amd64 0/0.17
View Raw Ebuild
# Copyright 1999-2026 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"

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

RDEPEND="
	media-libs/imgui[${MULTILIB_USEDEP}]
"

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

src_prepare() {
	default

	# Use custom meson.build and meson_options.txt to install instead of relay on packages
	cp "${FILESDIR}/${PN}-meson.build" "${S}/meson.build" || die
	sed -i "s/version : 'PV',/version : '${PV}',/g" "${S}/meson.build" || die

	# replace all occurences of imgui headers to use the subfolder
	find . -type f -exec sed -i 's|"imgui.h"|<imgui/imgui.h>|g' {} \; || die
	find . -type f -exec sed -i 's|"imgui_internal.h"|<imgui/imgui_internal.h>|g' {} \; || die
}

Inherited Eclasses

Dependencies

RDEPEND

	media-libs/imgui[]

BDEPEND

	virtual/pkgconfig
	app-arch/unzip

Manifest for 0.17

Type File Size Source URLs
DIST implot-0.17.tar.gz 144152 bytes https://github.com/epezent/implot/archive/v0.17.tar.gz