From: "Adel KARA SLIMANE" <adel@karaslimane.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/files/, media-libs/imgui/
Date: Wed, 7 Sep 2022 17:27:26 +0000 (UTC) [thread overview]
Message-ID: <1662571569.3dbd028826ddaa32b5da8af35bc848ac93f98a68.adel@gentoo> (raw)
commit: 3dbd028826ddaa32b5da8af35bc848ac93f98a68
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Wed Sep 7 17:26:09 2022 +0000
Commit: Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
CommitDate: Wed Sep 7 17:26:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3dbd0288
media-libs/imgui: 1.81: fix ebuild
wrapdb's meson.build file needs some tweaks so the library gets
properly installed.
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
.../imgui/files/imgui-1.81-wrapdb-meson-fix.patch | 45 ++++++++++++++++++++++
media-libs/imgui/imgui-1.81.ebuild | 4 ++
2 files changed, 49 insertions(+)
diff --git a/media-libs/imgui/files/imgui-1.81-wrapdb-meson-fix.patch b/media-libs/imgui/files/imgui-1.81-wrapdb-meson-fix.patch
new file mode 100644
index 000000000..a80319e9c
--- /dev/null
+++ b/media-libs/imgui/files/imgui-1.81-wrapdb-meson-fix.patch
@@ -0,0 +1,45 @@
+# Meson wrapdb's meson.build file doesn't handle installing the library, we patch that here
+
+diff --git a/meson.build b/imgui-1.81-meson.build
+index 3343dd4ad..804f84227 100644
+--- a/meson.build
++++ b/imgui-1.81-meson.build
+@@ -80,6 +80,38 @@ imgui = library('imgui',
+ sources,
+ dependencies: dependencies,
+ include_directories: include_dirs,
++ version: meson.project_version(),
++ install: true
+ )
+
++pkg_mod = import('pkgconfig')
++pkg_mod.generate(imgui,
++ description : 'Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies'
++)
++
++install_headers(
++ 'imconfig.h',
++ 'imgui.h',
++ 'imgui_internal.h',
++ 'imstb_rectpack.h',
++ 'imstb_textedit.h',
++ 'imstb_truetype.h',
++ 'backends/imgui_impl_dx9.h',
++ 'backends/imgui_impl_osx.h',
++ 'backends/imgui_impl_sdl.h',
++ 'backends/imgui_impl_dx10.h',
++ 'backends/imgui_impl_dx11.h',
++ 'backends/imgui_impl_dx12.h',
++ 'backends/imgui_impl_glfw.h',
++ 'backends/imgui_impl_glut.h',
++ 'backends/imgui_impl_wgpu.h',
++ 'backends/imgui_impl_metal.h',
++ 'backends/imgui_impl_win32.h',
++ 'backends/imgui_impl_vulkan.h',
++ 'backends/imgui_impl_opengl2.h',
++ 'backends/imgui_impl_opengl3.h',
++ 'backends/imgui_impl_allegro5.h',
++ 'backends/imgui_impl_marmalade.h',
++ subdir: 'imgui')
++
+ imgui_dep = declare_dependency(include_directories: include_dirs, link_with: imgui)
diff --git a/media-libs/imgui/imgui-1.81.ebuild b/media-libs/imgui/imgui-1.81.ebuild
index 3ff8437c9..22929f29b 100644
--- a/media-libs/imgui/imgui-1.81.ebuild
+++ b/media-libs/imgui/imgui-1.81.ebuild
@@ -40,6 +40,10 @@ BDEPEND="
app-arch/unzip
"
+PATCHES=(
+ "${FILESDIR}/imgui-1.81-wrapdb-meson-fix.patch"
+)
+
src_unpack() {
default
next reply other threads:[~2022-09-07 17:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-07 17:27 Adel KARA SLIMANE [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-03 10:41 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/files/, media-libs/imgui/ Gonçalo Negrier Duarte
2024-05-09 15:57 Gonçalo Negrier Duarte
2023-09-20 17:39 Alessandro Barbieri
2022-05-04 0:59 Alessandro Barbieri
2022-04-23 1:52 Alessandro Barbieri
2022-04-15 20:34 Alessandro Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1662571569.3dbd028826ddaa32b5da8af35bc848ac93f98a68.adel@gentoo \
--to=adel@karaslimane.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox