summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-08-09 11:41:10 +0100
committerMarek Szuba <marecki@gentoo.org>2022-08-09 12:36:13 +0100
commite92b8f11fd87dc681c74817a62bcd0fe78bdc39d (patch)
tree36d8ee5e46a9a3386422df6957b69eed97f6e482 /dev-games
parentdev-games/irrlicht-mt-headers: add 1.9.0.7 (diff)
downloadgentoo-e92b8f11fd87dc681c74817a62bcd0fe78bdc39d.tar.gz
gentoo-e92b8f11fd87dc681c74817a62bcd0fe78bdc39d.tar.bz2
gentoo-e92b8f11fd87dc681c74817a62bcd0fe78bdc39d.zip
dev-games/irrlicht-mt: add 1.9.0.7
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/irrlicht-mt/Manifest1
-rw-r--r--dev-games/irrlicht-mt/irrlicht-mt-1.9.0.7.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-games/irrlicht-mt/Manifest b/dev-games/irrlicht-mt/Manifest
index 790947290476..a6f4c30f2c75 100644
--- a/dev-games/irrlicht-mt/Manifest
+++ b/dev-games/irrlicht-mt/Manifest
@@ -1,2 +1,3 @@
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
+DIST irrlicht-mt-1.9.0.7.tar.gz 909510 BLAKE2B 15552612e6cd01d35e48a02e7faa6db521bee2472c68c3a0a0696ae8578cd9cf272d30b953ed4e64a4e233638b6e99a77da301c4cbd9d6c65c634d9a7fdf274b SHA512 5b533efde6bca5ff2a6041d88fcf405c3452c0ccc52ca2d5e03072b0b31c16830cf5fe2af06573c71b29022b590f3082fc8997537c73a7e1981911083e7bf855
diff --git a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.7.ebuild b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.7.ebuild
new file mode 100644
index 000000000000..e5bc5eda8416
--- /dev/null
+++ b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.7.ebuild
@@ -0,0 +1,38 @@
+# 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/libXi
+ 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"
+}