summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-09-21 19:03:19 +0100
committerMarek Szuba <marecki@gentoo.org>2022-09-21 19:33:15 +0100
commit1cb39f3781941f5a0132357fac1a2b6d20d03f17 (patch)
treeeb93caa8abc6c5778f7de6704c6ab4c07ab8af91 /dev-games/irrlicht-mt
parentdev-games/irrlicht-mt-headers: add 1.9.0.8 (diff)
downloadgentoo-1cb39f3781941f5a0132357fac1a2b6d20d03f17.tar.gz
gentoo-1cb39f3781941f5a0132357fac1a2b6d20d03f17.tar.bz2
gentoo-1cb39f3781941f5a0132357fac1a2b6d20d03f17.zip
dev-games/irrlicht-mt: add 1.9.0.8
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.8.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-games/irrlicht-mt/Manifest b/dev-games/irrlicht-mt/Manifest
index 6d029d907dc5..33fa0a497605 100644
--- a/dev-games/irrlicht-mt/Manifest
+++ b/dev-games/irrlicht-mt/Manifest
@@ -1 +1,2 @@
DIST irrlicht-mt-1.9.0.7.tar.gz 909510 BLAKE2B 15552612e6cd01d35e48a02e7faa6db521bee2472c68c3a0a0696ae8578cd9cf272d30b953ed4e64a4e233638b6e99a77da301c4cbd9d6c65c634d9a7fdf274b SHA512 5b533efde6bca5ff2a6041d88fcf405c3452c0ccc52ca2d5e03072b0b31c16830cf5fe2af06573c71b29022b590f3082fc8997537c73a7e1981911083e7bf855
+DIST irrlicht-mt-1.9.0.8.tar.gz 909733 BLAKE2B 6c85377b5e426a9f4ba06ea60fb0414fb9598c3b66d01d80da8461d53b16bc1c74ea5f949d0419d01f2d4dccabff20410840dc9380cac3cf5b656b2e073a4636 SHA512 3a5cbcd8d13730e08f24a72b4ceb2a6d3ba1cfa4292475915da6413ab8084d0b7f0b5dc34edc152d5bf516730faf43d983433619b0a1fb15540adb5cab00ca10
diff --git a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.ebuild b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.ebuild
new file mode 100644
index 000000000000..e5bc5eda8416
--- /dev/null
+++ b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.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"
+}