From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A59011382C5 for ; Tue, 16 Jun 2020 10:39:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F759E0DE2; Tue, 16 Jun 2020 10:39:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47C36E0DE2 for ; Tue, 16 Jun 2020 10:39:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A09234F21E for ; Tue, 16 Jun 2020 10:39:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FE7927F for ; Tue, 16 Jun 2020 10:39:15 +0000 (UTC) From: "Stefan Strogin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stefan Strogin" Message-ID: <1592303757.3514eef209b0c22c422ef3ea015f75f188f039ee.steils@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glfw/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/glfw/Manifest media-libs/glfw/glfw-3.3.2.ebuild X-VCS-Directories: media-libs/glfw/ X-VCS-Committer: steils X-VCS-Committer-Name: Stefan Strogin X-VCS-Revision: 3514eef209b0c22c422ef3ea015f75f188f039ee X-VCS-Branch: master Date: Tue, 16 Jun 2020 10:39:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 11e5f0fa-2785-44fa-b622-591e3a62990f X-Archives-Hash: dc5dca6e5ca1f298a391526b15683d96 commit: 3514eef209b0c22c422ef3ea015f75f188f039ee Author: Max Audron cocaine farm> AuthorDate: Mon Jun 15 13:27:54 2020 +0000 Commit: Stefan Strogin gentoo org> CommitDate: Tue Jun 16 10:35:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3514eef2 media-libs/glfw: version bump to 3.3.2 Signed-off-by: Max Audron cocaine.farm> Add x11-libs/libXi to BDEPEND because glfw needs XInput2.h for compilation, but does not link against libXi.so. Closes: https://bugs.gentoo.org/722186 Closes: https://github.com/gentoo/gentoo/pull/16257 Signed-off-by: Stefan Strogin gentoo.org> media-libs/glfw/Manifest | 1 + media-libs/glfw/glfw-3.3.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest index c6bef6eab77..5fb322eae04 100644 --- a/media-libs/glfw/Manifest +++ b/media-libs/glfw/Manifest @@ -1,2 +1,3 @@ DIST glfw-3.2.1.tar.gz 472450 BLAKE2B abffe6580dee968baa23f8f4f38af164f7479fe0bf3c4d64cc6386b1450aee4a8e8de5f963faecd536e2bbbc925da7ac1dcc16f219984758950263e6b6d022e1 SHA512 c7921f993b9a99b3b9421fefadb039cd475c42d85f5b5a35d7c5401c70491349bb885a02fd31e527de06a8b40d9d49a1fdb92c964e13c04ae092c6b98eb491dc DIST glfw-3.3.1.tar.gz 760014 BLAKE2B 72d23a612157b2083dc6950ff7a2531490d1440f24008fca39646860ea7f9e61eedc5d3c96edb024a125f2e9a1ef65780b4a672aa001bcbc6f41d908e904f966 SHA512 f9376002314eae5518ca63738cf1558433007dbf628fb6093a6f54c330f72d85e0ac30049877c50bc99f029e3eb6f69e69508f412d1ec9bdde0ac721dbbeba1e +DIST glfw-3.3.2.tar.gz 759972 BLAKE2B a246681d580dd569a045b76db71c18f8dbfacb8483c2d825aa68094d655468d093c52ba3770b2b5d566de62149a775001f5acd7c7539a8235c43e3e9ab58df28 SHA512 f5af749d33b5b900ccf07988ad0bf51bd766a18e4cf2bc2a76020c88e98a2528ff1b965224184fe0d290cfe34b1af1e6f633600660d81194fe354078e2f35c56 diff --git a/media-libs/glfw/glfw-3.3.2.ebuild b/media-libs/glfw/glfw-3.3.2.ebuild new file mode 100644 index 00000000000..344e650b9d6 --- /dev/null +++ b/media-libs/glfw/glfw-3.3.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="The 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 ~arm64 ~hppa ~x86" +IUSE="wayland" + +RDEPEND=" + x11-libs/libxkbcommon + !wayland? ( + virtual/opengl + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXxf86vm + ) + wayland? ( + dev-libs/wayland + media-libs/mesa[egl,wayland] + ) +" +DEPEND=" + ${RDEPEND} + wayland? ( dev-libs/wayland-protocols ) +" +BDEPEND=" + !wayland? ( x11-libs/libXi ) + wayland? ( kde-frameworks/extra-cmake-modules ) +" + +src_configure() { + local mycmakeargs=( + -DGLFW_BUILD_EXAMPLES=no + -DGLFW_USE_WAYLAND="$(usex wayland)" + -DBUILD_SHARED_LIBS=1 + ) + cmake_src_configure +}