<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Metaron</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Metaron"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Metaron"/>
	<updated>2026-06-17T23:08:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=MythTV_PVR/BuildFromSource&amp;diff=128731</id>
		<title>MythTV PVR/BuildFromSource</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=MythTV_PVR/BuildFromSource&amp;diff=128731"/>
		<updated>2017-02-26T12:24:15Z</updated>

		<summary type="html">&lt;p&gt;Metaron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* The addon&#039;s development repository is https://github.com/janbar/pvr.mythtv. You will also find the addon&#039;s issue tracker here.&lt;br /&gt;
&lt;br /&gt;
== Branches ==&lt;br /&gt;
KODI PVR addons like the MythTV addon are not compatible with all versions of KODI (due to the PVR API version dependency).&lt;br /&gt;
The addon repositories have different branches for the different KODI versions. Use &amp;lt;code&amp;gt;git checkout &amp;lt;BRANCH&amp;gt;&amp;lt;/code&amp;gt; after cloning the repository to switch to the according branch before starting the build.&lt;br /&gt;
&lt;br /&gt;
== Build MythTV addon on Ubuntu ==&lt;br /&gt;
* Install build utilities/libraries&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git&lt;br /&gt;
sudo apt-get install build-essential automake autoconf checkinstall&lt;br /&gt;
sudo apt-get install bison flex libtool intltool zip cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Build instructions are included in file README.md from source.&lt;br /&gt;
&lt;br /&gt;
== Build MythTV addon on OSX ==&lt;br /&gt;
* Install &#039;&#039;&#039;git&#039;&#039;&#039;. Go to http://code.google.com/p/git-osx-installer&lt;br /&gt;
* Install &#039;&#039;&#039;Xcode&#039;&#039;&#039; for your Mac. Go to http://connect.apple.com/&lt;br /&gt;
* Install &#039;&#039;&#039;Command line tools&#039;&#039;&#039;: Go to http://connect.apple.com/ or type &amp;quot;xcode-select --install&amp;quot; in terminal&lt;br /&gt;
* Install &#039;&#039;&#039;cmake&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Build instructions are included in file README.md from source.&lt;br /&gt;
&lt;br /&gt;
== Build MythTV addon on Windows® ==&lt;br /&gt;
* Install latest &#039;&#039;&#039;git&#039;&#039;&#039; console tool for Windows®.&lt;br /&gt;
* Install the required version of &#039;&#039;&#039;Visual® C++ Desktop&#039;&#039;&#039; depending of Kodi version.&lt;br /&gt;
* Install latest &#039;&#039;&#039;cmake&#039;&#039;&#039; tool for Windows®.&lt;br /&gt;
&lt;br /&gt;
Build instructions are included in file README.md from source.&lt;br /&gt;
&lt;br /&gt;
== Build MythTV addon for use with LibreElec ==&lt;br /&gt;
Create a LibreElec build environment https://wiki.libreelec.tv/index.php?title=Compile&lt;br /&gt;
&lt;br /&gt;
Follow the build instructions included in file README.md from source until you get to step &amp;lt;code&amp;gt;cmake -DCMAKE_BUILD_TYPE=Release -DPACKAGE_ZIP=ON ../ &amp;lt;/code&amp;gt; when you do this instead:&lt;br /&gt;
&lt;br /&gt;
* Create a file called &#039;refreshversion&#039; in the build directory with the following content and make it executable&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
PROJECT=RPi&lt;br /&gt;
ARCH=arm&lt;br /&gt;
LIBREELEC_TOOLCHAIN_CMAKE_PATH=/home/myuser/LibreELEC.tv/build.LibreELEC-RPi.arm-8.0-devel/toolchain/etc&lt;br /&gt;
for FILE in $LIBREELEC_TOOLCHAIN_CMAKE_PATH/cmake-*-libreelec-*.conf ; do&lt;br /&gt;
  if [ -f &amp;quot;$FILE&amp;quot; ]; then&lt;br /&gt;
    cmake -DCMAKE_TOOLCHAIN_FILE=$FILE -DCMAKE_BUILD_TYPE=Release -DPACKAGE_ZIP=ON ../&lt;br /&gt;
    break&lt;br /&gt;
  fi&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Adjust PROJECT &amp;amp; ARCH to suit your LibreElec target architecture&lt;br /&gt;
* Adjust LIBREELEC_TOOLCHAIN_CMAKE_PATH to match where LibreElec put the build environment for your target architecture&lt;br /&gt;
* Run refreshversion&lt;br /&gt;
* Return to the README.md instructions to generate a ZIP archive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NB:&amp;lt;/b&amp;gt; While it takes a long compile time to set up the LibreElec build environment, compiling new versions of pvr.mythtv is quick.&lt;/div&gt;</summary>
		<author><name>Metaron</name></author>
	</entry>
</feed>