summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-05-24 10:17:08 +0100
committerMarek Szuba <marecki@gentoo.org>2022-05-24 10:18:27 +0100
commit2c4bda2e1c8dbb735b98b0d7cb97b5df1fa7e4ff (patch)
tree9085ed85ad84130b123eac19cff16994ad7eddaf /dev-games/irrlicht-mt
parentdev-games/irrlicht-mt-headers: add 1.9.0.5 (diff)
downloadgentoo-2c4bda2e1c8dbb735b98b0d7cb97b5df1fa7e4ff.tar.gz
gentoo-2c4bda2e1c8dbb735b98b0d7cb97b5df1fa7e4ff.tar.bz2
gentoo-2c4bda2e1c8dbb735b98b0d7cb97b5df1fa7e4ff.zip
dev-games/irrlicht-mt: add 1.9.0.5
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-games/irrlicht-mt')
-rw-r--r--dev-games/irrlicht-mt/Manifest1
-rw-r--r--dev-games/irrlicht-mt/irrlicht-mt-1.9.0.5.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-games/irrlicht-mt/Manifest b/dev-games/irrlicht-mt/Manifest
index 03d7cd49f774..790947290476 100644
--- a/dev-games/irrlicht-mt/Manifest
+++ b/dev-games/irrlicht-mt/Manifest
@@ -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
diff --git a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.5.ebuild b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.5.ebuild
new file mode 100644
index 000000000000..003b1f915491
--- /dev/null
+++ b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.5.ebuild
@@ -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"
+}