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" +}