public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glfw/
Date: Thu, 29 Jul 2021 03:09:23 +0000 (UTC)	[thread overview]
Message-ID: <1627527737.d5bab85e064169bc48b49c455444f8f5e9dfaef3.ionen@gentoo> (raw)

commit:     d5bab85e064169bc48b49c455444f8f5e9dfaef3
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 29 01:37:43 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jul 29 03:02:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5bab85e

media-libs/glfw: tidy ebuild

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/glfw/glfw-3.3.4-r1.ebuild | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/media-libs/glfw/glfw-3.3.4-r1.ebuild b/media-libs/glfw/glfw-3.3.4-r1.ebuild
index 1cf0a04e003..d813e2d1124 100644
--- a/media-libs/glfw/glfw-3.3.4-r1.ebuild
+++ b/media-libs/glfw/glfw-3.3.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 CMAKE_ECLASS=cmake
 inherit cmake-multilib
 
-DESCRIPTION="The Portable OpenGL FrameWork"
+DESCRIPTION="Portable OpenGL FrameWork"
 HOMEPAGE="https://www.glfw.org/"
 SRC_URI="https://github.com/glfw/glfw/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
@@ -15,8 +15,13 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
 IUSE="wayland-only"
 
+# note: libglfw uses dlopen() for most of these at runtime
 RDEPEND="
 	x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	wayland-only? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		media-libs/mesa[egl,wayland,${MULTILIB_USEDEP}]
+	)
 	!wayland-only? (
 		virtual/opengl[${MULTILIB_USEDEP}]
 		x11-libs/libX11[${MULTILIB_USEDEP}]
@@ -24,32 +29,24 @@ RDEPEND="
 		x11-libs/libXinerama[${MULTILIB_USEDEP}]
 		x11-libs/libXrandr[${MULTILIB_USEDEP}]
 		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-	)
-	wayland-only? (
-		dev-libs/wayland[${MULTILIB_USEDEP}]
-		media-libs/mesa[egl,wayland,${MULTILIB_USEDEP}]
-	)
-"
+	)"
 DEPEND="
 	${RDEPEND}
+	wayland-only? ( dev-libs/wayland-protocols )
 	!wayland-only? (
 		x11-base/xorg-proto
 		x11-libs/libXi[${MULTILIB_USEDEP}]
-	)
-	wayland-only? ( dev-libs/wayland-protocols )
-"
+	)"
 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 wayland)"
-		-DBUILD_SHARED_LIBS=1
+		-DGLFW_USE_WAYLAND=$(usex wayland-only)
 	)
 	cmake-multilib_src_configure
 }


             reply	other threads:[~2021-07-29  3:09 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29  3:09 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-30  3:55 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-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=1627527737.d5bab85e064169bc48b49c455444f8f5e9dfaef3.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