diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-12-14 15:24:11 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-12-14 15:33:54 +0000 |
commit | 309211123d8088032175038769a532c623ef17d9 (patch) | |
tree | 538dfb68c92aa97a5e89e44d504d66bb3094fdb1 /dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild | |
parent | dev-games/irrlicht-mt-headers: add 1.9.0.13 (diff) | |
download | gentoo-309211123d8088032175038769a532c623ef17d9.tar.gz gentoo-309211123d8088032175038769a532c623ef17d9.tar.bz2 gentoo-309211123d8088032175038769a532c623ef17d9.zip |
dev-games/irrlicht-mt: add 1.9.0.13
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild')
-rw-r--r-- | dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild new file mode 100644 index 000000000000..aabef13c265f --- /dev/null +++ b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 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" + +PATCHES=( + "${FILESDIR}"/${PN}-1.9.0.10-no_upstream_optflags.patch +) + +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" +} |