1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake kodi-addon
8 DESCRIPTION="DOSBox GameClient for Kodi"
9 HOMEPAGE="https://github.com/kodi-game/game.libretro.dosbox"
12 if [[ ${PV} == *9999 ]]; then
14 EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.dosbox.git"
20 KEYWORDS="~amd64 ~x86"
22 SRC_URI="https://github.com/kodi-game/game.libretro.dosbox/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
23 S="${WORKDIR}/game.libretro.dosbox-${PV}-${CODENAME}"
35 games-emulation/libretro-dosbox
38 media-plugins/kodi-game-libretro
42 echo 'find_library(DOSBOX_LIB NAMES dosbox_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-dosbox.cmake" || die