summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Cronenworth <mike@cchtml.com>2014-08-24 17:15:15 -0500
committerMichael Cronenworth <mike@cchtml.com>2014-08-24 17:15:15 -0500
commit8ea1fdeff3596828d1372156b9d48b088d6dbf7a (patch)
treec7097a709c8fcbc12b7be78a6795f2ca08a39b28
parent0e2b160ba2c3cffbcca413ccf231048dc0dc6060 (diff)
downloadxbmc-rpm-8ea1fdeff3596828d1372156b9d48b088d6dbf7a.tar.gz
xbmc-rpm-8ea1fdeff3596828d1372156b9d48b088d6dbf7a.tar.xz
xbmc-rpm-8ea1fdeff3596828d1372156b9d48b088d6dbf7a.zip
Rename xbmc to kodi
http://xbmc.org/introducing-kodi-14/ - External ffmpeg is now supported again (2.2.0 or higher required) - Drop libshairport (libshairplay is required)
-rw-r--r--0001-Revert-drop-support-for-external-ffmpeg.patch53
-rw-r--r--0002-Revert-linux-link-ffmpeg-statically.patch295
-rw-r--r--0003-makefile-include.patch14
-rw-r--r--kodi-14.0-dvddemux-ffmpeg.patch13
-rw-r--r--kodi-14.0-versioning.patch11
-rwxr-xr-xkodi-generate-tarball-xz.sh (renamed from xbmc-generate-tarball-xz.sh)21
-rw-r--r--kodi.spec390
-rw-r--r--xbmc-13.0-versioning.patch21
-rw-r--r--xbmc.spec914
9 files changed, 424 insertions, 1308 deletions
diff --git a/0001-Revert-drop-support-for-external-ffmpeg.patch b/0001-Revert-drop-support-for-external-ffmpeg.patch
deleted file mode 100644
index 502f97a..0000000
--- a/0001-Revert-drop-support-for-external-ffmpeg.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From e55766aa8da7265bea129c70cfd445ad66191fd0 Mon Sep 17 00:00:00 2001
-From: Michael Cronenworth <mike@cchtml.com>
-Date: Sun, 16 Mar 2014 17:14:03 -0500
-Subject: [PATCH 1/2] Revert "drop support for external ffmpeg"
-
-This reverts commit e211654714b2266b80ba65361bda8f715d47933a.
-
-Conflicts:
- configure.in
----
- configure.in | 12 +++++++++---
- 1 file changed, 9 insertions(+), 3 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index f9f5693..c389b76 100644
---- a/configure.in
-+++ b/configure.in
-@@ -191,6 +191,9 @@
- # External library message strings
- external_libraries_enabled="== Use of all supported external libraries enabled. =="
- external_libraries_disabled="== Use of all supported external libraries disabled. =="
-+external_ffmpeg_enabled="== Use of external ffmpeg enabled. =="
-+external_ffmpeg_disabled="== Use of external ffmpeg disabled. =="
-+ffmpeg_vdpau_not_supported="== External ffmpeg doesn't support VDPAU. VDPAU support disabled. =="
- dashes="------------------------"
- final_message="\n XBMC Configuration:"
- final_message="\n$dashes$final_message\n$dashes"
-@@ -569,6 +572,12 @@
- [use_external_libraries=$enableval],
- [use_external_libraries=no])
-
-+AC_ARG_ENABLE([external-ffmpeg],
-+ [AS_HELP_STRING([--enable-external-ffmpeg],
-+ [enable use of external ffmpeg libraries (default is no) 'Linux only'])],
-+ [use_external_ffmpeg=$enableval],
-+ [use_external_ffmpeg=$use_external_libraries])
-+
- AC_ARG_ENABLE([libav-compat],
- [AS_HELP_STRING([--enable-libav-compat],
- [build a wrapper around libav to provide the functions needed by XBMC. This is
-@@ -602,9 +611,6 @@
- READELF="${READELF:-readelf}"
- NM="${NM:-nm}"
-
--use_external_ffmpeg=no
--use_static_ffmpeg=no
--
- # ffmpeg needs the output of uname -s (e.x. linux, darwin) for the target_os
- # there is no autoconf variable which will give
- # the correct output format when doing cross compilation
---
-1.8.5.3
-
diff --git a/0002-Revert-linux-link-ffmpeg-statically.patch b/0002-Revert-linux-link-ffmpeg-statically.patch
deleted file mode 100644
index c237b33..0000000
--- a/0002-Revert-linux-link-ffmpeg-statically.patch
+++ /dev/null
@@ -1,295 +0,0 @@
-From 6df5c168c9de11fa6fdec250ba2b1c732ff3e9a2 Mon Sep 17 00:00:00 2001
-From: Michael Cronenworth <mike@cchtml.com>
-Date: Sun, 16 Mar 2014 17:23:51 -0500
-Subject: [PATCH 2/2] Revert "linux: link ffmpeg statically"
-
-This reverts commit 974a3c0e97b817ca358a959a026db95330673642.
-
-Conflicts:
- Makefile.in
- configure.in
----
- Makefile.in | 14 ---------------
- configure.in | 13 +------------
- lib/DllAvCodec.h | 4 ++--
- lib/DllAvFilter.h | 2 +-
- lib/DllAvFormat.h | 8 ++++----
- lib/DllAvUtil.h | 4 ++--
- lib/DllPostProc.h | 2 +-
- lib/DllSwResample.h | 4 ++--
- lib/DllSwScale.h | 4 ++--
- lib/Makefile.in | 14 --------------
- 10 files changed, 15 insertions(+), 54 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 6f689cf..bfadbe6 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -472,20 +472,6 @@ ifeq ($(findstring freebsd,@ARCH@),freebsd)
- DYNOBJSXBMC+= xbmc/freebsd/freebsd.a
- endif
-
--ifeq (@USE_STATIC_FFMPEG@,1)
--FFMPEGOBJS = lib/ffmpeg/libavcodec/libavcodec.a \
-- lib/ffmpeg/libavfilter/libavfilter.a \
-- lib/ffmpeg/libswresample/libswresample.a \
-- lib/ffmpeg/libavformat/libavformat.a \
-- lib/ffmpeg/libavutil/libavutil.a \
-- lib/ffmpeg/libpostproc/libpostproc.a \
-- lib/ffmpeg/libswscale/libswscale.a
--DYNOBJSXBMC+= $(FFMPEGOBJS)
--LIBS+= @GNUTLS_ALL_LIBS@ @VORBISENC_ALL_LIBS@ @HOGWEED_ALL_LIBS@
--
--$(FFMPEGOBJS): dvdpcodecs
--endif
--
- ifneq (@USE_LIBXBMC@,1)
- MAINOBJS+=xbmc/main/main.a
- else
-diff --git a/configure.in b/configure.in
-index c389b76..0c6fc47 100644
---- a/configure.in
-+++ b/configure.in
-@@ -874,15 +874,6 @@ elif test "$use_arch" = "arm"; then
- fi
- fi
- fi
--if test "$use_static_ffmpeg" = "yes"; then
-- USE_STATIC_FFMPEG=1
-- AC_DEFINE([USE_STATIC_FFMPEG], [1], [link ffmpeg statically])
-- # ffmpeg may depend on gnutls and vorbisenc, we add those libs at the end of linker
-- # command in order to resolve any missing symbols
-- GNUTLS_ALL_LIBS=`${PKG_CONFIG} --static --libs-only-l --silence-errors gnutls`
-- HOGWEED_ALL_LIBS=`${PKG_CONFIG} --static --libs-only-l --silence-errors hogweed nettle`
-- VORBISENC_ALL_LIBS=`${PKG_CONFIG} --static --libs-only-l --silence-errors vorbisenc`
--fi
-
- # Checks for library functions.
- AC_FUNC_ALLOCA
-@@ -2627,7 +2618,6 @@ AC_SUBST(DISABLE_FISHBMC)
- AC_SUBST(DISABLE_PROJECTM)
- AC_SUBST(USE_SKIN_TOUCHED)
- AC_SUBST(USE_EXTERNAL_FFMPEG)
--AC_SUBST(USE_STATIC_FFMPEG)
- AC_SUBST(USE_LIBAV_HACKS)
- AC_SUBST(PYTHON_VERSION)
- AC_SUBST(OUTPUT_FILES)
-@@ -2673,9 +2663,6 @@ AC_SUBST(USE_ANDROID)
- AC_SUBST(GTEST_CONFIGURED)
- AC_SUBST(USE_DOXYGEN)
- AC_SUBST(USE_PVR_ADDONS)
--AC_SUBST(GNUTLS_ALL_LIBS)
--AC_SUBST(HOGWEED_ALL_LIBS)
--AC_SUBST(VORBISENC_ALL_LIBS)
-
- # pushd and popd are not available in other shells besides bash, so implement
- # our own pushd/popd functions
-@@ -2832,7 +2819,7 @@ XB_CONFIG_MODULE([lib/ffmpeg], [
- --disable-ffserver \
- --disable-ffmpeg \
- --disable-crystalhd \
-- `if test "$use_static_ffmpeg" = "yes"; then echo --enable-static --disable-shared; else echo --disable-static --enable-shared; fi` \
-+ --enable-shared \
- --disable-doc \
- --enable-postproc \
- --enable-gpl \
-diff --git a/lib/DllAvCodec.h b/lib/DllAvCodec.h
-index af13a15..5cef736 100644
---- a/lib/DllAvCodec.h
-+++ b/lib/DllAvCodec.h
-@@ -94,7 +94,7 @@ public:
- virtual AVDictionary* av_frame_get_metadata(const AVFrame* frame)=0;
- };
-
--#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
-+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
-
- // Use direct layer
- class DllAvCodec : public DllDynamic, DllAvCodecInterface
-@@ -166,7 +166,7 @@ public:
- // DLL faking.
- virtual bool ResolveExports() { return true; }
- virtual bool Load() {
--#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
-+#if !defined(TARGET_DARWIN)
- CLog::Log(LOGDEBUG, "DllAvCodec: Using libavcodec system library");
- #endif
- return true;
-diff --git a/lib/DllAvFilter.h b/lib/DllAvFilter.h
-index 05e5c6f..2200bfa 100644
---- a/lib/DllAvFilter.h
-+++ b/lib/DllAvFilter.h
-@@ -104,7 +104,7 @@ public:
- #endif
- };
-
--#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
-+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
- // Use direct mapping
- class DllAvFilter : public DllDynamic, DllAvFilterInterface
- {
-diff --git a/lib/DllAvFormat.h b/lib/DllAvFormat.h
-index fc7e166..0016c0b 100644
---- a/lib/DllAvFormat.h
-+++ b/lib/DllAvFormat.h
-@@ -41,7 +41,7 @@ extern "C" {
- void xbmc_read_frame_flush(AVFormatContext *s);
- #else
- #include "libavformat/avformat.h"
-- #if defined(TARGET_DARWIN) || defined(USE_STATIC_FFMPEG)
-+ #if defined(TARGET_DARWIN)
- void ff_read_frame_flush(AVFormatContext *s); // internal replacement
- #define xbmc_read_frame_flush ff_read_frame_flush
- #endif
-@@ -73,7 +73,7 @@ public:
- virtual int av_read_play(AVFormatContext *s)=0;
- virtual int av_read_pause(AVFormatContext *s)=0;
- virtual int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)=0;
--#if (!defined USE_EXTERNAL_FFMPEG) && (!defined TARGET_DARWIN) && (!defined USE_STATIC_FFMPEG)
-+#if (!defined USE_EXTERNAL_FFMPEG) && (!defined TARGET_DARWIN)
- virtual int avformat_find_stream_info_dont_call(AVFormatContext *ic, AVDictionary **options)=0;
- #endif
- virtual int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options)=0;
-@@ -108,7 +108,7 @@ public:
- #endif
- };
-
--#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
-+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
-
- // Use direct mapping
- class DllAvFormat : public DllDynamic, DllAvFormatInterface
-@@ -170,7 +170,7 @@ public:
- // DLL faking.
- virtual bool ResolveExports() { return true; }
- virtual bool Load() {
--#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
-+#if !defined(TARGET_DARWIN)
- CLog::Log(LOGDEBUG, "DllAvFormat: Using libavformat system library");
- #endif
- CSingleLock lock(DllAvCodec::m_critSection);
-diff --git a/lib/DllAvUtil.h b/lib/DllAvUtil.h
-index 0fcdf10..ce5889b 100644
---- a/lib/DllAvUtil.h
-+++ b/lib/DllAvUtil.h
-@@ -116,7 +116,7 @@ public:
- #endif
- };
-
--#if defined (USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
-+#if defined (USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
- // Use direct layer
- class DllAvUtilBase : public DllDynamic, DllAvUtilInterface
- {
-@@ -174,7 +174,7 @@ public:
- // DLL faking.
- virtual bool ResolveExports() { return true; }
- virtual bool Load() {
--#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
-+#if !defined(TARGET_DARWIN)
- CLog::Log(LOGDEBUG, "DllAvUtilBase: Using libavutil system library");
- #endif
- return true;
-diff --git a/lib/DllPostProc.h b/lib/DllPostProc.h
-index e9542eb..0265651 100644
---- a/lib/DllPostProc.h
-+++ b/lib/DllPostProc.h
-@@ -78,7 +78,7 @@ public:
- virtual void pp_free_context(pp_context *ppContext)=0;
- };
-
--#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
-+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
-
- // We call directly.
- class DllPostProc : public DllDynamic, DllPostProcInterface
-diff --git a/lib/DllSwResample.h b/lib/DllSwResample.h
-index cd1452b..854d250 100644
---- a/lib/DllSwResample.h
-+++ b/lib/DllSwResample.h
-@@ -60,7 +60,7 @@ public:
- virtual int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensation_distance) = 0;
- };
-
--#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
-+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
-
- // Use direct mapping
- class DllSwResample : public DllDynamic, DllSwResampleInterface
-@@ -71,7 +71,7 @@ public:
- // DLL faking.
- virtual bool ResolveExports() { return true; }
- virtual bool Load() {
--#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
-+#if !defined(TARGET_DARWIN)
- CLog::Log(LOGDEBUG, "DllAvFormat: Using libswresample system library");
- #endif
- return true;
-diff --git a/lib/DllSwScale.h b/lib/DllSwScale.h
-index 97e3b40..36bb616 100644
---- a/lib/DllSwScale.h
-+++ b/lib/DllSwScale.h
-@@ -87,7 +87,7 @@ public:
- virtual void sws_freeContext(struct SwsContext *context)=0;
- };
-
--#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
-+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
-
- // We call into this library directly.
- class DllSwScale : public DllDynamic, public DllSwScaleInterface
-@@ -111,7 +111,7 @@ public:
- // DLL faking.
- virtual bool ResolveExports() { return true; }
- virtual bool Load() {
--#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
-+#if !defined(TARGET_DARWIN)
- CLog::Log(LOGDEBUG, "DllSwScale: Using libswscale system library");
- #endif
- return true;
-diff --git a/lib/Makefile.in b/lib/Makefile.in
-index ca18a4a..906219c 100644
---- a/lib/Makefile.in
-+++ b/lib/Makefile.in
-@@ -27,7 +27,6 @@ endif
-
- LIBS=
- ifneq (@USE_EXTERNAL_FFMPEG@,1)
--ifneq (@USE_STATIC_FFMPEG@,1)
- LIBS+=$(AVUTIL_SO) \
- $(AVCODEC_SO) \
- $(AVFORMAT_SO) \
-@@ -36,12 +35,10 @@ ifneq (@USE_STATIC_FFMPEG@,1)
- $(SWSCALE_SO) \
- $(SWRESAMPLE_SO)
- endif
--endif
-
- .PHONY: $(DIRS) codecs
-
- ifneq ($(findstring osx,$(ARCH)), osx)
--ifneq (@USE_STATIC_FFMPEG@,1)
-
- codecs: $(addprefix $(SYSDIR)/, $(LIBS));
-
-@@ -74,17 +71,6 @@ ffmpeg/libswscale/libswscale.so : ffmpeg;
- ffmpeg/libpostproc/libpostproc.so : ffmpeg;
- ffmpeg/libswresample/libswresample.so : ffmpeg;
- endif
--endif
--
--ifeq (@USE_STATIC_FFMPEG@,1)
--ffmpeg/libavutil/libavutil.a : ffmpeg;
--ffmpeg/libavcodec/libavcodec.a : ffmpeg;
--ffmpeg/libavformat/libavformat.a : ffmpeg;
--ffmpeg/libavfilter/libavfilter.a : ffmpeg;
--ffmpeg/libswscale/libswscale.a : ffmpeg;
--ffmpeg/libpostproc/libpostproc.a : ffmpeg;
--ffmpeg/libswresample/libswresample.a : ffmpeg;
--endif
-
- ffmpeg:
- $(MAKE) -C $@
---
-1.8.5.3
-
diff --git a/0003-makefile-include.patch b/0003-makefile-include.patch
deleted file mode 100644
index d3687e6..0000000
--- a/0003-makefile-include.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/Makefile.include.in 2014-03-16 15:34:08.479015885 -0500
-+++ b/Makefile.include.in 2014-03-16 18:58:00.770693019 -0500
-@@ -58,6 +58,11 @@
- @SDL_DEFINES@ \
- @DEFS@ \
-
-+ifeq (@USE_EXTERNAL_FFMPEG@,1)
-+ DEFINES+=-DUSE_EXTERNAL_FFMPEG \
-+
-+endif
-+
- ifeq ($(findstring osx,$(ARCH)), osx)
- INCLUDES+=-I@abs_top_srcdir@/xbmc/osx
- endif
diff --git a/kodi-14.0-dvddemux-ffmpeg.patch b/kodi-14.0-dvddemux-ffmpeg.patch
new file mode 100644
index 0000000..150e4d9
--- /dev/null
+++ b/kodi-14.0-dvddemux-ffmpeg.patch
@@ -0,0 +1,13 @@
+--- xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp.orig 2014-08-01 11:18:24.000000000 -0500
++++ xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-08-24 15:36:34.844966866 -0500
+@@ -487,10 +487,6 @@
+
+ void CDVDDemuxFFmpeg::Flush()
+ {
+- // naughty usage of an internal ffmpeg function
+- if (m_pFormatContext)
+- av_read_frame_flush(m_pFormatContext);
+-
+ m_iCurrentPts = DVD_NOPTS_VALUE;
+
+ m_pkt.result = -1;
diff --git a/kodi-14.0-versioning.patch b/kodi-14.0-versioning.patch
new file mode 100644
index 0000000..d7b88f5
--- /dev/null
+++ b/kodi-14.0-versioning.patch
@@ -0,0 +1,11 @@
+--- a/xbmc/Application.cpp.orig 2014-08-24 13:48:56.198199578 -0500
++++ b/xbmc/Application.cpp 2014-08-24 13:55:16.242116310 -0500
+@@ -697,7 +697,7 @@
+ CProfilesManager::Get().Load();
+
+ CLog::Log(LOGNOTICE, "-----------------------------------------------------------------------");
+- CLog::Log(LOGNOTICE, "Starting Kodi (%s). Platform: %s %s %d-bit", g_infoManager.GetVersion().c_str(), g_sysinfo.GetBuildTargetPlatformName().c_str(),
++ CLog::Log(LOGNOTICE, "Starting Kodi from RPM Fusion (%s). Platform: %s %s %d-bit", g_infoManager.GetVersion().c_str(), g_sysinfo.GetBuildTargetPlatformName().c_str(),
+ g_sysinfo.GetBuildTargetCpuFamily().c_str(), g_sysinfo.GetXbmcBitness());
+
+ std::string buildType;
diff --git a/xbmc-generate-tarball-xz.sh b/kodi-generate-tarball-xz.sh
index 9732d7f..e6472bc 100755
--- a/xbmc-generate-tarball-xz.sh
+++ b/kodi-generate-tarball-xz.sh
@@ -1,15 +1,14 @@
#!/bin/sh
-MAJORVERSION=13
-MINORVERSION=2
+MAJORVERSION=14
+MINORVERSION=0a2
#GITCOMMIT=e988513175fccca83f8b688bb77b932f6a403b96
#GITSHORT=ge988513
-#PRERELEASE=Gotham
+CODENAME=Helix
-VERSION=${MAJORVERSION}.${MINORVERSION}${PRERELEASE:+-${PRERELEASE}}${GITSHORT:+-${GITSHORT}}
+VERSION=${MAJORVERSION}.${MINORVERSION}${GITSHORT:+-${GITSHORT}}
-GITHUBURL=https://github.com/xbmc/xbmc/zipball/$VERSION-Gotham
-#GITHUBURL=https://github.com/xbmc/xbmc/zipball/$PRERELEASE
+GITHUBURL=https://github.com/xbmc/xbmc/zipball/$VERSION-$CODENAME
#GITHUBURL=https://github.com/xbmc/xbmc/zipball/$GITCOMMIT
# download zipball
@@ -22,9 +21,9 @@ rm -rf xbmc-xbmc-*
unzip xbmc-$VERSION.zip
# Repair GitHub's odd auto-generated top-level directory...
-mv xbmc-xbmc-* xbmc-$VERSION
+mv xbmc-xbmc-* kodi-$VERSION
-pushd xbmc-$VERSION
+pushd kodi-$VERSION
# remove bundled libraries, saves space and forces using external versions
# grrr, *still* have to keep in ffmpeg for now (2011-12-28) since upstream
@@ -38,7 +37,7 @@ done
# remove more bundled codecs
for i in libmpeg2
do
- rm -r xbmc/cores/dvdplayer/DVDCodecs/Video/$i
+ rm -r kodi/cores/dvdplayer/DVDCodecs/Video/$i
done
@@ -62,7 +61,7 @@ done
# TODO/FIXME: remove other unnecessary things under tools/
# also remove anything to do with win32
-for i in android darwin win32buildtools
+for i in win32buildtools
do
rm -r tools/$i
done
@@ -70,4 +69,4 @@ done
popd
# repack
-tar -cJvf xbmc-$VERSION-patched.tar.xz xbmc-$VERSION
+tar -cJvf kodi-$VERSION-patched.tar.xz kodi-$VERSION
diff --git a/kodi.spec b/kodi.spec
new file mode 100644
index 0000000..b5ed360
--- /dev/null
+++ b/kodi.spec
@@ -0,0 +1,390 @@
+%global PRERELEASE a2
+#global DIRVERSION %{version}
+#global GITCOMMIT Gotham_r2-ge988513
+# use the line below for pre-releases
+%global DIRVERSION %{version}%{PRERELEASE}
+%global _hardened_build 1
+
+Name: kodi
+Version: 14.0
+Release: 0.1.alpha2%{?dist}
+Summary: Media center
+
+License: GPLv2+ and GPLv3+
+Group: Applications/Multimedia
+URL: http://www.xbmc.org/
+Source0: %{name}-%{DIRVERSION}-patched.tar.xz
+# kodi contains code that we cannot ship, as well as redundant private
+# copies of upstream libraries that we already distribute. Therefore
+# we use this script to remove the code before shipping it.
+# Invoke this script while in the directory where the tarball is located:
+# ./kodi-generate-tarball-xz.sh
+Source1: kodi-generate-tarball-xz.sh
+
+# filed ticket, but patch still needs work
+# http://trac.xbmc.org/ticket/9658
+Patch1: xbmc-13.0-dvdread.patch
+
+# need to file trac ticket, this patch just forces external hdhomerun
+# functionality, needs to be able fallback internal version
+Patch2: xbmc-13.0-hdhomerun.patch
+
+# Avoid segfault during goom's configure
+# https://bugzilla.redhat.com/1069079
+Patch3: xbmc-13.0-libmysqlclient.patch
+
+# Set program version parameters
+Patch4: kodi-14.0-versioning.patch
+
+# Remove call to internal ffmpeg function (misued anyway)
+Patch5: kodi-14.0-dvddemux-ffmpeg.patch
+
+# Kodi is the renamed XBMC project
+Obsoletes: xbmc < 14.0-1
+Obsoletes: xbmc-eventclients < 14.0-1
+
+# Optional deps (not in EPEL)
+%if 0%{?fedora}
+# (libbluray in EPEL 6 is too old.)
+%global _with_libbluray 1
+%global _with_cwiid 1
+%global _with_libssh 1
+%global _with_libcec 1
+%global _with_external_ffmpeg 1
+%endif
+
+%ifarch x86_64 i686
+%global _with_crystalhd 1
+%global _with_hdhomerun 1
+%endif
+
+ExcludeArch: ppc64
+
+BuildRequires: SDL-devel
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: a52dec-devel
+BuildRequires: afpfs-ng-devel
+BuildRequires: avahi-devel
+BuildRequires: bluez-libs-devel
+BuildRequires: boost-devel
+BuildRequires: bzip2-devel
+BuildRequires: cmake
+%if 0%{?_with_cwiid}
+BuildRequires: cwiid-devel
+%endif
+BuildRequires: dbus-devel
+BuildRequires: desktop-file-utils
+BuildRequires: e2fsprogs-devel
+BuildRequires: enca-devel
+BuildRequires: expat-devel
+BuildRequires: faad2-devel
+%if 0%{?_with_external_ffmpeg}
+BuildRequires: ffmpeg-devel
+%endif
+BuildRequires: flac-devel
+BuildRequires: flex
+BuildRequires: fontconfig-devel
+BuildRequires: fontpackages-devel
+BuildRequires: freetype-devel
+BuildRequires: fribidi-devel
+%if 0%{?el6}
+BuildRequires: gettext-devel
+%else
+BuildRequires: gettext-autopoint
+%endif
+BuildRequires: glew-devel
+BuildRequires: glib2-devel
+BuildRequires: gperf
+%if 0%{?_with_hdhomerun}
+BuildRequires: hdhomerun-devel
+%endif
+BuildRequires: jasper-devel
+BuildRequires: java-devel
+BuildRequires: lame-devel
+BuildRequires: libXinerama-devel
+BuildRequires: libXmu-devel
+BuildRequires: libXtst-devel
+BuildRequires: libass-devel >= 0.9.7
+%if 0%{?_with_libbluray}
+BuildRequires: libbluray-devel
+%endif
+BuildRequires: libcap-devel
+BuildRequires: libcdio-devel
+%if 0%{?_with_libcec}
+BuildRequires: libcec-devel
+%endif
+%if 0%{?_with_crystalhd}
+BuildRequires: libcrystalhd-devel
+%endif
+BuildRequires: libcurl-devel
+BuildRequires: libdca-devel
+BuildRequires: libdvdread-devel
+%if 0%{?el6}
+BuildRequires: libjpeg-devel
+%else
+BuildRequires: libjpeg-turbo-devel
+%endif
+BuildRequires: libmad-devel
+BuildRequires: libmicrohttpd-devel
+BuildRequires: libmms-devel
+BuildRequires: libmodplug-devel
+BuildRequires: libmpcdec-devel
+BuildRequires: libmpeg2-devel
+BuildRequires: libogg-devel
+# for AirPlay support
+BuildRequires: libplist-devel
+BuildRequires: libpng-devel
+BuildRequires: librtmp-devel
+BuildRequires: libsamplerate-devel
+BuildRequires: libsmbclient-devel
+%if 0%{?_with_libssh}
+BuildRequires: libssh-devel
+%endif
+BuildRequires: libtiff-devel
+BuildRequires: libtool
+%ifnarch %{arm}
+BuildRequires: libva-devel
+BuildRequires: libvdpau-devel
+%endif
+BuildRequires: libvorbis-devel
+BuildRequires: libxml2-devel
+BuildRequires: libxslt-devel
+BuildRequires: lzo-devel
+BuildRequires: mariadb-devel
+# ARM uses GLES
+%ifarch %{arm}
+BuildRequires: mesa-libEGL-devel
+BuildRequires: mesa-libGLES-devel
+%endif
+BuildRequires: nasm
+BuildRequires: pcre-devel
+BuildRequires: pulseaudio-libs-devel
+BuildRequires: python-devel
+BuildRequires: python-pillow
+BuildRequires: sqlite-devel
+BuildRequires: swig
+BuildRequires: systemd-devel
+BuildRequires: taglib-devel >= 1.8
+BuildRequires: tinyxml-devel
+BuildRequires: tre-devel
+BuildRequires: trousers-devel
+BuildRequires: wavpack-devel
+BuildRequires: yajl-devel
+BuildRequires: zlib-devel
+
+# nfs-utils-lib-devel package currently broken
+#BuildRequires: nfs-utils-lib-devel
+
+Requires: google-roboto-fonts
+# need explicit requires for these packages
+# as they are dynamically loaded via XBMC's arcane
+# pseudo-DLL loading scheme (sigh)
+%if 0%{?_with_libbluray}
+Requires: libbluray
+%endif
+%if 0%{?_with_libcec}
+Requires: libcec
+%endif
+%if 0%{?_with_crystalhd}
+Requires: libcrystalhd
+%endif
+Requires: libmad
+Requires: librtmp
+
+# needed when doing a minimal install, see
+# https://bugzilla.rpmfusion.org/show_bug.cgi?id=1844
+Requires: glx-utils
+Requires: xorg-x11-utils
+
+# This is just symlinked to, but needed both at build-time
+# and for installation
+Requires: python-imaging
+
+
+%description
+Kodi is a free cross-platform media-player jukebox and entertainment hub.
+Kodi can play a spectrum of of multimedia formats, and featuring playlist,
+audio visualizations, slideshow, and weather forecast functions, together
+third-party plugins.
+
+
+%package devel
+Summary: Development files needed to compile C programs against kodi
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Kodi is a free cross-platform media-player jukebox and entertainment hub.
+If you want to develop programs which use Kodi's libraries, you need to
+install this package.
+
+
+%package eventclients
+Summary: Media center event client remotes
+
+%description eventclients
+This package contains support for using Kodi with the PS3 Remote, the Wii
+Remote, a J2ME based remote and the command line xbmc-send utility.
+
+%package eventclients-devel
+Summary: Media center event client remotes development files
+Requires: %{name}-eventclients = %{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
+
+%description eventclients-devel
+This package contains the development header files for the eventclients
+library.
+
+
+%prep
+%setup -q -n %{name}-%{DIRVERSION}
+
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p0
+
+%if 0%{?_with_hdhomerun}
+%else
+ # Remove hdhomerun from the build.
+ pushd xbmc/filesystem/
+ rm HDHomeRunFile.cpp HDHomeRunFile.h
+ rm HDHomeRunDirectory.cpp HDHomeRunDirectory.h
+ sed -i Makefile.in -e '/HDHomeRunFile\.cpp/d'
+ sed -i Makefile.in -e '/HDHomeRunDirectory\.cpp/d'
+ sed -i DirectoryFactory.cpp -e '/HomeRun/d'
+ sed -i FileFactory.cpp -e '/HomeRun/d'
+ popd
+%endif
+
+
+%build
+chmod +x bootstrap
+./bootstrap
+# Can't use export nor %%configure (implies using export), because
+# the Makefile pile up *FLAGS in this case.
+
+./configure \
+--prefix=%{_prefix} --bindir=%{_bindir} --includedir=%{_includedir} \
+--libdir=%{_libdir} --datadir=%{_datadir} \
+--with-lirc-device=/var/run/lirc/lircd \
+%if 0%{?_with_external_ffmpeg}
+--with-ffmpeg=shared \
+%endif
+--enable-goom \
+--enable-pulse \
+%if 0%{?_with_libcec}
+--enable-libcec \
+%else
+--disable-libcec \
+%endif
+%if 0%{?_with_libssh}
+--enable-ssh \
+%else
+--disable-ssh \
+%endif
+--disable-dvdcss \
+--disable-optimizations --disable-debug \
+%ifnarch %{arm}
+--enable-gl \
+--disable-gles \
+--enable-vdpau \
+%else
+--enable-gles \
+--disable-vdpau \
+--disable-vaapi \
+%ifarch armv7hl \
+--enable-tegra \
+--disable-neon \
+%endif
+%ifarch armv7hnl
+--enable-neon \
+%endif
+%endif
+CFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
+CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
+LDFLAGS="-fPIC" \
+%if 0%{?_with_hdhomerun}
+LIBS=" -lhdhomerun $LIBS" \
+%endif
+ASFLAGS=-fPIC
+
+make %{?_smp_mflags} VERBOSE=1
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+make -C tools/EventClients DESTDIR=$RPM_BUILD_ROOT install
+# remove the doc files from unversioned /usr/share/doc/xbmc, they should be in versioned docdir
+rm -r $RPM_BUILD_ROOT/%{_datadir}/doc/
+
+desktop-file-install \
+ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
+ $RPM_BUILD_ROOT%{_datadir}/applications/xbmc.desktop
+
+# Normally we are expected to build these manually. But since we are using
+# the system Python interpreter, we also want to use the system libraries
+install -d $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pil/lib
+ln -s %{python_sitearch}/PIL $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pil/lib/PIL
+#install -d $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pysqlite/lib
+#ln -s %{python_sitearch}/pysqlite2 $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pysqlite/lib/pysqlite2
+
+# Use external Roboto font files instead of bundled ones
+ln -sf %{_fontbasedir}/google-roboto/Roboto-Regular.ttf ${RPM_BUILD_ROOT}%{_datadir}/xbmc/addons/skin.confluence/fonts/
+ln -sf %{_fontbasedir}/google-roboto/Roboto-Bold.ttf ${RPM_BUILD_ROOT}%{_datadir}/xbmc/addons/skin.confluence/fonts/
+
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files
+%defattr(-,root,root)
+%doc copying.txt CONTRIBUTORS LICENSE.GPL README
+%doc docs
+%{_bindir}/xbmc
+%{_bindir}/xbmc-standalone
+%{_libdir}/xbmc
+%{_datadir}/xbmc
+%{_datadir}/xsessions/XBMC.desktop
+%{_datadir}/applications/xbmc.desktop
+%{_datadir}/icons/hicolor/*/*/*.png
+
+
+%files devel
+%{_includedir}/xbmc
+
+
+%files eventclients
+%python_sitelib/xbmc
+%dir %{_datadir}/pixmaps/xbmc
+%{_datadir}/pixmaps/xbmc/*.png
+%{_bindir}/xbmc-j2meremote
+%{_bindir}/xbmc-ps3d
+%{_bindir}/xbmc-ps3remote
+%{_bindir}/xbmc-send
+%{_bindir}/xbmc-wiiremote
+
+
+%files eventclients-devel
+%{_includedir}/xbmc/xbmcclient.h
+
+
+%changelog
+* Sun Aug 24 2014 Michael Cronenworth <mike@cchtml.com> - 14.0-0.1.alpha2
+- Update to 14.0 alpha 2
+- Renamed XBMC to Kodi
diff --git a/xbmc-13.0-versioning.patch b/xbmc-13.0-versioning.patch
deleted file mode 100644
index 574b69e..0000000
--- a/xbmc-13.0-versioning.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/xbmc/GitRevision.h 2014-04-18 17:47:17.000000000 -0500
-+++ b/xbmc/GitRevision.h 2014-04-20 18:26:11.509554641 -0500
-@@ -1,5 +1,7 @@
- #pragma once
-
-+#undef GIT_REV
-+
- /*
- * Copyright (C) 2011-2013 Team XBMC
- * http://xbmc.org
---- a/xbmc/Application.cpp 2014-04-18 17:47:17.000000000 -0500
-+++ b/xbmc/Application.cpp 2014-04-20 18:10:35.171011439 -0500
-@@ -693,7 +693,7 @@
- CProfilesManager::Get().Load();
-
- CLog::Log(LOGNOTICE, "-----------------------------------------------------------------------");
-- CLog::Log(LOGNOTICE, "Starting XBMC (%s). Platform: %s %s %d-bit", g_infoManager.GetVersion().c_str(), g_sysinfo.GetBuildTargetCpuFamily().c_str(),
-+ CLog::Log(LOGNOTICE, "Starting XBMC from RPM Fusion (%s). Platform: %s %s %d-bit", g_infoManager.GetVersion().c_str(), g_sysinfo.GetBuildTargetCpuFamily().c_str(),
- g_sysinfo.GetBuildTargetPlatformName().c_str(), g_sysinfo.GetXbmcBitness());
-
- /* Expand macro before stringify */
diff --git a/xbmc.spec b/xbmc.spec
deleted file mode 100644
index da33ea4..0000000
--- a/xbmc.spec
+++ /dev/null
@@ -1,914 +0,0 @@
-#global PRERELEASE b3
-%global DIRVERSION %{version}
-#global GITCOMMIT Gotham_r2-ge988513
-# use the line below for pre-releases
-#global DIRVERSION %{version}%{PRERELEASE}
-%global _hardened_build 1
-
-Name: xbmc
-Version: 13.2
-Release: 1%{?dist}
-Summary: Media center
-
-License: GPLv2+ and GPLv3+
-Group: Applications/Multimedia
-URL: http://www.xbmc.org/
-Source0: %{name}-%{DIRVERSION}-patched.tar.xz
-# xbmc contains code that we cannot ship, as well as redundant private
-# copies of upstream libraries that we already distribute. Therefore
-# we use this script to remove the code before shipping it.
-# Invoke this script while in the directory where the tarball is located:
-# ./xbmc-generate-tarball-xz.sh
-Source1: xbmc-generate-tarball-xz.sh
-
-# filed ticket, but patch still needs work
-# http://trac.xbmc.org/ticket/9658
-Patch1: xbmc-13.0-dvdread.patch
-
-# need to file trac ticket, this patch just forces external hdhomerun
-# functionality, needs to be able fallback internal version
-Patch2: xbmc-13.0-hdhomerun.patch
-
-# Avoid segfault during goom's configure
-# https://bugzilla.redhat.com/1069079
-Patch3: xbmc-13.0-libmysqlclient.patch
-
-# Set program version parameters
-Patch4: xbmc-13.0-versioning.patch
-
-# External ffmpeg patches
-Patch100: 0001-Revert-drop-support-for-external-ffmpeg.patch
-Patch101: 0002-Revert-linux-link-ffmpeg-statically.patch
-Patch102: 0003-makefile-include.patch
-
-# Optional deps (not in EPEL)
-%if 0%{?fedora}
-# (libbluray in EPEL 6 is too old.)
-%global _with_libbluray 1
-%global _with_cwiid 1
-%global _with_libssh 1
-%global _with_libcec 1
-%global _with_external_ffmpeg 1
-%endif
-
-%ifarch x86_64 i686
-%global _with_crystalhd 1
-%global _with_hdhomerun 1
-%endif
-
-ExcludeArch: ppc64
-
-BuildRequires: SDL-devel
-BuildRequires: SDL_image-devel
-BuildRequires: SDL_mixer-devel
-BuildRequires: a52dec-devel
-BuildRequires: afpfs-ng-devel
-BuildRequires: avahi-devel
-BuildRequires: bluez-libs-devel
-BuildRequires: boost-devel
-BuildRequires: bzip2-devel
-BuildRequires: cmake
-%if 0%{?_with_cwiid}
-BuildRequires: cwiid-devel
-%endif
-BuildRequires: dbus-devel
-BuildRequires: desktop-file-utils
-BuildRequires: e2fsprogs-devel
-BuildRequires: enca-devel
-BuildRequires: expat-devel
-BuildRequires: faad2-devel
-%if 0%{?_with_external_ffmpeg}
-BuildRequires: ffmpeg-devel
-%endif
-BuildRequires: flac-devel
-BuildRequires: flex
-BuildRequires: fontconfig-devel
-BuildRequires: fontpackages-devel
-BuildRequires: freetype-devel
-BuildRequires: fribidi-devel
-%if 0%{?el6}
-BuildRequires: gettext-devel
-%else
-BuildRequires: gettext-autopoint
-%endif
-BuildRequires: glew-devel
-BuildRequires: glib2-devel
-BuildRequires: gperf
-%if 0%{?_with_hdhomerun}
-BuildRequires: hdhomerun-devel
-%endif
-BuildRequires: jasper-devel
-BuildRequires: java-devel
-BuildRequires: lame-devel
-BuildRequires: libXinerama-devel
-BuildRequires: libXmu-devel
-BuildRequires: libXtst-devel
-BuildRequires: libass-devel >= 0.9.7
-%if 0%{?_with_libbluray}
-BuildRequires: libbluray-devel
-%endif
-BuildRequires: libcap-devel
-BuildRequires: libcdio-devel
-%if 0%{?_with_libcec}
-BuildRequires: libcec-devel
-%endif
-%if 0%{?_with_crystalhd}
-BuildRequires: libcrystalhd-devel
-%endif
-BuildRequires: libcurl-devel
-BuildRequires: libdca-devel
-BuildRequires: libdvdread-devel
-%if 0%{?el6}
-BuildRequires: libjpeg-devel
-%else
-BuildRequires: libjpeg-turbo-devel
-%endif
-BuildRequires: libmad-devel
-BuildRequires: libmicrohttpd-devel
-BuildRequires: libmms-devel
-BuildRequires: libmodplug-devel
-BuildRequires: libmpcdec-devel
-BuildRequires: libmpeg2-devel
-BuildRequires: libogg-devel
-# for AirPlay support
-BuildRequires: libplist-devel
-BuildRequires: libpng-devel
-BuildRequires: librtmp-devel
-BuildRequires: libsamplerate-devel
-BuildRequires: libshairport-devel
-BuildRequires: libsmbclient-devel
-%if 0%{?_with_libssh}
-BuildRequires: libssh-devel
-%endif
-BuildRequires: libtiff-devel
-BuildRequires: libtool
-%ifnarch %{arm}
-BuildRequires: libva-devel
-BuildRequires: libvdpau-devel
-%endif
-BuildRequires: libvorbis-devel
-BuildRequires: libxml2-devel
-BuildRequires: libxslt-devel
-BuildRequires: lzo-devel
-BuildRequires: mariadb-devel
-# ARM uses GLES
-%ifarch %{arm}
-BuildRequires: mesa-libEGL-devel
-BuildRequires: mesa-libGLES-devel
-%endif
-BuildRequires: nasm
-BuildRequires: pcre-devel
-BuildRequires: pulseaudio-libs-devel
-BuildRequires: python-devel
-BuildRequires: python-pillow
-BuildRequires: sqlite-devel
-BuildRequires: swig
-BuildRequires: systemd-devel
-BuildRequires: taglib-devel >= 1.8
-BuildRequires: tinyxml-devel
-BuildRequires: tre-devel
-BuildRequires: trousers-devel
-BuildRequires: wavpack-devel
-BuildRequires: yajl-devel
-BuildRequires: zlib-devel
-
-# nfs-utils-lib-devel package currently broken
-#BuildRequires: nfs-utils-lib-devel
-
-Requires: google-roboto-fonts
-# need explicit requires for these packages
-# as they are dynamically loaded via XBMC's arcane
-# pseudo-DLL loading scheme (sigh)
-%if 0%{?_with_libbluray}
-Requires: libbluray
-%endif
-%if 0%{?_with_libcec}
-Requires: libcec
-%endif
-%if 0%{?_with_crystalhd}
-Requires: libcrystalhd
-%endif
-Requires: libmad
-Requires: librtmp
-Requires: libshairport
-
-# needed when doing a minimal install, see
-# https://bugzilla.rpmfusion.org/show_bug.cgi?id=1844
-Requires: glx-utils
-Requires: xorg-x11-utils
-
-# This is just symlinked to, but needed both at build-time
-# and for installation
-Requires: python-imaging
-
-
-%description
-XBMC media center is a free cross-platform media-player jukebox and
-entertainment hub. XBMC can play a spectrum of of multimedia formats,
-and featuring playlist, audio visualizations, slideshow, and weather
-forecast functions, together third-party plugins.
-
-
-%package devel
-Summary: Development files needed to compile C programs against xbmc
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-XBMC media center is a free cross-platform media-player jukebox and
-entertainment hub. If you want to develop programs which use xbmc's
-libraries, you need to install this package.
-
-
-%package eventclients
-Summary: Media center event client remotes
-
-%description eventclients
-This package contains support for using XBMC with the PS3 Remote, the Wii
-Remote, a J2ME based remote and the command line xbmc-send utility.
-
-%package eventclients-devel
-Summary: Media center event client remotes development files
-Requires: %{name}-eventclients = %{version}-%{release}
-Requires: %{name}-devel = %{version}-%{release}
-
-%description eventclients-devel
-This package contains the development header files for the eventclients
-library.
-
-
-%prep
-%setup -q -n %{name}-%{DIRVERSION}
-
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-
-%patch100 -p1
-%patch101 -p1
-%patch102 -p1
-
-%if 0%{?_with_hdhomerun}
-%else
- # Remove hdhomerun from the build.
- pushd xbmc/filesystem/
- rm HDHomeRunFile.cpp HDHomeRunFile.h
- rm HDHomeRunDirectory.cpp HDHomeRunDirectory.h
- sed -i Makefile.in -e '/HDHomeRunFile\.cpp/d'
- sed -i Makefile.in -e '/HDHomeRunDirectory\.cpp/d'
- sed -i DirectoryFactory.cpp -e '/HomeRun/d'
- sed -i FileFactory.cpp -e '/HomeRun/d'
- popd
-%endif
-
-
-%build
-chmod +x bootstrap
-./bootstrap
-# Can't use export nor %%configure (implies using export), because
-# the Makefile pile up *FLAGS in this case.
-
-./configure \
---prefix=%{_prefix} --bindir=%{_bindir} --includedir=%{_includedir} \
---libdir=%{_libdir} --datadir=%{_datadir} \
---with-lirc-device=/var/run/lirc/lircd \
---enable-external-libraries \
---enable-goom \
---enable-pulse \
-%if 0%{?_with_libcec}
---enable-libcec \
-%else
---disable-libcec \
-%endif
-%if 0%{?_with_libssh}
---enable-ssh \
-%else
---disable-ssh \
-%endif
---disable-dvdcss \
---disable-optimizations --disable-debug \
-%ifnarch %{arm}
---enable-gl \
---disable-gles \
---enable-vdpau \
-%else
---enable-gles \
---disable-vdpau \
---disable-vaapi \
-%ifarch armv7hl \
---enable-tegra \
---disable-neon \
-%endif
-%ifarch armv7hnl
---enable-neon \
-%endif
-%endif
-%if 0%{?_with_external_ffmpeg}
-CPPFLAGS="-I/usr/include/ffmpeg" \
-CFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/ffmpeg -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
-CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/ffmpeg -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
-%else
-CFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
-CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
-%endif
-LDFLAGS="-fPIC" \
-%if 0%{?_with_hdhomerun}
-LIBS=" -lhdhomerun $LIBS" \
-%endif
-ASFLAGS=-fPIC
-
-make %{?_smp_mflags} VERBOSE=1
-
-
-%install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-make -C tools/EventClients DESTDIR=$RPM_BUILD_ROOT install
-# remove the doc files from unversioned /usr/share/doc/xbmc, they should be in versioned docdir
-rm -r $RPM_BUILD_ROOT/%{_datadir}/doc/
-
-desktop-file-install \
- --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
- $RPM_BUILD_ROOT%{_datadir}/applications/xbmc.desktop
-
-# Normally we are expected to build these manually. But since we are using
-# the system Python interpreter, we also want to use the system libraries
-install -d $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pil/lib
-ln -s %{python_sitearch}/PIL $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pil/lib/PIL
-#install -d $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pysqlite/lib
-#ln -s %{python_sitearch}/pysqlite2 $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pysqlite/lib/pysqlite2
-
-# Use external Roboto font files instead of bundled ones
-ln -sf %{_fontbasedir}/google-roboto/Roboto-Regular.ttf ${RPM_BUILD_ROOT}%{_datadir}/xbmc/addons/skin.confluence/fonts/
-ln -sf %{_fontbasedir}/google-roboto/Roboto-Bold.ttf ${RPM_BUILD_ROOT}%{_datadir}/xbmc/addons/skin.confluence/fonts/
-
-
-%post
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%postun
-if [ $1 -eq 0 ] ; then
- /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%files
-%defattr(-,root,root)
-%doc copying.txt CONTRIBUTORS LICENSE.GPL README
-%doc docs
-%{_bindir}/xbmc
-%{_bindir}/xbmc-standalone
-%{_libdir}/xbmc
-%{_datadir}/xbmc
-%{_datadir}/xsessions/XBMC.desktop
-%{_datadir}/applications/xbmc.desktop
-%{_datadir}/icons/hicolor/*/*/*.png
-
-
-%files devel
-%{_includedir}/xbmc
-
-
-%files eventclients
-%python_sitelib/xbmc
-%dir %{_datadir}/pixmaps/xbmc
-%{_datadir}/pixmaps/xbmc/*.png
-%{_bindir}/xbmc-j2meremote
-%{_bindir}/xbmc-ps3d
-%{_bindir}/xbmc-ps3remote
-%{_bindir}/xbmc-send
-%{_bindir}/xbmc-wiiremote
-
-
-%files eventclients-devel
-%{_includedir}/xbmc/xbmcclient.h
-
-
-%changelog
-* Wed Aug 20 2014 Michael Cronenworth <mike@cchtml.com> - 13.2-1
-- Update to 13.2 final
-- Enable AirTunes support
-
-* Wed Aug 06 2014 Michael Cronenworth <mike@cchtml.com> - 13.2-0.3.beta3
-- Update external ffmpeg patch
-
-* Tue Aug 05 2014 Michael Cronenworth <mike@cchtml.com> - 13.2-0.2.beta3
-- Update to 13.2 beta 3
-- Drop upstream patches
-
-* Mon Jun 09 2014 Michael Cronenworth <mike@cchtml.com> - 13.1-1
-- Update to 13.1 final
-- Fix default cipher string for Fedora curl (RFBZ #3253)
-
-* Thu May 29 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 13.1-0.3.rc1
-- Unbundle Roboto fonts (RFBZ #3256). Thanks Mohamed El Morabity.
-
-* Mon May 26 2014 Michael Cronenworth <mike@cchtml.com> - 13.1-0.2.rc1
-- Update to 13.1 RC 1
-
-* Wed May 14 2014 Michael Cronenworth <mike@cchtml.com> - 13.1-0.1.beta1
-- Update to 13.1 beta 1
-
-* Sat May 10 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-2
-- Update to latest Gotham final branch (commit e988513)
-- Fixes for rtmp (RFBZ #3234)
-
-* Sun May 04 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-1
-- Update to Gotham final
-
-* Thu May 01 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.14.Gotham_rc1
-- Update to Gotham RC 1
-
-* Sun Apr 20 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.13.Gotham_beta4
-- Update to Gotham beta 4
-- Enable clientevents package
-
-* Tue Apr 15 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.12.Gotham_beta3
-- Update dvdread patch for new dvdread release
-
-* Tue Apr 15 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.11.Gotham_beta3
-- Enable GLES on ARM, disable VDPAU/VAAPI on ARM
-
-* Fri Apr 04 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.10.Gotham_beta3
-- Add ARM build switches
-
-* Wed Apr 02 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.9.Gotham_beta3
-- Update to Gotham beta 3
-
-* Tue Mar 25 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.8.Gotham_beta2
-- Rebuild for ffmpeg bump
-
-* Tue Mar 18 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.7.Gotham_beta2
-- Switch away from bcond conditionals
-
-* Sun Mar 16 2014 Michael Cronenworth <mike@cchtml.com> - 13.0-0.6.Gotham_beta2
-- Update to Gotham beta 2
-- use external ffmpeg
-
-* Fri Mar 14 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 13.0-0.5.Gotham_beta1
-- Update to Gotham beta 1
-- Update Goom/MySQL patch, per RHBZ #1069079
-
-* Fri Feb 21 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 13.0-0.4.Gotham_alpha11
-- use internal ffmpeg
-- switch to bcond conditionals
-- remove hardcoded mysql directory in LIBS, since mysql_config will insert this
- automatically.
-- rm BuildRoot
-
-* Mon Jan 27 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 13.0-0.3.Gotham_alpha11
-- Update to Gotham alpha 11
-
-* Mon Nov 25 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 13.0-0.3.Gotham_alpha9
-- Update to Gotham alpha 9
-
-* Wed Oct 16 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 13.0-0.1.Gotham_alpha8
-- Update to Gotham alpha 8
-- Add -devel subpackage
-- Drop bundled PVR addon (we'll package this separately)
-
-* Thu Jul 04 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.2-5
-- Explicitly Require libmad (necessary for the upcoming xbmc 13)
-
-* Wed Jun 05 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.2-4
-- Enable _hardened_build
-
-* Tue Jun 04 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.2-3
-- force building with libcec (#2798)
-- add $DVDREAD_CFLAGS in dvdread patch (#2820)
-
-* Sun May 26 2013 Nicolas Chauvet <kwizart@gmail.com> - 12.2-2
-- Rebuilt for x264/FFmpeg
-
-* Mon May 06 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.2-1
-- Update to Frodo 12.2
-- Rebase hdhomerun and dvdread patches onto 12.2
-- Drop upstreamed PA patches
-- Drop unused cximage zlib patch
-
-* Thu Apr 25 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.1-2
-- Add patches for PA (https://github.com/xbmc/xbmc/pull/2240). Fixes #2655
-
-* Wed Apr 24 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.1-1
-- Update to Frodo 12.1
-- Update PVR addons snapshot to match snapshot bundled in 12.1
-
-* Tue Feb 05 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-1
-- Update to Frodo final
-- Add libcec dependency
-
-* Fri Jan 04 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.6.Frodo_rc3
-- Update to Frodo RC 3
-- Update PVR addons snapshot to match snapshot bundled in rc3
-
-* Fri Dec 28 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 12.0-0.5.Frodo_rc2
-- Release number should be bumped on every change when doing
- pre-release updates
-- Remove obsolete MythTV PVR add-on patch from tsp branch
-
-* Wed Dec 26 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.4.Frodo_rc2
-- Update to Frodo RC 2
-- Update PVR addons snapshot to the latest Git version
-
-* Thu Dec 13 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.4.Frodo_rc1
-- Disable crystalhd on non-x86 (by kwizart)
-- Enable VAAPI: add BR: libva-devel (#2613)
-- Add libcap BR (allows binding on privileged ports)
-- Add patch to build pvraddons-with-dependencies
-
-* Wed Dec 12 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.3.Frodo_rc1
-- Update to Frodo RC 1
-
-* Wed Dec 05 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.3.Frodo_beta2
-- Update to Frodo beta 2
-- Drop patch for linking against pulse-simple
-- libjpeg is gone in Fedora. Conditionally build against libjpeg-turbo
-
-* Mon Nov 19 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.3.Frodo_alpha7
-- Rebase HDHomeRun removal to match upstream's file names
-- Conditionally disable libssh BR (unavailable in EL6)
-
-* Mon Nov 19 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.2.Frodo_alpha7
-- Add pvr addons
-
-* Tue Nov 13 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 12.0-0.1.Frodo_alpha7
-- Update to Frodo alpha 7
-- Drop bootstrap patch (system libdvdread works properly now)
-- Add upstream patch for linking against pulse-simple
-- Add BR for libssh
-- Rebase external hdhomerun patch onto alpha7
-
-* Thu Oct 4 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 12.0-0.1.Frodo_alpha6
-- Update to Frodo alpha 6
-- Use "12.0" as version, rather than "12.8"
-- Drop desktop patch (now in Frodo alpha6)
-- Add BR for taglib-devel >= 1.8 (libid3tag is being phased out)
-- BR for swig and java-devel
-- Add CFLAGS option to recognize Samba 4.0 (in f18+)
-- Rebase patches to 12.0/Frodo where necessary
-
-* Sun Aug 26 2012 Ken Dreyer <ktdreyer@ktdreyer..com> - 12.8-0.1.Frodo_alpha4
-- Upgrade to Frodo alpha 4
-
-* Wed Jul 11 2012 Nicolas Chauvet <kwizart@gmail.com> - 11.0-8
-- Switch to pkgconfig(libudev)
-
-* Sun Jul 01 2012 Ken Dreyer <ktdreyer@ktdreyer..com> - 11.0-7
-- Set up with_* conditionals for optional dependencies
-- Disable hdhomerun and crystalhd for EPEL (#2339)
-
-* Tue Jun 26 2012 Nicolas Chauvet <kwizart@gmail.com> - 11.0-6
-- Rebuilt for FFmpeg
-
-* Wed Jun 6 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-5
-- Add missing BRs for libudev-devel and libplist-devel (needed for AirPlay)
-
-* Tue Jun 5 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-4
-- Drop separate dteirney-myth-0.25.patch and ktdryer's boost patch,
- both are merged into tsp's Eden-pvr branch
-- Cleanup spec, fix position of scriplets (#2334)
-
-* Sat May 19 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 11.0-3.1
-- Changes for EL-6: (#2339)
-- Conditionally use gettext-devel instead of gettext-autopoint
-- Conditionally disable libbluray and cwiid BRs (unavailable in EL6)
-- Patch to build pvr with EL6's boost 1.41
-
-* Thu May 17 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-3
-- Remove the old MythTV add-on (no longer works
- and can be confused with the new cmyth-based version)
-
-* Wed May 16 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-2
-- Add support for PVR add-ons (backported from tsp's PVR branch to
- Eden), including MythTV
-- Workaround bug in compiling against afpfs-ng-devel, will hopefully
- get AirPlay support working (needs testing)
-- Drop references to obsolete patches now in Eden
-- Add patch from dteirney's branch for MythTV 0.25 support
-
-* Sun Mar 25 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-1
-- Update to Eden final 11.0
-- Drop libpng 1.5 patches, applied upstream
-
-* Fri Mar 9 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-0.10.Eden_rc2
-- Update to Eden release candidate 2 (rc2)
-
-* Fri Mar 9 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-0.9.Eden_beta2
-- Temporarily drop clientevents package (currently fails to build) to
- fix overall FTBFS.
-
-* Fri Mar 9 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-0.8.Eden_beta2
-- Drop python-sqlite2 BR (obsoleted package), should use internal sqlite3 (#2217)
-
-* Fri Mar 09 2012 Nicolas Chauvet <kwizart@gmail.com> - 11.0-0.7.Eden_beta2
-- Rebuilt for FFmpeg/x264
-
-* Sun Jan 29 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-0.6.Eden_beta2
-- Update to Eden beta2
-
-* Fri Dec 30 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-0.5.Eden_beta1
-- Add additional patch from http://trac.xbmc.org/ticket/12001 to
- fix uninitialised pointer with libpng 1.5
-- Remove upstreamed, or otherwise obsoleted patches
-
-* Thu Dec 29 2011 Alex Lancaster <alexlan[AT] fedoraproject org> - 11.0-0.4.Eden_beta1
-- Enable libpng 1.5 patch, still needed, upstream bug is at:
- http://trac.xbmc.org/ticket/12001
-
-* Wed Dec 28 2011 Alex Lancaster <alexlan[AT] fedoraproject org> - 11.0-0.3.Eden_beta1
-- Added glx-utils and xorg-x11-utils as Requires, so selecting
- minimal install works out of the box (#1844)
-
-* Wed Dec 28 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-0.2.Eden_beta1
-- Re-enable external ffmpeg
-- Add EventClients sub-package (patch thanks to Ben Konrath <ben@bagu.org>)
-- More spec cleaning
-
-* Wed Dec 28 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-0.1.Eden_beta1
-- Update to 11.0 beta1
-- Disable patches that are obsolete (keep around while testing)
-- Update icon cache (#2097)
-
-* Tue Dec 20 2011 Alex Lancaster <alexlan[AT] fedoraproject org> - 10.1-9
-- Add patch from OpenElec distribution to fix broken YouTube plugin
- (should fix #1905)
-
-* Wed Dec 14 2011 Xavier Bachelot <xavier@bachelot.org> - 10.1-8
-- Add patch for newer libbluray support.
-- Add patch for libpng 1.5 support.
-
-* Wed Nov 23 2011 Nicolas Chauvet <kwizart@gmail.com> - 10.1-7
-- Rebuilt for libcdio
-
-* Sat Nov 5 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.1-6
-- Disable using external ffmpeg for the moment, until such time as
- either we backport a fix for 0.8 ffmpeg or we build XBMC Eden (11.x)
- (see #1962)
-
-* Mon Sep 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 10.1-5
-- Rebuilt for FFmpeg-0.8
-
-* Fri Sep 2 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.1-4
-- Remove hal-devel as BuildRequires, dropped in f16 and later:
- http://fedoraproject.org/wiki/Features/HalRemoval
- replaced by udisks, upower, libudev, but not clear if xbmc
- can use those packages yet (fixes #1915).
-- Add dbus-devel, since hal-devel no longer automatically pulls
- package in.
-
-* Tue Apr 05 2011 Nicolas Chauvet <kwizart@gmail.com> - 10.1-3
-- Rebuilt for libmysqlclient bump (was built with previous version).
-
-* Wed Mar 30 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.1-2
-- Patch from upstream to fix builds for GCC 4.6.x, slightly modified
- to handle previous patches for Makefile.in
- http://trac.xbmc.org/ticket/11383
-
-* Tue Mar 29 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.1-1
-- Update to 10.1
-- Add support for using system python-imaging and pysqlite modules, thanks to Pierre
- Ossman for patch (#1575)
-- Drop most references to SVNVERSION, upstream now uses git
-
-* Sun Mar 27 2011 Nicolas Chauvet <kwizart@gmail.com> - 10.0-2
-- Rebuild for libmysqlclient
-
-* Thu Dec 23 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-1
-- Update to 10.0 (Dharma final)
-
-* Sun Dec 12 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.23.Dharma_rc2
-- Rebase to Dharma rc2 (SVN r35567)
-- Update Python 2.7 patch, to fix DLL search patch problems (#1532). Thanks to
- Richard Guest for patch.
-
-* Sun Nov 21 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.22.Dharma_rc1
-- Need explicit requires for librtmp and libbluray: loaded dynamically
- via XBMC's DLL mechanism which is missed by autodeps
-
-* Fri Nov 19 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.21.Dharma_rc1
-- Rebase to Dharma rc1 (SVN r35326)
-- Remove conditionals on {librtmp,libbluray}-devel: now present in all
- currently supported releases (f13+)
-
-* Thu Nov 18 2010 Nicolas Chauvet <kwizart@gmail.com> - 10.0-0.20.Dharma_beta4.1
-- Rebuilt for libmicrohttpd - ABI bump
- https://admin.fedoraproject.org/updates/libmicrohttpd-0.9.2-3.fc14
-
-* Sun Nov 7 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.20.Dharma_beta4
-- Rebase to Dharma beta 4 (SVN r35068)
-- Enable libbluray (currently only available for f15+)
-- Drop patch disabling SNES (fixed in nasm)
-
-* Thu Oct 14 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.19.Dharma_beta3
-- Rebase to Dharma beta3 (SVN r34731)
-- Disable VAAPI: crashes XBMC when playing back rtmp streams
-
-* Thu Oct 14 2010 Nicolas Chauvet <kwizart@gmail.com> - 10.0-0.18.Dharma_beta2
-- Rebuilt for gcc bug
-
-* Sat Sep 18 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.17.Dharma_beta2
-- Enable librtmp support on in F-14 and later (until librtmp is build on F-13)
-
-* Thu Sep 16 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.16.Dharma_beta2
-- Enable VAAPI: add BR: libva-freeworld-devel
-
-* Thu Sep 16 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.15.Dharma_beta2
-- Add BuildRequires for librtmp-devel, used for various plugins
-
-* Tue Sep 14 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.14.Dharma_beta2
-- Rebase to Dharma beta 2 (SVN r33778)
-
-* Tue Sep 14 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.13.Dharma_beta1
-- Disable SNES codec (Nintendo sound files) on f14 as nasm >=2.09 has
- trouble compiling with that version on f14 (rhbz#633646)
-
-* Mon Sep 13 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.0-0.12.Dharma_beta1
-- Upstream is dropping month from version, using 10.0 as Dharma release version.
-- Add explicit Requires for libcrystalhd
-
-* Wed Sep 1 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.9-0.11.Dharma_beta1
-- Drop libmodplug/microhttpd patch, no longer needed
-
-* Wed Sep 1 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.9-0.10.Dharma_beta1
-- Rebase to Dharma beta1 release
-
-* Sun Aug 29 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.9.20100820svn32970
-- Add -D__STDC_CONSTANT_MACROS for building with ffmpeg > 0.6
-
-* Wed Aug 25 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.8.20100820svn32970
-- Default to using /var/run/lirc/lircd (#1325)
-
-* Fri Aug 20 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.7.20100820svn32970
-- Rebase patches to r32970 on Dharma branch
-
-* Thu Jul 29 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.7.20100728svn32266
-- Add patch from upstream trac ticket 9584 to find Python 2.7
- (needed for F-14+)
-- Add BuildRequires: zip
-
-* Thu Jul 29 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.6.20100728svn32266
-- Need to conditionally enable gettext-autopoint in BuildRequires
- for F-14+ and gettext otherwise
-
-* Thu Jul 29 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.5.20100728svn32266
-- Add gettext-devel to BuildRequires for autopoint
-
-* Wed Jul 28 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.4.20100728svn32266
-- Sync with latest Dharma branch (r32266)
-
-* Mon Jul 19 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.3.20100719svn31991
-- Remove 24 patches which have been applied upstream, yay!
-- Rebased 2 patches: libdvd patch and hdhomerun patch for Dharma
-- Add some new patches, some of which have upstream trac tickets,
- others need to
-- Renumber patches
-
-* Mon Jul 19 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.2.20100719svn31991
-- Sync with Dharma branch
-
-* Mon Jul 19 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 10.5-0.1.20100719svn31977
-- Major overhaul for 10.x version of XBMC
-- Fix file section for better FHS-compliance
-- Drop a lot of patches that have been upstreamed, and rebase others
-
-* Fri May 21 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-19
-- Add new BR for libmodplug-devel, expat-devel, libmicrohttpd-devel
- in preparation for 10.x
-
-* Fri Mar 26 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-18
-- Exclude ppc64 (not available for F-13+ in any case)
-
-* Fri Mar 26 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-17
-- Fixed license tag to include GPLv3+
-
-* Wed Mar 24 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-16
-- Add BuildRequires: hdhomerun-devel
-
-* Sun Mar 7 2010 Rolf Fokkens <rolf fokkens[AT]wanadoo nl> - 9.11-15
-- Add patch for force using hdhomerun external, had to create a
- hdhomerun-devel package first
-
-* Sat Mar 6 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-14
-- Add patch that removes all webserver GoAhead functionality due to
- problematic license
-- Drop BR: faac-devel since it was moved to nonfree
-
-* Fri Mar 5 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-13
-- Patches to add -lXext to LIBS (thanks Ralf Corsepius)
-- Hack to work around ffmpeg sws_scale() incompatibility (thanks Ralf)
-- Remove bundled boost, libportaudio, libglew and extra unused zlib
- header from tarball
-- Call desktop-file-install as per review guidelines
-- Make spyce files executable, quiets rpmlint
-
-* Mon Feb 8 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-12
-- More patches from Ralf Corsepius
-- Update configure line, specify *FLAGS directly in configure line
- (thanks Ralf)
-- Touch rsxs Makefiles to prevent rerunning the autotools (thanks Ralf)
-- Add missing %%clean (thanks Ralf)
-- Remove even more unused library copies in generate tarball script
-
-* Tue Jan 26 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-11
-- Add another patch to ensure Makefile's pass compiler flags properly
- (thanks Ralf C)
-- Remove commands no longer needed in install
-
-* Mon Jan 25 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-10
-- Patches for RPM_OPT_FLAGS being recognised throughout (thanks
- Ralf C)
-- Patch for goom (Ralf C)
-- Patch for using external zlib (Ralf C)
-- Pass CPPFLAGS to configure (Ralf C)
-
-* Thu Jan 21 2010 Rolf Fokkens <rolf fokkens[AT]wanadoo nl> - 9.11-9
-- increase compression ratio of tarball by compressing with cx
- the src.rpm is now about 20% smaller
-- remove patch0 and patch1, they are obsolete now
-- rename patch2 and patch10 to more meaningful name
-
-* Thu Jan 21 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-8
-- Update xbmc script patch (thanks Ralf C)
-- Reorder patches, add upstream tickets where possible
-- Drop SVN_REV from line until exact version clarified
-
-* Mon Jan 18 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-7
-- Remove bundled copies of libraries, and code that we can't
- distribute from upstream tarball with script
-- Drop patch against ffmpeg which we removed from tarball
-- Trim description
-
-* Sun Jan 17 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-6
-- Add patch for web server segfaults on 64-bit (thanks Ralf Corsepius)
-- Drop patch backup for .spyce, causes packaging problems (thanks Ralf
- Corsepius)
-- Remove bogus header from install (thanks Ralf Corsepius)
-- More comprehensive pre-built Win32 binary removal (thanks Ralf
- Corsepius)
-- Add SVN_REV to configure line for plugins (thanks Graeme Gillies)
-
-* Tue Jan 5 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-5
-- Remove unnecessary BR: mysql-libs
-- Prune out unneeded stuff from build (thanks Rolf Fokkens)
-- Remove libraries not compiled (thanks Rolf Fokkens)
-- Patch to some nasty GCC warnings (thanks Ralf Corsepius)
-
-* Thu Dec 31 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-4
-- Patches to fix installation paths to /usr/lib/ (thanks Ralf Corsepius)
-- Patch to fix other issues: random number library (thanks Ralf Corsepius)
-
-* Wed Dec 30 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 9.11-3
-- Cleanup spec for submission to RPM Fusion
-- Fix changelog entries to use standard numbering to quiet rpmlint
-- Use standard URL for sourceforge tarballs
-- Add BR: pulseaudio-libs-devel and others
-- Add patch that removes comments in rules in Makefile.in that
- prevented install target working
-
-* Tue Dec 29 2009 Rolf Fokkens <rolf fokkens wanadoo nl> - 9.11-2
-- use external libcdio again, patch by MaestroDD
-
-* Fri Dec 25 2009 Rolf Fokkens <rolf fokkens wanadoo nl> - 9.11-1
-- Update to 9.11
-
-* Fri Dec 18 2009 Rolf Fokkens <rolf fokkens wanadoo nl> - 9.11-0.5.rc1
-- Update to 9.11 rc1
-
-* Fri Dec 11 2009 Rolf Fokkens <rolf fokkens wanadoo nl> - 9.11-0.4.beta2
-- Update to 9.11 beta2
-
-* Tue Dec 1 2009 Rolf Fokkens <rolf fokkens wanadoo nl> - 9.11-0.3.beta1
-- Force using external libdvdread and libdvdcss. libdvdnav is stil internal
- as xbmc needs its internals.
-
-* Sat Nov 28 2009 Rolf Fokkens <rolf fokkens wanadoo nl> - 9.11-0.2.beta1
-- replaced dependency on libdts by libdca
-- removed dependency on external libcdio, use included one instead
- now detection of CD's and DVD's works again
-- Compiles and runs on Fedora 11
-- Update to 9.11 beta1
-
-* Sun Nov 15 2009 Rolf Fokkens <rolf fokkens wanadoo nl> - 9.11-0.1.alpha2
-- Compiles and runs on Fedora 11
-- Update to 9.11 alpha2
-
-* Fri May 15 2009 Scott Harvanek <scotth@login.com> - 9.04-1
-- Update to 9.04
-
-* Wed Jan 28 2009 Scott Harvanek <scotth@login.com> - 8.10-3
-- Added requires for
-- alsa-plugins-pulseaudio, libogg, libmad, libvorbis
-
-* Fri Jan 2 2009 Scott Harvanek <scotth@login.com> - 8.10-2
-- Patch for English language strings.xml
-
-* Thu Nov 27 2008 Scott Harvanek <scotth@login.com> - 8.10-1
-- v8.10
-- Fedora 10 RPM