From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/irrlicht-mt/
Date: Thu, 10 Feb 2022 12:19:51 +0000 (UTC)	[thread overview]
Message-ID: <1644495578.2dcff97b0f0973f792e22a534c97811b3267472b.marecki@gentoo> (raw)
commit:     2dcff97b0f0973f792e22a534c97811b3267472b
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 12:08:30 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 12:19:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcff97b
dev-games/irrlicht-mt: headers live in a separate package now
Note that src_compile still uses bundled headers. This is intentional -
if they are not the same as those from dev-games/irrlicht-mt-headers
something is SERIOUSLY wrong, and that way we do not have to mess with
build scripts.
Closes: https://bugs.gentoo.org/833052
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
 ...licht-mt-1.9.0.4.ebuild => irrlicht-mt-1.9.0.4-r1.ebuild} | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.4.ebuild b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.4-r1.ebuild
similarity index 69%
rename from dev-games/irrlicht-mt/irrlicht-mt-1.9.0.4.ebuild
rename to dev-games/irrlicht-mt/irrlicht-mt-1.9.0.4-r1.ebuild
index 34b915793472..15ffef6d4c61 100644
--- a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.4.ebuild
+++ b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.4-r1.ebuild
@@ -17,7 +17,8 @@ LICENSE="ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv"
 
-RDEPEND="media-libs/libpng:0=
+RDEPEND="~dev-games/irrlicht-mt-headers-${PV}
+	media-libs/libpng:0=
 	sys-libs/zlib
 	virtual/jpeg:0
 	virtual/opengl
@@ -26,4 +27,11 @@ RDEPEND="media-libs/libpng:0=
 DEPEND="${RDEPEND}
 	x11-base/xorg-proto"
 
-S="${WORKDIR}/${MY_P}"
+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"
+}
next             reply	other threads:[~2022-02-10 12:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 12:19 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-08 20:09 [gentoo-commits] repo/gentoo:master commit in: dev-games/irrlicht-mt/ Petr Vaněk
2023-12-14 15:34 Marek Szuba
2023-04-10 10:27 Marek Szuba
2023-04-08 21:26 Marek Szuba
2022-09-26  1:01 Marek Szuba
2022-09-21 18:33 Marek Szuba
2022-09-21 18:33 Marek Szuba
2022-08-09 11:38 Marek Szuba
2022-08-09 11:37 Marek Szuba
2022-05-24  9:18 Marek Szuba
2022-02-01 14:33 Marek Szuba
2022-02-01 10:53 Marek Szuba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=1644495578.2dcff97b0f0973f792e22a534c97811b3267472b.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox