Skip to content

Commit

Permalink
dev-games/ogre: [QA] Add cmake-utils_src_prepare
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
SoapGentoo committed Oct 16, 2017
1 parent 5a4d4a3 commit 71202cd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions dev-games/ogre/ogre-1.9.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
Expand Down Expand Up @@ -55,6 +55,13 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )"

PATCHES=(
"${FILESDIR}/${P}-remove_resource_path_to_bindir.patch"
"${FILESDIR}/${P}-remove_media_path_to_bindir.patch"
"${FILESDIR}/${P}-gcc52.patch"
"${FILESDIR}/${P}-samples.patch"
)

src_prepare() {
sed -i \
-e "s:share/OGRE/docs:share/doc/${PF}:" \
Expand All @@ -68,11 +75,7 @@ src_prepare() {
rm -f Tools/XMLConverter/{include,src}/tiny*.*

# Fix some path issues
epatch \
"${FILESDIR}/${P}-remove_resource_path_to_bindir.patch" \
"${FILESDIR}/${P}-remove_media_path_to_bindir.patch" \
"${FILESDIR}/${P}-gcc52.patch" \
"${FILESDIR}/${P}-samples.patch"
cmake-utils_src_prepare
}

src_configure() {
Expand Down

0 comments on commit 71202cd

Please sign in to comment.