commit: 784ae9a3c81ec25fc5fb5f291c325bd09ea02319
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 08:26:19 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 08:27:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=784ae9a3
games-emulation/mgba: Synced live ebuild
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
games-emulation/mgba/mgba-9999.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/games-emulation/mgba/mgba-9999.ebuild
b/games-emulation/mgba/mgba-9999.ebuild
index d1d5df90464..e34b02d2296 100644
--- a/games-emulation/mgba/mgba-9999.ebuild
+++ b/games-emulation/mgba/mgba-9999.ebuild
@@ -49,6 +49,7 @@ src_prepare() {
cmake_src_prepare
# Get rid of any bundled stuff we don't want
+ local pkg
for pkg in libpng lzma sqlite3 zlib ; do
rm -r src/third-party/${pkg} || die
done
@@ -92,7 +93,7 @@ src_compile() {
src_install() {
if use qt5 ; then
- dobin ../${P}_build/qt/${PN}-qt
+ dobin ${BUILD_DIR}/qt/${PN}-qt
doman doc/${PN}-qt.6
domenu res/${PN}-qt.desktop
for size in 16 24 32 48 64 96 128 256 ; do
@@ -101,10 +102,10 @@ src_install() {
fi
if use sdl ; then
doman doc/${PN}.6
- newbin ../${P}_build/sdl/${PN} ${PN}-sdl
+ newbin ${BUILD_DIR}/sdl/${PN} ${PN}-sdl
fi
- dolib.so ../${P}_build/lib${PN}.so*
+ dolib.so ${BUILD_DIR}/lib${PN}.so*
}
pkg_preinst() {