Closes: https://github.com/gentoo/gentoo/pull/3526
DIST kodi-pvr-mythtv-4.12.11.tar.gz 652826 SHA256 3ac4a9ff51f7ae8c3161b350d16ebada262161e3228efc92904e31ec44cb95cf SHA512 2b729dc6ec933ef829ceff48300642f3ee8c9441532bc5024d767196d137d6a567a5e5cff32e9b982b0787aff1c804c2178d56b0b7c3a40a241a8293a203320a WHIRLPOOL dbb035156e306fcc4ddbe713d9243c190d86f51b6a8a38641a21d4e4176e12d5d4925f06433aed29570f86d8daca1f24955e889248ce092abf5c7a938f2e1da2
+DIST kodi-pvr-mythtv-4.12.12.tar.gz 654045 SHA256 596fc11f26574939c5610f82f033808ca8d923543462254e793eab08d6c7d41c SHA512 74c6f984fdc165bbd20be19bce1879fc2d091c497dc5038ae1e0dbdac5a38f7541231fc9931fe863e482bf9ffeb88b9fdd9aabc83897f46099d7a5237bb24d41 WHIRLPOOL c5549e3f71823fb11e0315851c996df6acf9648781f27a193111c8001faed653d50d1a1f7a791b339213313cbfae4562d0db0503293e1f5b82c4a5243c23ff17
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils kodi-addon
+
+DESCRIPTION="MythTV PVR for Kodi"
+HOMEPAGE="https://github.com/janbar/pvr.mythtv"
+SRC_URI=""
+
+case ${PV} in
+9999)
+ SRC_URI=""
+ EGIT_REPO_URI="git://github.com/janbar/pvr.mythtv.git"
+ inherit git-r3
+ ;;
+*)
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/janbar/pvr.mythtv/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/pvr.mythtv-${PV}"
+ ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ media-tv/kodi
+ media-libs/kodi-platform
+ "
+RDEPEND="
+ ${DEPEND}
+ "