From 19a303ca8337d64da6131c8c92d0acc67a095ae5 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Mon, 23 Jul 2018 13:37:28 -0400 Subject: [PATCH] media-plugins/kodi-peripheral-steamcontroller: Steam controller driver for Kodi Package-Manager: Portage-2.3.43, Repoman-2.3.10 --- ...odi-peripheral-steamcontroller-9999.ebuild | 37 +++++++++++++++++++ .../metadata.xml | 12 ++++++ 2 files changed, 49 insertions(+) create mode 100644 media-plugins/kodi-peripheral-steamcontroller/kodi-peripheral-steamcontroller-9999.ebuild create mode 100644 media-plugins/kodi-peripheral-steamcontroller/metadata.xml diff --git a/media-plugins/kodi-peripheral-steamcontroller/kodi-peripheral-steamcontroller-9999.ebuild b/media-plugins/kodi-peripheral-steamcontroller/kodi-peripheral-steamcontroller-9999.ebuild new file mode 100644 index 0000000000000..d0320868c73dd --- /dev/null +++ b/media-plugins/kodi-peripheral-steamcontroller/kodi-peripheral-steamcontroller-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="Steam controller driver for Kodi" +HOMEPAGE="https://github.com/xbmc/peripheral.steamcontroller" +SRC_URI="" + +case ${PV} in +9999) + SRC_URI="" + EGIT_REPO_URI="https://github.com/kodi-game/peripheral.steamcontroller.git" + inherit git-r3 + ;; +*) + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/kodi-game/peripheral.steamcontroller/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/peripheral.steamcontroller-${PV}" + ;; +esac + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + ~media-tv/kodi-9999 + ~media-libs/kodi-platform-9999 + =dev-libs/libplatform-2* + virtual/libusb:1 + " +RDEPEND=" + ${DEPEND} + " diff --git a/media-plugins/kodi-peripheral-steamcontroller/metadata.xml b/media-plugins/kodi-peripheral-steamcontroller/metadata.xml new file mode 100644 index 0000000000000..43c6920e06547 --- /dev/null +++ b/media-plugins/kodi-peripheral-steamcontroller/metadata.xml @@ -0,0 +1,12 @@ + + + + + candrews@gentoo.org + Craig Andrews + + Steam controller driver for Kodi + + kodi-game/peripheral.steamcontroller + +