dev-games/irrlicht-mt: add 1.9.0.5

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2022-05-24 10:17:08 +01:00
parent a67b356dd7
commit 2c4bda2e1c
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST irrlicht-mt-1.9.0.4.tar.gz 4158897 BLAKE2B e03c3ca28ae93e5fa565069b67ae7f60e7e023a3b5434fbd8c080be719e40a67f115e4459f082b7a27181ff81cc591e527120747aaf91efaafe93d997f5dbc9e SHA512 6f6fef27d534a0046a04cb504992586f5f20a757f2c3a35ea6e1fb31d2781e3d81ee0172b03e2913ddd894fb937d6830005613eaed77a29bb9e91aa6d248fab8
DIST irrlicht-mt-1.9.0.5.tar.gz 1008163 BLAKE2B 54e021767169180590f710addd475b730957a812f33d50d090503c6590c24086ba122541f7154880c0635820dedcd39a00851148f6000f56eb801a5e7893064a SHA512 53a6f7d72b9fc877683e4df4a434180759e946b1d4e375210dc8656e7aa244f675d7795c75f574bc17c5806ba47b9081ee97e94fe28f1dd08dfc34ce3f0005ad

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
MY_PN="${PN%-mt}"
MY_PV="$(ver_rs 3 'mt')"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Minetest's fork of dev-games/irrlicht"
HOMEPAGE="https://github.com/minetest/irrlicht"
SRC_URI="https://github.com/minetest/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
RDEPEND="~dev-games/irrlicht-mt-headers-${PV}
media-libs/libpng:0=
sys-libs/zlib
media-libs/libjpeg-turbo
virtual/opengl
x11-libs/libX11
x11-libs/libXxf86vm"
DEPEND="${RDEPEND}
x11-base/xorg-proto"
S="${WORKDIR}"/${MY_P}
src_install() {
cmake_src_install
# We package these separately
rm -r "${ED}"/usr/include/${PN/-/} || die "Failed to exclude header files from installation"
}