Skip to content

Commit

Permalink
dev-games/irrlicht-mt: headers live in a separate package now
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Marek Szuba committed Feb 10, 2022
1 parent 7a53fe6 commit 2dcff97
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
}

0 comments on commit 2dcff97

Please sign in to comment.