aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plexhometheater
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-21 16:55:55 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-21 16:55:55 +0000
commitebbe9bf3b2c97c3f071cfc777d058ed2967e2715 (patch)
treea61ddac7b233e997377e7c91c1c914f451f180aa /multimedia/plexhometheater
parent8f044ce93938fbe3aac7a676621347054a5631c2 (diff)
downloadports-ebbe9bf3b2c97c3f071cfc777d058ed2967e2715.tar.gz
ports-ebbe9bf3b2c97c3f071cfc777d058ed2967e2715.zip
Notes
Diffstat (limited to 'multimedia/plexhometheater')
-rw-r--r--multimedia/plexhometheater/Makefile122
-rw-r--r--multimedia/plexhometheater/distinfo2
-rw-r--r--multimedia/plexhometheater/files/patch-CMakeLists.txt20
-rw-r--r--multimedia/plexhometheater/files/patch-clang131
-rw-r--r--multimedia/plexhometheater/files/patch-lib__CMakeLists.txt11
-rw-r--r--multimedia/plexhometheater/files/patch-lib__cpluff__CMakeLists.txt12
-rw-r--r--multimedia/plexhometheater/files/patch-lib__cximage-6.0__CMakeLists.txt11
-rw-r--r--multimedia/plexhometheater/files/patch-lib__ffmpeg__CMakeLists.txt61
-rw-r--r--multimedia/plexhometheater/files/patch-lib__libdvd__libdvdcss__CMakeLists.txt11
-rw-r--r--multimedia/plexhometheater/files/patch-lib__libdvd__libdvdnav__CMakeLists.txt11
-rw-r--r--multimedia/plexhometheater/files/patch-plex__CMakeModules__CMakeConfig.cmake30
-rw-r--r--multimedia/plexhometheater/files/patch-plex__CMakeModules__CPackConfig.cmake11
-rw-r--r--multimedia/plexhometheater/files/patch-plex__CMakeModules__FindExecinfo.cmake40
-rw-r--r--multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake147
-rw-r--r--multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigPOSIX.cmake16
-rw-r--r--multimedia/plexhometheater/files/patch-plex__Network__CMakeLists.txt11
-rw-r--r--multimedia/plexhometheater/files/patch-plex__Network__NetworkInterfaceBSD.cpp174
-rw-r--r--multimedia/plexhometheater/files/patch-plex__config.h.in10
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__CMakeLists.txt13
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp16
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp13
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Sinks__CMakeLists.txt13
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__cores__DllLoader__CMakeLists.txt18
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__CMakeLists.txt15
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp11
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt6
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__input__CMakeLists.txt14
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__linux__CMakeLists.txt15
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__storage__CMakeLists.txt11
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp28
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__CMakeLists.txt19
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp11
-rw-r--r--multimedia/plexhometheater/files/patch-xbmc__windowing__CMakeLists.txt11
-rw-r--r--multimedia/plexhometheater/files/plexhometheater.sh.in4
-rw-r--r--multimedia/plexhometheater/pkg-descr8
-rw-r--r--multimedia/plexhometheater/pkg-plist1280
36 files changed, 2337 insertions, 0 deletions
diff --git a/multimedia/plexhometheater/Makefile b/multimedia/plexhometheater/Makefile
new file mode 100644
index 000000000000..03c09f98064d
--- /dev/null
+++ b/multimedia/plexhometheater/Makefile
@@ -0,0 +1,122 @@
+# $FreeBSD$
+
+PORTNAME= plexhometheater
+PORTVERSION= 1.2.1
+CATEGORIES= multimedia
+
+MAINTAINER= woodsb02@gmail.com
+COMMENT= Media center frontend to multimedia/plexmediaserver
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= enca:${PORTSDIR}/converters/enca \
+ gawk:${PORTSDIR}/lang/gawk \
+ gperf:${PORTSDIR}/devel/gperf \
+ cmake:${PORTSDIR}/devel/cmake \
+ gmake:${PORTSDIR}/devel/gmake \
+ zip:${PORTSDIR}/archivers/zip \
+ unzip:${PORTSDIR}/archivers/unzip \
+ nasm:${PORTSDIR}/devel/nasm \
+ gtk-update-icon-cache:${PORTSDIR}/x11-toolkits/gtk20 \
+ swig2.0:${PORTSDIR}/devel/swig20
+
+LIB_DEPENDS= libass.so:${PORTSDIR}/multimedia/libass \
+ libavahi-client.so:${PORTSDIR}/net/avahi-app \
+ libboost_thread.so:${PORTSDIR}/devel/boost-libs \
+ libcdio.so:${PORTSDIR}/sysutils/libcdio \
+ libcurl.so:${PORTSDIR}/ftp/curl \
+ libdbus-1.so:${PORTSDIR}/devel/dbus \
+ libenca.so:${PORTSDIR}/converters/enca \
+ libFLAC.so:${PORTSDIR}/audio/flac \
+ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+ libfreetype.so:${PORTSDIR}/print/freetype2 \
+ libfribidi.so:${PORTSDIR}/converters/fribidi \
+ libGLEW.so:${PORTSDIR}/graphics/glew \
+ libhal.so:${PORTSDIR}/sysutils/hal \
+ libjasper.so:${PORTSDIR}/graphics/jasper \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ liblzo2.so:${PORTSDIR}/archivers/lzo2 \
+ libmad.so:${PORTSDIR}/audio/libmad \
+ libmicrohttpd.so:${PORTSDIR}/www/libmicrohttpd \
+ libmodplug.so:${PORTSDIR}/audio/libmodplug \
+ libmp3lame.so:${PORTSDIR}/audio/lame \
+ libmpeg2.so:${PORTSDIR}/multimedia/libmpeg2 \
+ libpcre.so:${PORTSDIR}/devel/pcre \
+ libplist.so:${PORTSDIR}/devel/libplist \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ librtmp.so:${PORTSDIR}/multimedia/librtmp \
+ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
+ libshairport.so:${PORTSDIR}/audio/libshairport \
+ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
+ libtag.so:${PORTSDIR}/audio/taglib \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+ libtinyxml.so:${PORTSDIR}/textproc/tinyxml \
+ libva.so:${PORTSDIR}/multimedia/libva \
+ libvdpau.so:${PORTSDIR}/multimedia/libvdpau \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis \
+ libxslt.so:${PORTSDIR}/textproc/libxslt \
+ libyajl.so:${PORTSDIR}/devel/yajl \
+ libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
+ glxinfo:${PORTSDIR}/graphics/mesa-demos \
+ ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
+ xdpyinfo:${PORTSDIR}/x11/xdpyinfo
+
+USE_GITHUB= yes
+GH_ACCOUNT= plexinc
+GH_PROJECT= plex-home-theater-public
+GH_COMMIT= bdd03dd
+GH_TAGNAME= pht-v1.2.1
+
+USES= cmake:outsource iconv pkgconfig python:2
+CMAKE_ARGS+= -DENABLE_AUTOUPDATE:BOOL=false
+CMAKE_ARGS+= -DENABLE_DUMP_SYMBOLS:BOOL=false
+CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=false
+CMAKE_ARGS+= -DUSE_INTERNAL_FFMPEG:BOOL=true
+CMAKE_ARGS+= -DCREATE_BUNDLE:BOOL=false
+CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCALBASE}
+LDFLAGS+= -L${LOCALBASE}/lib
+USE_XORG= xt xmu xtst xrandr
+USE_GL= glu
+USE_SDL= image sdl mixer
+USE_JAVA= yes
+JAVA_BUILD= jre
+INSTALLS_ICONS= yes
+ONLY_FOR_ARCHS= i386 amd64
+
+SUB_FILES= ${PORTNAME}.sh
+
+DESKTOP_ENTRIES="Plex Home Theater" \
+ "${COMMENT}" \
+ "${DATADIR}/media/plex-icon-120.png" \
+ "plexhometheater.sh" \
+ "AudioVideo;Video;" \
+ true
+
+OPTIONS_SUB= yes
+OPTIONS_DEFINE= CEC LIRC PULSEAUDIO
+CEC_DESC= Control plexhometheater over HDMI with TV remote
+
+OPTIONS_DEFAULT= CEC LIRC
+
+CEC_LIB_DEPENDS= libcec.so:${PORTSDIR}/multimedia/libcec
+CEC_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CEC:BOOL=true
+
+LIRC_RUN_DEPENDS= lircd:${PORTSDIR}/comms/lirc
+
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=true
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == i386
+PLIST_SUB+= ARCH="x86"
+.else
+PLIST_SUB+= ARCH="x86_64"
+.endif
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/plexhometheater/distinfo b/multimedia/plexhometheater/distinfo
new file mode 100644
index 000000000000..1f9b7b2e735c
--- /dev/null
+++ b/multimedia/plexhometheater/distinfo
@@ -0,0 +1,2 @@
+SHA256 (plexhometheater-1.2.1.tar.gz) = d880f9dc2c893036cab0c21dfbd855c91751f97b06437c7d6e23726b089715d0
+SIZE (plexhometheater-1.2.1.tar.gz) = 91374075
diff --git a/multimedia/plexhometheater/files/patch-CMakeLists.txt b/multimedia/plexhometheater/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..fe45f079f77f
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
+--- ./CMakeLists.txt.orig 2014-06-02 09:52:10.024707343 +0800
++++ ./CMakeLists.txt 2014-06-02 09:54:01.569705023 +0800
+@@ -120,7 +120,7 @@
+
+ if(ENABLE_PYTHON)
+ if(EXTERNAL_PYTHON_HOME)
+- if(TARGET_LINUX OR TARGET_OSX OR TARGET_RPI)
++ if(TARGET_LINUX OR TARGET_OSX OR TARGET_RPI OR TARGET_FREEBSD)
+ install(DIRECTORY ${EXTERNAL_PYTHON_HOME}/lib/python${PYTHON_VERSION} DESTINATION ${LIBPATH}/lib/ COMPONENT RUNTIME
+ PATTERN python${PYTHON_VERSION}/test EXCLUDE
+ REGEX .*\\.pyc$ EXCLUDE
+@@ -129,7 +129,7 @@
+ install(FILES ${PYTHON_INCLUDE_DIRS}/pyconfig.h DESTINATION "${LIBPATH}/include/python${PYTHON_VERSION}" COMPONENT RUNTIME)
+ endif()
+ elseif()
+- if(TARGET_LINUX OR TARGET_OSX)
++ if(TARGET_LINUX OR TARGET_OSX OR TARGET_FREEBSD)
+ install(DIRECTORY /usr/lib/python${PYTHON_VERSION} DESTINATION ${LIBPATH}/lib/ COMPONENT RUNTIME
+ PATTERN python${PYTHON_VERSION}/test EXCLUDE
+ REGEX .*\\.pyc$ EXCLUDE
diff --git a/multimedia/plexhometheater/files/patch-clang b/multimedia/plexhometheater/files/patch-clang
new file mode 100644
index 000000000000..88eda0557eb1
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-clang
@@ -0,0 +1,131 @@
+diff --git xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h
+index e045a72..ff4f575 100644
+--- xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h
++++ xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h
+@@ -198,8 +198,12 @@ extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
+ #endif
+
+ #ifndef ARGP_FS_EI
++#ifdef __clang__
++#define ARGP_FS_EI extern inline __attribute__ ((__gnu_inline__))
++#else
+ #define ARGP_FS_EI extern inline
+ #endif
++#endif
+
+ ARGP_FS_EI size_t
+ __argp_fmtstream_write (argp_fmtstream_t __fs,
+
+diff --git lib/cpluff/libcpluff/cpluff.c lib/cpluff/libcpluff/cpluff.c
+index a7e8725..0f5bb90 100644
+--- lib/cpluff/libcpluff/cpluff.c
++++ lib/cpluff/libcpluff/cpluff.c
+@@ -77,6 +77,7 @@ CP_C_API const char *cp_get_host_type(void) {
+ return CP_HOST;
+ }
+
++#if defined(CP_THREADS) || !defined(NDEBUG)
+ CP_HIDDEN void cpi_lock_framework(void) {
+ #if defined(CP_THREADS)
+ cpi_lock_mutex(framework_mutex);
+@@ -93,6 +94,7 @@ CP_HIDDEN void cpi_unlock_framework(void) {
+ framework_locked--;
+ #endif
+ }
++#endif
+
+ static void reset(void) {
+ #ifdef CP_THREADS
+diff --git lib/cpluff/libcpluff/logging.c lib/cpluff/libcpluff/logging.c
+index 928f0b4..f0f873d 100644
+--- lib/cpluff/libcpluff/logging.c
++++ lib/cpluff/libcpluff/logging.c
+@@ -129,10 +129,12 @@ CP_C_API cp_status_t cp_register_logger(cp_context_t *context, cp_logger_func_t
+ // Report error
+ if (status == CP_ERR_RESOURCE) {
+ cpi_error(context, N_("Logger could not be registered due to insufficient memory."));
++#if defined(CP_THREADS) || !defined(NDEBUG)
+ } else if (cpi_is_logged(context, CP_LOG_DEBUG)) {
+ char owner[64];
+ /* TRANSLATORS: %s is the context owner */
+ cpi_debugf(context, N_("%s registered a logger."), cpi_context_owner(context, owner, sizeof(owner)));
++#endif
+ }
+ cpi_unlock_context(context);
+
+@@ -166,11 +168,13 @@ CP_C_API void cp_unregister_logger(cp_context_t *context, cp_logger_func_t logge
+ free(lh);
+ update_logging_limits(context);
+ }
++#if defined(CP_THREADS) || !defined(NDEBUG)
+ if (cpi_is_logged(context, CP_LOG_DEBUG)) {
+ char owner[64];
+ /* TRANSLATORS: %s is the context owner */
+ cpi_debugf(context, N_("%s unregistered a logger."), cpi_context_owner(context, owner, sizeof(owner)));
+ }
++#endif
+ cpi_unlock_context(context);
+ }
+
+diff --git lib/cpluff/libcpluff/pinfo.c lib/cpluff/libcpluff/pinfo.c
+index cfbf049..f7b4a4b 100644
+--- lib/cpluff/libcpluff/pinfo.c
++++ lib/cpluff/libcpluff/pinfo.c
+@@ -569,10 +569,12 @@ CP_C_API cp_status_t cp_register_plistener(cp_context_t *context, cp_plugin_list
+ // Report error or success
+ if (status != CP_OK) {
+ cpi_error(context, _("A plug-in listener could not be registered due to insufficient memory."));
++#if defined(CP_THREADS) || !defined(NDEBUG)
+ } else if (cpi_is_logged(context, CP_LOG_DEBUG)) {
+ char owner[64];
+ /* TRANSLATORS: %s is the context owner */
+ cpi_debugf(context, N_("%s registered a plug-in listener."), cpi_context_owner(context, owner, sizeof(owner)));
++#endif
+ }
+ cpi_unlock_context(context);
+
+@@ -591,10 +593,12 @@ CP_C_API void cp_unregister_plistener(cp_context_t *context, cp_plugin_listener_
+ if (node != NULL) {
+ process_unregister_plistener(context->env->plugin_listeners, node, NULL);
+ }
++#if defined(CP_THREADS) || !defined(NDEBUG)
+ if (cpi_is_logged(context, CP_LOG_DEBUG)) {
+ char owner[64];
+ /* TRANSLATORS: %s is the context owner */
+ cpi_debugf(context, N_("%s unregistered a plug-in listener."), cpi_context_owner(context, owner, sizeof(owner)));
+ }
++#endif
+ cpi_unlock_context(context);
+ }
+diff --git lib/cpluff/libcpluff/psymbol.c lib/cpluff/libcpluff/psymbol.c
+index 632b087..fdc15af 100644
+--- lib/cpluff/libcpluff/psymbol.c
++++ lib/cpluff/libcpluff/psymbol.c
+@@ -248,11 +248,13 @@ CP_C_API void * cp_resolve_symbol(cp_context_t *context, const char *id, const c
+ symbol_info->usage_count++;
+ provider_info->usage_count++;
+
++#if defined(CP_THREADS) || !defined(NDEBUG)
+ if (cpi_is_logged(context, CP_LOG_DEBUG)) {
+ char owner[64];
+ /* TRANSLATORS: First %s is the context owner */
+ cpi_debugf(context, "%s resolved symbol %s defined by plug-in %s.", cpi_context_owner(context, owner, sizeof(owner)), name, id);
+ }
++#endif
+ } while (0);
+
+ // Clean up
+@@ -314,11 +316,13 @@ CP_C_API void cp_release_symbol(cp_context_t *context, const void *ptr) {
+ if (symbol_info->usage_count == 0) {
+ hash_delete_free(context->resolved_symbols, node);
+ free(symbol_info);
++#if defined(CP_THREADS) || !defined(NDEBUG)
+ if (cpi_is_logged(context, CP_LOG_DEBUG)) {
+ char owner[64];
+ /* TRANSLATORS: First %s is the context owner */
+ cpi_debugf(context, _("%s released the symbol at address %p defined by plug-in %s."), cpi_context_owner(context, owner, sizeof(owner)), ptr, provider_info->plugin->plugin->identifier);
+ }
++#endif
+ }
+
+ // Check if the symbol providing plug-in is not being used anymore
diff --git a/multimedia/plexhometheater/files/patch-lib__CMakeLists.txt b/multimedia/plexhometheater/files/patch-lib__CMakeLists.txt
new file mode 100644
index 000000000000..a8056708abef
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-lib__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- lib/CMakeLists.txt.orig 2014-08-03 10:18:46.000000000 +0800
++++ lib/CMakeLists.txt 2014-08-03 10:19:05.000000000 +0800
+@@ -6,7 +6,7 @@
+ add_subdirectory(libdvd)
+ endif()
+
+-if(TARGET_COMMON_LINUX)
++if(TARGET_COMMON_LINUX OR TARGET_FREEBSD)
+ add_subdirectory(xbmc-dll-symbols)
+ endif()
+
diff --git a/multimedia/plexhometheater/files/patch-lib__cpluff__CMakeLists.txt b/multimedia/plexhometheater/files/patch-lib__cpluff__CMakeLists.txt
new file mode 100644
index 000000000000..d4560276b7e6
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-lib__cpluff__CMakeLists.txt
@@ -0,0 +1,12 @@
+--- lib/cpluff/CMakeLists.txt.orig 2014-08-09 08:23:29.709738677 +0800
++++ lib/cpluff/CMakeLists.txt 2014-08-09 08:24:08.439733715 +0800
+@@ -92,6 +92,9 @@
+ if(TARGET_COMMON_DARWIN)
+ add_library(cpluff-${ARCH} MODULE ${libcpluff_srcs})
+ install(TARGETS cpluff-${ARCH} DESTINATION ${RESOURCEPATH}/system COMPONENT RUNTIME)
++ elseif(TARGET_FREEBSD)
++ add_library(cpluff-${ARCH} SHARED ${libcpluff_srcs})
++ install(TARGETS cpluff-${ARCH} DESTINATION ${LIBPATH}/system COMPONENT RUNTIME)
+ elseif(TARGET_POSIX)
+ add_library(cpluff-${ARCH} SHARED ${libcpluff_srcs})
+ install(TARGETS cpluff-${ARCH} DESTINATION ${BINPATH}/system COMPONENT RUNTIME)
diff --git a/multimedia/plexhometheater/files/patch-lib__cximage-6.0__CMakeLists.txt b/multimedia/plexhometheater/files/patch-lib__cximage-6.0__CMakeLists.txt
new file mode 100644
index 000000000000..72a3e5eda00e
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-lib__cximage-6.0__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- lib/cximage-6.0/CMakeLists.txt.orig 2014-08-07 20:04:16.149525420 +0800
++++ lib/cximage-6.0/CMakeLists.txt 2014-08-07 20:04:55.041525414 +0800
+@@ -106,6 +106,8 @@
+ install(TARGETS ImageLib-${ARCH} DESTINATION ${RESOURCEPATH}/system COMPONENT RUNTIME)
+ elseif(TARGET_COMMON_LINUX)
+ install(TARGETS ImageLib-${ARCH} DESTINATION ${BINPATH}/system COMPONENT RUNTIME)
++elseif(TARGET_FREEBSD)
++ install(TARGETS ImageLib-${ARCH} DESTINATION ${LIBPATH}/system COMPONENT RUNTIME)
+ elseif(TARGET_WIN32)
+ install(TARGETS ImageLib RUNTIME DESTINATION ${RESOURCEPATH}/system LIBRARY DESTINATION ${RESOURCEPATH}/system COMPONENT RUNTIME)
+ endif(TARGET_COMMON_DARWIN)
diff --git a/multimedia/plexhometheater/files/patch-lib__ffmpeg__CMakeLists.txt b/multimedia/plexhometheater/files/patch-lib__ffmpeg__CMakeLists.txt
new file mode 100644
index 000000000000..24009390bc96
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-lib__ffmpeg__CMakeLists.txt
@@ -0,0 +1,61 @@
+--- lib/ffmpeg/CMakeLists.txt.orig 2014-07-31 22:37:29.000000000 +0800
++++ lib/ffmpeg/CMakeLists.txt 2014-08-19 07:23:32.639850332 +0800
+@@ -4,10 +4,14 @@
+ set(OS linux)
+ elseif(TARGET_DARWIN)
+ set(OS darwin)
++elseif(TARGET_FREEBSD)
++ set(OS freebsd)
+ endif()
+
+
+-if(NOT TARGET_RPI)
++if(TARGET_FREEBSD)
++ set(CONFIG_FLAGS --target-os=${OS} --cc=clang --cxx=clang++ --extra-cflags=-I${CMAKE_PREFIX_PATH}/include --extra-ldflags=-L${CMAKE_PREFIX_PATH}/lib --disable-altivec --disable-amd3dnow --disable-avisynth --disable-crystalhd --disable-debug --disable-decoder=mpeg_xvmc --disable-devices --disable-doc --disable-dxva2 --disable-encoders --disable-extra-warnings --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-frei0r --disable-gray --disable-hardcoded-tables --disable-indevs --disable-iwmmxt --disable-libdc1394 --disable-libdirac --disable-libfaac --disable-libfreetype --disable-libgsm --disable-libmp3lame --disable-libnut --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg --disable-librtmp --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-libvo-aacenc --disable-libvo-amrwbenc --disable-libvorbis --disable-libvpx --disable-libx264 --disable-libxavs --disable-libxvid --disable-memalign-hack --disable-mlib --disable-mmi --disable-muxers --disable-nonfree --disable-outdevs --disable-small --disable-sram --disable-static --disable-symver --disable-vda --disable-version3 --disable-vis --disable-w32threads --disable-x11grab --enable-aandct --enable-asm --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-bsfs --enable-bzlib --enable-dct --enable-demuxers --enable-fastdiv --enable-fft --enable-filters --enable-golomb --enable-gpl --enable-huffman --enable-hwaccels --enable-libvorbis --enable-logging --enable-lpc --enable-mdct --enable-muxer=adts --enable-muxer=ogg --enable-muxer=spdif --enable-network --enable-optimizations --enable-parsers --enable-pic --enable-postproc --enable-protocol=http --enable-pthreads --enable-rdft --enable-runtime-cpudetect --enable-shared --enable-stripping --enable-swscale --enable-swscale-alpha --enable-vaapi --enable-vdpau --enable-yasm --enable-zlib --host-libs=-lm)
++elseif(NOT TARGET_RPI)
+ set(CONFIG_FLAGS --target-os=${OS} --sysroot="${CMAKE_PREFIX_PATH}" --sysinclude="${CMAKE_PREFIX_PATH}/usr/include" --disable-altivec --disable-amd3dnow --disable-avisynth --disable-crystalhd --disable-debug --disable-decoder=mpeg_xvmc --disable-devices --disable-doc --disable-dxva2 --disable-encoders --disable-extra-warnings --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-frei0r --disable-gray --disable-hardcoded-tables --disable-indevs --disable-iwmmxt --disable-libdc1394 --disable-libdirac --disable-libfaac --disable-libfreetype --disable-libgsm --disable-libmp3lame --disable-libnut --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg --disable-librtmp --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-libvo-aacenc --disable-libvo-amrwbenc --disable-libvorbis --disable-libvpx --disable-libx264 --disable-libxavs --disable-libxvid --disable-memalign-hack --disable-mlib --disable-mmi --disable-muxers --disable-nonfree --disable-outdevs --disable-small --disable-sram --disable-static --disable-symver --disable-vda --disable-version3 --disable-vis --disable-w32threads --disable-x11grab --enable-aandct --enable-asm --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-bsfs --enable-bzlib --enable-dct --enable-demuxers --enable-fastdiv --enable-fft --enable-filters --enable-golomb --enable-gpl --enable-huffman --enable-hwaccels --enable-libvorbis --enable-logging --enable-lpc --enable-mdct --enable-muxer=adts --enable-muxer=ogg --enable-muxer=spdif --enable-network --enable-optimizations --enable-parsers --enable-pic --enable-postproc --enable-protocol=http --enable-pthreads --enable-rdft --enable-runtime-cpudetect --enable-shared --enable-stripping --enable-swscale --enable-swscale-alpha --enable-vaapi --enable-vdpau --enable-yasm --enable-zlib --host-libs=-lm)
+ else()
+ set(CONFIG_FLAGS --target-os=${OS} --disable-muxers --disable-encoders --disable-devices --disable-doc --disable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-vda --disable-crystalhd --disable-decoder=mpeg_xvmc --disable-debug --disable-amd3dnow --disable-libvorbis --enable-gpl --enable-postproc --enable-shared --disable-static --enable-pthreads --enable-muxer=spdif --enable-muxer=adts --enable-encoder=ac3 --enable-encoder=aac --enable-protocol=http --enable-runtime-cpudetect)
+@@ -24,18 +28,19 @@
+ URL .
+ PREFIX ffmpeg
+ CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> ${CONFIG_FLAGS}
+- BUILD_COMMAND make -j 4
+- INSTALL_COMMAND make install
++ BUILD_COMMAND gmake -j 4
++ INSTALL_COMMAND gmake install
+ )
+
+-#define DLL_PATH_LIBAVCODEC "special://xbmcbin/system/players/dvdplayer/avcodec-53-x86_64-linux.so"
+-#define DLL_PATH_LIBAVFORMAT "special://xbmcbin/system/players/dvdplayer/avformat-53-x86_64-linux.so"
+-#define DLL_PATH_LIBAVUTIL "special://xbmcbin/system/players/dvdplayer/avutil-51-x86_64-linux.so"
+-#define DLL_PATH_LIBPOSTPROC "special://xbmcbin/system/players/dvdplayer/postproc-52-x86_64-linux.so"
+-#define DLL_PATH_LIBSWSCALE "special://xbmcbin/system/players/dvdplayer/swscale-2-x86_64-linux.so"
+-#define DLL_PATH_LIBAVFILTER "special://xbmcbin/system/players/dvdplayer/avfilter-2-x86_64-linux.so"
+-#define DLL_PATH_LIBSWRESAMPLE "special://xbmcbin/system/players/dvdplayer/swresample-0-x86_64-linux.so"
++#define DLL_PATH_LIBAVCODEC "special://xbmcbin/system/players/dvdplayer/avcodec-53-${ARCH}.so"
++#define DLL_PATH_LIBAVFORMAT "special://xbmcbin/system/players/dvdplayer/avformat-53-${ARCH}.so"
++#define DLL_PATH_LIBAVUTIL "special://xbmcbin/system/players/dvdplayer/avutil-51-${ARCH}.so"
++#define DLL_PATH_LIBPOSTPROC "special://xbmcbin/system/players/dvdplayer/postproc-52-${ARCH}.so"
++#define DLL_PATH_LIBSWSCALE "special://xbmcbin/system/players/dvdplayer/swscale-2-${ARCH}.so"
++#define DLL_PATH_LIBAVFILTER "special://xbmcbin/system/players/dvdplayer/avfilter-2-${ARCH}.so"
++#define DLL_PATH_LIBSWRESAMPLE "special://xbmcbin/system/players/dvdplayer/swresample-0-${ARCH}.so"
+
++if(TARGET_COMMON_LINUX)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavcodec.so.53.61.100 DESTINATION ${BINPATH}/system/players/dvdplayer RENAME avcodec-53-${ARCH}.so)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavformat.so.53.32.100 DESTINATION ${BINPATH}/system/players/dvdplayer RENAME avformat-53-${ARCH}.so)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavutil.so.51.35.100 DESTINATION ${BINPATH}/system/players/dvdplayer RENAME avutil-51-${ARCH}.so)
+@@ -43,4 +48,12 @@
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libswscale.so.2.1.100 DESTINATION ${BINPATH}/system/players/dvdplayer RENAME swscale-2-${ARCH}.so)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavfilter.so.2.61.100 DESTINATION ${BINPATH}/system/players/dvdplayer RENAME avfilter-2-${ARCH}.so)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libswresample.so.0.6.100 DESTINATION ${BINPATH}/system/players/dvdplayer RENAME swresample-0-${ARCH}.so)
+-
++elseif(TARGET_FREEBSD)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavcodec.so.53.61.100 DESTINATION ${LIBPATH}/system/players/dvdplayer RENAME avcodec-53-${ARCH}.so)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavformat.so.53.32.100 DESTINATION ${LIBPATH}/system/players/dvdplayer RENAME avformat-53-${ARCH}.so)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavutil.so.51.35.100 DESTINATION ${LIBPATH}/system/players/dvdplayer RENAME avutil-51-${ARCH}.so)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libpostproc.so.52.0.100 DESTINATION ${LIBPATH}/system/players/dvdplayer RENAME postproc-52-${ARCH}.so)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libswscale.so.2.1.100 DESTINATION ${LIBPATH}/system/players/dvdplayer RENAME swscale-2-${ARCH}.so)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libavfilter.so.2.61.100 DESTINATION ${LIBPATH}/system/players/dvdplayer RENAME avfilter-2-${ARCH}.so)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ffmpeg/lib/libswresample.so.0.6.100 DESTINATION ${LIBPATH}/system/players/dvdplayer RENAME swresample-0-${ARCH}.so)
++endif()
diff --git a/multimedia/plexhometheater/files/patch-lib__libdvd__libdvdcss__CMakeLists.txt b/multimedia/plexhometheater/files/patch-lib__libdvd__libdvdcss__CMakeLists.txt
new file mode 100644
index 000000000000..2d671b3b67e6
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-lib__libdvd__libdvdcss__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- lib/libdvd/libdvdcss/CMakeLists.txt.orig 2014-08-07 20:16:17.879526000 +0800
++++ lib/libdvd/libdvdcss/CMakeLists.txt 2014-08-07 20:17:08.252521581 +0800
+@@ -35,6 +35,8 @@
+ install(TARGETS dvdcss-${ARCH} DESTINATION ${RESOURCEPATH}/system/players/dvdplayer COMPONENT RUNTIME)
+ elseif(TARGET_COMMON_LINUX)
+ install(TARGETS dvdcss-${ARCH} DESTINATION ${BINPATH}/system/players/dvdplayer COMPONENT RUNTIME)
++ elseif(TARGET_FREEBSD)
++ install(TARGETS dvdcss-${ARCH} DESTINATION ${LIBPATH}/system/players/dvdplayer COMPONENT RUNTIME)
+ elseif(TARGET_WIN32)
+ install(TARGETS dvdcss RUNTIME DESTINATION ${RESOURCEPATH}/system/players/dvdplayer LIBRARY DESTINATION ${RESOURCEPATH}/system COMPONENT RUNTIME)
+ endif(TARGET_COMMON_DARWIN)
diff --git a/multimedia/plexhometheater/files/patch-lib__libdvd__libdvdnav__CMakeLists.txt b/multimedia/plexhometheater/files/patch-lib__libdvd__libdvdnav__CMakeLists.txt
new file mode 100644
index 000000000000..9d4581088b5d
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-lib__libdvd__libdvdnav__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- lib/libdvd/libdvdnav/CMakeLists.txt.orig 2014-08-07 20:17:15.005520678 +0800
++++ lib/libdvd/libdvdnav/CMakeLists.txt 2014-08-07 20:17:42.827523919 +0800
+@@ -23,6 +23,8 @@
+ install(TARGETS dvdnav-${ARCH} DESTINATION ${RESOURCEPATH}/system/players/dvdplayer COMPONENT RUNTIME)
+ elseif(TARGET_COMMON_LINUX)
+ install(TARGETS dvdnav-${ARCH} DESTINATION ${BINPATH}/system/players/dvdplayer COMPONENT RUNTIME)
++elseif(TARGET_FREEBSD)
++ install(TARGETS dvdnav-${ARCH} DESTINATION ${LIBPATH}/system/players/dvdplayer COMPONENT RUNTIME)
+ elseif(TARGET_WIN32)
+ install(TARGETS dvdnav RUNTIME DESTINATION ${RESOURCEPATH}/system/players/dvdplayer LIBRARY DESTINATION ${RESOURCEPATH}/system COMPONENT RUNTIME)
+ endif(TARGET_COMMON_DARWIN)
diff --git a/multimedia/plexhometheater/files/patch-plex__CMakeModules__CMakeConfig.cmake b/multimedia/plexhometheater/files/patch-plex__CMakeModules__CMakeConfig.cmake
new file mode 100644
index 000000000000..77ae5f51ac30
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__CMakeModules__CMakeConfig.cmake
@@ -0,0 +1,30 @@
+--- ./plex/CMakeModules/CMakeConfig.cmake.orig 2014-06-02 09:15:38.258729436 +0800
++++ ./plex/CMakeModules/CMakeConfig.cmake 2014-06-02 09:38:39.849710021 +0800
+@@ -31,7 +31,7 @@
+ elseif(WIN32)
+ set(TARGET_PLATFORM "WIN32")
+ elseif(UNIX)
+- set(TARGET_PLATFORM "LINUX")
++ set(TARGET_PLATFORM ${CMAKE_SYSTEM_NAME})
+ endif()
+ endif()
+
+@@ -47,6 +47,9 @@
+ set(TARGET_COMMON_LINUX 1 CACHE BOOL "Common Linux platforms")
+ set(TARGET_LINUX 1 CACHE BOOL "Target is Linux")
+ set(TARGET_POSIX 1 CACHE BOOL "POSIX platform")
++elseif(${TARGET_PLATFORM} STREQUAL "FREEBSD")
++ set(TARGET_FREEBSD 1 CACHE BOOL "Target is FreeBSD")
++ set(TARGET_POSIX 1 CACHE BOOL "POSIX platform")
+ elseif(${TARGET_PLATFORM} STREQUAL "RPI")
+ set(TARGET_RPI 1 CACHE BOOL "Target in RaspberryPI")
+ set(TARGET_COMMON_LINUX 1 CACHE BOOL "Common Linux platforms")
+@@ -76,6 +79,8 @@
+ set(BUILD_TAG "macosx-${OSX_ARCH}")
+ elseif(TARGET_WIN32)
+ set(BUILD_TAG "windows-x86")
++elseif(TARGET_FREEBSD)
++ set(BUILD_TAG "freebsd-${ARCH}")
+ elseif(TARGET_LINUX)
+ if(DEFINED ENV{ARCH} AND DEFINED ENV{PROJECT})
+ set(BUILD_TAG "$ENV{PROJECT}-$ENV{ARCH}")
diff --git a/multimedia/plexhometheater/files/patch-plex__CMakeModules__CPackConfig.cmake b/multimedia/plexhometheater/files/patch-plex__CMakeModules__CPackConfig.cmake
new file mode 100644
index 000000000000..c321bb0307bd
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__CMakeModules__CPackConfig.cmake
@@ -0,0 +1,11 @@
+--- ./plex/CMakeModules/CPackConfig.cmake.orig 2014-06-02 12:09:53.558706631 +0800
++++ ./plex/CMakeModules/CPackConfig.cmake 2014-05-23 21:04:41.000000000 +0800
+@@ -45,7 +45,7 @@
+ if(TARGET_OSX)
+ set(CPACK_GENERATOR "ZIP")
+ set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
+-elseif(TARGET_COMMON_LINUX)
++elseif(TARGET_COMMON_LINUX OR TARGET_FREEBSD)
+ set(CPACK_GENERATOR "TBZ2")
+ elseif(TARGET_WIN32)
+ set(CPACK_GENERATOR "NSIS;ZIP")
diff --git a/multimedia/plexhometheater/files/patch-plex__CMakeModules__FindExecinfo.cmake b/multimedia/plexhometheater/files/patch-plex__CMakeModules__FindExecinfo.cmake
new file mode 100644
index 000000000000..289bd6e340f7
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__CMakeModules__FindExecinfo.cmake
@@ -0,0 +1,40 @@
+--- plex/CMakeModules/FindExecinfo.cmake.orig 2014-06-18 13:48:49.013626678 +0000
++++ plex/CMakeModules/FindExecinfo.cmake 2014-06-18 13:53:45.058602542 +0000
+@@ -0,0 +1,37 @@
++# -*- cmake -*-
++
++# - Find execinfo
++# Find the execinfo includes and library
++# The problem with this library is that it is built-in in the Linux glib,
++# while on systems like FreeBSD, it is installed separately and thus needs to be linked to.
++# Therefore, we search for the header to see if the it's available in the first place.
++# If it is available, we try to locate the library to figure out whether it is built-in or not.
++
++if(EXECINFO_INCLUDE_DIR)
++ # Already in cache, be silent
++ set(EXECINFO_FIND_QUIETLY TRUE)
++endif(EXECINFO_INCLUDE_DIR)
++
++find_package(PkgConfig)
++if (PKG_CONFIG_FOUND)
++ pkg_check_modules(_EXECINFO libexecinfo)
++endif (PKG_CONFIG_FOUND)
++
++Find_Path(EXECINFO_INCLUDE_DIR
++ NAMES execinfo.h
++ PATHS /usr/include usr/local/include
++ HINTS ${_EXECINFO_INCLUDEDIR}
++)
++
++Find_Library(EXECINFO_LIBRARY
++ NAMES execinfo
++ PATHS /usr/lib usr/local/lib
++ HINTS ${_EXECINFO_LIBDIR}
++)
++
++include(FindPackageHandleStandardArgs)
++find_package_handle_standard_args(EXECINFO DEFAULT_MSG EXECINFO_LIBRARY EXECINFO_INCLUDE_DIR)
++
++IF(EXECINFO_LIBRARY AND EXECINFO_INCLUDE_DIR)
++ plex_get_soname(EXECINFO_SONAME ${EXECINFO_LIBRARY})
++ENDIF()
diff --git a/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake b/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake
new file mode 100644
index 000000000000..bc9749e733af
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake
@@ -0,0 +1,147 @@
+--- plex/CMakeModules/PlatformConfigFREEBSD.cmake.orig 2014-06-18 10:24:35.922455079 +0000
++++ plex/CMakeModules/PlatformConfigFREEBSD.cmake 2014-06-18 13:58:08.739586540 +0000
+@@ -0,0 +1,144 @@
++# vim: setlocal syntax=cmake:
++
++######################### Compiler CFLAGS
++set(EXTRA_CFLAGS "-fPIC -DPIC")
++
++######################### CHECK LIBRARIES / FRAMEWORKS
++option(USE_INTERNAL_FFMPEG "" ON)
++
++set(LINK_PKG
++ Freetype
++ SDL
++ SDL_image
++ SDL_mixer
++ OpenGL
++ ZLIB
++ JPEG
++ X11
++ SQLite3
++ PCRE
++ Lzo2
++ FriBiDi
++ Fontconfig
++ Samplerate
++ YAJL
++ microhttpd
++ Crypto
++ TinyXML
++ GLEW
++ Iconv
++ Avahi
++ Xrandr
++ LibRt
++ FLAC
++ DBUS
++ Execinfo
++)
++
++if(NOT USE_INTERNAL_FFMPEG)
++ list(APPEND LINK_PKG FFmpeg)
++else()
++ set(FFMPEG_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/lib/ffmpeg ${CMAKE_BINARY_DIR}/lib/ffmpeg/ffmpeg/src/ffmpeg-build)
++endif()
++
++if(ENABLE_PYTHON)
++ list(APPEND LINK_PKG Python)
++endif(ENABLE_PYTHON)
++
++foreach(l ${LINK_PKG})
++ plex_find_package(${l} 1 1)
++endforeach()
++
++find_package(Boost COMPONENTS thread system REQUIRED)
++if(Boost_FOUND)
++ include_directories(${Boost_INCLUDE_DIRS})
++ list(APPEND CONFIG_PLEX_LINK_LIBRARIES ${Boost_LIBRARIES})
++ set(HAVE_BOOST 1)
++endif()
++
++### install libs
++set(INSTALL_LIB
++ CURL
++ PNG
++ TIFF
++ Vorbis
++ LibMad
++ Mpeg2
++ Ass
++ RTMP
++ PLIST
++ ShairPort
++ VAAPI
++ VDPAU
++)
++
++foreach(l ${INSTALL_LIB})
++ plex_find_package(${l} 1 0)
++endforeach()
++
++plex_find_package(CEC 0 0)
++
++plex_find_package(Threads 1 0)
++if(CMAKE_USE_PTHREADS_INIT)
++ message(STATUS "Using pthreads: ${CMAKE_THREAD_LIBS_INIT}")
++ list(APPEND CONFIG_PLEX_LINK_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
++ set(HAVE_LIBPTHREAD 1)
++endif()
++
++plex_find_package(PulseAudio 0 1)
++if(HAVE_LIBPULSEAUDIO)
++ set(HAVE_LIBPULSE 1)
++endif()
++
++plex_find_package(LibUSB 0 1)
++
++if(ENABLE_DVD_DRIVE)
++ plex_find_package(CDIO 1 1)
++endif(ENABLE_DVD_DRIVE)
++
++if(NOT LIBUSB_FOUND)
++ message(WARNING "No USB support")
++endif()
++
++if(VAAPI_FOUND)
++ list(APPEND CONFIG_PLEX_LINK_LIBRARIES ${VAAPI_LIBRARIES})
++ include_directories(${VAAPI_INCLUDE_DIR})
++ set(HAVE_LIBVA 1)
++endif()
++
++plex_get_soname(CURL_SONAME ${CURL_LIBRARY})
++
++list(APPEND CONFIG_INTERNAL_LIBS lib_dllsymbols)
++
++####
++if(DEFINED X11_FOUND)
++ set(HAVE_X11 1)
++endif()
++
++if(DEFINED OPENGL_FOUND)
++ set(HAVE_LIBGL 1)
++endif()
++
++#### default lircdevice
++set(LIRC_DEVICE "/dev/lircd")
++
++#### on freebsd we want to use a "easy" name
++set(EXECUTABLE_NAME "plexhometheater")
++
++if(${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "amd64")
++ set(ARCH "x86_64-freebsd")
++else()
++ set(ARCH "x86-freebsd")
++endif()
++
++set(LIBPATH lib/plexhometheater)
++set(BINPATH bin)
++set(RESOURCEPATH share/plexhometheater)
++
++set(PLEX_LINK_WRAPPED "-Wl,--unresolved-symbols=ignore-all -Wl,-wrap,_IO_getc -Wl,-wrap,_IO_getc_unlocked -Wl,-wrap,_IO_putc -Wl,-wrap,__fgets_chk -Wl,-wrap,__fprintf_chk -Wl,-wrap,__fread_chk -Wl,-wrap,__fxstat64 -Wl,-wrap,__lxstat64 -Wl,-wrap,__printf_chk -Wl,-wrap,__read_chk -Wl,-wrap,__vfprintf_chk -Wl,-wrap,__xstat64 -Wl,-wrap,_stat -Wl,-wrap,calloc -Wl,-wrap,clearerr -Wl,-wrap,close -Wl,-wrap,closedir -Wl,-wrap,dlopen -Wl,-wrap,fclose -Wl,-wrap,fdopen -Wl,-wrap,feof -Wl,-wrap,ferror -Wl,-wrap,fflush -Wl,-wrap,fgetc -Wl,-wrap,fgetpos -Wl,-wrap,fgetpos64 -Wl,-wrap,fgets -Wl,-wrap,fileno -Wl,-wrap,flockfile -Wl,-wrap,fopen -Wl,-wrap,fopen64 -Wl,-wrap,fprintf -Wl,-wrap,fputc -Wl,-wrap,fputs -Wl,-wrap,fread -Wl,-wrap,free -Wl,-wrap,freopen -Wl,-wrap,fseek -Wl,-wrap,fseeko64 -Wl,-wrap,fsetpos -Wl,-wrap,fsetpos64 -Wl,-wrap,fstat -Wl,-wrap,ftell -Wl,-wrap,ftello64 -Wl,-wrap,ftrylockfile -Wl,-wrap,funlockfile -Wl,-wrap,fwrite -Wl,-wrap,getc -Wl,-wrap,getc_unlocked -Wl,-wrap,getmntent -Wl,-wrap,ioctl -Wl,-wrap,lseek -Wl,-wrap,lseek64 -Wl,-wrap,malloc -Wl,-wrap,open -Wl,-wrap,open64 -Wl,-wrap,opendir -Wl,-wrap,popen -Wl,-wrap,printf -Wl,-wrap,read -Wl,-wrap,readdir -Wl,-wrap,readdir64 -Wl,-wrap,realloc -Wl,-wrap,rewind -Wl,-wrap,rewinddir -Wl,-wrap,setvbuf -Wl,-wrap,ungetc -Wl,-wrap,vfprintf -Wl,-wrap,write")
++
++set(PLEX_LINK_WHOLEARCHIVE -Wl,--whole-archive)
++set(PLEX_LINK_NOWHOLEARCHIVE -Wl,--no-whole-archive)
++
++############ Add our definitions
++add_definitions(-DTARGET_FREEBSD)
diff --git a/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigPOSIX.cmake b/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigPOSIX.cmake
new file mode 100644
index 000000000000..f1f0c6c97e39
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigPOSIX.cmake
@@ -0,0 +1,16 @@
+--- plex/CMakeModules/PlatformConfigPOSIX.cmake.orig 2014-05-23 21:04:41.000000000 +0800
++++ plex/CMakeModules/PlatformConfigPOSIX.cmake 2014-06-02 15:53:40.122706444 +0800
+@@ -38,7 +38,12 @@
+ endif(TARGET_RPI)
+
+ ############ Check for pthread_setname -> HAVE_PTHREAD_SETNAME_NP
+-set(HAVE_PTHREAD_SETNAME_NP 1)
++if(TARGET_FREEBSD)
++ set(HAVE_PTHREAD_SET_NAME_NP 1)
++else()
++ set(HAVE_PTHREAD_SETNAME_NP 1)
++endif()
++
+ if(NOT TARGET_RPI)
+ set(HAS_SDL_JOYSTICK 1)
+ endif()
diff --git a/multimedia/plexhometheater/files/patch-plex__Network__CMakeLists.txt b/multimedia/plexhometheater/files/patch-plex__Network__CMakeLists.txt
new file mode 100644
index 000000000000..5a13ddb67e6e
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__Network__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- plex/Network/CMakeLists.txt.orig 2014-05-23 21:04:41.000000000 +0800
++++ plex/Network/CMakeLists.txt 2014-06-03 21:55:44.441297028 +0800
+@@ -1,6 +1,8 @@
+ set(net_SRCS NetworkInterface.cpp NetworkInterface.h NetworkServiceAdvertiser.h NetworkServiceAdvertiserPMS.h NetworkServiceBase.h NetworkServiceBrowser.h NetworkService.h PlexNetworkServiceAdvertiser.h)
+ if(TARGET_COMMON_LINUX)
+ list(APPEND net_SRCS NetworkInterfaceLinux.cpp)
++elseif(TARGET_FREEBSD)
++ list(APPEND net_SRCS NetworkInterfaceBSD.cpp)
+ else(TARGET_COMMON_LINUX)
+ list(APPEND net_SRCS NetworkInterfaceWin32.cpp)
+ endif(TARGET_COMMON_LINUX)
diff --git a/multimedia/plexhometheater/files/patch-plex__Network__NetworkInterfaceBSD.cpp b/multimedia/plexhometheater/files/patch-plex__Network__NetworkInterfaceBSD.cpp
new file mode 100644
index 000000000000..512bee00da8c
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__Network__NetworkInterfaceBSD.cpp
@@ -0,0 +1,174 @@
+--- plex/Network/NetworkInterfaceBSD.cpp.orig 2014-06-03 21:57:00.010307063 +0800
++++ plex/Network/NetworkInterfaceBSD.cpp 2014-06-11 17:21:16.027299183 +0800
+@@ -0,0 +1,171 @@
++/*
++ * Written and (c) 2014 by Ben Woods
++ * Licensed under the two-clause (new) BSD license.
++ * Some code copied from Matthias Andree's try-rtsock.c:
++ * http://people.freebsd.org/~mandree/try-rtsock.c
++ */
++
++#ifdef __FreeBSD__
++#include <netinet/in.h>
++
++#include <sys/socket.h>
++#include <sys/select.h>
++#include <net/if.h>
++#include <net/route.h>
++
++// only for decoding AF_LINK addresses:
++#include <net/if_dl.h>
++
++#include <netdb.h>
++
++#include <string.h>
++
++#include <boost/asio.hpp>
++#include <boost/thread.hpp>
++
++#include "NetworkInterface.h"
++
++using namespace boost;
++
++///////////////////////////////////////////////////////////////////////////////////////////////////
++// Message agnostic receive buffer
++union u {
++ char buf[1024];
++ struct if_msghdr ifm;
++ struct ifa_msghdr ifam;
++ struct if_announcemsghdr ifann;
++};
++
++///////////////////////////////////////////////////////////////////////////////////////////////////
++static void PrintRouteMsg(const union u *buff, size_t len)
++{
++ dprintf("NetworkInterface: PF_ROUTE socket received message. Version %d, Type %#x, Len %d.", buff->ifm.ifm_version, buff->ifm.ifm_type, buff->ifm.ifm_msglen);
++
++ switch (buff->ifm.ifm_type)
++ {
++ case RTM_NEWADDR:
++ case RTM_DELADDR:
++ dprintf("NetworkInterface: ##%s## - Addrmask %#x, Flags %#x, Index %hu, Metric %d",
++ buff->ifm.ifm_type == RTM_NEWADDR ? " NEW ADDRESS " : " DELETE ADDR ",
++ buff->ifam.ifam_addrs,
++ buff->ifam.ifam_flags,
++ buff->ifam.ifam_index,
++ buff->ifam.ifam_metric);
++ break;
++
++ case RTM_IFINFO:
++ dprintf(" INFO - Addrmask %#x, Index %hu, Flags %#x:",
++ buff->ifm.ifm_addrs, buff->ifm.ifm_index, buff->ifm.ifm_flags);
++ switch (buff->ifm.ifm_flags)
++ {
++ case IFF_UP: dprintf("UP"); break;
++ case IFF_BROADCAST: dprintf("bcast_valid"); break;
++ case IFF_LOOPBACK: dprintf("loopback"); break;
++ case IFF_POINTOPOINT: dprintf("P2P"); break;
++ case IFF_DRV_RUNNING: dprintf("running"); break;
++ case IFF_NOARP: dprintf("noARP"); break;
++ case IFF_PROMISC: dprintf("promisc"); break;
++ case IFF_DYING: dprintf("dying"); break;
++ case IFF_RENAMING: dprintf("renaming"); break;
++ }
++
++ case RTM_IFANNOUNCE:
++ dprintf(" ANNOUNCE iface %.*s index %hu",
++ IFNAMSIZ, buff->ifann.ifan_name, buff->ifann.ifan_index);
++ switch(buff->ifann.ifan_what)
++ {
++ case IFAN_ARRIVAL: dprintf(" ARRIVED"); break;
++ case IFAN_DEPARTURE: dprintf(" DEPARTED"); break;
++ default: dprintf("Unknown action %hu", buff->ifann.ifan_what);
++ }
++ break;
++ }
++}
++
++///////////////////////////////////////////////////////////////////////////////////////////////////
++void NetworkChanged()
++{
++ dprintf("Network change.");
++ NetworkInterface::NotifyOfNetworkChange();
++}
++
++///////////////////////////////////////////////////////////////////////////////////////////////////
++void RunWatchingForChanges()
++{
++ dprintf("NetworkInterface: Watching for changes on the interfaces.");
++
++ // Create the socket that's going to watch for interface changes, and make it non-blocking.
++ int sock = socket(PF_ROUTE, SOCK_RAW, AF_UNSPEC); /* AF_UNSPEC: all addr families */
++ if (sock == -1)
++ eprintf("Error creating PF_ROUTE socket: %d", errno);
++
++ // Add socket to null initialised file descriptor set
++ fd_set fds;
++ FD_ZERO(&fds);
++ FD_SET(sock, &fds);
++
++ // Now sit in a loop waiting for messages.
++ int ret1;
++ while ((ret1 = select(sock+1, &fds, 0, 0, 0)), 1)
++ {
++ if (ret1 == -1)
++ {
++ eprintf("NetworkInterface: PF_ROUTE socket select error (%d).", errno);
++ continue;
++ }
++
++ // Message waiting
++ if (ret1 > 0 && FD_ISSET(sock, &fds))
++ {
++ // Setup message agnostic receive buffer
++ union u buff;
++ buff.ifm.ifm_msglen = 4;
++
++ // Receive messages into buffer
++ int ret2 = recv(sock, &buff, sizeof(buff), 0);
++ if (ret2 == -1)
++ {
++ eprintf("NetworkInterface: PF_ROUTE socket receive error (%d).", errno);
++ continue;
++ }
++
++ // Read through messages and determine if any indicate that any interface records should be rebuilt.
++ if (ret2 < 4 || ret2 < buff.ifm.ifm_msglen)
++ {
++ eprintf("NetworkInterface: PF_ROUTE socket short read (have %d want %hu), skipping.", ret2, buff.ifm.ifm_msglen);
++ continue;
++ }
++
++ if (buff.ifm.ifm_version != RTM_VERSION)
++ {
++ eprintf("NetworkInterface: PF_ROUTE socket unknown message version %d, skipping.", buff.ifm.ifm_version);
++ continue;
++ }
++
++ // Dump the message.
++ PrintRouteMsg(&buff, ret2);
++
++ // See if something notable changed.
++ if (buff.ifm.ifm_type == RTM_IFINFO || buff.ifm.ifm_type == RTM_IFANNOUNCE ||
++ buff.ifm.ifm_type == RTM_DELADDR || buff.ifm.ifm_type == RTM_NEWADDR)
++ {
++ // Notify about it.
++ NetworkChanged();
++ }
++ }
++ }
++}
++
++///////////////////////////////////////////////////////////////////////////////////////////////////
++void NetworkInterface::WatchForChanges()
++{
++ // Start the thread.
++ dprintf("NetworkInterface: Starting watch thread.");
++ thread t = thread(boost::bind(&RunWatchingForChanges));
++ t.detach();
++
++ // Start with a change, because otherwise we're in steady state.
++ NetworkChanged();
++}
++
++#endif
diff --git a/multimedia/plexhometheater/files/patch-plex__config.h.in b/multimedia/plexhometheater/files/patch-plex__config.h.in
new file mode 100644
index 000000000000..5bfe5f3f07e0
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-plex__config.h.in
@@ -0,0 +1,10 @@
+--- plex/config.h.in.orig 2014-05-23 13:04:41.000000000 +0000
++++ plex/config.h.in 2014-06-18 14:26:03.855461867 +0000
+@@ -173,6 +173,7 @@
+ #cmakedefine HAVE_LIBPYTHON2_6 @HAVE_LIBPYTHON2_6@
+ #cmakedefine HAS_PYTHON @HAS_PYTHON@
+ #cmakedefine HAVE_PTHREAD_SETNAME_NP @HAVE_PTHREAD_SETNAME_NP@
++#cmakedefine HAVE_PTHREAD_SET_NAME_NP @HAVE_PTHREAD_SET_NAME_NP@
+
+ /* LIBSHAIRPORT */
+ #cmakedefine HAVE_STRUCT_AUDIOOUTPUT_AO_SET_METADATA @HAVE_STRUCT_AUDIOOUTPUT_AO_SET_METADATA@
diff --git a/multimedia/plexhometheater/files/patch-xbmc__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__CMakeLists.txt
new file mode 100644
index 000000000000..457e4c8397f6
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__CMakeLists.txt
@@ -0,0 +1,13 @@
+--- xbmc/CMakeLists.txt.orig 2014-08-05 20:17:14.627532749 +0800
++++ xbmc/CMakeLists.txt 2014-08-05 20:17:45.319521746 +0800
+@@ -10,6 +10,10 @@
+ list(APPEND subdirs linux)
+ endif(TARGET_POSIX)
+
++if(TARGET_FREEBSD)
++ list(APPEND subdirs freebsd)
++endif(TARGET_FREEBSD)
++
+ if(TARGET_WIN32)
+ list(APPEND subdirs win32)
+ endif(TARGET_WIN32)
diff --git a/multimedia/plexhometheater/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp b/multimedia/plexhometheater/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp
new file mode 100644
index 000000000000..debf3072e946
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp
@@ -0,0 +1,16 @@
+--- xbmc/cdrip/EncoderFFmpeg.cpp.orig 2013-02-06 19:11:19.000000000 +0100
++++ xbmc/cdrip/EncoderFFmpeg.cpp 2013-02-06 19:11:45.000000000 +0100
+@@ -77,7 +77,13 @@
+ }
+
+ m_Format = m_dllAvFormat.avformat_alloc_context();
++#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,1,0)
+ m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), AVIO_FLAG_READ, this, NULL, MuxerReadPacket, NULL);
++#elif LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,0,0)
++ m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), AVIO_RDONLY, this, NULL, MuxerReadPacket, NULL);
++#else
++ m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), URL_RDONLY, this, NULL, MuxerReadPacket, NULL);
++#endif
+ if (!m_Format->pb)
+ {
+ m_dllAvUtil.av_freep(&m_Format);
diff --git a/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp b/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp
new file mode 100644
index 000000000000..b44f37d871d3
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp
@@ -0,0 +1,13 @@
+diff --git xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp
+index bd01a67..49edfee 100644
+--- xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp
++++ xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp
+@@ -303,7 +303,7 @@ void CSoftAE::InternalOpenSink()
+
+ /* perform basic sanity checks on the format returned by the sink */
+ ASSERT(newFormat.m_channelLayout.Count() > 0);
+- ASSERT(newFormat.m_dataFormat <= AE_FMT_FLOAT);
++ ASSERT(newFormat.m_dataFormat <= AE_FMT_MAX);
+ ASSERT(newFormat.m_frames > 0);
+ ASSERT(newFormat.m_frameSamples > 0);
+ ASSERT(newFormat.m_frameSize == (CAEUtil::DataFormatToBits(newFormat.m_dataFormat) >> 3) * newFormat.m_channelLayout.Count());
diff --git a/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Sinks__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Sinks__CMakeLists.txt
new file mode 100644
index 000000000000..4fa54ee99e20
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Sinks__CMakeLists.txt
@@ -0,0 +1,13 @@
+--- ./xbmc/cores/AudioEngine/Sinks/CMakeLists.txt.orig 2014-06-02 10:54:42.814711159 +0800
++++ ./xbmc/cores/AudioEngine/Sinks/CMakeLists.txt 2014-06-02 10:55:26.844707184 +0800
+@@ -8,8 +8,8 @@
+ set(ae_SRCS ${ae_SRCS} AESinkWASAPI.cpp AESinkWASAPI.h AESinkDirectSound.cpp AESinkDirectSound.h)
+ endif(TARGET_WIN32)
+
+-if(TARGET_COMMON_LINUX)
++if(TARGET_COMMON_LINUX OR TARGET_FREEBSD)
+ set(ae_SRCS ${ae_SRCS} AESinkOSS.cpp AESinkOSS.h)
+-endif(TARGET_COMMON_LINUX)
++endif(TARGET_COMMON_LINUX OR TARGET_FREEBSD)
+
+ add_sources(${ae_SRCS})
diff --git a/multimedia/plexhometheater/files/patch-xbmc__cores__DllLoader__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__cores__DllLoader__CMakeLists.txt
new file mode 100644
index 000000000000..599290721a37
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__cores__DllLoader__CMakeLists.txt
@@ -0,0 +1,18 @@
+--- xbmc/cores/DllLoader/CMakeLists.txt.orig 2014-07-31 22:37:29.000000000 +0800
++++ xbmc/cores/DllLoader/CMakeLists.txt 2014-08-05 19:51:50.258522209 +0800
+@@ -4,10 +4,15 @@
+ list(REMOVE_ITEM dllloader_SRCS ./DllLoader-linux.cpp)
+ if(UNIX)
+ list(REMOVE_ITEM dllloader_SRCS ./Win32DllLoader.cpp)
++ list(REMOVE_ITEM dllloader_SRCS ./Win32DllLoader.h)
+ else()
+ list(REMOVE_ITEM dllloader_SRCS ./DllLoader-linux.cpp)
+ list(REMOVE_ITEM dllloader_SRCS ./ldt_keeper.c)
+ list(REMOVE_ITEM dllloader_SRCS ./mmap_anon.c)
+ list(REMOVE_ITEM dllloader_SRCS ./SoLoader.cpp)
+ endif()
++if(TARGET_FREEBSD)
++ list(REMOVE_ITEM dllloader_SRCS ./ldt_keeper.c)
++ list(REMOVE_ITEM dllloader_SRCS ./ldt_keeper.h)
++endif()
+ add_sources(${dllloader_SRCS})
diff --git a/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__CMakeLists.txt
new file mode 100644
index 000000000000..764912fd93a7
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__CMakeLists.txt
@@ -0,0 +1,15 @@
+--- ./xbmc/cores/dvdplayer/DVDCodecs/Video/CMakeLists.txt.orig 2014-06-02 09:54:40.766706418 +0800
++++ ./xbmc/cores/dvdplayer/DVDCodecs/Video/CMakeLists.txt 2014-06-02 09:59:13.577706588 +0800
+@@ -8,9 +8,9 @@
+ list(REMOVE_ITEM video_SRCS ./DXVA.cpp)
+ endif()
+
+-if (NOT TARGET_LINUX)
++if (NOT TARGET_LINUX AND NOT TARGET_FREEBSD)
+ list(REMOVE_ITEM video_SRCS ./VDPAU.cpp)
+ list(REMOVE_ITEM video_SRCS ./VAAPI.cpp)
+ endif()
+
+-add_sources(${video_SRCS})
+\ No newline at end of file
++add_sources(${video_SRCS})
diff --git a/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp b/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp
new file mode 100644
index 000000000000..27ce4d4a531c
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp
@@ -0,0 +1,11 @@
+--- xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp.orig 2013-10-19 23:07:02.530131780 +0200
++++ xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp 2013-10-19 23:06:38.499626784 +0200
+@@ -74,7 +74,7 @@
+
+ static CDisplayPtr GetGlobalDisplay()
+ {
+- static weak_ptr<CDisplay> display_global;
++ static boost::weak_ptr<CDisplay> display_global;
+
+ CDisplayPtr display(display_global.lock());
+ if(display)
diff --git a/multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt
new file mode 100644
index 000000000000..af59985a1997
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt
@@ -0,0 +1,6 @@
+--- xbmc/freebsd/CMakeLists.txt.orig 2014-08-05 20:18:02.009525912 +0800
++++ xbmc/freebsd/CMakeLists.txt 2014-08-05 20:18:40.357527987 +0800
+@@ -0,0 +1,3 @@
++find_all_sources(. freebsd_SRCS)
++
++add_sources(${freebsd_SRCS})
diff --git a/multimedia/plexhometheater/files/patch-xbmc__input__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__input__CMakeLists.txt
new file mode 100644
index 000000000000..76d95c8c9f73
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__input__CMakeLists.txt
@@ -0,0 +1,14 @@
+--- xbmc/input/CMakeLists.txt.orig 2014-05-23 21:04:41.000000000 +0800
++++ xbmc/input/CMakeLists.txt 2014-06-03 21:05:10.893292928 +0800
+@@ -1,8 +1,8 @@
+-if(TARGET_COMMON_LINUX)
++if(TARGET_COMMON_LINUX OR TARGET_FREEBSD)
+ add_subdirectory(linux)
+-elseif(TARGET_WIN32)
++elseif(TARGET_WIN32 OR TARGET_FREEBSD)
+ add_subdirectory(windows)
+-endif(TARGET_COMMON_LINUX)
++endif(TARGET_COMMON_LINUX OR TARGET_FREEBSD)
+
+ find_all_sources(. input_SRCS)
+ if(TARGET_WIN32)
diff --git a/multimedia/plexhometheater/files/patch-xbmc__linux__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__linux__CMakeLists.txt
new file mode 100644
index 000000000000..62e8583067b7
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__linux__CMakeLists.txt
@@ -0,0 +1,15 @@
+--- xbmc/linux/CMakeLists.txt.orig 2014-08-12 19:59:38.122858031 +0800
++++ xbmc/linux/CMakeLists.txt 2014-08-12 20:01:44.139854604 +0800
+@@ -1,10 +1,10 @@
+ find_all_sources(. linux_SRCS)
+-if(NOT TARGET_COMMON_LINUX)
++if(NOT TARGET_COMMON_LINUX AND NOT TARGET_FREEBSD)
+ list(REMOVE_ITEM linux_SRCS ./DBusMessage.cpp)
+ list(REMOVE_ITEM linux_SRCS ./DBusReserve.cpp)
+ list(REMOVE_ITEM linux_SRCS ./DBusUtil.cpp)
+ list(REMOVE_ITEM linux_SRCS ./HALManager.cpp)
+-endif(NOT TARGET_COMMON_LINUX)
++endif(NOT TARGET_COMMON_LINUX AND NOT TARGET_FREEBSD)
+
+ if(NOT TARGET_RPI)
+ list(REMOVE_ITEM linux_SRCS ./OMXClock.cpp ./OMXCore.cpp ./RBP.cpp)
diff --git a/multimedia/plexhometheater/files/patch-xbmc__storage__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__storage__CMakeLists.txt
new file mode 100644
index 000000000000..111626af74ab
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__storage__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- ./xbmc/storage/CMakeLists.txt.orig 2014-06-02 11:58:10.561704806 +0800
++++ ./xbmc/storage/CMakeLists.txt 2014-06-02 11:58:35.933705320 +0800
+@@ -1,7 +1,7 @@
+ find_all_sources(. storage_SRCS)
+ if(TARGET_COMMON_DARWIN)
+ find_all_sources(osx storage_os_SRCS)
+-elseif(TARGET_COMMON_LINUX)
++elseif(TARGET_COMMON_LINUX OR TARGET_FREEBSD)
+ find_all_sources(linux storage_os_SRCS)
+ elseif(TARGET_WIN32)
+ find_all_sources(windows storage_os_SRCS)
diff --git a/multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp b/multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp
new file mode 100644
index 000000000000..94efd0acdfb4
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp
@@ -0,0 +1,28 @@
+--- xbmc/threads/platform/pthreads/ThreadImpl.cpp.orig 2013-05-13 11:32:04.000000000 +0200
++++ xbmc/threads/platform/pthreads/ThreadImpl.cpp 2013-05-13 11:47:27.000000000 +0200
+@@ -29,12 +29,8 @@
+ #include <string.h>
+ #ifdef __FreeBSD__
+ #include <sys/param.h>
+-#if __FreeBSD_version < 900031
+-#include <sys/thr.h>
+-#else
+ #include <pthread_np.h>
+ #endif
+-#endif
+
+ #include <signal.h>
+
+@@ -59,11 +55,7 @@
+ void CThread::SetThreadInfo()
+ {
+ #ifdef __FreeBSD__
+-#if __FreeBSD_version < 900031
+- long lwpid;
+- thr_self(&lwpid);
+- m_ThreadOpaque.LwpId = lwpid;
+-#else
++#if __FreeBSD_version > 900030
+ m_ThreadOpaque.LwpId = pthread_getthreadid_np();
+ #endif
+ #elif defined(TARGET_ANDROID)
diff --git a/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__CMakeLists.txt
new file mode 100644
index 000000000000..5113b69746a3
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__CMakeLists.txt
@@ -0,0 +1,19 @@
+--- xbmc/visualizations/XBMCProjectM/CMakeLists.txt.orig 2014-08-03 22:38:59.515545987 +0800
++++ xbmc/visualizations/XBMCProjectM/CMakeLists.txt 2014-08-03 22:41:07.814522967 +0800
+@@ -41,13 +41,13 @@
+ ADD_DEFINITIONS(-DMACOS -DSTBI_NO_DDS)
+ elseif(TARGET_WIN32)
+ ADD_DEFINITIONS(-DWIN32 -DSTBI_NO_DDS)
+-else(TARGET_COMMON_LINUX)
++else(TARGET_COMMON_DARWIN)
+ ADD_DEFINITIONS(-DLINUX -DSTBI_NO_DDS)
+ endif(TARGET_COMMON_DARWIN)
+
+-if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
++if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format -Wno-parentheses-equality -Wno-enum-conversion -Wno-deprecated-writable-strings")
+-endif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
++endif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+
+ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${PLEX_LINK_WRAPPED}")
+ find_program(ZIP zip)
diff --git a/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp b/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp
new file mode 100644
index 000000000000..25a24ce66e80
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp
@@ -0,0 +1,11 @@
+--- xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.hpp.orig 2013-07-04 15:52:54.000000000 +0200
++++ xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.hpp 2013-07-04 15:53:28.000000000 +0200
+@@ -29,7 +29,7 @@
+ static const std::string MILKDROP_FILE_EXTENSION;
+
+ /** Initializes the preset loader with the target directory specified */
+- PresetLoader(std::string dirname);
++ PresetLoader(std::string dirname = std::string());
+
+ /** Destructor will remove all alllocated presets */
+ ~PresetLoader();
diff --git a/multimedia/plexhometheater/files/patch-xbmc__windowing__CMakeLists.txt b/multimedia/plexhometheater/files/patch-xbmc__windowing__CMakeLists.txt
new file mode 100644
index 000000000000..ff5035158db4
--- /dev/null
+++ b/multimedia/plexhometheater/files/patch-xbmc__windowing__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- ./xbmc/windowing/CMakeLists.txt.orig 2014-06-02 11:45:27.908705610 +0800
++++ ./xbmc/windowing/CMakeLists.txt 2014-06-02 11:46:11.557706164 +0800
+@@ -11,6 +11,8 @@
+ else()
+ find_all_sources(X11 windowing_os_SRCS)
+ endif()
++elseif(TARGET_FREEBSD)
++ find_all_sources(X11 windowing_os_SRCS)
+ elseif(TARGET_WIN32)
+ find_all_sources(windows windowing_os_SRCS)
+ list(REMOVE_ITEM windowing_os_SRCS windows/WinSystemWin32GL.cpp)
diff --git a/multimedia/plexhometheater/files/plexhometheater.sh.in b/multimedia/plexhometheater/files/plexhometheater.sh.in
new file mode 100644
index 000000000000..1815d70c1525
--- /dev/null
+++ b/multimedia/plexhometheater/files/plexhometheater.sh.in
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export XBMC_HOME=%%PREFIX%%/share/plexhometheater
+exec %%PREFIX%%/bin/plexhometheater
diff --git a/multimedia/plexhometheater/pkg-descr b/multimedia/plexhometheater/pkg-descr
new file mode 100644
index 000000000000..691310d1d43b
--- /dev/null
+++ b/multimedia/plexhometheater/pkg-descr
@@ -0,0 +1,8 @@
+For those of you with a dedicated computer for your TV,
+Plex Home Theater celebrates your personal videos, music
+and photos and gives them the stage they deserve. Simply
+download Plex Home Theater on your dedicated computer
+and the free Plex Media Server on your home computer
+then sit back and enjoy.
+
+WWW: https://plex.tv
diff --git a/multimedia/plexhometheater/pkg-plist b/multimedia/plexhometheater/pkg-plist
new file mode 100644
index 000000000000..4b69d446180f
--- /dev/null
+++ b/multimedia/plexhometheater/pkg-plist
@@ -0,0 +1,1280 @@
+bin/plexhometheater
+bin/plexhometheater.sh
+bin/xbmc-xrandr
+lib/plexhometheater/system/ImageLib-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/libcpluff-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/players/dvdplayer/avcodec-53-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/players/dvdplayer/avfilter-2-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/players/dvdplayer/avformat-53-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/players/dvdplayer/avutil-51-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/players/dvdplayer/postproc-52-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/players/dvdplayer/swresample-0-%%ARCH%%-freebsd.so
+lib/plexhometheater/system/players/dvdplayer/swscale-2-%%ARCH%%-freebsd.so
+%%DATADIR%%/Credits.html
+%%DATADIR%%/addons/repository.pvr-android.xbmc.org/addon.xml
+%%DATADIR%%/addons/repository.pvr-android.xbmc.org/icon.png
+%%DATADIR%%/addons/repository.pvr-ios.xbmc.org/addon.xml
+%%DATADIR%%/addons/repository.pvr-ios.xbmc.org/icon.png
+%%DATADIR%%/addons/repository.pvr-osx32.xbmc.org/addon.xml
+%%DATADIR%%/addons/repository.pvr-osx32.xbmc.org/icon.png
+%%DATADIR%%/addons/repository.pvr-osx64.xbmc.org/addon.xml
+%%DATADIR%%/addons/repository.pvr-osx64.xbmc.org/icon.png
+%%DATADIR%%/addons/repository.pvr-win32.xbmc.org/addon.xml
+%%DATADIR%%/addons/repository.pvr-win32.xbmc.org/icon.png
+%%DATADIR%%/addons/screensaver.xbmc.builtin.black/addon.xml
+%%DATADIR%%/addons/screensaver.xbmc.builtin.black/icon.png
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/addon.xml
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/icon.png
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Afrikaans/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Albanian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Amharic/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Arabic/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Asturian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Belarusian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Bulgarian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Burmese/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Catalan/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Chinese (Simple)/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Chinese (Traditional)/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Croatian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Czech/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Danish/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Dutch/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/English (US)/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/English/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Estonian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Finnish/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/French/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Galician/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/German/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Greek/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Hebrew/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Hungarian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Icelandic/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Italian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Japanese/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Korean/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Latvian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Lithuanian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Macedonian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Norwegian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Polish/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Portuguese (Brazil)/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Portuguese/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Romanian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Russian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Slovak/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Slovenian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Spanish (Argentina)/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Spanish (Mexico)/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Spanish/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Swedish/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Tamil (India)/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Thai/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Turkish/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Ukrainian/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Vietnamese/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Welsh/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/settings.xml
+%%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos/addon.xml
+%%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos/icon.png
+%%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos/resources/language/English/strings.po
+%%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos/resources/settings.xml
+%%DATADIR%%/addons/script.module.pil/addon.xml
+%%DATADIR%%/addons/skin.plex/720p/Backgrounds.xml
+%%DATADIR%%/addons/skin.plex/720p/Custom1_HomeMenu.xml
+%%DATADIR%%/addons/skin.plex/720p/Custom2_SettingsNav.xml
+%%DATADIR%%/addons/skin.plex/720p/CustomSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/Debug.xml
+%%DATADIR%%/addons/skin.plex/720p/Defaults.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogAddonSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogAlbumInfo.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogBusy.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogButtonMenu.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogContentSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogContextMenu.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogExtendedProgressBar.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogFileStacking.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogFilters.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogFullScreenInfo.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogKaiToast.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogKeyboard.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogMuteBug.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogNetworkSetup.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogNumeric.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogOk.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogPeripheralManager.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogPeripheralSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogPictureInfo.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogPlexExtras.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogPluginSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogProgress.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogRating.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogSeekBar.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogSelect.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogSelectAudioStream.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogSelectSubtitleStream.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogSongInfo.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogTimer.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogVideoInfo.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogVolumeBar.xml
+%%DATADIR%%/addons/skin.plex/720p/DialogYesNo.xml
+%%DATADIR%%/addons/skin.plex/720p/FileBrowser.xml
+%%DATADIR%%/addons/skin.plex/720p/FileManager.xml
+%%DATADIR%%/addons/skin.plex/720p/Font.xml
+%%DATADIR%%/addons/skin.plex/720p/Home.xml
+%%DATADIR%%/addons/skin.plex/720p/HomeLists.xml
+%%DATADIR%%/addons/skin.plex/720p/HomeMenu.xml
+%%DATADIR%%/addons/skin.plex/720p/Includes.xml
+%%DATADIR%%/addons/skin.plex/720p/IncludesGlobals.xml
+%%DATADIR%%/addons/skin.plex/720p/LeftSideMenu.xml
+%%DATADIR%%/addons/skin.plex/720p/LockSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/LoginScreen.xml
+%%DATADIR%%/addons/skin.plex/720p/MusicOSD.xml
+%%DATADIR%%/addons/skin.plex/720p/MusicOverlay.xml
+%%DATADIR%%/addons/skin.plex/720p/MusicVisualisation.xml
+%%DATADIR%%/addons/skin.plex/720p/MyChannels.xml
+%%DATADIR%%/addons/skin.plex/720p/MyMusicNav.xml
+%%DATADIR%%/addons/skin.plex/720p/MyMusicPlaylist.xml
+%%DATADIR%%/addons/skin.plex/720p/MyMusicPlaylistEditor.xml
+%%DATADIR%%/addons/skin.plex/720p/MyMusicSongs.xml
+%%DATADIR%%/addons/skin.plex/720p/MyPics.xml
+%%DATADIR%%/addons/skin.plex/720p/MyPlexLogin.xml
+%%DATADIR%%/addons/skin.plex/720p/MyPlexLoginStartup.xml
+%%DATADIR%%/addons/skin.plex/720p/MyPrograms.xml
+%%DATADIR%%/addons/skin.plex/720p/MySharedContent.xml
+%%DATADIR%%/addons/skin.plex/720p/MyVideoNav.xml
+%%DATADIR%%/addons/skin.plex/720p/MyVideoPlaylist.xml
+%%DATADIR%%/addons/skin.plex/720p/NowPlaying.xml
+%%DATADIR%%/addons/skin.plex/720p/PlayerControls.xml
+%%DATADIR%%/addons/skin.plex/720p/PlexPlayQueue.xml
+%%DATADIR%%/addons/skin.plex/720p/PlexPreplayVideo.xml
+%%DATADIR%%/addons/skin.plex/720p/PlexSearch.xml
+%%DATADIR%%/addons/skin.plex/720p/PlexStartupHelper.xml
+%%DATADIR%%/addons/skin.plex/720p/Pointer.xml
+%%DATADIR%%/addons/skin.plex/720p/ProfileSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/Settings.xml
+%%DATADIR%%/addons/skin.plex/720p/SettingsCategory.xml
+%%DATADIR%%/addons/skin.plex/720p/SettingsProfile.xml
+%%DATADIR%%/addons/skin.plex/720p/SettingsScreenCalibration.xml
+%%DATADIR%%/addons/skin.plex/720p/SettingsSystemInfo.xml
+%%DATADIR%%/addons/skin.plex/720p/SkinSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/SlideShow.xml
+%%DATADIR%%/addons/skin.plex/720p/SmartPlaylistEditor.xml
+%%DATADIR%%/addons/skin.plex/720p/SmartPlaylistRule.xml
+%%DATADIR%%/addons/skin.plex/720p/Startup.xml
+%%DATADIR%%/addons/skin.plex/720p/VideoFullScreen.xml
+%%DATADIR%%/addons/skin.plex/720p/VideoOSD.xml
+%%DATADIR%%/addons/skin.plex/720p/VideoOSDBookmarks.xml
+%%DATADIR%%/addons/skin.plex/720p/VideoOSDSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/VideoOverlay.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewNowPlaying.xml
+%%DATADIR%%/addons/skin.plex/720p/Views.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsChannels.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsClip.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsDialogs.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsFullInfoCard.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsMovieTV.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsMusic.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsOSD.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsPhoto.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsPlayQueue.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsPreplay.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsSearch.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsSettings.xml
+%%DATADIR%%/addons/skin.plex/720p/ViewsSharedContent.xml
+%%DATADIR%%/addons/skin.plex/720p/VisualisationPresetList.xml
+%%DATADIR%%/addons/skin.plex/Colors/Defaults.xml
+%%DATADIR%%/addons/skin.plex/Media/Textures.xbt
+%%DATADIR%%/addons/skin.plex/Sounds/Back.wav
+%%DATADIR%%/addons/skin.plex/Sounds/Click.wav
+%%DATADIR%%/addons/skin.plex/Sounds/Cursor.wav
+%%DATADIR%%/addons/skin.plex/Sounds/Notify.wav
+%%DATADIR%%/addons/skin.plex/Sounds/Out.wav
+%%DATADIR%%/addons/skin.plex/Sounds/Shutter.wav
+%%DATADIR%%/addons/skin.plex/Sounds/sounds.xml
+%%DATADIR%%/addons/skin.plex/addon.xml
+%%DATADIR%%/addons/skin.plex/fonts/PlexFont-Bold.ttf
+%%DATADIR%%/addons/skin.plex/fonts/PlexFont-Regular.ttf
+%%DATADIR%%/addons/skin.plex/icon.png
+%%DATADIR%%/addons/skin.plex/language/Chinese (Simple)/strings.po
+%%DATADIR%%/addons/skin.plex/language/Chinese (Traditional)/strings.po
+%%DATADIR%%/addons/skin.plex/language/Danish/strings.po
+%%DATADIR%%/addons/skin.plex/language/Dutch/strings.po
+%%DATADIR%%/addons/skin.plex/language/English (US)/strings.po
+%%DATADIR%%/addons/skin.plex/language/English/strings.po
+%%DATADIR%%/addons/skin.plex/language/French/strings.po
+%%DATADIR%%/addons/skin.plex/language/German/strings.po
+%%DATADIR%%/addons/skin.plex/language/Greek/strings.po
+%%DATADIR%%/addons/skin.plex/language/Hebrew/strings.po
+%%DATADIR%%/addons/skin.plex/language/Italian/strings.po
+%%DATADIR%%/addons/skin.plex/language/Korean/strings.po
+%%DATADIR%%/addons/skin.plex/language/Polish/strings.po
+%%DATADIR%%/addons/skin.plex/language/Portuguese (Brazil)/strings.po
+%%DATADIR%%/addons/skin.plex/language/Portuguese/strings.po
+%%DATADIR%%/addons/skin.plex/language/Spanish/strings.po
+%%DATADIR%%/addons/skin.plex/language/Swedish/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/addon.xml
+%%DATADIR%%/addons/visualization.dxspectrum/icon.png
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Afrikaans/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Albanian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Amharic/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Arabic/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Basque/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Belarusian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Bosnian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Bulgarian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Burmese/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Catalan/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Chinese (Simple)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Chinese (Traditional)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Croatian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Czech/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Danish/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Dutch/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/English (US)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/English/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Esperanto/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Estonian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Faroese/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Finnish/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/French/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Galician/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/German/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Greek/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Hebrew/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Hindi (Devanagiri)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Hungarian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Icelandic/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Indonesian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Italian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Japanese/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Korean/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Latvian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Lithuanian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Macedonian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Maltese/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Norwegian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Persian (Iran)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Persian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Polish/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Portuguese (Brazil)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Portuguese/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Romanian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Russian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Serbian (Cyrillic)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Serbian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Slovak/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Slovenian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Spanish (Argentina)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Spanish (Mexico)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Spanish/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Swedish/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Tamil (India)/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Thai/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Turkish/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Ukrainian/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Uzbek/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Vietnamese/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/language/Welsh/strings.po
+%%DATADIR%%/addons/visualization.dxspectrum/resources/settings.xml
+%%DATADIR%%/addons/visualization.glspectrum/addon.xml
+%%DATADIR%%/addons/visualization.glspectrum/icon.png
+%%DATADIR%%/addons/visualization.glspectrum/opengl_spectrum.vis
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Afrikaans/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Albanian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Amharic/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Arabic/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Basque/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Belarusian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Bosnian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Bulgarian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Burmese/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Catalan/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Chinese (Simple)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Chinese (Traditional)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Croatian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Czech/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Danish/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Dutch/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/English (US)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/English/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Esperanto/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Estonian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Faroese/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Finnish/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/French/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Galician/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/German/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Greek/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Hebrew/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Hindi (Devanagiri)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Hungarian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Icelandic/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Indonesian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Italian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Japanese/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Korean/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Latvian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Lithuanian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Macedonian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Maltese/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Norwegian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Persian (Iran)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Persian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Polish/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Portuguese (Brazil)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Portuguese/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Romanian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Russian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Serbian (Cyrillic)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Serbian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Slovak/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Slovenian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Spanish (Argentina)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Spanish (Mexico)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Spanish/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Swedish/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Tamil (India)/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Thai/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Turkish/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Ukrainian/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Uzbek/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Vietnamese/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/language/Welsh/strings.po
+%%DATADIR%%/addons/visualization.glspectrum/resources/settings.xml
+%%DATADIR%%/addons/visualization.goom/Goom.vis
+%%DATADIR%%/addons/visualization.goom/addon.xml
+%%DATADIR%%/addons/visualization.goom/icon.png
+%%DATADIR%%/addons/visualization.milkdrop/addon.xml
+%%DATADIR%%/addons/visualization.milkdrop/icon.png
+%%DATADIR%%/addons/visualization.milkdrop/presets/WA51-presets(265).zip
+%%DATADIR%%/addons/visualization.milkdrop/presets/Winamp-presets(436).zip
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Afrikaans/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Albanian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Amharic/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Arabic/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Belarusian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Bulgarian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Burmese/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Catalan/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Chinese (Simple)/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Chinese (Traditional)/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Croatian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Czech/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Danish/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Dutch/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/English (US)/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/English/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Estonian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Finnish/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/French/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Galician/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/German/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Greek/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Hebrew/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Hungarian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Icelandic/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Indonesian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Italian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Japanese/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Korean/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Lithuanian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Macedonian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Norwegian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Polish/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Portuguese (Brazil)/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Portuguese/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Romanian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Russian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Slovak/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Slovenian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Spanish (Argentina)/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Spanish (Mexico)/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Spanish/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Swedish/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Tamil (India)/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Ukrainian/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Vietnamese/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/language/Welsh/strings.po
+%%DATADIR%%/addons/visualization.milkdrop/resources/settings.xml
+%%DATADIR%%/addons/visualization.nowplaying/addon.xml
+%%DATADIR%%/addons/visualization.projectm/addon.xml
+%%DATADIR%%/addons/visualization.projectm/icon.png
+%%DATADIR%%/addons/visualization.projectm/projectM.vis
+%%DATADIR%%/addons/visualization.projectm/resources/language/Afrikaans/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Albanian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Amharic/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Arabic/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Basque/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Belarusian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Bosnian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Bulgarian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Burmese/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Catalan/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Chinese (Simple)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Chinese (Traditional)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Croatian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Czech/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Danish/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Dutch/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/English (US)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/English/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Esperanto/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Estonian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Faroese/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Finnish/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/French/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Galician/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/German/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Greek/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Hebrew/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Hindi (Devanagiri)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Hungarian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Icelandic/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Indonesian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Italian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Japanese/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Korean/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Latvian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Lithuanian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Macedonian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Maltese/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Norwegian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Persian (Iran)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Polish/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Portuguese (Brazil)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Portuguese/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Romanian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Russian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Serbian (Cyrillic)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Serbian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Slovak/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Slovenian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Spanish (Argentina)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Spanish (Mexico)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Spanish/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Swedish/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Tamil (India)/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Thai/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Turkish/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Ukrainian/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Uzbek/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Vietnamese/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/language/Welsh/strings.po
+%%DATADIR%%/addons/visualization.projectm/resources/presets.zip
+%%DATADIR%%/addons/visualization.projectm/resources/settings.xml
+%%DATADIR%%/addons/visualization.waveform/addon.xml
+%%DATADIR%%/addons/visualization.waveform/icon.png
+%%DATADIR%%/addons/visualization.waveform/waveform.vis
+%%DATADIR%%/addons/webinterface.default/addon.xml
+%%DATADIR%%/addons/webinterface.default/css/core.css
+%%DATADIR%%/addons/webinterface.default/css/ipad.css
+%%DATADIR%%/addons/webinterface.default/favicon.ico
+%%DATADIR%%/addons/webinterface.default/icon.png
+%%DATADIR%%/addons/webinterface.default/images/DefaultAlbumCover.png
+%%DATADIR%%/addons/webinterface.default/images/DefaultVideo.png
+%%DATADIR%%/addons/webinterface.default/images/ajax-loader.gif
+%%DATADIR%%/addons/webinterface.default/images/close-button.png
+%%DATADIR%%/addons/webinterface.default/images/remote.jpg
+%%DATADIR%%/addons/webinterface.default/index.html
+%%DATADIR%%/addons/webinterface.default/js/MediaLibrary.js
+%%DATADIR%%/addons/webinterface.default/js/NowPlayingManager.js
+%%DATADIR%%/addons/webinterface.default/js/iscroll-min.js
+%%DATADIR%%/addons/webinterface.default/js/iscroll.js
+%%DATADIR%%/addons/webinterface.default/js/jquery-1.8.2.min.js
+%%DATADIR%%/addons/webinterface.default/js/json2.js
+%%DATADIR%%/addons/webinterface.default/js/xbmc.core.js
+%%DATADIR%%/addons/webinterface.default/js/xbmc.init.js
+%%DATADIR%%/addons/webinterface.default/js/xbmc.launcher.js
+%%DATADIR%%/addons/webinterface.default/js/xbmc.rpc.js
+%%DATADIR%%/addons/xbmc.addon/addon.xml
+%%DATADIR%%/addons/xbmc.addon/repository.xsd
+%%DATADIR%%/addons/xbmc.core/addon.xml
+%%DATADIR%%/addons/xbmc.gui/addon.xml
+%%DATADIR%%/addons/xbmc.gui/skin.xsd
+%%DATADIR%%/addons/xbmc.json/addon.xml
+%%DATADIR%%/addons/xbmc.pvr/addon.xml
+%%DATADIR%%/language/Afrikaans/langinfo.xml
+%%DATADIR%%/language/Afrikaans/strings.po
+%%DATADIR%%/language/Afrikaans_plex/langinfo.xml
+%%DATADIR%%/language/Afrikaans_plex/strings.po
+%%DATADIR%%/language/Albanian/langinfo.xml
+%%DATADIR%%/language/Albanian/strings.po
+%%DATADIR%%/language/Amharic/langinfo.xml
+%%DATADIR%%/language/Amharic/strings.po
+%%DATADIR%%/language/Arabic/langinfo.xml
+%%DATADIR%%/language/Arabic/strings.po
+%%DATADIR%%/language/Basque/langinfo.xml
+%%DATADIR%%/language/Basque/strings.po
+%%DATADIR%%/language/Belarusian/langinfo.xml
+%%DATADIR%%/language/Belarusian/strings.po
+%%DATADIR%%/language/Bosnian/langinfo.xml
+%%DATADIR%%/language/Bosnian/strings.po
+%%DATADIR%%/language/Bulgarian/langinfo.xml
+%%DATADIR%%/language/Bulgarian/strings.po
+%%DATADIR%%/language/Burmese/langinfo.xml
+%%DATADIR%%/language/Burmese/strings.po
+%%DATADIR%%/language/Catalan/langinfo.xml
+%%DATADIR%%/language/Catalan/strings.po
+%%DATADIR%%/language/Chinese (Simple)/langinfo.xml
+%%DATADIR%%/language/Chinese (Simple)/strings.po
+%%DATADIR%%/language/Chinese (Simple)_plex/langinfo.xml
+%%DATADIR%%/language/Chinese (Simple)_plex/strings.po
+%%DATADIR%%/language/Chinese (Traditional)/langinfo.xml
+%%DATADIR%%/language/Chinese (Traditional)/strings.po
+%%DATADIR%%/language/Croatian/langinfo.xml
+%%DATADIR%%/language/Croatian/strings.po
+%%DATADIR%%/language/Croatian_plex/langinfo.xml
+%%DATADIR%%/language/Croatian_plex/strings.po
+%%DATADIR%%/language/Czech/langinfo.xml
+%%DATADIR%%/language/Czech/strings.po
+%%DATADIR%%/language/Czech_plex/langinfo.xml
+%%DATADIR%%/language/Czech_plex/strings.po
+%%DATADIR%%/language/Danish/langinfo.xml
+%%DATADIR%%/language/Danish/strings.po
+%%DATADIR%%/language/Danish_plex/langinfo.xml
+%%DATADIR%%/language/Danish_plex/strings.po
+%%DATADIR%%/language/Dutch/langinfo.xml
+%%DATADIR%%/language/Dutch/strings.po
+%%DATADIR%%/language/Dutch_plex/langinfo.xml
+%%DATADIR%%/language/Dutch_plex/strings.po
+%%DATADIR%%/language/English (US)/langinfo.xml
+%%DATADIR%%/language/English (US)/strings.po
+%%DATADIR%%/language/English/langinfo.xml
+%%DATADIR%%/language/English/strings.po
+%%DATADIR%%/language/English_plex/langinfo.xml
+%%DATADIR%%/language/English_plex/strings.po
+%%DATADIR%%/language/Esperanto/langinfo.xml
+%%DATADIR%%/language/Esperanto/strings.po
+%%DATADIR%%/language/Estonian/langinfo.xml
+%%DATADIR%%/language/Estonian/strings.po
+%%DATADIR%%/language/Faroese/langinfo.xml
+%%DATADIR%%/language/Faroese/strings.po
+%%DATADIR%%/language/Finnish/langinfo.xml
+%%DATADIR%%/language/Finnish/strings.po
+%%DATADIR%%/language/Finnish_plex/langinfo.xml
+%%DATADIR%%/language/Finnish_plex/strings.po
+%%DATADIR%%/language/French/langinfo.xml
+%%DATADIR%%/language/French/strings.po
+%%DATADIR%%/language/French_plex/langinfo.xml
+%%DATADIR%%/language/French_plex/strings.po
+%%DATADIR%%/language/Galician/langinfo.xml
+%%DATADIR%%/language/Galician/strings.po
+%%DATADIR%%/language/German/keyboardmap.xml
+%%DATADIR%%/language/German/langinfo.xml
+%%DATADIR%%/language/German/strings.po
+%%DATADIR%%/language/German_plex/keyboardmap.xml
+%%DATADIR%%/language/German_plex/langinfo.xml
+%%DATADIR%%/language/German_plex/strings.po
+%%DATADIR%%/language/Greek/langinfo.xml
+%%DATADIR%%/language/Greek/strings.po
+%%DATADIR%%/language/Greek_plex/langinfo.xml
+%%DATADIR%%/language/Greek_plex/strings.po
+%%DATADIR%%/language/Hebrew/langinfo.xml
+%%DATADIR%%/language/Hebrew/strings.po
+%%DATADIR%%/language/Hebrew_plex/langinfo.xml
+%%DATADIR%%/language/Hebrew_plex/strings.po
+%%DATADIR%%/language/Hindi (Devanagiri)/langinfo.xml
+%%DATADIR%%/language/Hindi (Devanagiri)/strings.po
+%%DATADIR%%/language/Hungarian/langinfo.xml
+%%DATADIR%%/language/Hungarian/strings.po
+%%DATADIR%%/language/Icelandic/langinfo.xml
+%%DATADIR%%/language/Icelandic/strings.po
+%%DATADIR%%/language/Icelandic_plex/langinfo.xml
+%%DATADIR%%/language/Icelandic_plex/strings.po
+%%DATADIR%%/language/Indonesian/langinfo.xml
+%%DATADIR%%/language/Indonesian/strings.po
+%%DATADIR%%/language/Italian/langinfo.xml
+%%DATADIR%%/language/Italian/strings.po
+%%DATADIR%%/language/Italian_plex/langinfo.xml
+%%DATADIR%%/language/Italian_plex/strings.po
+%%DATADIR%%/language/Japanese/langinfo.xml
+%%DATADIR%%/language/Japanese/strings.po
+%%DATADIR%%/language/Korean/langinfo.xml
+%%DATADIR%%/language/Korean/strings.po
+%%DATADIR%%/language/Korean_plex/langinfo.xml
+%%DATADIR%%/language/Korean_plex/strings.po
+%%DATADIR%%/language/Latvian/langinfo.xml
+%%DATADIR%%/language/Latvian/strings.po
+%%DATADIR%%/language/Latvian_plex/langinfo.xml
+%%DATADIR%%/language/Latvian_plex/strings.po
+%%DATADIR%%/language/Lithuanian/langinfo.xml
+%%DATADIR%%/language/Lithuanian/strings.po
+%%DATADIR%%/language/Macedonian/langinfo.xml
+%%DATADIR%%/language/Macedonian/strings.po
+%%DATADIR%%/language/Malay/langinfo.xml
+%%DATADIR%%/language/Malay/strings.po
+%%DATADIR%%/language/Maltese/langinfo.xml
+%%DATADIR%%/language/Maltese/strings.po
+%%DATADIR%%/language/Norwegian/langinfo.xml
+%%DATADIR%%/language/Norwegian/strings.po
+%%DATADIR%%/language/Norwegian_plex/langinfo.xml
+%%DATADIR%%/language/Norwegian_plex/strings.po
+%%DATADIR%%/language/Persian (Iran)/langinfo.xml
+%%DATADIR%%/language/Persian (Iran)/strings.po
+%%DATADIR%%/language/Polish/langinfo.xml
+%%DATADIR%%/language/Polish/strings.po
+%%DATADIR%%/language/Polish_plex/langinfo.xml
+%%DATADIR%%/language/Polish_plex/strings.po
+%%DATADIR%%/language/Portuguese (Brazil)/langinfo.xml
+%%DATADIR%%/language/Portuguese (Brazil)/strings.po
+%%DATADIR%%/language/Portuguese (Brazil)_plex/langinfo.xml
+%%DATADIR%%/language/Portuguese (Brazil)_plex/strings.po
+%%DATADIR%%/language/Portuguese/langinfo.xml
+%%DATADIR%%/language/Portuguese/strings.po
+%%DATADIR%%/language/Portuguese_plex/langinfo.xml
+%%DATADIR%%/language/Portuguese_plex/strings.po
+%%DATADIR%%/language/Romanian/langinfo.xml
+%%DATADIR%%/language/Romanian/strings.po
+%%DATADIR%%/language/Russian/langinfo.xml
+%%DATADIR%%/language/Russian/strings.po
+%%DATADIR%%/language/Russian_plex/langinfo.xml
+%%DATADIR%%/language/Russian_plex/strings.po
+%%DATADIR%%/language/Serbian (Cyrillic)/langinfo.xml
+%%DATADIR%%/language/Serbian (Cyrillic)/strings.po
+%%DATADIR%%/language/Serbian/langinfo.xml
+%%DATADIR%%/language/Serbian/strings.po
+%%DATADIR%%/language/Serbian_plex/langinfo.xml
+%%DATADIR%%/language/Serbian_plex/strings.po
+%%DATADIR%%/language/Slovak/langinfo.xml
+%%DATADIR%%/language/Slovak/strings.po
+%%DATADIR%%/language/Slovenian/langinfo.xml
+%%DATADIR%%/language/Slovenian/strings.po
+%%DATADIR%%/language/Spanish (Argentina)/langinfo.xml
+%%DATADIR%%/language/Spanish (Argentina)/strings.po
+%%DATADIR%%/language/Spanish (Argentina)_plex/langinfo.xml
+%%DATADIR%%/language/Spanish (Argentina)_plex/strings.po
+%%DATADIR%%/language/Spanish (Mexico)/langinfo.xml
+%%DATADIR%%/language/Spanish (Mexico)/strings.po
+%%DATADIR%%/language/Spanish/langinfo.xml
+%%DATADIR%%/language/Spanish/strings.po
+%%DATADIR%%/language/Spanish_plex/langinfo.xml
+%%DATADIR%%/language/Spanish_plex/strings.po
+%%DATADIR%%/language/Swedish/langinfo.xml
+%%DATADIR%%/language/Swedish/strings.po
+%%DATADIR%%/language/Swedish_plex/langinfo.xml
+%%DATADIR%%/language/Swedish_plex/strings.po
+%%DATADIR%%/language/Tamil (India)/langinfo.xml
+%%DATADIR%%/language/Tamil (India)/strings.po
+%%DATADIR%%/language/Thai/langinfo.xml
+%%DATADIR%%/language/Thai/strings.po
+%%DATADIR%%/language/Turkish/langinfo.xml
+%%DATADIR%%/language/Turkish/strings.po
+%%DATADIR%%/language/Ukrainian/langinfo.xml
+%%DATADIR%%/language/Ukrainian/strings.po
+%%DATADIR%%/language/Uzbek/langinfo.xml
+%%DATADIR%%/language/Uzbek/strings.po
+%%DATADIR%%/language/Vietnamese/langinfo.xml
+%%DATADIR%%/language/Vietnamese/strings.po
+%%DATADIR%%/language/Welsh/langinfo.xml
+%%DATADIR%%/language/Welsh/strings.po
+%%DATADIR%%/media/AppIcon.png
+%%DATADIR%%/media/Fonts/arial.ttf
+%%DATADIR%%/media/Fonts/plex.ttf
+%%DATADIR%%/media/Fonts/teletext.ttf
+%%DATADIR%%/media/SlideshowOverlay.png
+%%DATADIR%%/media/Splash.png
+%%DATADIR%%/media/icon-flat-120x120.png
+%%DATADIR%%/media/icon-flat-256x256.png
+%%DATADIR%%/media/icon.png
+%%DATADIR%%/media/icon32x32.png
+%%DATADIR%%/media/plex-icon-120.png
+%%DATADIR%%/media/plex-icon-256.png
+%%DATADIR%%/media/weather.zip
+%%DATADIR%%/media/xbmc.icns
+%%DATADIR%%/sounds/Bursting Bubbles/nav.wav
+%%DATADIR%%/sounds/Bursting Bubbles/sounds.xml
+%%DATADIR%%/system/IRSSmap.xml
+%%DATADIR%%/system/Lircmap.xml
+%%DATADIR%%/system/X10-Lola-IRSSmap.xml
+%%DATADIR%%/system/asound.conf
+%%DATADIR%%/system/colors.xml
+%%DATADIR%%/system/keymaps/appcommand.xml
+%%DATADIR%%/system/keymaps/gamepad.xml
+%%DATADIR%%/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml
+%%DATADIR%%/system/keymaps/joystick.AppleRemote.xml
+%%DATADIR%%/system/keymaps/joystick.Harmony.xml
+%%DATADIR%%/system/keymaps/joystick.Interact.AxisPad.xml
+%%DATADIR%%/system/keymaps/joystick.Logitech.RumblePad.2.xml
+%%DATADIR%%/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml
+%%DATADIR%%/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml
+%%DATADIR%%/system/keymaps/joystick.PS3.Remote.Keyboard.xml
+%%DATADIR%%/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml
+%%DATADIR%%/system/keymaps/joystick.WiiRemote.xml
+%%DATADIR%%/system/keymaps/keyboard.xml
+%%DATADIR%%/system/keymaps/mouse.xml
+%%DATADIR%%/system/keymaps/nyxboard/keyboard.xml
+%%DATADIR%%/system/keymaps/remote.xml
+%%DATADIR%%/system/library/video/addons.xml
+%%DATADIR%%/system/library/video/files.xml
+%%DATADIR%%/system/library/video/inprogressshows.xml
+%%DATADIR%%/system/library/video/movies/actors.xml
+%%DATADIR%%/system/library/video/movies/country.xml
+%%DATADIR%%/system/library/video/movies/directors.xml
+%%DATADIR%%/system/library/video/movies/genres.xml
+%%DATADIR%%/system/library/video/movies/index.xml
+%%DATADIR%%/system/library/video/movies/sets.xml
+%%DATADIR%%/system/library/video/movies/studios.xml
+%%DATADIR%%/system/library/video/movies/tags.xml
+%%DATADIR%%/system/library/video/movies/titles.xml
+%%DATADIR%%/system/library/video/movies/years.xml
+%%DATADIR%%/system/library/video/musicvideos/albums.xml
+%%DATADIR%%/system/library/video/musicvideos/artists.xml
+%%DATADIR%%/system/library/video/musicvideos/directors.xml
+%%DATADIR%%/system/library/video/musicvideos/genres.xml
+%%DATADIR%%/system/library/video/musicvideos/index.xml
+%%DATADIR%%/system/library/video/musicvideos/studios.xml
+%%DATADIR%%/system/library/video/musicvideos/tags.xml
+%%DATADIR%%/system/library/video/musicvideos/titles.xml
+%%DATADIR%%/system/library/video/musicvideos/years.xml
+%%DATADIR%%/system/library/video/playlists.xml
+%%DATADIR%%/system/library/video/recentlyaddedepisodes.xml
+%%DATADIR%%/system/library/video/recentlyaddedmovies.xml
+%%DATADIR%%/system/library/video/recentlyaddedmusicvideos.xml
+%%DATADIR%%/system/library/video/tvshows/actors.xml
+%%DATADIR%%/system/library/video/tvshows/genres.xml
+%%DATADIR%%/system/library/video/tvshows/index.xml
+%%DATADIR%%/system/library/video/tvshows/studios.xml
+%%DATADIR%%/system/library/video/tvshows/tags.xml
+%%DATADIR%%/system/library/video/tvshows/titles.xml
+%%DATADIR%%/system/library/video/tvshows/years.xml
+%%DATADIR%%/system/library/video_flat/addons.xml
+%%DATADIR%%/system/library/video_flat/files.xml
+%%DATADIR%%/system/library/video_flat/inprogressshows.xml
+%%DATADIR%%/system/library/video_flat/movies.xml
+%%DATADIR%%/system/library/video_flat/musicvideos.xml
+%%DATADIR%%/system/library/video_flat/playlists.xml
+%%DATADIR%%/system/library/video_flat/recentlyaddedepisodes.xml
+%%DATADIR%%/system/library/video_flat/recentlyaddedmovies.xml
+%%DATADIR%%/system/library/video_flat/recentlyaddedmusicvideos.xml
+%%DATADIR%%/system/library/video_flat/tvshows.xml
+%%DATADIR%%/system/peripherals.xml
+%%DATADIR%%/system/playercorefactory.xml
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/10-autohint.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/10-no-sub-pixel.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/10-sub-pixel-bgr.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/10-sub-pixel-rgb.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/10-sub-pixel-vbgr.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/10-sub-pixel-vrgb.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/10-unhinted.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/20-fix-globaladvance.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/20-lohit-gujarati.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/20-unhint-small-vera.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/30-amt-aliases.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/30-urw-aliases.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/40-generic.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/49-sansserif.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/50-user.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/51-local.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/60-latin.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/65-fonts-persian.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/65-nonlatin.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/69-unifont.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/70-no-bitmaps.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/70-yes-bitmaps.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/80-delicious.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/90-synthetic.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail/README
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/20-fix-globaladvance.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/20-lohit-gujarati.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/20-unhint-small-vera.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/30-amt-aliases.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/30-urw-aliases.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/40-generic.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/49-sansserif.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/50-user.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/51-local.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/60-latin.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/65-fonts-persian.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/65-nonlatin.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/69-unifont.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/80-delicious.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d/90-synthetic.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/fonts.conf
+%%DATADIR%%/system/players/dvdplayer/etc/fonts/fonts.dtd
+%%DATADIR%%/system/shaders/convolution-4x4.glsl
+%%DATADIR%%/system/shaders/convolution-4x4_d3d.fx
+%%DATADIR%%/system/shaders/convolution-6x6.glsl
+%%DATADIR%%/system/shaders/convolution-6x6_d3d.fx
+%%DATADIR%%/system/shaders/convolutionsep-4x4_d3d.fx
+%%DATADIR%%/system/shaders/convolutionsep-6x6_d3d.fx
+%%DATADIR%%/system/shaders/guishader_frag_default.glsl
+%%DATADIR%%/system/shaders/guishader_frag_fonts.glsl
+%%DATADIR%%/system/shaders/guishader_frag_multi.glsl
+%%DATADIR%%/system/shaders/guishader_frag_multi_blendcolor.glsl
+%%DATADIR%%/system/shaders/guishader_frag_rgba.glsl
+%%DATADIR%%/system/shaders/guishader_frag_rgba_blendcolor.glsl
+%%DATADIR%%/system/shaders/guishader_frag_texture.glsl
+%%DATADIR%%/system/shaders/guishader_frag_texture_noblend.glsl
+%%DATADIR%%/system/shaders/guishader_vert.glsl
+%%DATADIR%%/system/shaders/stretch.glsl
+%%DATADIR%%/system/shaders/testshader.fx
+%%DATADIR%%/system/shaders/yuv2rgb_basic.glsl
+%%DATADIR%%/system/shaders/yuv2rgb_basic_2d.arb
+%%DATADIR%%/system/shaders/yuv2rgb_basic_2d_UYVY.arb
+%%DATADIR%%/system/shaders/yuv2rgb_basic_2d_YUY2.arb
+%%DATADIR%%/system/shaders/yuv2rgb_basic_gles.glsl
+%%DATADIR%%/system/shaders/yuv2rgb_basic_rect.arb
+%%DATADIR%%/system/shaders/yuv2rgb_basic_rect_UYVY.arb
+%%DATADIR%%/system/shaders/yuv2rgb_basic_rect_YUY2.arb
+%%DATADIR%%/system/shaders/yuv2rgb_bob.glsl
+%%DATADIR%%/system/shaders/yuv2rgb_bob_gles.glsl
+%%DATADIR%%/system/shaders/yuv2rgb_d3d.fx
+%%DATADIR%%/system/shaders/yuv2rgb_vertex.glsl
+%%DATADIR%%/system/shaders/yuv2rgb_vertex_gles.glsl
+@dirrmtry lib/plexhometheater/system/players/dvdplayer
+@dirrmtry lib/plexhometheater/system/players
+@dirrmtry lib/plexhometheater/system
+@dirrmtry lib/plexhometheater
+@dirrmtry %%DATADIR%%/addons/repository.pvr-android.xbmc.org
+@dirrmtry %%DATADIR%%/addons/repository.pvr-ios.xbmc.org
+@dirrmtry %%DATADIR%%/addons/repository.pvr-osx32.xbmc.org
+@dirrmtry %%DATADIR%%/addons/repository.pvr-osx64.xbmc.org
+@dirrmtry %%DATADIR%%/addons/repository.pvr-win32.xbmc.org
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.black
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Afrikaans
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Albanian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Amharic
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Arabic
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Asturian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Belarusian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Bulgarian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Burmese
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Catalan
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Chinese (Simple)
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Chinese (Traditional)
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Croatian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Czech
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Danish
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Dutch
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/English
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/English (US)
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Estonian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Finnish
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/French
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Galician
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/German
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Greek
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Hebrew
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Hungarian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Icelandic
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Italian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Japanese
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Korean
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Latvian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Lithuanian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Macedonian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Norwegian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Polish
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Portuguese
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Portuguese (Brazil)
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Romanian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Russian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Slovak
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Slovenian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Spanish
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Spanish (Argentina)
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Spanish (Mexico)
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Swedish
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Tamil (India)
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Thai
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Turkish
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Ukrainian
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Vietnamese
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language/Welsh
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources/language
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim/resources
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.dim
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos/resources/language/English
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos/resources/language
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos/resources
+@dirrmtry %%DATADIR%%/addons/screensaver.xbmc.builtin.plexphotos
+@dirrmtry %%DATADIR%%/addons/script.module.pil
+@dirrmtry %%DATADIR%%/addons/skin.plex/720p
+@dirrmtry %%DATADIR%%/addons/skin.plex/Colors
+@dirrmtry %%DATADIR%%/addons/skin.plex/Media
+@dirrmtry %%DATADIR%%/addons/skin.plex/Sounds
+@dirrmtry %%DATADIR%%/addons/skin.plex/fonts
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Chinese (Simple)
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Chinese (Traditional)
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Danish
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Dutch
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/English
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/English (US)
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/French
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/German
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Greek
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Hebrew
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Italian
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Korean
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Polish
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Portuguese
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Portuguese (Brazil)
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Spanish
+@dirrmtry %%DATADIR%%/addons/skin.plex/language/Swedish
+@dirrmtry %%DATADIR%%/addons/skin.plex/language
+@dirrmtry %%DATADIR%%/addons/skin.plex
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Afrikaans
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Albanian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Amharic
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Arabic
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Basque
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Belarusian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Bosnian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Bulgarian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Burmese
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Catalan
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Chinese (Simple)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Chinese (Traditional)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Croatian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Czech
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Danish
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Dutch
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/English
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/English (US)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Esperanto
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Estonian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Faroese
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Finnish
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/French
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Galician
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/German
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Greek
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Hebrew
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Hindi (Devanagiri)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Hungarian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Icelandic
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Indonesian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Italian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Japanese
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Korean
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Latvian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Lithuanian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Macedonian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Maltese
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Norwegian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Persian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Persian (Iran)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Polish
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Portuguese
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Portuguese (Brazil)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Romanian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Russian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Serbian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Serbian (Cyrillic)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Slovak
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Slovenian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Spanish
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Spanish (Argentina)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Spanish (Mexico)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Swedish
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Tamil (India)
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Thai
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Turkish
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Ukrainian
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Uzbek
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Vietnamese
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language/Welsh
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources/language
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum/resources
+@dirrmtry %%DATADIR%%/addons/visualization.dxspectrum
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Afrikaans
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Albanian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Amharic
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Arabic
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Basque
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Belarusian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Bosnian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Bulgarian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Burmese
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Catalan
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Chinese (Simple)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Chinese (Traditional)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Croatian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Czech
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Danish
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Dutch
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/English
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/English (US)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Esperanto
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Estonian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Faroese
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Finnish
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/French
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Galician
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/German
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Greek
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Hebrew
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Hindi (Devanagiri)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Hungarian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Icelandic
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Indonesian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Italian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Japanese
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Korean
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Latvian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Lithuanian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Macedonian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Maltese
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Norwegian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Persian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Persian (Iran)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Polish
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Portuguese
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Portuguese (Brazil)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Romanian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Russian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Serbian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Serbian (Cyrillic)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Slovak
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Slovenian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Spanish
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Spanish (Argentina)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Spanish (Mexico)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Swedish
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Tamil (India)
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Thai
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Turkish
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Ukrainian
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Uzbek
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Vietnamese
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language/Welsh
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources/language
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum/resources
+@dirrmtry %%DATADIR%%/addons/visualization.glspectrum
+@dirrmtry %%DATADIR%%/addons/visualization.goom
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/presets
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Afrikaans
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Albanian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Amharic
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Arabic
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Belarusian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Bulgarian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Burmese
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Catalan
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Chinese (Simple)
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Chinese (Traditional)
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Croatian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Czech
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Danish
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Dutch
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/English
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/English (US)
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Estonian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Finnish
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/French
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Galician
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/German
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Greek
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Hebrew
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Hungarian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Icelandic
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Indonesian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Italian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Japanese
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Korean
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Lithuanian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Macedonian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Norwegian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Polish
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Portuguese
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Portuguese (Brazil)
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Romanian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Russian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Slovak
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Slovenian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Spanish
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Spanish (Argentina)
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Spanish (Mexico)
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Swedish
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Tamil (India)
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Ukrainian
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Vietnamese
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language/Welsh
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources/language
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop/resources
+@dirrmtry %%DATADIR%%/addons/visualization.milkdrop
+@dirrmtry %%DATADIR%%/addons/visualization.nowplaying
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Afrikaans
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Albanian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Amharic
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Arabic
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Basque
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Belarusian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Bosnian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Bulgarian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Burmese
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Catalan
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Chinese (Simple)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Chinese (Traditional)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Croatian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Czech
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Danish
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Dutch
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/English
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/English (US)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Esperanto
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Estonian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Faroese
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Finnish
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/French
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Galician
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/German
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Greek
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Hebrew
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Hindi (Devanagiri)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Hungarian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Icelandic
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Indonesian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Italian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Japanese
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Korean
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Latvian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Lithuanian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Macedonian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Maltese
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Norwegian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Persian (Iran)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Polish
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Portuguese
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Portuguese (Brazil)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Romanian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Russian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Serbian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Serbian (Cyrillic)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Slovak
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Slovenian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Spanish
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Spanish (Argentina)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Spanish (Mexico)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Swedish
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Tamil (India)
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Thai
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Turkish
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Ukrainian
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Uzbek
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Vietnamese
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language/Welsh
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources/language
+@dirrmtry %%DATADIR%%/addons/visualization.projectm/resources
+@dirrmtry %%DATADIR%%/addons/visualization.projectm
+@dirrmtry %%DATADIR%%/addons/visualization.waveform
+@dirrmtry %%DATADIR%%/addons/webinterface.default/css
+@dirrmtry %%DATADIR%%/addons/webinterface.default/images
+@dirrmtry %%DATADIR%%/addons/webinterface.default/js
+@dirrmtry %%DATADIR%%/addons/webinterface.default
+@dirrmtry %%DATADIR%%/addons/xbmc.addon
+@dirrmtry %%DATADIR%%/addons/xbmc.core
+@dirrmtry %%DATADIR%%/addons/xbmc.gui
+@dirrmtry %%DATADIR%%/addons/xbmc.json
+@dirrmtry %%DATADIR%%/addons/xbmc.pvr
+@dirrmtry %%DATADIR%%/addons
+@dirrmtry %%DATADIR%%/language/Afrikaans
+@dirrmtry %%DATADIR%%/language/Afrikaans_plex
+@dirrmtry %%DATADIR%%/language/Albanian
+@dirrmtry %%DATADIR%%/language/Amharic
+@dirrmtry %%DATADIR%%/language/Arabic
+@dirrmtry %%DATADIR%%/language/Basque
+@dirrmtry %%DATADIR%%/language/Belarusian
+@dirrmtry %%DATADIR%%/language/Bosnian
+@dirrmtry %%DATADIR%%/language/Bulgarian
+@dirrmtry %%DATADIR%%/language/Burmese
+@dirrmtry %%DATADIR%%/language/Catalan
+@dirrmtry %%DATADIR%%/language/Chinese (Simple)
+@dirrmtry %%DATADIR%%/language/Chinese (Simple)_plex
+@dirrmtry %%DATADIR%%/language/Chinese (Traditional)
+@dirrmtry %%DATADIR%%/language/Croatian
+@dirrmtry %%DATADIR%%/language/Croatian_plex
+@dirrmtry %%DATADIR%%/language/Czech
+@dirrmtry %%DATADIR%%/language/Czech_plex
+@dirrmtry %%DATADIR%%/language/Danish
+@dirrmtry %%DATADIR%%/language/Danish_plex
+@dirrmtry %%DATADIR%%/language/Dutch
+@dirrmtry %%DATADIR%%/language/Dutch_plex
+@dirrmtry %%DATADIR%%/language/English
+@dirrmtry %%DATADIR%%/language/English (US)
+@dirrmtry %%DATADIR%%/language/English_plex
+@dirrmtry %%DATADIR%%/language/Esperanto
+@dirrmtry %%DATADIR%%/language/Estonian
+@dirrmtry %%DATADIR%%/language/Faroese
+@dirrmtry %%DATADIR%%/language/Finnish
+@dirrmtry %%DATADIR%%/language/Finnish_plex
+@dirrmtry %%DATADIR%%/language/French
+@dirrmtry %%DATADIR%%/language/French_plex
+@dirrmtry %%DATADIR%%/language/Galician
+@dirrmtry %%DATADIR%%/language/German
+@dirrmtry %%DATADIR%%/language/German_plex
+@dirrmtry %%DATADIR%%/language/Greek
+@dirrmtry %%DATADIR%%/language/Greek_plex
+@dirrmtry %%DATADIR%%/language/Hebrew
+@dirrmtry %%DATADIR%%/language/Hebrew_plex
+@dirrmtry %%DATADIR%%/language/Hindi (Devanagiri)
+@dirrmtry %%DATADIR%%/language/Hungarian
+@dirrmtry %%DATADIR%%/language/Icelandic
+@dirrmtry %%DATADIR%%/language/Icelandic_plex
+@dirrmtry %%DATADIR%%/language/Indonesian
+@dirrmtry %%DATADIR%%/language/Italian
+@dirrmtry %%DATADIR%%/language/Italian_plex
+@dirrmtry %%DATADIR%%/language/Japanese
+@dirrmtry %%DATADIR%%/language/Korean
+@dirrmtry %%DATADIR%%/language/Korean_plex
+@dirrmtry %%DATADIR%%/language/Latvian
+@dirrmtry %%DATADIR%%/language/Latvian_plex
+@dirrmtry %%DATADIR%%/language/Lithuanian
+@dirrmtry %%DATADIR%%/language/Macedonian
+@dirrmtry %%DATADIR%%/language/Malay
+@dirrmtry %%DATADIR%%/language/Maltese
+@dirrmtry %%DATADIR%%/language/Norwegian
+@dirrmtry %%DATADIR%%/language/Norwegian_plex
+@dirrmtry %%DATADIR%%/language/Persian (Iran)
+@dirrmtry %%DATADIR%%/language/Polish
+@dirrmtry %%DATADIR%%/language/Polish_plex
+@dirrmtry %%DATADIR%%/language/Portuguese
+@dirrmtry %%DATADIR%%/language/Portuguese (Brazil)
+@dirrmtry %%DATADIR%%/language/Portuguese (Brazil)_plex
+@dirrmtry %%DATADIR%%/language/Portuguese_plex
+@dirrmtry %%DATADIR%%/language/Romanian
+@dirrmtry %%DATADIR%%/language/Russian
+@dirrmtry %%DATADIR%%/language/Russian_plex
+@dirrmtry %%DATADIR%%/language/Serbian
+@dirrmtry %%DATADIR%%/language/Serbian (Cyrillic)
+@dirrmtry %%DATADIR%%/language/Serbian_plex
+@dirrmtry %%DATADIR%%/language/Slovak
+@dirrmtry %%DATADIR%%/language/Slovenian
+@dirrmtry %%DATADIR%%/language/Spanish
+@dirrmtry %%DATADIR%%/language/Spanish (Argentina)
+@dirrmtry %%DATADIR%%/language/Spanish (Argentina)_plex
+@dirrmtry %%DATADIR%%/language/Spanish (Mexico)
+@dirrmtry %%DATADIR%%/language/Spanish_plex
+@dirrmtry %%DATADIR%%/language/Swedish
+@dirrmtry %%DATADIR%%/language/Swedish_plex
+@dirrmtry %%DATADIR%%/language/Tamil (India)
+@dirrmtry %%DATADIR%%/language/Thai
+@dirrmtry %%DATADIR%%/language/Turkish
+@dirrmtry %%DATADIR%%/language/Ukrainian
+@dirrmtry %%DATADIR%%/language/Uzbek
+@dirrmtry %%DATADIR%%/language/Vietnamese
+@dirrmtry %%DATADIR%%/language/Welsh
+@dirrmtry %%DATADIR%%/language
+@dirrmtry %%DATADIR%%/media/Fonts
+@dirrmtry %%DATADIR%%/media
+@dirrmtry %%DATADIR%%/sounds/Bursting Bubbles
+@dirrmtry %%DATADIR%%/sounds
+@dirrmtry %%DATADIR%%/system/keymaps/nyxboard
+@dirrmtry %%DATADIR%%/system/keymaps
+@dirrmtry %%DATADIR%%/system/library/video/movies
+@dirrmtry %%DATADIR%%/system/library/video/musicvideos
+@dirrmtry %%DATADIR%%/system/library/video/tvshows
+@dirrmtry %%DATADIR%%/system/library/video
+@dirrmtry %%DATADIR%%/system/library/video_flat
+@dirrmtry %%DATADIR%%/system/library
+@dirrmtry %%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.avail
+@dirrmtry %%DATADIR%%/system/players/dvdplayer/etc/fonts/conf.d
+@dirrmtry %%DATADIR%%/system/players/dvdplayer/etc/fonts
+@dirrmtry %%DATADIR%%/system/players/dvdplayer/etc
+@dirrmtry %%DATADIR%%/system/players/dvdplayer
+@dirrmtry %%DATADIR%%/system/players
+@dirrmtry %%DATADIR%%/system/shaders
+@dirrmtry %%DATADIR%%/system
+@dirrmtry %%DATADIR%%