diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-03-13 02:00:52 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-03-13 02:04:56 +0100 |
commit | a5a2748cc895020a5d5582192c69874b7fde795d (patch) | |
tree | 3f293c3196da9368508e07319f9464672c299eae /games-emulation/melonds/melonds-9999.ebuild | |
parent | dev-libs/teakra: new package; add 20220224 (diff) | |
download | gentoo-a5a2748cc895020a5d5582192c69874b7fde795d.tar.gz gentoo-a5a2748cc895020a5d5582192c69874b7fde795d.tar.bz2 gentoo-a5a2748cc895020a5d5582192c69874b7fde795d.zip |
games-emulation/melonds: use system teakra
Closes: https://bugs.gentoo.org/834984
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'games-emulation/melonds/melonds-9999.ebuild')
-rw-r--r-- | games-emulation/melonds/melonds-9999.ebuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild index 77ff242ab004..0cde97c7b287 100644 --- a/games-emulation/melonds/melonds-9999.ebuild +++ b/games-emulation/melonds/melonds-9999.ebuild @@ -1,9 +1,6 @@ # Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# NOTICE: -# melonds bundles teakra, its upstream haven't had a release since 2020 - EAPI=8 MY_PN="melonDS" @@ -32,6 +29,7 @@ SLOT="0" DEPEND=" app-arch/libarchive + dev-libs/teakra dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 @@ -55,7 +53,11 @@ DOC_CONTENTS="You need the following files in order to run melonDS: Place them in ~/.config/melonDS Those files can be found somewhere on the Internet ;-)" +PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch ) + src_prepare() { + rm -r ./src/teakra || die + cmake_src_prepare } @@ -73,16 +75,11 @@ src_compile() { } src_install() { - # install teakra - dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so" - cmake_src_install - readme.gentoo_create_doc } pkg_postinst() { xdg_pkg_postinst - readme.gentoo_print_elog } |