summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-02-10 11:55:52 +0000
committerMarek Szuba <marecki@gentoo.org>2022-02-10 12:19:37 +0000
commit7a53fe6c1af5bc45544030d77fa3b577013237ad (patch)
treee7c02d8b99aa3ca014f43c995bbf7635aba159e5 /dev-games/irrlicht-mt-headers
parentwww-apps/chromedriver-bin: bump to 98.0.4758.80, require glibc (diff)
downloadgentoo-7a53fe6c1af5bc45544030d77fa3b577013237ad.tar.gz
gentoo-7a53fe6c1af5bc45544030d77fa3b577013237ad.tar.bz2
gentoo-7a53fe6c1af5bc45544030d77fa3b577013237ad.zip
dev-games/irrlicht-mt-headers: initial import
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 <marecki@gentoo.org>
Diffstat (limited to 'dev-games/irrlicht-mt-headers')
-rw-r--r--dev-games/irrlicht-mt-headers/Manifest1
-rw-r--r--dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.4.ebuild30
-rw-r--r--dev-games/irrlicht-mt-headers/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-games/irrlicht-mt-headers/Manifest b/dev-games/irrlicht-mt-headers/Manifest
new file mode 100644
index 000000000000..03d7cd49f774
--- /dev/null
+++ b/dev-games/irrlicht-mt-headers/Manifest
@@ -0,0 +1 @@
+DIST irrlicht-mt-1.9.0.4.tar.gz 4158897 BLAKE2B e03c3ca28ae93e5fa565069b67ae7f60e7e023a3b5434fbd8c080be719e40a67f115e4459f082b7a27181ff81cc591e527120747aaf91efaafe93d997f5dbc9e SHA512 6f6fef27d534a0046a04cb504992586f5f20a757f2c3a35ea6e1fb31d2781e3d81ee0172b03e2913ddd894fb937d6830005613eaed77a29bb9e91aa6d248fab8
diff --git a/dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.4.ebuild b/dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.4.ebuild
new file mode 100644
index 000000000000..4117cf584f2c
--- /dev/null
+++ b/dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.4.ebuild
@@ -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/*
+}
diff --git a/dev-games/irrlicht-mt-headers/metadata.xml b/dev-games/irrlicht-mt-headers/metadata.xml
new file mode 100644
index 000000000000..cd29c13fee92
--- /dev/null
+++ b/dev-games/irrlicht-mt-headers/metadata.xml
@@ -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>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">minetest/irrlicht</remote-id>
+ </upstream>
+</pkgmetadata>