pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/raylib
Module Name: pkgsrc
Committed By: charlotte
Date: Tue Jul 11 23:46:57 UTC 2023
Added Files:
pkgsrc/devel/raylib: DESCR Makefile PLIST distinfo
pkgsrc/devel/raylib/patches: patch-cmake_CompilerFlags.cmake
Log Message:
devel/raylib: New package
Raylib is a simple and easy-to-use library to enjoy videogames programming.
Raylib is highly inspired by Borland BGI graphics lib and by XNA framework
and it's specially well suited for prototyping, tooling, graphical
applications, embedded systems and education.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/raylib/DESCR pkgsrc/devel/raylib/Makefile \
pkgsrc/devel/raylib/PLIST pkgsrc/devel/raylib/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/raylib/patches/patch-cmake_CompilerFlags.cmake
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/raylib/DESCR
diff -u /dev/null pkgsrc/devel/raylib/DESCR:1.1
--- /dev/null Tue Jul 11 23:46:57 2023
+++ pkgsrc/devel/raylib/DESCR Tue Jul 11 23:46:57 2023
@@ -0,0 +1,5 @@
+Raylib is a simple and easy-to-use library to enjoy videogames programming.
+
+Raylib is highly inspired by Borland BGI graphics lib and by XNA framework
+and it's specially well suited for prototyping, tooling, graphical
+applications, embedded systems and education.
Index: pkgsrc/devel/raylib/Makefile
diff -u /dev/null pkgsrc/devel/raylib/Makefile:1.1
--- /dev/null Tue Jul 11 23:46:57 2023
+++ pkgsrc/devel/raylib/Makefile Tue Jul 11 23:46:57 2023
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2023/07/11 23:46:57 charlotte Exp $
+
+DISTNAME= raylib-4.5.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=raysan5/}
+
+MAINTAINER= charlotte%NetBSD.org@localhost
+HOMEPAGE= https://www.raylib.com/
+COMMENT= Simple library to enjoy videogames programming
+LICENSE= zlib
+
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DPLATFORM=Desktop
+CMAKE_ARGS+= -DUSE_EXTERNAL_GLFW:BOOL=ON
+CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=OFF
+
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glfw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/raylib/PLIST
diff -u /dev/null pkgsrc/devel/raylib/PLIST:1.1
--- /dev/null Tue Jul 11 23:46:57 2023
+++ pkgsrc/devel/raylib/PLIST Tue Jul 11 23:46:57 2023
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2023/07/11 23:46:57 charlotte Exp $
+include/raylib.h
+include/raymath.h
+include/rlgl.h
+lib/cmake/raylib/raylib-config-version.cmake
+lib/cmake/raylib/raylib-config.cmake
+lib/libraylib.a
+lib/pkgconfig/raylib.pc
Index: pkgsrc/devel/raylib/distinfo
diff -u /dev/null pkgsrc/devel/raylib/distinfo:1.1
--- /dev/null Tue Jul 11 23:46:57 2023
+++ pkgsrc/devel/raylib/distinfo Tue Jul 11 23:46:57 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/07/11 23:46:57 charlotte Exp $
+
+BLAKE2s (raylib-4.5.0.tar.gz) = bfa42173281fc489cb2789ee8d280be33cbbf7f8f091ebaf302fe367fd1a5c38
+SHA512 (raylib-4.5.0.tar.gz) = a959abbb577a8951251a469d6505093fd20988444dcf055e26cb0b484ef4024211b2cca45187accbd465c56bc50e02d450b6f7f7cfde2cdaedcdce422f80dcbc
+Size (raylib-4.5.0.tar.gz) = 31937534 bytes
+SHA1 (patch-cmake_CompilerFlags.cmake) = 032bac016e3d9ce44644a9d5f9b0c9652b3405b8
Index: pkgsrc/devel/raylib/patches/patch-cmake_CompilerFlags.cmake
diff -u /dev/null pkgsrc/devel/raylib/patches/patch-cmake_CompilerFlags.cmake:1.1
--- /dev/null Tue Jul 11 23:46:57 2023
+++ pkgsrc/devel/raylib/patches/patch-cmake_CompilerFlags.cmake Tue Jul 11 23:46:57 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-cmake_CompilerFlags.cmake,v 1.1 2023/07/11 23:46:57 charlotte Exp $
+
+Allow for static linking.
+
+--- cmake/CompilerFlags.cmake.orig 2021-04-26 09:00:33.000000000 -0700
++++ cmake/CompilerFlags.cmake 2021-05-01 01:51:08.410299439 -0700
+@@ -77,3 +77,7 @@
+ # https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html
+ add_if_flag_compiles(-no-canonical-prefixes CMAKE_C_FLAGS)
+ endif()
++
++if("${CMAKE_SYSTEM_NAME}" STREQUAL "NetBSD")
++ add_if_flag_compiles(-fPIC CMAKE_C_FLAGS)
++endif()
Home |
Main Index |
Thread Index |
Old Index