diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 23:26:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 23:26:49 +0100 |
commit | ce5c22ea4ab2c848cb8e0fe7be18977d51f5f0bb (patch) | |
tree | cb5b53227bbd48fcb062830d7e94ac9a4fa9e081 /dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.ebuild | |
parent | 1c724102ee86c2c9fc156106acc870f69a4764c3 (diff) |
gentoo auto-resync : 21:09:2022 - 23:26:49
Diffstat (limited to 'dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.ebuild')
-rw-r--r-- | dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
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" +} |