From 88beb58cdd09b5d0180d62699ca238f303a8c646 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 17 Apr 2022 16:48:50 +0300 Subject: feat: add raylib ebuild --- media-libs/raylib/Manifest | 1 + media-libs/raylib/raylib-4.0.0.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 media-libs/raylib/Manifest create mode 100644 media-libs/raylib/raylib-4.0.0.ebuild (limited to 'media-libs/raylib') diff --git a/media-libs/raylib/Manifest b/media-libs/raylib/Manifest new file mode 100644 index 0000000..2f04fc4 --- /dev/null +++ b/media-libs/raylib/Manifest @@ -0,0 +1 @@ +DIST 4.0.0.tar.gz 30985161 BLAKE2B 61e5f6a39d43276339c4db1e485d687533bba355275f8b0bd142e16357d206fe16c46274a328aa43225e7db51d965c4368aacc999751d3e9c3c75ad0937d0cfb SHA512 e9ffab14ab902e3327202e68ca139209ff24100dab62eb03fef50adf363f81e2705d81e709c58cf1514e68e6061c8963555bd2d00744daacc3eb693825fc3417 diff --git a/media-libs/raylib/raylib-4.0.0.ebuild b/media-libs/raylib/raylib-4.0.0.ebuild new file mode 100644 index 0000000..03fa457 --- /dev/null +++ b/media-libs/raylib/raylib-4.0.0.ebuild @@ -0,0 +1,24 @@ +DESCRIPTION="simple and easy-to-use library to enjoy videogames programming" + +HOMEPAGE="http://www.raylib.com/" + +SRC_URI="https://github.com/raysan5/raylib/archive/refs/tags/4.0.0.tar.gz" + +S="${WORKDIR}/${P}/src" + +LICENSE="zlib" + +SLOT="0" + +KEYWORDS="~amd64" + +# TODO: add static-libs USE flag +IUSE="" + +src_compile() { + emake PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED +} + +src_install() { + emake install RAYLIB_LIBTYPE=SHARED RAYLIB_INSTALL_PATH=${D}/usr/lib64 RAYLIB_H_INSTALL_PATH=${D}/usr/include +} -- cgit v1.2.3