forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Closes: gentoo#14464 Signed-off-by: James Le Cuirot <[email protected]>
- Loading branch information
1 parent
3b8cba9
commit bc29277
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/* | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</email> | ||
<name>Gentoo Games Project</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="sourceforge">irrlicht</remote-id> | ||
</upstream> | ||
</pkgmetadata> |