Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jleroy:PlexHT
plexhometheater
plexhometheater.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plexhometheater.spec of Package plexhometheater
Name: plexhometheater Version: 1.4.1 Release: 1%{?dist} Summary: Plex Home Theater for Fedora 21 License: GPLv2 URL: https://plex.tv/ Source0: https://github.com/plexinc/plex-home-theater-public/archive/v1.4.1.469-47a90f01.tar.gz Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}.appdata.xml # See: http://www.preining.info/blog/2014/10/plex-home-theater-1-2-3-debian-build/#comment-14291 Patch0: plexhometheater-1.3.6-libcec.patch # See: https://forums.plex.tv/index.php/topic/88936-oe-sleepshutdown-not-working-menu-and-keymap/?p=526974 Patch1: plexhometheater-1.3.6-dbus.patch Patch2: plexhometheater-1.3.6-dbus-includes.patch BuildRequires: freetype-devel SDL-devel SDL-static SDL_image-devel SDL_mixer-devel libjpeg-turbo-devel sqlite-devel pcre-devel lzo-devel fribidi-devel libsamplerate-devel yajl-devel libmicrohttpd-devel openssl-devel tinyxml-devel glew-devel flac-devel dbus-devel boost-devel curl-devel libtiff-devel libmad-devel libass-devel libplist-devel libshairport-devel libva-devel libvdpau-devel yasm libcdio-devel libmodplug-devel ffmpeg-devel libcec-devel pulseaudio-libs-devel swig ninja-build desktop-file-utils libappstream-glib cmake avahi-devel python-devel libmpeg2-devel librtmp-devel java-1.8.0-openjdk-headless Requires: freetype SDL_image SDL_mixer libjpeg-turbo sqlite pcre lzo fribidi libsamplerate yajl libmicrohttpd openssl tinyxml glew flac dbus boost curl libtiff libmad libass libplist libshairport libva libvdpau yasm libcdio libmodplug ffmpeg pulseaudio-libs swig python libmpeg2 librtmp %description Plex Home Theater - Client for Plex Media Server. %prep %setup -n plex-home-theater-public-1.4.1.469-47a90f01 -q %patch0 -p0 %patch1 -p0 %patch2 -p0 %build rm -Rf ../build mkdir ../build cd ../build cmake -DCOMPRESS_TEXTURES=on -DCREATE_BUNDLE=on -DENABLE_AUTOUPDATE=off —DENABLE_DVD_DRIVE=on -DENABLE_PYTHON=on -DENABLE_DUMP_SYMBOLS=off -DCMAKE_INSTALL_PREFIX=%{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}/opt/plexhometheater -GNinja --enable-pulse --enable-external-libraries %{_builddir}/plex-home-theater-public-1.4.1.469-47a90f01/ ninja-build %install rm -rf $RPM_BUILD_ROOT cd ../build ninja-build install rm -f %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}/opt/plexhometheater/bin/*.so desktop-file-validate %{_sourcedir}/%{name}.desktop desktop-file-install --dir=%{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}%{_datadir}/applications %{_sourcedir}/%{name}.desktop %{__mkdir_p} %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}%{_datadir}/icons/hicolor/128x128/apps %{__install} -m0644 %{_sourcedir}/%{name}.png %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}%{_datadir}/icons/hicolor/128x128/apps/plexhometheater.png appstream-util validate-relax --nonet %{_sourcedir}/%{name}.appdata.xml %{__mkdir_p} %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}%{_datadir}/appdata %{__install} -m0644 %{_sourcedir}/%{name}.appdata.xml %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}%{_datadir}/appdata/plexhometheater.appdata.xml %files %doc /opt/plexhometheater/share/XBMC/Credits.html /opt/plexhometheater/bin/plexhometheater /opt/plexhometheater/bin/system/* /opt/plexhometheater/bin/xbmc-xrandr /opt/plexhometheater/share/XBMC/addons/* /opt/plexhometheater/share/XBMC/language/* /opt/plexhometheater/share/XBMC/media/* /opt/plexhometheater/share/XBMC/sounds/* /opt/plexhometheater/share/XBMC/system/* /usr/share/appdata/plexhometheater.appdata.xml /usr/share/icons/hicolor/128x128/apps/plexhometheater.png /usr/share/applications/plexhometheater.desktop %post touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; fi update-mime-database %{_datadir}/mime &> /dev/null || : update-desktop-database &> /dev/null || : %postun touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; fi update-mime-database %{_datadir}/mime &> /dev/null || : update-desktop-database &> /dev/null || : %changelog * Tue May 26 2015 Jonathan Leroy <jonathan@harrycow.fr> - 1.4.1-1 - Plex Home Theater version 1.4.1. * Fri May 01 2015 Jonathan Leroy <jonathan@harrycow.fr> - 1.4.0-2 - Fix desktop icon. - Adding AppData file. * Fri May 01 2015 Jonathan Leroy <jonathan@harrycow.fr> - 1.4.0-1 - Plex Home Theater version 1.4.0. * Mon Mar 23 2015 Jonathan Leroy <jonathan@harrycow.fr> - 1.3.6-3 - Removing broken symlinks. - Adding desktop entry. - Fix computer shutdown / sleep / reboot from PHT menu (I hope). * Sun Mar 22 2015 Jonathan Leroy <jonathan@harrycow.fr> - 1.3.6-2 - Adding support for HDMI-CEC devices. - Enabling DVD drive, PulseAudio, and Python support. * Sat Mar 21 2015 Jonathan Leroy <jonathan@harrycow.fr> - 1.3.6-1 - Plex Home Theater 1.3.6.441-309e72d1 for Fedora 21.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor