summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSezer Bulut <sezer_1966_sezgin@hotmail.com>2023-12-26 21:16:26 +0300
committerSam James <sam@gentoo.org>2024-01-20 12:22:57 +0000
commitf78825026a83e4af71b4c0bcecf1c278d9a1c654 (patch)
tree822ff1f4656cbd071825d1ddf340da06a5b9b3ff /media-libs/glfw
parentnet-misc/radvd: small OpenRC service tweaks (diff)
downloadgentoo-f78825026a83e4af71b4c0bcecf1c278d9a1c654.tar.gz
gentoo-f78825026a83e4af71b4c0bcecf1c278d9a1c654.tar.bz2
gentoo-f78825026a83e4af71b4c0bcecf1c278d9a1c654.zip
media-libs/glfw: add 3.3.9
Signed-off-by: Sezer Bulut <sezer_1966_sezgin@hotmail.com> Closes: https://github.com/gentoo/gentoo/pull/34492 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/glfw')
-rw-r--r--media-libs/glfw/Manifest1
-rw-r--r--media-libs/glfw/glfw-3.3.9.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest
index 71c0f7c0e413..7d15d29c35b9 100644
--- a/media-libs/glfw/Manifest
+++ b/media-libs/glfw/Manifest
@@ -1 +1,2 @@
DIST glfw-3.3.8.tar.gz 803789 BLAKE2B e06b319f4b5c1aaa27b32895c39fb1759adc0576a1e4c3fef095b31f204709d7ec6a89a915604b39daaa9f481a2bf2dbff165948ab2074b8a0b12c2afe913c0e SHA512 70d6d99fb7e7616990516070c9a430915dc68d89ec4fe785570f0b35f5c9606a34121e0cd57c0a7debb50e87e2a8e8d97d81a6d52d65ef454f7fd191bd9f679f
+DIST glfw-3.3.9.tar.gz 819671 BLAKE2B be0195c27653880e4d75f801b59838f31dbc8c42883e884ee76743883066fd028a8752d0e12cd9918bbd993750e673fec02e779fb559d3eaa0bc9ba40aeee049 SHA512 9fcccd650990fa88fcb6383afa90bc6c2eca7f4a4a3d4fc58fa5bd6b7995c32989bb29d2753f438984043b294244b82ba9f094426e12f3d4da4547e73bb62e3f
diff --git a/media-libs/glfw/glfw-3.3.9.ebuild b/media-libs/glfw/glfw-3.3.9.ebuild
new file mode 100644
index 000000000000..26306ba21f3b
--- /dev/null
+++ b/media-libs/glfw/glfw-3.3.9.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Portable OpenGL FrameWork"
+HOMEPAGE="https://www.glfw.org/"
+SRC_URI="https://github.com/glfw/glfw/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv x86"
+IUSE="wayland-only"
+
+RDEPEND="
+ media-libs/libglvnd[${MULTILIB_USEDEP}]
+ wayland-only? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+ !wayland-only? (
+ media-libs/libglvnd[X]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ )"
+DEPEND="
+ ${RDEPEND}
+ wayland-only? (
+ dev-libs/wayland-protocols
+ x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+ )
+ !wayland-only? (
+ x11-base/xorg-proto
+ x11-libs/libXcursor[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ x11-libs/libXinerama[${MULTILIB_USEDEP}]
+ x11-libs/libXrandr[${MULTILIB_USEDEP}]
+ )"
+BDEPEND="
+ wayland-only? (
+ dev-util/wayland-scanner
+ kde-frameworks/extra-cmake-modules
+ )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DGLFW_BUILD_EXAMPLES=no
+ -DGLFW_USE_WAYLAND=$(usex wayland-only)
+ )
+
+ cmake-multilib_src_configure
+}