summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2020-01-26 16:47:12 -0500
committerJames Le Cuirot <chewi@gentoo.org>2020-02-22 21:08:21 +0000
commitbc29277a58895bda30cc956e5bd69e724df6c260 (patch)
tree7891f78093da6dcb374667d9620220443b206e6a /dev-games/irrlicht-headers
parent*/*: [QA] Use consistent function definition formatting (diff)
downloadgentoo-bc29277a58895bda30cc956e5bd69e724df6c260.tar.gz
gentoo-bc29277a58895bda30cc956e5bd69e724df6c260.tar.bz2
gentoo-bc29277a58895bda30cc956e5bd69e724df6c260.zip
dev-games/irrlicht-headers: New package
Bug: https://bugs.gentoo.org/706372 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14464 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-games/irrlicht-headers')
-rw-r--r--dev-games/irrlicht-headers/Manifest2
-rw-r--r--dev-games/irrlicht-headers/irrlicht-headers-1.8.4.ebuild43
-rw-r--r--dev-games/irrlicht-headers/metadata.xml11
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-games/irrlicht-headers/Manifest b/dev-games/irrlicht-headers/Manifest
new file mode 100644
index 000000000000..94979316ecc7
--- /dev/null
+++ b/dev-games/irrlicht-headers/Manifest
@@ -0,0 +1,2 @@
+DIST irrlicht-1.8.4-patchset.tar.bz2 4813 BLAKE2B acad0f0dcc2ff5778608d0620063e7c70935838447f4bd1b241e08fb24f69531c29d96e95de394a3018e239fd7865bc3b50dc9ed5d54dd171b7b51df6c740b4d SHA512 5035cdf42fd26449d03e849ca248f6abcfcea1b0e9827683f00be2545ce90e3979e41c94fd487cfb1c67450e2e973f872d11d233c5a5b654700cec2ccb7f5602
+DIST irrlicht-1.8.4.zip 27927144 BLAKE2B 2c2d7e1306b169e537258152f88b11578d8a33c0ebe58e7ee48242048b70b9ba01069fcf272e44e18f7afbd1e6ec89d6bd86289d203929388e6b96871c048a98 SHA512 de69ddd2c6bc80a1b27b9a620e3697b1baa552f24c7d624076d471f3aecd9b15f71dce3b640811e6ece20f49b57688d428e3503936a7926b3e3b0cc696af98d1
diff --git a/dev-games/irrlicht-headers/irrlicht-headers-1.8.4.ebuild b/dev-games/irrlicht-headers/irrlicht-headers-1.8.4.ebuild
new file mode 100644
index 000000000000..c954409b0df4
--- /dev/null
+++ b/dev-games/irrlicht-headers/irrlicht-headers-1.8.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+MY_PN="irrlicht"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Irrlicht 3D engine headers"
+HOMEPAGE="http://irrlicht.sourceforge.net/"
+SRC_URI="mirror://sourceforge/irrlicht/${MY_P}.zip
+ https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.bz2"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="!<dev-games/irrlicht-1.8.4-r1"
+BDEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}/source/${MY_PN^}
+
+PATCHES=(
+ "${WORKDIR}"/${MY_P}-patchset/${MY_P}-config.patch
+)
+
+src_prepare() {
+ cd "${WORKDIR}"/${MY_P} || die
+ edos2unix include/IrrCompileConfig.h
+ default
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ cd "${WORKDIR}"/${MY_P} || die
+
+ insinto /usr/include/${MY_PN}
+ doins include/*
+}
diff --git a/dev-games/irrlicht-headers/metadata.xml b/dev-games/irrlicht-headers/metadata.xml
new file mode 100644
index 000000000000..5a340ad7a1cc
--- /dev/null
+++ b/dev-games/irrlicht-headers/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">irrlicht</remote-id>
+ </upstream>
+</pkgmetadata>