summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-07-24 01:27:38 -0400
committerCraig Andrews <candrews@gentoo.org>2018-08-14 20:22:44 -0400
commite9a186ed28ab9a8107c375e2bb824e64b2089619 (patch)
treef4d8bc3e340b618e12a976d4a0f9b7e431142162 /media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild
parentmedia-plugins/kodi-game-libretro-fceumm: FCEU-Next for Kodi (diff)
downloadgentoo-e9a186ed28ab9a8107c375e2bb824e64b2089619.tar.gz
gentoo-e9a186ed28ab9a8107c375e2bb824e64b2089619.tar.bz2
gentoo-e9a186ed28ab9a8107c375e2bb824e64b2089619.zip
media-plugins/kodi-game-libretro-dosbox: DOSBox GameClient for Kodi
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild')
-rw-r--r--media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild b/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild
new file mode 100644
index 000000000000..44c31d728f6e
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils kodi-addon
+
+DESCRIPTION="DOSBox GameClient for Kodi"
+HOMEPAGE="https://github.com/kodi-game/game.libretro.dosbox"
+SRC_URI=""
+
+if [[ ${PV} == *9999 ]]; then
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.dosbox.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/kodi-game/game.libretro.dosbox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/game.libretro.dosbox-${PV}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ ~media-tv/kodi-9999
+ games-emulation/libretro-dosbox
+ "
+RDEPEND="
+ media-plugins/kodi-game-libretro
+ ${DEPEND}
+ "
+src_prepare() {
+ echo 'find_library(DOSBOX_LIB NAMES dosbox_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-dosbox.cmake" || die
+ default
+}