notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
raylib Library to learn videogames programming
5.0 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.2.0Version of this port present on the latest quarterly branch.
Maintainer: freebsd@sysctl.cz search for ports maintained by this maintainer
Port Added: 2018-02-16 17:46:30
Last Update: 2024-02-25 14:04:04
Commit Hash: 97dc4fa
People watching this port, also watch:: tmux, libjxl, tcpdump, vigenere
Also Listed In: education
License: ZLIB
WWW:
https://www.raylib.com/
Description:
Raylib is a programming library to learn videogames programming. It doesn't have a fancy interface, has no visual helpers, and no auto-debugging. It is created based on the believe that just coding is the best way to learn. Raylib is highly inspired by Borland BGI graphics lib and by XNA framework. Allegro and SDL have also been used as reference.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/raylib-5.0/catalog.mk
  3. /usr/local/share/licenses/raylib-5.0/LICENSE
  4. /usr/local/share/licenses/raylib-5.0/ZLIB
  5. include/raylib.h
  6. include/raymath.h
  7. include/rlgl.h
  8. lib/cmake/raylib/raylib-config-version.cmake
  9. lib/cmake/raylib/raylib-config.cmake
  10. lib/libraylib.so
  11. lib/libraylib.so.4.5.0
  12. lib/libraylib.so.450
  13. libdata/pkgconfig/raylib.pc
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • raylib>0:devel/raylib
To install the port:
cd /usr/ports/devel/raylib/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/raylib
  • pkg install raylib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: raylib
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1708772122 SHA256 (raysan5-raylib-5.0_GH0.tar.gz) = 98f049b9ea2a9c40a14e4e543eeea1a7ec3090ebdcd329c4ca2cf98bc9793482 SIZE (raysan5-raylib-5.0_GH0.tar.gz) = 32701105

Packages (timestamps in pop-ups are UTC):
raylib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.05.03.5.0-5.0-3.0.0_2-
FreeBSD:13:quarterly4.2.04.2.04.2.04.2.04.2.04.2.04.2.04.2.0
FreeBSD:14:latest5.05.04.2.0-5.04.2.0-4.2.0
FreeBSD:14:quarterly4.2.04.2.0-4.2.04.2.04.2.04.2.04.2.0
FreeBSD:15:latest5.05.0n/a4.2.0n/a4.2.04.2.04.2.0
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. xorgproto>=0 : x11/xorgproto
  4. ice.pc : x11/libICE
  5. sm.pc : x11/libSM
  6. x11.pc : x11/libX11
  7. xcursor.pc : x11/libXcursor
  8. xext.pc : x11/libXext
  9. xi.pc : x11/libXi
  10. xinerama.pc : x11/libXinerama
  11. xrandr.pc : x11/libXrandr
  12. xxf86vm.pc : x11/libXxf86vm
Runtime dependencies:
  1. ice.pc : x11/libICE
  2. sm.pc : x11/libSM
  3. x11.pc : x11/libX11
  4. xcursor.pc : x11/libXcursor
  5. xext.pc : x11/libXext
  6. xi.pc : x11/libXi
  7. xinerama.pc : x11/libXinerama
  8. xrandr.pc : x11/libXrandr
  9. xxf86vm.pc : x11/libXxf86vm
Library dependencies:
  1. libglfw.so : graphics/glfw
  2. libGLU.so : graphics/libGLU
  3. libOpenGL.so : graphics/libglvnd
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_raylib
USES:
cmake gl localbase:ldflags xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/raysan5/raylib/tar.gz/5.0?dummy=/
Collapse this list.

Number of commits found: 29

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0
25 Feb 2024 14:04:04
commit hash: 97dc4fa17b1ce14a2490f0761e49ca83b1f630c5commit hash: 97dc4fa17b1ce14a2490f0761e49ca83b1f630c5commit hash: 97dc4fa17b1ce14a2490f0761e49ca83b1f630c5commit hash: 97dc4fa17b1ce14a2490f0761e49ca83b1f630c5 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
Author: Martin Filla
devel/raylib: Update to 5.0

While here,

- pet Q/A check by using opengl instead of gl in USE_GL
- avoid unnecessary removal of bundled glfw as USE_EXTERNAL_GLFW is ON

ChangeLog:	https://github.com/raysan5/raylib/blob/master/CHANGELOG
PR:		277282
4.2.0
04 Oct 2022 16:10:50
commit hash: f807bbc06742ef806581b79e6e3be932a19391d5commit hash: f807bbc06742ef806581b79e6e3be932a19391d5commit hash: f807bbc06742ef806581b79e6e3be932a19391d5commit hash: f807bbc06742ef806581b79e6e3be932a19391d5 files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Martin Filla
devel/raylib: update to 4.2.0

PR:		266728
Reported by:	freebsd@sysctl.cz (maintainer)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
4.0.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.0.0
09 Jul 2022 21:19:30
commit hash: 7d327872ef8179e4ccd556b892cd8eace88c7471commit hash: 7d327872ef8179e4ccd556b892cd8eace88c7471commit hash: 7d327872ef8179e4ccd556b892cd8eace88c7471commit hash: 7d327872ef8179e4ccd556b892cd8eace88c7471 files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
Author: mrunix01234
devel/raylib: Update to 4.0.0

Changelog:	https://github.com/raysan5/raylib/blob/master/CHANGELOG

PR:		265075
Approved by:	freebsd@sysctl.cz (maintainer)
3.7.0_1
22 Jun 2021 18:53:08
commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
graphics/mesa-libs: Bump reverse deps for libglvnd

Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
3.7.0
06 Jun 2021 11:05:45
commit hash: 57cf60e917471bd727eaaaffdbfd82a4d77f6c61commit hash: 57cf60e917471bd727eaaaffdbfd82a4d77f6c61commit hash: 57cf60e917471bd727eaaaffdbfd82a4d77f6c61commit hash: 57cf60e917471bd727eaaaffdbfd82a4d77f6c61 files touched by this commit
Juraj Lutter (otis) search for other commits by this committer
devel/raylib: Package right .so version (3.5.0)

It turned out that the version raylib 3.7.0 produces .so
version 3.5.0 (as submitted in original PR)

This will be discussed with upstream, but for now, fix the
build by using the version(s) produced by the build.

PR:		256428
3.7.0
06 Jun 2021 10:06:39
commit hash: e6803e7083235e9e308263deda300afafa2522bbcommit hash: e6803e7083235e9e308263deda300afafa2522bbcommit hash: e6803e7083235e9e308263deda300afafa2522bbcommit hash: e6803e7083235e9e308263deda300afafa2522bb files touched by this commit
Juraj Lutter (otis) search for other commits by this committer
Author: Martin Filla
devel/raylib: Update to 3.7.0

Committing slightly modified version, providing for less
work in future updates, in line with what was introduced
in update to 3.5.0.

PR:		256428
3.5.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
3.5.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.5.0
11 Jan 2021 21:32:36
Revision:561278Original commit files touched by this commit
otis search for other commits by this committer
devel/raylib: Update to 3.5.0

Changelog at https://github.com/raysan5/raylib/blob/3.5.0/CHANGELOG

And while here, also move PLIST_FILES to pkg-plist and reformat
Makefile according to portfmt and portclippy.

PR:		252382
Submitted by:	Martin Filla <freebsd@sysctl.cz> (maintainer)
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D28029
3.0.0_2
28 Dec 2020 11:04:24
Revision:559460Original commit files touched by this commit
otis search for other commits by this committer
devel/raylib: Install missing header files

The header files:
  - raymath.h
  - rlgl.h
  - physac.h

were missing from the installation and pkg-plist.

Also, while here, cleanup some style nits and bump PORTREVISION.

PR:		251819
Submitted by:	Martin Filla <freebsd@sysctl.cz> (maintainer)
Reported by:	Mattias Wikstrom <burke@yagrebu.net>
Reviewed by:	osa (mentor)
Approved by:	osa (mentor)
Differential Revision:	https://reviews.freebsd.org/D27776
3.0.0_1
20 Nov 2020 07:16:06
Revision:555738Original commit files touched by this commit
adamw search for other commits by this committer
Add education virtual category

PR:		248402
Submitted by:	PauAmma
3.0.0_1
22 Sep 2020 08:46:55
Revision:549565Original commit files touched by this commit
pkubaj search for other commits by this committer
devel/raylib: remove gcc dependency on clang systems

clang can now build this port.
3.0.0
22 Sep 2020 01:13:00
Revision:549550Original commit files touched by this commit
linimon search for other commits by this committer
Use GCC on all variants of powerpc.

Approved by:	portmgr (tier-2 blanket)
3.0.0
28 Jun 2020 10:16:31
Revision:540698Original commit files touched by this commit
0mp search for other commits by this committer
Update to 3.0.0

PR:		247407
Submitted by:	Martin Filla <freebsd@sysctl.cz>
2.6.0
23 Feb 2020 15:19:21
Revision:526924Original commit files touched by this commit
0mp search for other commits by this committer
Update to 2.6.0

Changelog:
https://github.com/raysan5/raylib/releases/tag/2.6.0

Also:
- Sort variables.
- Remove an unnecessary post-patch target. It's a no-op.

PR:		243939
Submitted by:	Martin Filla <freebsd@sysctl.cz>
2.5.0
04 Feb 2020 10:28:59
Revision:525140Original commit files touched by this commit
pkubaj search for other commits by this committer
devel/raylib: fix build on powerpc64 elfv2

Clang has issues compiling this port on powerpc64 elfv2:
Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT || Subtarget.hasFPCVT())
&& "i64 FP_TO_UINT is supported only with FPCVT"), function
LowerFP_TO_INTForReuse, file
/poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp,
line 7281.
Stack dump:
0.	Program arguments: /usr/bin/cc -cc1 -triple powerpc64-unknown-freebsd13.0
-emit-obj -disable-free -main-file-name raudio.c -mrelocation-model pic
-pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64
-target-feature +secure-plt -mfloat-abi hard -dwarf-column-info
-debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file
/wrkdirs/usr/ports/devel/raylib/work/.build/src/CMakeFiles/raylib.dir/raudio.c.gcno
-resource-dir /usr/lib/clang/9.0.1 -dependency-file
src/CMakeFiles/raylib.dir/raudio.c.o.d -sys-header-deps -MT
src/CMakeFiles/raylib.dir/raudio.c.o -isystem /usr/local/include -isystem
/usr/local/include -D GLFW_DLL -D GRAPHICS_API_OPENGL_33 -D PLATFORM_DESKTOP -D
RAYLIB_CMAKE=1 -D raylib_EXPORTS -I . -I
/wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/. -O2
-Werror=implicit-function-declaration -Werror=pointer-arith -std=gnu99
-fdebug-compilation-dir /wrkdirs/usr/ports/devel/rayli
/work/.build -ferror-limit 19 -fmessage-length 0 -stack-protector 2
-fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option
-vectorize-loops -vectorize-slp -faddrsig -o
src/CMakeFiles/raylib.dir/raudio.c.o -x c
/wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/raudio.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module
'/wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/raudio.c'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function
'@ma_calculate_frame_count_after_src'
#0 0x000000001371e818 (/usr/bin/cc+0x1371e818)
#1 0x000000001371ee94 (/usr/bin/cc+0x1371ee94)
#2 0x000000001371c158 (/usr/bin/cc+0x1371c158)
#3 0x000000001371f60c (/usr/bin/cc+0x1371f60c)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.5.0
04 Nov 2019 22:20:31
Revision:516748Original commit files touched by this commit
zeising search for other commits by this committer
Add USES=xorg USES=gl, ports categories d

Add USES=xorg, USES=gl and in a few cases USES=gnome to ports in categories
starting with 'd'.
2.5.0
12 Aug 2019 11:40:47
Revision:508727Original commit files touched by this commit
tobik search for other commits by this committer
devel/raylib: Update to 2.5.0

PR:		239270
Submitted by:	Martin Filla <freebsd@sysctl.cz> (maintainer)
2.0.0
25 Dec 2018 20:25:40
Revision:488341Original commit files touched by this commit
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2.0.0
11 Nov 2018 09:34:38
Revision:484675Original commit files touched by this commit
pi search for other commits by this committer
devel/raylib: Update MAINTAINER email

PR:		233128
Submitted by:	martinfilla@post.cz (maintainer)
2.0.0
04 Oct 2018 09:38:36
Revision:481213Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update WWW
- Fix minor plist whitespace problem

Approved by:	portmgr blanket
2.0.0
23 Jun 2018 14:46:20
Revision:473134Original commit files touched by this commit
yuri search for other commits by this committer
devel/raylib: Update 1.9.7-dev -> 2.0.0-dev

Port changes:
* Add USES=localbase:ldflags
* Backport the pull request for glfw selection in cmake scripts

PR:		229234
Submitted by:	Martin Filla <martinfilla@post.cz> (maintainer)
1.9.7_1
15 Apr 2018 17:56:26
Revision:467403Original commit files touched by this commit
yuri search for other commits by this committer
devel/raylib: Update cmake options

Port changes:
* Turn on USE_EXTERNAL_GLFW
* Replace SHARED_RAYLIB->SHARED, STATIC_RAYLIB->STATIC as per warning in
CMakeLists.txt

PR:		227527 227529
Submitted by:	Thibault Payet <monwarez@mailoo.org>
Submitted by:	Martin Filla <martinfilla@post.cz> (maintainer)
1.9.7
14 Apr 2018 16:18:45
Revision:467325Original commit files touched by this commit
yuri search for other commits by this committer
devel/raylib: Update 1.9.4 -> 1.9.7

PR:		227432
Submitted by:	Martin Filla <martinfilla@post.cz> (maintainer)
1.9.4_1
24 Feb 2018 17:14:01
Revision:462852Original commit files touched by this commit
yuri search for other commits by this committer
devel/raylib: Remove the unnecessary dependency openal

PR:		226173
Submitted by:	Martin Filla <martinfilla@post.cz>
Approved by:	tcberner (mentor, implicit)
1.9.4
17 Feb 2018 15:58:05
Revision:462166Original commit files touched by this commit
yuri search for other commits by this committer
devel/raylib: Fixed typo in pkg-descr

Reported by:	tcberner
Approved by:	tcberner (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D14167
1.9.4
16 Feb 2018 17:46:19
Revision:462049Original commit files touched by this commit
yuri search for other commits by this committer
New port: devel/raylib: Simple and easy-to-use library to learn videogames
programming

PR:		225402
Submitted by:	Martin Filla <martinfilla@post.cz>
Approved by:	tcberner

Number of commits found: 29