Skip to content

Commit

Permalink
dev-games/irrlicht-mt-headers: initial import
Browse files Browse the repository at this point in the history
Split off from dev-games/irrlicht-mt so that packages which require
Irrlicht headers but not libraries, games-action/minetest[-client] for
instance, do not have to unnecessarily pull in X libraries.

Bug: https://bugs.gentoo.org/706372
Signed-off-by: Marek Szuba <[email protected]>
  • Loading branch information
Marek Szuba committed Feb 10, 2022
1 parent 1ec3ae3 commit 7a53fe6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-games/irrlicht-mt-headers/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST irrlicht-mt-1.9.0.4.tar.gz 4158897 BLAKE2B e03c3ca28ae93e5fa565069b67ae7f60e7e023a3b5434fbd8c080be719e40a67f115e4459f082b7a27181ff81cc591e527120747aaf91efaafe93d997f5dbc9e SHA512 6f6fef27d534a0046a04cb504992586f5f20a757f2c3a35ea6e1fb31d2781e3d81ee0172b03e2913ddd894fb937d6830005613eaed77a29bb9e91aa6d248fab8
30 changes: 30 additions & 0 deletions dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="${PN%-mt-headers}"
MY_PV="$(ver_rs 3 'mt')"
MY_P="${MY_PN}-${MY_PV}"
# These two should be kept in sync with dev-games/irrlicht-mt
SRC_PN="${PN%-headers}"
SRC_P="${SRC_PN}-${PV}"

DESCRIPTION="Header files for 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 -> ${SRC_P}.tar.gz"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~riscv"

S="${WORKDIR}"/${MY_P}

src_configure() { :; }

src_compile() { :; }

src_install() {
insinto /usr/include/${SRC_PN/-/}
doins include/*
}
11 changes: 11 additions & 0 deletions dev-games/irrlicht-mt-headers/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Marek Szuba</name>
</maintainer>
<upstream>
<remote-id type="github">minetest/irrlicht</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 7a53fe6

Please sign in to comment.