diff options
author | Sam James <sam@gentoo.org> | 2022-04-05 23:25:12 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-05 23:26:35 +0100 |
commit | 7af0245d81d1d11bafb9cfe2c43ffa7324746374 (patch) | |
tree | ffa92078841cfc6c1b04edc21c1c087fdd7566e5 /media-libs | |
parent | media-video/ffmpeg: add 5.0.1 (diff) | |
download | gentoo-7af0245d81d1d11bafb9cfe2c43ffa7324746374.tar.gz gentoo-7af0245d81d1d11bafb9cfe2c43ffa7324746374.tar.bz2 gentoo-7af0245d81d1d11bafb9cfe2c43ffa7324746374.zip |
media-libs/glfw: add 3.3.7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/glfw/Manifest | 1 | ||||
-rw-r--r-- | media-libs/glfw/glfw-3.3.7.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest index ea810533070b..2d1ce1685f04 100644 --- a/media-libs/glfw/Manifest +++ b/media-libs/glfw/Manifest @@ -1,2 +1,3 @@ DIST glfw-3.3.5.tar.gz 776593 BLAKE2B ce92a42ef7361ae2580c9d6722d340106f9ca26e7fb436b9a4be2f25bf4a15d2b08d82ff71ad4ce4cd6a59e31d934d0fe6ab0e546474a3e7de38e229795ee0e8 SHA512 cbb8ebf25d3d826eb1daeff3ad2e0e965ce9def3352955f297743d918f625d96bc05bf87c90f7b57ec53376a0f2f6ce62f80b57fac4e81e023400de275e97beb DIST glfw-3.3.6.tar.gz 776716 BLAKE2B 6bd3ef60e637e96dc71013ce8caada2ad0aba47eb72fd35a7b3060344f604f497ea87d17689723f4bd968098f9b3828c258f35cb3a6128d1a8b649c523dd3287 SHA512 4c295c5f4c02f6ede125fce67c52a97450f552f3985b664745bd8a836c1d6d69c04727c956fd26ec61f1e5fd9c074a28dcf6b1d1800f118444eef066f048b201 +DIST glfw-3.3.7.tar.gz 779531 BLAKE2B f8ea04a6556ca35631d354f92f298c8942a0491e4a96ebcf56a5a88ce5ae68931f7c9cd638ce1951407ed8cb09e9e86272a944d85e1e8010dd6e68135c38de37 SHA512 7b71a5a564633c3617bb0e765566069de9d54e0381fb828959a77a42ca94546623fda514292adee72ddacacc305b219a2e6c4bb799bfab8186010642bc2dffe8 diff --git a/media-libs/glfw/glfw-3.3.7.ebuild b/media-libs/glfw/glfw-3.3.7.ebuild new file mode 100644 index 000000000000..32cac19f8453 --- /dev/null +++ b/media-libs/glfw/glfw-3.3.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 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 +} |