public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-06-02 22:11 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-06-02 22:11 UTC (permalink / raw
  To: gentoo-commits

commit:     37b101b2cff8a5a65b028c942f77e8e46a88b7a6
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue May 28 10:06:39 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sun Jun  2 22:11:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37b101b2

media-libs/imgui: add 1.90.7, drop 1.90.6

* since multilib support is introduce let close BUG:838850

Closes: https://bugs.gentoo.org/838850
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/Manifest                                     | 2 +-
 media-libs/imgui/{imgui-1.90.6.ebuild => imgui-1.90.7.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest
index 26ede1938..86bd464c5 100644
--- a/media-libs/imgui/Manifest
+++ b/media-libs/imgui/Manifest
@@ -1,2 +1,2 @@
 DIST imgui-1.89.9.tar.gz 1609452 BLAKE2B d5f361acf4318b05066720e9da2ed06db760c482440fc7fb2ca95ce5dd88d9a9a010697c831d3e188baec69819c0a0925e98134c191d5e1856ab43e4dbf9b64f SHA512 42021b06b611b58222b09fab8db2c34e992c3dc4fbaa175e09833c66c90d04b4a4e7def16a732535335c0ac5ff014d235835511a5d9a76d32b4395b302146919
-DIST imgui-1.90.6.tar.gz 1677600 BLAKE2B 2dba4e461e5d771f6764a9a4ff281c0e5ceb1b9467c0640171a4c86dc5a53a172815f2dd10241cb5148549035e6db44f6a20f219c7ce95bac6e1afd9b72402a4 SHA512 c9ff56ec6f8eb05b5034bb0b886568e843743a4313e36613db214f6080506703d5ed2ee606c88cd8957e73575e2b0e39deb52e1ac0c1a6e0a9fe38bca5e6dc0e
+DIST imgui-1.90.7.tar.gz 1686062 BLAKE2B 52267f09c2997a8726e58e2d38bd90747ee9cb364228908e1538b7ef2f72cf84b63f024834c16db5aab55879948fda9958fa723ca7640a713909756874351350 SHA512 8cdec45c8b58b3768a2216af2a1cba3d0e772ac48420b57057a4a8eda5766c121b4a8457a81b5896defe00b822c40d6aac6ee2b31f4133f2b9a02b231b1529d2

diff --git a/media-libs/imgui/imgui-1.90.6.ebuild b/media-libs/imgui/imgui-1.90.7.ebuild
similarity index 100%
rename from media-libs/imgui/imgui-1.90.6.ebuild
rename to media-libs/imgui/imgui-1.90.7.ebuild


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-09-05 19:21 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-09-05 19:21 UTC (permalink / raw
  To: gentoo-commits

commit:     edd312b9d300fad25275034390ea7036fecc0144
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Thu Sep  5 19:04:19 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Thu Sep  5 19:20:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edd312b9

media-libs/imgui: add 1.91.1, drop 1.90.7-r2

Closes: https://bugs.gentoo.org/937368
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/Manifest                                        | 2 +-
 media-libs/imgui/{imgui-1.90.7-r2.ebuild => imgui-1.91.1.ebuild} | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest
index 86bd464c5..d986cffbc 100644
--- a/media-libs/imgui/Manifest
+++ b/media-libs/imgui/Manifest
@@ -1,2 +1,2 @@
 DIST imgui-1.89.9.tar.gz 1609452 BLAKE2B d5f361acf4318b05066720e9da2ed06db760c482440fc7fb2ca95ce5dd88d9a9a010697c831d3e188baec69819c0a0925e98134c191d5e1856ab43e4dbf9b64f SHA512 42021b06b611b58222b09fab8db2c34e992c3dc4fbaa175e09833c66c90d04b4a4e7def16a732535335c0ac5ff014d235835511a5d9a76d32b4395b302146919
-DIST imgui-1.90.7.tar.gz 1686062 BLAKE2B 52267f09c2997a8726e58e2d38bd90747ee9cb364228908e1538b7ef2f72cf84b63f024834c16db5aab55879948fda9958fa723ca7640a713909756874351350 SHA512 8cdec45c8b58b3768a2216af2a1cba3d0e772ac48420b57057a4a8eda5766c121b4a8457a81b5896defe00b822c40d6aac6ee2b31f4133f2b9a02b231b1529d2
+DIST imgui-1.91.1.tar.gz 1747226 BLAKE2B c129003702ec5be1286090dedb80cd3d984a926d945bbaba73be227f9f3c16442eec5b33e9f7a961a478fecc8a9b0742e5fcb7df625a011572ff4ce14747b03d SHA512 acdbde3a29a498178fcc40e04a3c037d9333347022349f37ea2470388dd3bdee52b2f4a364bacaee25345fe2fd3cf740915fbff264fcbf5160ba55368e8825eb

diff --git a/media-libs/imgui/imgui-1.90.7-r2.ebuild b/media-libs/imgui/imgui-1.91.1.ebuild
similarity index 97%
rename from media-libs/imgui/imgui-1.90.7-r2.ebuild
rename to media-libs/imgui/imgui-1.91.1.ebuild
index 40da284df..d653025e2 100644
--- a/media-libs/imgui/imgui-1.90.7-r2.ebuild
+++ b/media-libs/imgui/imgui-1.91.1.ebuild
@@ -21,6 +21,7 @@ IUSE="allegro5 glfw sdl2 sdl3 sdl2-renderer sdl3-renderer opengl vulkan webgpu"
 
 RDEPEND="
 	dev-libs/stb:=
+	media-libs/libglvnd[${MULTILIB_USEDEP}]
 	media-libs/glew[${MULTILIB_USEDEP}]
 	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
 	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-libs/imgui/
@ 2024-06-05 13:18 Viorel Munteanu
  2024-06-05 13:18 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
  0 siblings, 1 reply; 20+ messages in thread
From: Viorel Munteanu @ 2024-06-05 13:18 UTC (permalink / raw
  To: gentoo-commits

commit:     625a50e4f44ad11c983721e0c397ae41cd912f41
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 13:16:50 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 13:16:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=625a50e4

media-libs/imgui: update dependency on media-libs/mesa

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 media-libs/imgui/imgui-1.89.9-r3.ebuild | 4 ++--
 media-libs/imgui/imgui-1.90.7-r2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/imgui/imgui-1.89.9-r3.ebuild b/media-libs/imgui/imgui-1.89.9-r3.ebuild
index 50508ae0e..40da284df 100644
--- a/media-libs/imgui/imgui-1.89.9-r3.ebuild
+++ b/media-libs/imgui/imgui-1.89.9-r3.ebuild
@@ -27,8 +27,8 @@ RDEPEND="
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl2-renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	opengl? ( || (
-	>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
-		<media-libs/mesa-24.1.0_rc1[gles2,egl,${MULTILIB_USEDEP}]
+		>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
+		<media-libs/mesa-24.1.0_rc1[gles2,egl(+),${MULTILIB_USEDEP}]
 	) )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
 	webgpu? ( dev-util/webgpu-headers )

diff --git a/media-libs/imgui/imgui-1.90.7-r2.ebuild b/media-libs/imgui/imgui-1.90.7-r2.ebuild
index 50508ae0e..40da284df 100644
--- a/media-libs/imgui/imgui-1.90.7-r2.ebuild
+++ b/media-libs/imgui/imgui-1.90.7-r2.ebuild
@@ -27,8 +27,8 @@ RDEPEND="
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl2-renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	opengl? ( || (
-	>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
-		<media-libs/mesa-24.1.0_rc1[gles2,egl,${MULTILIB_USEDEP}]
+		>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
+		<media-libs/mesa-24.1.0_rc1[gles2,egl(+),${MULTILIB_USEDEP}]
 	) )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
 	webgpu? ( dev-util/webgpu-headers )


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-06-04 16:00 Viorel Munteanu
  0 siblings, 0 replies; 20+ messages in thread
From: Viorel Munteanu @ 2024-06-04 16:00 UTC (permalink / raw
  To: gentoo-commits

commit:     97adccd54889d60a15dd188fc959fc1b93f24215
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  4 15:59:30 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Tue Jun  4 16:00:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97adccd5

media-libs/imgui: fix sdl USE flags

I did some search & replace damage last time, fix it.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 media-libs/imgui/imgui-1.89.9-r3.ebuild | 4 ++--
 media-libs/imgui/imgui-1.90.7-r2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/imgui/imgui-1.89.9-r3.ebuild b/media-libs/imgui/imgui-1.89.9-r3.ebuild
index e03ac218f..50508ae0e 100644
--- a/media-libs/imgui/imgui-1.89.9-r3.ebuild
+++ b/media-libs/imgui/imgui-1.89.9-r3.ebuild
@@ -61,9 +61,9 @@ multilib_src_configure() {
 		$(meson_feature vulkan)
 		$(meson_feature glfw)
 		$(meson_feature sdl2)
-		$(meson_feature sdl2-renderer)
+		$(meson_feature sdl2-renderer sdl2_renderer)
 		-Dsdl3=disabled
-		-Dsdl3-renderer=disabled
+		-Dsdl3_renderer=disabled
 		$(meson_feature webgpu)
 		-Dosx=disabled
 		-Dwin=disabled

diff --git a/media-libs/imgui/imgui-1.90.7-r2.ebuild b/media-libs/imgui/imgui-1.90.7-r2.ebuild
index e03ac218f..50508ae0e 100644
--- a/media-libs/imgui/imgui-1.90.7-r2.ebuild
+++ b/media-libs/imgui/imgui-1.90.7-r2.ebuild
@@ -61,9 +61,9 @@ multilib_src_configure() {
 		$(meson_feature vulkan)
 		$(meson_feature glfw)
 		$(meson_feature sdl2)
-		$(meson_feature sdl2-renderer)
+		$(meson_feature sdl2-renderer sdl2_renderer)
 		-Dsdl3=disabled
-		-Dsdl3-renderer=disabled
+		-Dsdl3_renderer=disabled
 		$(meson_feature webgpu)
 		-Dosx=disabled
 		-Dwin=disabled


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-06-03 15:02 Viorel Munteanu
  0 siblings, 0 replies; 20+ messages in thread
From: Viorel Munteanu @ 2024-06-03 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     c1e7d7e60047deb138bb00ebd84108deb62556e2
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  3 15:00:21 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jun  3 15:00:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1e7d7e6

media-libs/imgui: fix pkgdev issues

There was a typo in metadata.xml.
Also underscores are not allowed in flag names.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 media-libs/imgui/imgui-1.89.9-r3.ebuild | 8 ++++----
 media-libs/imgui/imgui-1.90.7-r2.ebuild | 8 ++++----
 media-libs/imgui/metadata.xml           | 4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/media-libs/imgui/imgui-1.89.9-r3.ebuild b/media-libs/imgui/imgui-1.89.9-r3.ebuild
index 50baf8ec3..e03ac218f 100644
--- a/media-libs/imgui/imgui-1.89.9-r3.ebuild
+++ b/media-libs/imgui/imgui-1.89.9-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> imgui-${PV}.t
 LICENSE="MIT"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="allegro5 glfw sdl2 sdl3 sdl2_renderer sdl3_renderer opengl vulkan webgpu"
+IUSE="allegro5 glfw sdl2 sdl3 sdl2-renderer sdl3-renderer opengl vulkan webgpu"
 
 RDEPEND="
 	dev-libs/stb:=
@@ -25,7 +25,7 @@ RDEPEND="
 	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
 	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	sdl2_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	sdl2-renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	opengl? ( || (
 	>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
 		<media-libs/mesa-24.1.0_rc1[gles2,egl,${MULTILIB_USEDEP}]
@@ -61,9 +61,9 @@ multilib_src_configure() {
 		$(meson_feature vulkan)
 		$(meson_feature glfw)
 		$(meson_feature sdl2)
-		$(meson_feature sdl2_renderer)
+		$(meson_feature sdl2-renderer)
 		-Dsdl3=disabled
-		-Dsdl3_renderer=disabled
+		-Dsdl3-renderer=disabled
 		$(meson_feature webgpu)
 		-Dosx=disabled
 		-Dwin=disabled

diff --git a/media-libs/imgui/imgui-1.90.7-r2.ebuild b/media-libs/imgui/imgui-1.90.7-r2.ebuild
index 50baf8ec3..e03ac218f 100644
--- a/media-libs/imgui/imgui-1.90.7-r2.ebuild
+++ b/media-libs/imgui/imgui-1.90.7-r2.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> imgui-${PV}.t
 LICENSE="MIT"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="allegro5 glfw sdl2 sdl3 sdl2_renderer sdl3_renderer opengl vulkan webgpu"
+IUSE="allegro5 glfw sdl2 sdl3 sdl2-renderer sdl3-renderer opengl vulkan webgpu"
 
 RDEPEND="
 	dev-libs/stb:=
@@ -25,7 +25,7 @@ RDEPEND="
 	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
 	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	sdl2_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	sdl2-renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	opengl? ( || (
 	>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
 		<media-libs/mesa-24.1.0_rc1[gles2,egl,${MULTILIB_USEDEP}]
@@ -61,9 +61,9 @@ multilib_src_configure() {
 		$(meson_feature vulkan)
 		$(meson_feature glfw)
 		$(meson_feature sdl2)
-		$(meson_feature sdl2_renderer)
+		$(meson_feature sdl2-renderer)
 		-Dsdl3=disabled
-		-Dsdl3_renderer=disabled
+		-Dsdl3-renderer=disabled
 		$(meson_feature webgpu)
 		-Dosx=disabled
 		-Dwin=disabled

diff --git a/media-libs/imgui/metadata.xml b/media-libs/imgui/metadata.xml
index 6273590a2..77d26eee4 100644
--- a/media-libs/imgui/metadata.xml
+++ b/media-libs/imgui/metadata.xml
@@ -15,9 +15,9 @@
         <flag name="opengl">Enable opengl renderer</flag>
         <flag name="vulkan">Enable vulkan renderer</flag>
         <flag name="sdl2">Enable SDL2 backend</flag>
-		<flag name="sdl2_renderer">Enable SDL2 renderer backend</flag>
+        <flag name="sdl2-renderer">Enable SDL2 renderer backend</flag>
         <flag name="sdl3">Enable SDL3 backend</flag>
-        <flag name="sdl2_renderer">Enable SDL3 renderer backend</flag>
+        <flag name="sdl3-renderer">Enable SDL3 renderer backend</flag>
         <flag name="webgpu">Enable webgpu renderer backend</flag>
     </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-06-03 11:01 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-06-03 11:01 UTC (permalink / raw
  To: gentoo-commits

commit:     2adc9f48a15dfaffdfb8615213e891a8024760a6
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Jun  3 11:01:09 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Mon Jun  3 11:01:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2adc9f48

media-libs/imgui: fix useflags

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/imgui-1.89.9-r3.ebuild | 10 +++++-----
 media-libs/imgui/imgui-1.90.7-r2.ebuild | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/media-libs/imgui/imgui-1.89.9-r3.ebuild b/media-libs/imgui/imgui-1.89.9-r3.ebuild
index 17e6f6e5b..50baf8ec3 100644
--- a/media-libs/imgui/imgui-1.89.9-r3.ebuild
+++ b/media-libs/imgui/imgui-1.89.9-r3.ebuild
@@ -17,19 +17,19 @@ SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> imgui-${PV}.t
 LICENSE="MIT"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="opengl vulkan glfw sdl2 sdl3 sdl2_renderer sdl3_renderer webgpu allegro5"
+IUSE="allegro5 glfw sdl2 sdl3 sdl2_renderer sdl3_renderer opengl vulkan webgpu"
 
 RDEPEND="
 	dev-libs/stb:=
 	media-libs/glew[${MULTILIB_USEDEP}]
 	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
 	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
-	opengl? ( || (
-		>=media-libs/mesa-24.1.0_rc1[opengl,X?,${MULTILIB_USEDEP}]
-		<media-libs/mesa-24.1.0_rc1[gles2?,egl(+)?,X?,${MULTILIB_USEDEP}]
-	) )
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl2_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	opengl? ( || (
+	>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
+		<media-libs/mesa-24.1.0_rc1[gles2,egl,${MULTILIB_USEDEP}]
+	) )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
 	webgpu? ( dev-util/webgpu-headers )
 "

diff --git a/media-libs/imgui/imgui-1.90.7-r2.ebuild b/media-libs/imgui/imgui-1.90.7-r2.ebuild
index 17e6f6e5b..50baf8ec3 100644
--- a/media-libs/imgui/imgui-1.90.7-r2.ebuild
+++ b/media-libs/imgui/imgui-1.90.7-r2.ebuild
@@ -17,19 +17,19 @@ SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> imgui-${PV}.t
 LICENSE="MIT"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="opengl vulkan glfw sdl2 sdl3 sdl2_renderer sdl3_renderer webgpu allegro5"
+IUSE="allegro5 glfw sdl2 sdl3 sdl2_renderer sdl3_renderer opengl vulkan webgpu"
 
 RDEPEND="
 	dev-libs/stb:=
 	media-libs/glew[${MULTILIB_USEDEP}]
 	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
 	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
-	opengl? ( || (
-		>=media-libs/mesa-24.1.0_rc1[opengl,X?,${MULTILIB_USEDEP}]
-		<media-libs/mesa-24.1.0_rc1[gles2?,egl(+)?,X?,${MULTILIB_USEDEP}]
-	) )
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl2_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	opengl? ( || (
+	>=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]
+		<media-libs/mesa-24.1.0_rc1[gles2,egl,${MULTILIB_USEDEP}]
+	) )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
 	webgpu? ( dev-util/webgpu-headers )
 "


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-06-03 10:49 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-06-03 10:49 UTC (permalink / raw
  To: gentoo-commits

commit:     7a72553a6edec0094bc40ab6ff3cdb3be1a82ec4
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Jun  3 10:48:51 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Mon Jun  3 10:48:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a72553a

media-libs/imgui: use mesa useflags instead of virtual/opengl

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/{imgui-1.89.9-r2.ebuild => imgui-1.89.9-r3.ebuild} | 5 ++++-
 media-libs/imgui/{imgui-1.89.9-r2.ebuild => imgui-1.90.7-r2.ebuild} | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/media-libs/imgui/imgui-1.89.9-r2.ebuild b/media-libs/imgui/imgui-1.89.9-r3.ebuild
similarity index 91%
copy from media-libs/imgui/imgui-1.89.9-r2.ebuild
copy to media-libs/imgui/imgui-1.89.9-r3.ebuild
index 80fab10f6..17e6f6e5b 100644
--- a/media-libs/imgui/imgui-1.89.9-r2.ebuild
+++ b/media-libs/imgui/imgui-1.89.9-r3.ebuild
@@ -24,7 +24,10 @@ RDEPEND="
 	media-libs/glew[${MULTILIB_USEDEP}]
 	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
 	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
-	opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+	opengl? ( || (
+		>=media-libs/mesa-24.1.0_rc1[opengl,X?,${MULTILIB_USEDEP}]
+		<media-libs/mesa-24.1.0_rc1[gles2?,egl(+)?,X?,${MULTILIB_USEDEP}]
+	) )
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl2_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )

diff --git a/media-libs/imgui/imgui-1.89.9-r2.ebuild b/media-libs/imgui/imgui-1.90.7-r2.ebuild
similarity index 91%
rename from media-libs/imgui/imgui-1.89.9-r2.ebuild
rename to media-libs/imgui/imgui-1.90.7-r2.ebuild
index 80fab10f6..17e6f6e5b 100644
--- a/media-libs/imgui/imgui-1.89.9-r2.ebuild
+++ b/media-libs/imgui/imgui-1.90.7-r2.ebuild
@@ -24,7 +24,10 @@ RDEPEND="
 	media-libs/glew[${MULTILIB_USEDEP}]
 	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
 	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
-	opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+	opengl? ( || (
+		>=media-libs/mesa-24.1.0_rc1[opengl,X?,${MULTILIB_USEDEP}]
+		<media-libs/mesa-24.1.0_rc1[gles2?,egl(+)?,X?,${MULTILIB_USEDEP}]
+	) )
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl2_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-05-12 19:27 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-05-12 19:27 UTC (permalink / raw
  To: gentoo-commits

commit:     ee5b4f2b1382d3bbe10a2d24239d91f2a7ebf995
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sun May 12 19:25:47 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sun May 12 19:26:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee5b4f2b

media-libs/imgui: add missing dev-util/webgpu-headers dependency

Closes: https://bugs.gentoo.org/931827
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/imgui-1.89.9-r1.ebuild | 1 +
 media-libs/imgui/imgui-1.90.6.ebuild    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-libs/imgui/imgui-1.89.9-r1.ebuild b/media-libs/imgui/imgui-1.89.9-r1.ebuild
index bed80af29a..917ecd30c0 100644
--- a/media-libs/imgui/imgui-1.89.9-r1.ebuild
+++ b/media-libs/imgui/imgui-1.89.9-r1.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+	webgpu? ( dev-util/webgpu-headers )
 "
 DEPEND="
 	${RDEPEND}

diff --git a/media-libs/imgui/imgui-1.90.6.ebuild b/media-libs/imgui/imgui-1.90.6.ebuild
index bed80af29a..917ecd30c0 100644
--- a/media-libs/imgui/imgui-1.90.6.ebuild
+++ b/media-libs/imgui/imgui-1.90.6.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
 	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	sdl_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
 	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+	webgpu? ( dev-util/webgpu-headers )
 "
 DEPEND="
 	${RDEPEND}


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-05-10 14:00 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-05-10 14:00 UTC (permalink / raw
  To: gentoo-commits

commit:     0a4e50def5503aed24844901bafdd7189def94eb
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri May 10 13:54:50 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Fri May 10 14:00:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a4e50de

media-libs/imgui: add 1.90.6

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/Manifest            |  1 +
 media-libs/imgui/imgui-1.90.6.ebuild | 67 ++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest
index 5e96536e09..26ede19381 100644
--- a/media-libs/imgui/Manifest
+++ b/media-libs/imgui/Manifest
@@ -1 +1,2 @@
 DIST imgui-1.89.9.tar.gz 1609452 BLAKE2B d5f361acf4318b05066720e9da2ed06db760c482440fc7fb2ca95ce5dd88d9a9a010697c831d3e188baec69819c0a0925e98134c191d5e1856ab43e4dbf9b64f SHA512 42021b06b611b58222b09fab8db2c34e992c3dc4fbaa175e09833c66c90d04b4a4e7def16a732535335c0ac5ff014d235835511a5d9a76d32b4395b302146919
+DIST imgui-1.90.6.tar.gz 1677600 BLAKE2B 2dba4e461e5d771f6764a9a4ff281c0e5ceb1b9467c0640171a4c86dc5a53a172815f2dd10241cb5148549035e6db44f6a20f219c7ce95bac6e1afd9b72402a4 SHA512 c9ff56ec6f8eb05b5034bb0b886568e843743a4313e36613db214f6080506703d5ed2ee606c88cd8957e73575e2b0e39deb52e1ac0c1a6e0a9fe38bca5e6dc0e

diff --git a/media-libs/imgui/imgui-1.90.6.ebuild b/media-libs/imgui/imgui-1.90.6.ebuild
new file mode 100644
index 0000000000..bed80af29a
--- /dev/null
+++ b/media-libs/imgui/imgui-1.90.6.ebuild
@@ -0,0 +1,67 @@
+# 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="Bloat-free graphical user interface library for C++"
+HOMEPAGE="
+	https://github.com/ocornut/imgui
+"
+
+SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> imgui-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="opengl vulkan glfw sdl2 sdl_renderer webgpu allegro5"
+
+RDEPEND="
+	dev-libs/stb:=
+	media-libs/glew[${MULTILIB_USEDEP}]
+	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
+	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
+	opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	sdl_renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+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
+	cp "${FILESDIR}/${PN}-meson_options.txt" "${S}/meson_options.txt" || die
+	sed -i "s/  version: 'PV',/  version: '${PV}',/g" "${S}/meson.build" || die
+}
+
+multilib_src_configure() {
+	local emesonargs=(
+		-Ddx9=disabled
+		-Ddx10=disabled
+		-Ddx11=disabled
+		-Ddx12=disabled
+		-Dmetal=disabled
+		$(meson_feature opengl)
+		$(meson_feature vulkan)
+		$(meson_feature glfw)
+		$(meson_feature sdl2)
+		$(meson_feature sdl_renderer)
+		$(meson_feature webgpu)
+		-Dosx=disabled
+		-Dwin=disabled
+		$(meson_feature allegro5)
+	)
+	meson_src_configure
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-05-09 16:03 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-05-09 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     2e700d20812620d6542256852fa51786b0dca557
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Thu May  9 16:02:53 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Thu May  9 16:02:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e700d20

media-libs/imgui: fix metadata indentation

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/metadata.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/imgui/metadata.xml b/media-libs/imgui/metadata.xml
index a32bd51ac0..fe2a667a00 100644
--- a/media-libs/imgui/metadata.xml
+++ b/media-libs/imgui/metadata.xml
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>gonegrier.duarte@gmail.com</email>
-		<name>Gonçalo Negrier Duarte</name>
-	</maintainer>
+    <maintainer type="person">
+        <email>gonegrier.duarte@gmail.com</email>
+        <name>Gonçalo Negrier Duarte</name>
+    </maintainer>
     <upstream>
         <bugs-to>https://github.com/ocornut/imgui/issues</bugs-to>
         <remote-id type="github">ocornut/imgui</remote-id>


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-02-16 21:50 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-02-16 21:50 UTC (permalink / raw
  To: gentoo-commits

commit:     e887b0bb7ed88c35f1e81fcf680ce35cf147d046
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Feb 16 21:48:23 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Fri Feb 16 21:50:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e887b0bb

media-libs/imgui: drop 1.87-r6, 1.87-r8, add 1.87-r9
* fix bug with patch applying before imgui folder be added

Closes: https://bugs.gentoo.org/924126
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/imgui-1.87-r6.ebuild              | 113 ---------------------
 .../{imgui-1.87-r8.ebuild => imgui-1.87-r9.ebuild} |  13 ++-
 2 files changed, 10 insertions(+), 116 deletions(-)

diff --git a/media-libs/imgui/imgui-1.87-r6.ebuild b/media-libs/imgui/imgui-1.87-r6.ebuild
deleted file mode 100644
index 3752923094..0000000000
--- a/media-libs/imgui/imgui-1.87-r6.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Bloat-free graphical user interface library for C++"
-HOMEPAGE="
-	https://github.com/ocornut/imgui
-	https://github.com/cimgui/cimgui
-"
-SRC_URI="
-	https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
-	https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="allegro bindings examples freetype glfw glut opengl sdl vulkan"
-S="${WORKDIR}/c${P}"
-
-RDEPEND="
-	dev-libs/stb:=
-	allegro? ( media-libs/allegro:5 )
-	freetype? ( media-libs/freetype )
-	glfw? ( media-libs/glfw:0 )
-	glut? ( media-libs/freeglut )
-	opengl? ( virtual/opengl )
-	sdl? ( media-libs/libsdl2 )
-	vulkan? ( media-libs/vulkan-loader )
-"
-DEPEND="
-	${RDEPEND}
-	vulkan? ( dev-util/vulkan-headers )
-"
-BDEPEND="
-	bindings? ( dev-lang/luajit )
-	virtual/pkgconfig
-"
-
-REQUIRED_USE="
-	|| (
-		allegro
-		glfw
-		glut
-		sdl
-	)
-	|| (
-		allegro
-		opengl
-		vulkan
-	)
-"
-
-PATCHES=( "${FILESDIR}/${P}-fpermissive.patch" )
-
-src_prepare() {
-	pushd ../ || die
-	rm -rf "${S}/imgui" || die
-	mv "${P}" "${S}/imgui" || die
-	pushd "${S}/imgui" || die
-
-	# imgui
-	rm -r examples/libs || die
-	rm -r misc/*/*.ttf || die
-	rm -r misc/single_file || die
-
-	cp "${FILESDIR}/${P}-CMakeLists.txt" CMakeLists.txt || die
-	cp "${FILESDIR}/imgui.pc.in" imgui.pc.in || die
-	sed -e "s|@version@|${PV}|g" -i imgui.pc.in || die
-
-	pushd "${S}" || die
-	cp "${FILESDIR}/c${P}-CMakeLists.txt" CMakeLists.txt || die
-	# remove files to be generated
-	rm cimgui.cpp cimgui.h || die
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DIMGUI_ALLEGRO=$(usex allegro)
-		-DIMGUI_BINDINGS=$(usex bindings)
-		-DIMGUI_EXAMPLES=$(usex examples)
-		-DIMGUI_FREETYPE=$(usex freetype)
-		-DIMGUI_GLFW=$(usex glfw)
-		-DIMGUI_GLUT=$(usex glut)
-		-DIMGUI_OPENGL=$(usex opengl)
-		-DIMGUI_SDL=$(usex sdl)
-		-DIMGUI_VULKAN=$(usex vulkan)
-	)
-	cmake_src_configure
-}
-
-src_install() {
-
-	cmake_src_install
-
-	pushd imgui || die
-	# imgui
-	rm -rf misc/{fonts,freetype} || die
-	dodoc -r misc
-
-	popd || die
-
-	if use bindings; then
-		# cimgui
-
-		insinto "/usr/share/doc/${PF}/cimgui"
-		doins README.md TODO.txt
-	fi
-}

diff --git a/media-libs/imgui/imgui-1.87-r8.ebuild b/media-libs/imgui/imgui-1.87-r9.ebuild
similarity index 92%
rename from media-libs/imgui/imgui-1.87-r8.ebuild
rename to media-libs/imgui/imgui-1.87-r9.ebuild
index 207cbbefce..27dc90b9ae 100644
--- a/media-libs/imgui/imgui-1.87-r8.ebuild
+++ b/media-libs/imgui/imgui-1.87-r9.ebuild
@@ -56,13 +56,20 @@ REQUIRED_USE="
 
 PATCHES=( "${FILESDIR}/${P}-fpermissive.patch" )
 
-multilib_src_prepare() {
-	pushd ../ || die
+src_unpack() {
+	# unpack imgui and cimgui to ${WORKDIR}
+	unpack "${P}.gh.tar.gz"
+    unpack "c${P}.gh.tar.gz"
+
+	# move imgui to the proper location before the patch (Bug #924126)
+	pushd ${WORKDIR} || die
 	rm -rf "${S}/imgui" || die
 	mv "${P}" "${S}/imgui" || die
-	pushd "${S}/imgui" || die
+}
 
+multilib_src_prepare() {
 	# imgui
+	pushd "${S}/imgui" || die
 	rm -r examples/libs || die
 	rm -r misc/*/*.ttf || die
 	rm -r misc/single_file || die


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-02-08 11:08 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-02-08 11:08 UTC (permalink / raw
  To: gentoo-commits

commit:     a611f2adab19140609c45e7c35ee2da9ec8d0805
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Thu Feb  8 11:06:59 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Thu Feb  8 11:08:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a611f2ad

media-libs/imgui: fix typo in LICENSE

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 media-libs/imgui/imgui-1.87-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/imgui/imgui-1.87-r8.ebuild b/media-libs/imgui/imgui-1.87-r8.ebuild
index 01d08089c8..207cbbefce 100644
--- a/media-libs/imgui/imgui-1.87-r8.ebuild
+++ b/media-libs/imgui/imgui-1.87-r8.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 	https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.gh.tar.gz
 "
 
-LICENSE="MIT"multilib
+LICENSE="MIT"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="allegro bindings examples freetype glfw glut opengl sdl vulkan"


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2024-02-07 17:59 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 20+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-02-07 17:59 UTC (permalink / raw
  To: gentoo-commits

commit:     e8c090f40a9bfdb2d9a3e45f3bbbb19410aa4229
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Feb  7 17:49:44 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Feb  7 17:59:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8c090f4

media-libs/imgui: add multilib support to imgui
* need for mangohud multilib support

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 .../{imgui-1.81.ebuild => imgui-1.81-r1.ebuild}    | 16 +++++++--------
 .../{imgui-1.87-r7.ebuild => imgui-1.87-r8.ebuild} | 24 +++++++++++-----------
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/media-libs/imgui/imgui-1.81.ebuild b/media-libs/imgui/imgui-1.81-r1.ebuild
similarity index 76%
rename from media-libs/imgui/imgui-1.81.ebuild
rename to media-libs/imgui/imgui-1.81-r1.ebuild
index 22929f29b3..3c6e5ee7e8 100644
--- a/media-libs/imgui/imgui-1.81.ebuild
+++ b/media-libs/imgui/imgui-1.81-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit meson
+inherit meson-multilib
 
 MESON_WRAP_VER="1"
 
@@ -24,12 +24,12 @@ IUSE="opengl vulkan glfw sdl2 marmalade allegro5"
 
 RDEPEND="
 	dev-libs/stb:=
-	media-libs/glew
-	allegro5? ( media-libs/allegro:5 )
-	glfw? ( media-libs/glfw:0 )
-	opengl? ( virtual/opengl )
-	sdl2? ( media-libs/libsdl2 )
-	vulkan? ( media-libs/vulkan-loader )
+	media-libs/glew[${MULTILIB_USEDEP}]
+	allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
+	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
+	opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+	sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
 "
 DEPEND="
 	${RDEPEND}
@@ -50,7 +50,7 @@ src_unpack() {
 	unpack imgui-${PV}-${MESON_WRAP_VER}-meson-wrap.zip
 }
 
-src_configure() {
+multilib_src_configure() {
 	local emesonargs=(
 		-Ddx9=disabled
 		-Ddx10=disabled

diff --git a/media-libs/imgui/imgui-1.87-r7.ebuild b/media-libs/imgui/imgui-1.87-r8.ebuild
similarity index 80%
rename from media-libs/imgui/imgui-1.87-r7.ebuild
rename to media-libs/imgui/imgui-1.87-r8.ebuild
index 49227f0f47..01d08089c8 100644
--- a/media-libs/imgui/imgui-1.87-r7.ebuild
+++ b/media-libs/imgui/imgui-1.87-r8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake-multilib
 
 DESCRIPTION="Bloat-free graphical user interface library for C++"
 HOMEPAGE="
@@ -15,7 +15,7 @@ SRC_URI="
 	https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.gh.tar.gz
 "
 
-LICENSE="MIT"
+LICENSE="MIT"multilib
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="allegro bindings examples freetype glfw glut opengl sdl vulkan"
@@ -23,13 +23,13 @@ S="${WORKDIR}/c${P}"
 
 RDEPEND="
 	dev-libs/stb:=
-	allegro? ( media-libs/allegro:5 )
-	freetype? ( media-libs/freetype )
-	glfw? ( media-libs/glfw:0 )
-	glut? ( media-libs/freeglut )
-	opengl? ( virtual/opengl )
-	sdl? ( media-libs/libsdl2 )
-	vulkan? ( media-libs/vulkan-loader )
+	allegro? ( media-libs/allegro:5[${MULTILIB_USEDEP}] )
+	freetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
+	glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] )
+	glut? ( media-libs/freeglut[${MULTILIB_USEDEP}] )
+	opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
 "
 DEPEND="
 	${RDEPEND}
@@ -56,7 +56,7 @@ REQUIRED_USE="
 
 PATCHES=( "${FILESDIR}/${P}-fpermissive.patch" )
 
-src_prepare() {
+multilib_src_prepare() {
 	pushd ../ || die
 	rm -rf "${S}/imgui" || die
 	mv "${P}" "${S}/imgui" || die
@@ -78,7 +78,7 @@ src_prepare() {
 	cmake_src_prepare
 }
 
-src_configure() {
+multilib_src_configure() {
 	local mycmakeargs=(
 		-DIMGUI_ALLEGRO=$(usex allegro)
 		-DIMGUI_BINDINGS=$(usex bindings)
@@ -93,7 +93,7 @@ src_configure() {
 	cmake_src_configure
 }
 
-src_install() {
+multilib_src_install() {
 
 	cmake_src_install
 


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2023-02-19  5:17 Anna Vyalkova
  0 siblings, 0 replies; 20+ messages in thread
From: Anna Vyalkova @ 2023-02-19  5:17 UTC (permalink / raw
  To: gentoo-commits

commit:     57b2714ea689023c869991eedbc3e5d088b091c6
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb 19 05:17:01 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Feb 19 05:17:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57b2714e

media-libs/imgui: update metadata.xml

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 media-libs/imgui/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/imgui/metadata.xml b/media-libs/imgui/metadata.xml
index b3ceef849..7751d2468 100644
--- a/media-libs/imgui/metadata.xml
+++ b/media-libs/imgui/metadata.xml
@@ -13,6 +13,7 @@
     </upstream>
     <use>
         <flag name="allegro5">Enable allegro backend and renderer</flag>
+        <flag name="allegro">Enable allegro backend and renderer</flag>
         <flag name="bindings">Build the cimgui C bindigs</flag>
         <flag name="freetype">Use FreeType to build and rasterize the font atlas</flag>
         <flag name="glfw">Enable glfw backend</flag>


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2022-05-29 23:06 Alessandro Barbieri
  0 siblings, 0 replies; 20+ messages in thread
From: Alessandro Barbieri @ 2022-05-29 23:06 UTC (permalink / raw
  To: gentoo-commits

commit:     6b48afde8b2110300a0be496a1c0703b043cc4be
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 21:09:07 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 29 21:09:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6b48afde

media-libs/imgui: add subslot

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/imgui/Manifest                                       | 4 ++--
 media-libs/imgui/{imgui-1.87-r5.ebuild => imgui-1.87-r6.ebuild} | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest
index 582ac2320..6c720b19b 100644
--- a/media-libs/imgui/Manifest
+++ b/media-libs/imgui/Manifest
@@ -1,3 +1,3 @@
-DIST cimgui-1.87.tar.gz 385460 BLAKE2B 0916d53a00234343536ee412035a2c405b01e31a26c3d059cff4d446188ee8a1835a1233a68f671ccebb67be480801b85203a90b0e79fa729f7ac1efdc8bf4a2 SHA512 bf2ed9461e8c12514d29914e6da7f8fae7cd31fcc587c7d89122c950541aed3b4b908d8cd298b3975e9a955a47789335a88db7223ca558cbdf459693a0081bda
+DIST cimgui-1.87.gh.tar.gz 385460 BLAKE2B 0916d53a00234343536ee412035a2c405b01e31a26c3d059cff4d446188ee8a1835a1233a68f671ccebb67be480801b85203a90b0e79fa729f7ac1efdc8bf4a2 SHA512 bf2ed9461e8c12514d29914e6da7f8fae7cd31fcc587c7d89122c950541aed3b4b908d8cd298b3975e9a955a47789335a88db7223ca558cbdf459693a0081bda
 DIST imgui-1.83.tar.gz 1448389 BLAKE2B 648306bd69181ad8315f12fc5b2c319b23005d6b3fc790ad64caaf1f80304e81b33af5d6f435fa97151fcf1e77eb15455838a09570b7a9c7dd9c56a61510b5a1 SHA512 2150e7101f384b1c749b2e89876b2085a7ff43435f04e88602d0e5e00db7a41c1ace5176bdb0963326845d1c8303b5092a7ca1c9c8e70c522ba96f899ed5bb9c
-DIST imgui-1.87.tar.gz 1460834 BLAKE2B f73b71400311e7c5f82248e242a932add5090670c78077ca2239f349730bab88a00bfe4deca4e854772ef7f6a2cff1fc0f38f7174a026995f93c9e7b55eb2a1d SHA512 3255b06698ab9c8951953e1e0b6d160d64adfa4c011b21a4288547292a7f8fff586875faf9dae0677818bde65bd7e98da92f16f6beb1e6a66aa835edf32e8ce2
+DIST imgui-1.87.gh.tar.gz 1460834 BLAKE2B f73b71400311e7c5f82248e242a932add5090670c78077ca2239f349730bab88a00bfe4deca4e854772ef7f6a2cff1fc0f38f7174a026995f93c9e7b55eb2a1d SHA512 3255b06698ab9c8951953e1e0b6d160d64adfa4c011b21a4288547292a7f8fff586875faf9dae0677818bde65bd7e98da92f16f6beb1e6a66aa835edf32e8ce2

diff --git a/media-libs/imgui/imgui-1.87-r5.ebuild b/media-libs/imgui/imgui-1.87-r6.ebuild
similarity index 97%
rename from media-libs/imgui/imgui-1.87-r5.ebuild
rename to media-libs/imgui/imgui-1.87-r6.ebuild
index 927b7feae..375292309 100644
--- a/media-libs/imgui/imgui-1.87-r5.ebuild
+++ b/media-libs/imgui/imgui-1.87-r6.ebuild
@@ -11,12 +11,12 @@ HOMEPAGE="
 	https://github.com/cimgui/cimgui
 "
 SRC_URI="
-	https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.tar.gz
-	https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.tar.gz
+	https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.gh.tar.gz
 "
 
 LICENSE="MIT"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="allegro bindings examples freetype glfw glut opengl sdl vulkan"
 S="${WORKDIR}/c${P}"


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2022-04-23 13:26 Alessandro Barbieri
  0 siblings, 0 replies; 20+ messages in thread
From: Alessandro Barbieri @ 2022-04-23 13:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7a70b14fb2c37af39205928d7d75a222e1cbb028
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 23 13:25:06 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 23 13:25:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a70b14f

media-libs/imgui: do not require every use for the examples

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/imgui/imgui-1.87-r4.ebuild | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/media-libs/imgui/imgui-1.87-r4.ebuild b/media-libs/imgui/imgui-1.87-r4.ebuild
index 7bb3f6e42..0c83b5cdf 100644
--- a/media-libs/imgui/imgui-1.87-r4.ebuild
+++ b/media-libs/imgui/imgui-1.87-r4.ebuild
@@ -52,14 +52,6 @@ REQUIRED_USE="
 		opengl
 		vulkan
 	)
-	examples? (
-		allegro
-		glfw
-		glut
-		opengl
-		sdl
-		vulkan
-	)
 "
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2022-04-21  0:52 Alessandro Barbieri
  0 siblings, 0 replies; 20+ messages in thread
From: Alessandro Barbieri @ 2022-04-21  0:52 UTC (permalink / raw
  To: gentoo-commits

commit:     28d9358f121be9efa10fd2b266684d950fdc37e5
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr 21 00:51:58 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Apr 21 00:51:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=28d9358f

media-libs/imgui: change required use logic

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/imgui/imgui-1.87-r2.ebuild | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/media-libs/imgui/imgui-1.87-r2.ebuild b/media-libs/imgui/imgui-1.87-r2.ebuild
index f51097b79..0df42793d 100644
--- a/media-libs/imgui/imgui-1.87-r2.ebuild
+++ b/media-libs/imgui/imgui-1.87-r2.ebuild
@@ -45,12 +45,14 @@ PATCHES=( "${FILESDIR}/c${P}-fix-cmake.patch" )
 REQUIRED_USE="
 	|| (
 		allegro
-		|| (
-			glfw
-			glut
-			sdl
-		)
-		|| ( opengl vulkan )
+		glfw
+		glut
+		sdl
+	)
+	|| (
+		allegro
+		opengl
+		vulkan
 	)
 	examples? (
 		allegro


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2022-04-03 23:49 Alessandro Barbieri
  0 siblings, 0 replies; 20+ messages in thread
From: Alessandro Barbieri @ 2022-04-03 23:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5c020d8f944c29c170388836cabd1f2e3cb46854
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr  3 17:29:14 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr  3 23:48:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c020d8f

media-libs/imgui: explicitly link the build objects

Closes: https://bugs.gentoo.org/836695
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../{imgui-1.87.ebuild => imgui-1.87-r1.ebuild}    | 32 ++++++++++++++--------
 1 file changed, 21 insertions(+), 11 deletions(-)

diff --git a/media-libs/imgui/imgui-1.87.ebuild b/media-libs/imgui/imgui-1.87-r1.ebuild
similarity index 71%
rename from media-libs/imgui/imgui-1.87.ebuild
rename to media-libs/imgui/imgui-1.87-r1.ebuild
index 0b811f029..4339ad386 100644
--- a/media-libs/imgui/imgui-1.87.ebuild
+++ b/media-libs/imgui/imgui-1.87-r1.ebuild
@@ -87,13 +87,17 @@ src_configure() {
 src_compile() {
 	set -x || die
 
+	local objects=()
+
 	for i in imgui{,_draw,_demo,_tables,_widgets}; do
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c ${i}.cpp -o ${i}.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c ${i}.cpp -o ${i}.o || die
+		objects+=( ${i}.o )
 	done
 
 	if use freetype; then
 		pushd misc/freetype || die
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_freetype.cpp -o imgui_freetype.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_freetype.cpp -o imgui_freetype.o || die
+		objects+=( misc/freetype/imgui_freetype.o )
 		popd || die
 		pushd misc/fonts || die
 		${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIE binary_to_compressed_c.cpp -o binary_to_compressed_c || die
@@ -102,27 +106,33 @@ src_compile() {
 
 	pushd backends || die
 	if use allegro; then
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_allegro5.cpp -o imgui_impl_allegro5.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_allegro5.cpp -o imgui_impl_allegro5.o || die
+		objects+=( backends/imgui_impl_allegro5.o )
 	fi
 	if use glfw; then
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_glfw.cpp -o imgui_impl_glfw.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_glfw.cpp -o imgui_impl_glfw.o || die
+		objects+=( backends/imgui_impl_glfw.o )
 	fi
 	if use glut; then
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_glut.cpp -o imgui_impl_glut.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_glut.cpp -o imgui_impl_glut.o || die
+		objects+=( backends/imgui_impl_glut.o )
 	fi
 	if use opengl; then
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_opengl2.cpp -o imgui_impl_opengl2.o || die
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_opengl3.cpp -o imgui_impl_opengl3.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_opengl2.cpp -o imgui_impl_opengl2.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_opengl3.cpp -o imgui_impl_opengl3.o || die
+		objects+=( backends/imgui_impl_opengl2.o backends/imgui_impl_opengl3.o )
 	fi
 	if use sdl; then
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_sdl.cpp -o imgui_impl_sdl.o || die
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_sdlrenderer.cpp -o imgui_impl_sdlrenderer.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_sdl.cpp -o imgui_impl_sdl.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_sdlrenderer.cpp -o imgui_impl_sdlrenderer.o || die
+		objects+=( backends/imgui_impl_sdl.o backends/imgui_impl_sdlrenderer.o )
 	fi
 	if use vulkan; then
-		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_vulkan.cpp -o imgui_impl_vulkan.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -fPIC -c imgui_impl_vulkan.cpp -o imgui_impl_vulkan.o || die
+		objects+=( backends/imgui_impl_vulkan.o )
 	fi
 	popd || die
-	${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -shared -Wl,-soname,libimgui.so *.o backends/*.o misc/freetype/*.o -o libimgui.so ${LIBS} || die
+	${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -shared -Wl,-soname,libimgui.so ${objects[@]} -o libimgui.so ${LIBS} || die
 
 	if use examples; then
 		mkdir ex || die


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2022-03-27 21:28 Alessandro Barbieri
  0 siblings, 0 replies; 20+ messages in thread
From: Alessandro Barbieri @ 2022-03-27 21:28 UTC (permalink / raw
  To: gentoo-commits

commit:     ab60e471e906e5ac8b529cf7e964c1e875b0dccd
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 27 18:22:04 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 27 21:28:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab60e471

media-libs/imgui: add 1.87

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/imgui/Manifest          |   1 +
 media-libs/imgui/imgui-1.87.ebuild | 157 +++++++++++++++++++++++++++++++++++++
 media-libs/imgui/metadata.xml      |   9 +++
 3 files changed, 167 insertions(+)

diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest
index 6b3f46883..9bbf158f0 100644
--- a/media-libs/imgui/Manifest
+++ b/media-libs/imgui/Manifest
@@ -1 +1,2 @@
 DIST imgui-1.83.tar.gz 1448389 BLAKE2B 648306bd69181ad8315f12fc5b2c319b23005d6b3fc790ad64caaf1f80304e81b33af5d6f435fa97151fcf1e77eb15455838a09570b7a9c7dd9c56a61510b5a1 SHA512 2150e7101f384b1c749b2e89876b2085a7ff43435f04e88602d0e5e00db7a41c1ace5176bdb0963326845d1c8303b5092a7ca1c9c8e70c522ba96f899ed5bb9c
+DIST imgui-1.87.tar.gz 1460834 BLAKE2B f73b71400311e7c5f82248e242a932add5090670c78077ca2239f349730bab88a00bfe4deca4e854772ef7f6a2cff1fc0f38f7174a026995f93c9e7b55eb2a1d SHA512 3255b06698ab9c8951953e1e0b6d160d64adfa4c011b21a4288547292a7f8fff586875faf9dae0677818bde65bd7e98da92f16f6beb1e6a66aa835edf32e8ce2

diff --git a/media-libs/imgui/imgui-1.87.ebuild b/media-libs/imgui/imgui-1.87.ebuild
new file mode 100644
index 000000000..0b811f029
--- /dev/null
+++ b/media-libs/imgui/imgui-1.87.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Bloat-free graphical user interface library for C++"
+HOMEPAGE="https://github.com/ocornut/imgui"
+SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="allegro examples freetype glfw glut opengl sdl vulkan"
+
+RDEPEND="
+	allegro? ( media-libs/allegro:5 )
+	freetype? ( media-libs/freetype )
+	glfw? ( media-libs/glfw:0 )
+	glut? ( media-libs/freeglut )
+	opengl? ( virtual/opengl )
+	sdl? ( media-libs/libsdl2 )
+	vulkan? ( media-libs/vulkan-loader )
+"
+DEPEND="
+	${RDEPEND}
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="
+	|| (
+		allegro
+		|| ( glfw glut sdl )
+		|| ( opengl vulkan )
+	)
+	examples? (
+		allegro
+		glfw
+		glut
+		opengl
+		sdl
+		vulkan
+	)
+"
+
+src_prepare() {
+	rm -r examples/libs || die
+	rm -r misc/*/*.ttf || die
+	rm -r misc/single_file || die
+	default
+}
+
+src_configure() {
+	tc-export CXX
+	append-cppflags "-DIMGUI_USE_WCHAR32"
+	append-cxxflags "-I${S} -I${S}/backends -I${S}/misc/freetype -fPIC -fpermissive"
+	local PKGCONF="$(tc-getPKG_CONFIG)" || die
+
+	use allegro && append-libs "-lallegro -lallegro_main -lallegro_primitives"
+	if use freetype; then
+		append-cppflags "-DIMGUI_ENABLE_FREETYPE -DIMGUI_ENABLE_STB_TRUETYPE"
+		append-cxxflags "$(${PKGCONF} --cflags freetype2)" || die
+		append-libs "$(${PKGCONF} --libs freetype2)" || die
+	fi
+	if use glfw; then
+		append-libs "$(${PKGCONF} --libs glfw3)" || die
+		append-cxxflags "$(${PKGCONF} --cflags glfw3)" || die
+	fi
+	if use glut; then
+		append-libs "$(${PKGCONF} --libs freeglut)" || die
+		append-cxxflags "$(${PKGCONF} --cflags freeglut)" || die
+	fi
+	use opengl && append-libs "-lGL"
+	if use sdl; then
+		append-libs "-ldl $(sdl2-config --libs)" || die
+		append-cxxflags "$(sdl2-config --cflags)" || die
+	fi
+	if use vulkan; then
+		append-libs "$(${PKGCONF} --libs vulkan)" || die
+		append-cxxflags "$(${PKGCONF} --cflags vulkan)" || die
+		append-cppflags "-DImTextureID=ImU64" || die
+	fi
+}
+
+src_compile() {
+	set -x || die
+
+	for i in imgui{,_draw,_demo,_tables,_widgets}; do
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c ${i}.cpp -o ${i}.o || die
+	done
+
+	if use freetype; then
+		pushd misc/freetype || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_freetype.cpp -o imgui_freetype.o || die
+		popd || die
+		pushd misc/fonts || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIE binary_to_compressed_c.cpp -o binary_to_compressed_c || die
+		popd || die
+	fi
+
+	pushd backends || die
+	if use allegro; then
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_allegro5.cpp -o imgui_impl_allegro5.o || die
+	fi
+	if use glfw; then
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_glfw.cpp -o imgui_impl_glfw.o || die
+	fi
+	if use glut; then
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_glut.cpp -o imgui_impl_glut.o || die
+	fi
+	if use opengl; then
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_opengl2.cpp -o imgui_impl_opengl2.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_opengl3.cpp -o imgui_impl_opengl3.o || die
+	fi
+	if use sdl; then
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_sdl.cpp -o imgui_impl_sdl.o || die
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_sdlrenderer.cpp -o imgui_impl_sdlrenderer.o || die
+	fi
+	if use vulkan; then
+		${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_impl_vulkan.cpp -o imgui_impl_vulkan.o || die
+	fi
+	popd || die
+	${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -shared -Wl,-soname,libimgui.so *.o backends/*.o misc/freetype/*.o -o libimgui.so ${LIBS} || die
+
+	if use examples; then
+		mkdir ex || die
+		for f in allegro5 glfw_opengl{2,3} glfw_vulkan null sdl_opengl{2,3} sdl_{sdlrenderer,vulkan} glut_opengl2 ; do
+			${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIE examples/example_${f}/main.cpp "-L${S}" -limgui ${LIBS} -o "${S}/ex/example_${f}" || die
+		done
+	fi
+
+	set +x || die
+}
+
+src_install() {
+	dolib.so libimgui.so
+	dodoc docs/*
+	insinto "/usr/include/imgui"
+	doins *.h
+	doins -r misc/*/*.h
+	doins backends/*.h
+	insinto "/usr/share/${PN}/backends"
+	doins -r backends/vulkan
+	exeinto "/usr/libexec/${PN}"
+	use freetype && doexe misc/fonts/binary_to_compressed_c
+	rm -rf misc/{fonts,freetype} || die
+	dodoc -r misc
+
+	if use examples; then
+		exeinto "/usr/libexec/${PN}/examples"
+		doexe ex/*
+		dodoc -r examples
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+}

diff --git a/media-libs/imgui/metadata.xml b/media-libs/imgui/metadata.xml
index 25bcc732f..2a6d52b5d 100644
--- a/media-libs/imgui/metadata.xml
+++ b/media-libs/imgui/metadata.xml
@@ -10,4 +10,13 @@
         <bugs-to>https://github.com/ocornut/imgui/issues</bugs-to>
         <remote-id type="github">ocornut/imgui</remote-id>
     </upstream>
+    <use>
+        <flag name="allegro">Enable allegro backend and renderer</flag>
+        <flag name="freetype">Use FreeType to build and rasterize the font atlas</flag>
+        <flag name="glfw">Enable glfw backend</flag>
+        <flag name="glut">Enable glut backen</flag>
+        <flag name="opengl">Enable opengl renderer</flag>
+        <flag name="sdl">Enable sdl backend</flag>
+        <flag name="vulkan">Enable vulkan renderer</flag>
+    </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/
@ 2021-07-04  8:13 Alessandro Barbieri
  0 siblings, 0 replies; 20+ messages in thread
From: Alessandro Barbieri @ 2021-07-04  8:13 UTC (permalink / raw
  To: gentoo-commits

commit:     b49dbb241ced607eedf86c1a8017c6f0cc60ebe0
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jul  4 05:36:14 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jul  4 05:36:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b49dbb24

media-libs/imgui: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/imgui/Manifest          |  1 +
 media-libs/imgui/imgui-1.83.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 media-libs/imgui/metadata.xml      | 13 +++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest
new file mode 100644
index 000000000..6b3f46883
--- /dev/null
+++ b/media-libs/imgui/Manifest
@@ -0,0 +1 @@
+DIST imgui-1.83.tar.gz 1448389 BLAKE2B 648306bd69181ad8315f12fc5b2c319b23005d6b3fc790ad64caaf1f80304e81b33af5d6f435fa97151fcf1e77eb15455838a09570b7a9c7dd9c56a61510b5a1 SHA512 2150e7101f384b1c749b2e89876b2085a7ff43435f04e88602d0e5e00db7a41c1ace5176bdb0963326845d1c8303b5092a7ca1c9c8e70c522ba96f899ed5bb9c

diff --git a/media-libs/imgui/imgui-1.83.ebuild b/media-libs/imgui/imgui-1.83.ebuild
new file mode 100644
index 000000000..2b63cb7ce
--- /dev/null
+++ b/media-libs/imgui/imgui-1.83.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Bloat-free graphical user interface library for C++"
+HOMEPAGE="https://github.com/ocornut/imgui"
+SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+RDEPEND="media-libs/glew:0"
+DEPEND="${RDEPEND}"
+
+src_install() {
+	dodoc docs/*
+	insinto "/usr/include/${PN}"
+	doins *.h
+	doins -r misc/*/*.h
+	insinto "/usr/include/${PN}/backend"
+	doins backends/*.h
+	insinto "/usr/share/${PN}"
+	doins *.cpp
+	insinto "/usr/share/${PN}/backend"
+	doins backends/*.cpp
+	doins -r backends/vulkan
+	rm -r misc/*/*.{h,ttf} || die
+	doins -r misc
+
+	if use examples; then
+		dodoc -r examples
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+}

diff --git a/media-libs/imgui/metadata.xml b/media-libs/imgui/metadata.xml
new file mode 100644
index 000000000..25bcc732f
--- /dev/null
+++ b/media-libs/imgui/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+      <description>co-maintainers welcome</description>
+      <email>lssndrbarbieri@gmail.com</email>
+      <name>Alessandro Barbieri</name>
+    </maintainer>
+    <upstream>
+        <bugs-to>https://github.com/ocornut/imgui/issues</bugs-to>
+        <remote-id type="github">ocornut/imgui</remote-id>
+    </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-09-05 19:21 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-02 22:11 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/imgui/ Gonçalo Negrier Duarte
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05 19:21 Gonçalo Negrier Duarte
2024-06-05 13:18 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2024-06-05 13:18 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2024-06-04 16:00 Viorel Munteanu
2024-06-03 15:02 Viorel Munteanu
2024-06-03 11:01 Gonçalo Negrier Duarte
2024-06-03 10:49 Gonçalo Negrier Duarte
2024-05-12 19:27 Gonçalo Negrier Duarte
2024-05-10 14:00 Gonçalo Negrier Duarte
2024-05-09 16:03 Gonçalo Negrier Duarte
2024-02-16 21:50 Gonçalo Negrier Duarte
2024-02-08 11:08 Gonçalo Negrier Duarte
2024-02-07 17:59 Gonçalo Negrier Duarte
2023-02-19  5:17 Anna Vyalkova
2022-05-29 23:06 Alessandro Barbieri
2022-04-23 13:26 Alessandro Barbieri
2022-04-21  0:52 Alessandro Barbieri
2022-04-03 23:49 Alessandro Barbieri
2022-03-27 21:28 Alessandro Barbieri
2021-07-04  8:13 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox