mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
media-libs/implot: add 0.17
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST implot-0.16.tar.gz 137983 BLAKE2B aca328e2fe6049b72601f25a409f313e99971f606e68ca780a1594f8ca42b1606831090add8039fefd013cfb6c057900f0add347d1b80c466a05bd18e455b8d7 SHA512 117cb08122d900e7db857897bfec4c9ac3300a1d429c8f0303415bc693840baa9bbbb91ca3f13853d8efd3a6ebf538b7114401d4fbfe0d067256e58cbdbd4919
|
||||
DIST implot-0.17.tar.gz 144152 BLAKE2B 910622917486218fd999dc0b2b01ddaee071e9de4f6a844425e3281ea1ca96bced08b046535cc2ac56d00a806efc051a3dd8773cbe6c5089e313630d626c20c6 SHA512 cb1c3d7990f583e3d95464b449bd5dd6dd599b3221684a298c268c3425fe65e1634a39e5055b8faac7549665568186915ec8915540f9b2544046d1f000f1d146
|
||||
DIST implot-1.0.tar.gz 153284 BLAKE2B 952f80a1dbae6da352d5fb96b8aca3e8de636da5c571d3b0e6601a8cddd96c7aece0e503972ef2f72f8d364645a30847826a8687ab9a39d25456c669057b8e52 SHA512 cfa6cbf21fe33bbcb41c7808d7cf8dc0be6ab6a951235c661bc37688893be2eca9f9c2b3c699d7a0093b05876f98274cefee2410c7e52d0a9305cdac07ca2e13
|
||||
|
||||
40
media-libs/implot/implot-0.17.ebuild
Normal file
40
media-libs/implot/implot-0.17.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user