1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake-utils kodi-addon
8 DESCRIPTION="2048 for Kodi"
9 HOMEPAGE="https://github.com/kodi-game/game.libretro.2048"
12 if [[ ${PV} == *9999 ]]; then
14 EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.2048.git"
17 KEYWORDS="~amd64 ~x86"
19 SRC_URI="https://github.com/kodi-game/game.libretro.2048/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
20 S="${WORKDIR}/game.libretro.2048-${PV}-${CODENAME}"
29 games-emulation/libretro-twentyfortyeight
32 media-plugins/kodi-game-libretro
37 echo 'find_library(2048_LIB NAMES 2048_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-2048.cmake" || die