From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1579557-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A6D83158015
	for <garchives@archives.gentoo.org>; Thu, 14 Dec 2023 15:34:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 95E5A2BC029;
	Thu, 14 Dec 2023 15:34:18 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 80FF32BC029
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Dec 2023 15:34:18 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C31CB33CEF2
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Dec 2023 15:34:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 42A97B85
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Dec 2023 15:34:16 +0000 (UTC)
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" <marecki@gentoo.org>
Message-ID: <1702568034.309211123d8088032175038769a532c623ef17d9.marecki@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/irrlicht-mt/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-games/irrlicht-mt/Manifest dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild
X-VCS-Directories: dev-games/irrlicht-mt/
X-VCS-Committer: marecki
X-VCS-Committer-Name: Marek Szuba
X-VCS-Revision: 309211123d8088032175038769a532c623ef17d9
X-VCS-Branch: master
Date: Thu, 14 Dec 2023 15:34:16 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 49603ea8-cc4b-4151-8709-b13c73ba183a
X-Archives-Hash: 1c22b857f243063c52afd2a03583e0a9

commit:     309211123d8088032175038769a532c623ef17d9
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 14 15:24:11 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Dec 14 15:33:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30921112

dev-games/irrlicht-mt: add 1.9.0.13

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-games/irrlicht-mt/Manifest                    |  1 +
 dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild | 42 +++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-games/irrlicht-mt/Manifest b/dev-games/irrlicht-mt/Manifest
index 1e85d206811c..10aff65bbbca 100644
--- a/dev-games/irrlicht-mt/Manifest
+++ b/dev-games/irrlicht-mt/Manifest
@@ -1 +1,2 @@
 DIST irrlicht-mt-1.9.0.10.tar.gz 898774 BLAKE2B 2b11aead4556127bff7c7f06d16a57632cf1758ad0ddf12e6d9346d80d13c0cd437ccade268db5bec25f8d62cfa61e9ecda07a98d0a82c18b548a1b520dccee2 SHA512 216221b5073d2b234b2d19658b30517c3abb2677c16e3a9b7fd31c15431bd2ffc047a68851c5bebf94aeb178d6b761a80c2f5744a7498cdac1d7b65fed139cc0
+DIST irrlicht-mt-1.9.0.13.tar.gz 754056 BLAKE2B 02e3a219c2cfbd0c383f70c5e82d06563e28b4ae3fb59d420bb570e38d8618b525db50ddb67fbb91182f64b0567f99caa517f9799c650be3c8cd98ce43a9bc76 SHA512 5226d78eaacf8b56eafbbb6359bfb6137f9d6a555a252224e33d39c0d219fcb7d0d29fd3828961eee37d55940f3aa6e767fea31c96fb772dd5eca3889f5ac16e

diff --git a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild
new file mode 100644
index 000000000000..aabef13c265f
--- /dev/null
+++ b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.13.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 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"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.9.0.10-no_upstream_optflags.patch
+)
+
+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"
+}