public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dale Sweeney" <agooglygooglr@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/raylib/
Date: Sat, 26 Apr 2025 17:23:17 +0000 (UTC)	[thread overview]
Message-ID: <1745688138.242bb455c7d2c29d38c38feb5d33ede831d9dd74.agooglygooglr@gentoo> (raw)

commit:     242bb455c7d2c29d38c38feb5d33ede831d9dd74
Author:     Dale Sweeney <agooglygooglr <AT> gmail <DOT> com>
AuthorDate: Sat Apr 26 17:21:35 2025 +0000
Commit:     Dale Sweeney <agooglygooglr <AT> gmail <DOT> com>
CommitDate: Sat Apr 26 17:22:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=242bb455

media-libs/raylib: add 5.5

Signed-off-by: Dale Sweeney <agooglygooglr <AT> gmail.com>

 media-libs/raylib/Manifest          |  1 +
 media-libs/raylib/raylib-5.5.ebuild | 65 +++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/media-libs/raylib/Manifest b/media-libs/raylib/Manifest
index e13b8a3f7..d89e0104b 100644
--- a/media-libs/raylib/Manifest
+++ b/media-libs/raylib/Manifest
@@ -1 +1,2 @@
 DIST raylib-5.0.tar.gz 32701105 BLAKE2B ee8ef069cd2a7b91efd1d97e8ed9076620c216fb0bf2eb7517624472d157c2d20919a6c54d7f8160e34c1d1a889f1766f5a94c6577bbb68f779e76a5160229dd SHA512 5956bc1646b99baac6eb1652c4d72e96af874337158672155ba144f131de8a4fd19291a58335a92fcaaa2fc818682f93ff4230af0f815efb8b49f7d2a162e9b0
+DIST raylib-5.5.tar.gz 42278112 BLAKE2B c36158b1a06145dcf33a07de6a07bb8de15a99596f1122b1e9b478746ccaa260bee6f55524623e5274b7d20410e033621d76d8cf823fc6fb9e6418414a68915f SHA512 503483a5436e189ad67533dc6c90be592283b84fbd57c86ab457dd1507b1dd11c897767ea9efa83affaf236f2711ec59e56658cf6fcad582a790a5fdc01b5ace

diff --git a/media-libs/raylib/raylib-5.5.ebuild b/media-libs/raylib/raylib-5.5.ebuild
new file mode 100644
index 000000000..756ae4461
--- /dev/null
+++ b/media-libs/raylib/raylib-5.5.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A simple and easy-to-use library to learn videogames programming"
+HOMEPAGE="https://www.raylib.com/"
+
+LICENSE="ZLIB"
+SLOT="0"
+
+IUSE="alsa examples static-libs +system-glfw X wayland"
+REQUIRED_USE="|| ( system-glfw || ( X wayland ) )"
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/raysan5/raylib.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/raysan5/raylib/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+	S="${WORKDIR}/raylib-${PV}"
+fi
+
+RDEPEND="
+	alsa? ( media-libs/alsa-lib )
+	X? (
+		virtual/opengl
+		x11-libs/libX11
+		x11-libs/libXcursor
+		x11-libs/libXi
+		x11-libs/libXinerama
+		x11-libs/libXrandr
+		x11-libs/libXxf86vm
+	)
+	wayland? (
+		dev-libs/wayland
+		media-libs/mesa[wayland]
+	)
+	system-glfw? ( >=media-libs/glfw-3.2.1 )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=$(usex !static-libs ON OFF)
+		-DUSE_AUDIO=$(usex alsa ON OFF)
+		-DUSE_EXTERNAL_GLFW=$(usex system-glfw ON OFF)
+		-DBUILD_EXAMPLES=OFF
+	)
+	if use !system-glfw; then
+		mycmakeargs+=(-DGLFW_BUILD_WAYLAND=$(usex wayland ON OFF))
+		mycmakeargs+=(-DGLFW_BUILD_X11=$(usex X ON OFF))
+	fi
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use examples; then
+		dodoc -r "${S}"/examples/*
+	fi
+}


             reply	other threads:[~2025-04-26 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-26 17:23 Dale Sweeney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-07 17:23 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/raylib/ Denis Strizhkin

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=1745688138.242bb455c7d2c29d38c38feb5d33ede831d9dd74.agooglygooglr@gentoo \
    --to=agooglygooglr@gmail.com \
    --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