From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glfw/
Date: Sat, 30 Oct 2021 03:55:50 +0000 (UTC) [thread overview]
Message-ID: <1635565746.cc3ae22277f0a4164e14492860abecac8fc9bfdf.ionen@gentoo> (raw)
commit: cc3ae22277f0a4164e14492860abecac8fc9bfdf
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 01:48:25 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 03:49:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc3ae222
media-libs/glfw: add 3.3.5, EAPI7->8 and tighten deps
No changes needed for this bugfix release (the next major
release will have runtime platform selection), but still a
few ebuild updates.
This dlopen() many of its deps but mostly only libglvnd matters,
e.g. if xinerama is not on the system it doesn't need load xinerama
because it's likely not used -- so tentatively moved to DEPEND-only
for their headers (libXxf86vm removed entirely as it does not use
its header).
Also depend on libglvnd (rather than mesa) to better control X
(libGL/GLX) vs -X (libEGL), whether the vendor supports egl/wayland
is not something to be verified here (otherwise we'd need to also
depend on the nvidia-drivers[wayland] alternative so it adds up).
Moved libxkbcommon to wayland-only, not used at all by X.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-libs/glfw/Manifest | 1 +
media-libs/glfw/glfw-3.3.5.ebuild | 50 +++++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest
index 30dd003a8d3..f1af4ed2fe4 100644
--- a/media-libs/glfw/Manifest
+++ b/media-libs/glfw/Manifest
@@ -1 +1,2 @@
DIST glfw-3.3.4.tar.gz 762885 BLAKE2B b88f80ec8cfb1607a8c5ce5e6eabfe5c9813235c6225629ef8001ba5f46cdbed1d726aeed170a8749bbd048f1517cb614f9fc5ad7604ae1698b83b5e995b8cd6 SHA512 2b45ab72da7a2c007c0f42ccd56205f9684cfb980e2b1df127850cd057bb2b02ce02c7c64acd54cd433778e7017148f214afedf09badff9d2edf5f9b8d9d2701
+DIST glfw-3.3.5.tar.gz 776593 BLAKE2B ce92a42ef7361ae2580c9d6722d340106f9ca26e7fb436b9a4be2f25bf4a15d2b08d82ff71ad4ce4cd6a59e31d934d0fe6ab0e546474a3e7de38e229795ee0e8 SHA512 cbb8ebf25d3d826eb1daeff3ad2e0e965ce9def3352955f297743d918f625d96bc05bf87c90f7b57ec53376a0f2f6ce62f80b57fac4e81e023400de275e97beb
diff --git a/media-libs/glfw/glfw-3.3.5.ebuild b/media-libs/glfw/glfw-3.3.5.ebuild
new file mode 100644
index 00000000000..c82e318544e
--- /dev/null
+++ b/media-libs/glfw/glfw-3.3.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 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 ~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
+}
next reply other threads:[~2021-10-30 3:55 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-30 3:55 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-04 21:13 [gentoo-commits] repo/gentoo:master commit in: media-libs/glfw/ James Le Cuirot
2024-05-04 21:13 James Le Cuirot
2024-01-20 12:23 Sam James
2024-01-20 12:23 Sam James
2023-03-09 20:13 Ionen Wolkens
2023-03-04 8:34 Arthur Zamarin
2023-03-04 6:29 Arthur Zamarin
2022-08-11 7:37 Ionen Wolkens
2022-07-22 14:41 Ionen Wolkens
2022-04-05 22:26 Sam James
2022-02-28 7:06 Yixun Lan
2021-12-28 17:10 Ionen Wolkens
2021-12-10 4:36 Sam James
2021-11-28 22:18 Ionen Wolkens
2021-10-04 21:00 Ionen Wolkens
2021-09-19 6:07 Ionen Wolkens
2021-07-29 3:09 Ionen Wolkens
2021-07-29 3:09 Ionen Wolkens
2021-07-29 3:09 Ionen Wolkens
2021-07-29 3:09 Ionen Wolkens
2021-06-30 2:49 Ionen Wolkens
2021-06-30 2:49 Ionen Wolkens
2021-06-13 11:12 Sam James
2021-06-13 11:12 Sam James
2021-04-25 20:07 Sam James
2021-04-25 20:07 Sam James
2021-03-26 16:17 Agostino Sarubbo
2021-03-26 15:06 Agostino Sarubbo
2021-02-24 16:22 Sam James
2021-02-14 21:05 Andreas Sturmlechner
2021-01-25 14:16 Sam James
2020-10-15 15:58 Sam James
2020-06-16 14:33 Stefan Strogin
2020-06-16 10:39 Stefan Strogin
2020-06-16 10:39 Stefan Strogin
2020-01-08 23:22 James Le Cuirot
2020-01-08 23:22 James Le Cuirot
2020-01-08 23:22 James Le Cuirot
2019-02-27 20:45 James Le Cuirot
2017-09-16 12:27 Andreas Sturmlechner
2017-05-31 7:12 Lars Wendler
2017-05-31 7:12 Lars Wendler
2017-05-06 17:20 Agostino Sarubbo
2017-05-06 10:05 Jeroen Roovers
2017-05-05 14:10 Agostino Sarubbo
2017-01-29 22:35 Michael Weber
2016-11-01 15:14 Lars Wendler
2016-10-31 22:39 Lars Wendler
2016-04-10 8:45 Jeroen Roovers
2016-03-20 20:53 Michael Sterrett
2016-01-19 3:50 Michael Sterrett
2016-01-09 10:11 Jeroen Roovers
2015-09-21 15:38 Michael Sterrett
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=1635565746.cc3ae22277f0a4164e14492860abecac8fc9bfdf.ionen@gentoo \
--to=ionen@gentoo.org \
--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