Ticket #7915: mythnetvision.diff

File mythnetvision.diff, 3.3 KB (added by hospam@…, 14 years ago)

mythtv.spec patch to add MythNetVision?

  • trunk/packaging/rpm/mythtv.spec

     
    4848# --without mythgame
    4949# --without mythmovies
    5050# --without mythmusic
     51# --without mythnetvision
    5152# --without mythnews
    5253# --without mythvideo
    5354# --without mythweather
     
    6465%define desktop_vendor  xris
    6566
    6667# SVN Revision number and branch ID
    67 %define _svnrev r22952
     68%define _svnrev r23139
    6869%define branch trunk
    6970
    7071#
     
    121122%define with_mythweather    %{?_without_mythweather:    0} %{!?_without_mythweather:     1}
    122123%define with_mythweb        %{?_without_mythweb:        0} %{!?_without_mythweb:         1}
    123124%define with_mythzoneminder %{?_without_mythzoneminder: 0} %{!?_without_mythzoneminder:  1}
     125%define with_mythnetvision %{?_without_mythnetvision: 0} %{!?_without_mythnetvision:  1}
    124126
    125127################################################################################
    126128
     
    273276%if %{with_mythzoneminder}
    274277%endif
    275278
     279%if %{with_mythnetvision}
     280%endif
     281
    276282%endif
    277283
    278284################################################################################
     
    571577Requires:  mythzoneminder = %{version}-%{release}
    572578Requires:  mythmovies     = %{version}-%{release}
    573579Requires:  mythweb        = %{version}-%{release}
     580Requires:  mythnetvision  = %{version}-%{release}
    574581
    575582%description -n mythplugins
    576583This is a consolidation of all the official MythTV plugins that used to be
     
    735743%if %{with_mythweather}
    736744
    737745%package -n mythweather
    738 Summary:   A MythTV module that displays a weather forcast
     746Summary:   A MythTV module that displays a weather forecast
    739747Group:     Applications/Multimedia
    740748Requires:  mythtv-frontend-api = %{mythfeapiver}
    741749Requires:  perl(XML::SAX::Base)
     
    778786
    779787%endif
    780788################################################################################
     789%if %{with_mythnetvision}
     790
     791%package -n mythnetvision
     792Summary:   A MythTV module for Internet video on demand
     793Group:     Applications/Multimedia
     794Requires:  mythtv-frontend-api = %{mythfeapiver}
     795
     796%description -n mythnetvision
     797A MythTV module that supports searching and browsing of Internet video
     798on demand content.
     799
     800%endif
     801################################################################################
    781802
    782803# End of plugins
    783804%endif
     
    10401063    %else
    10411064        --disable-mythzoneminder \
    10421065    %endif
     1066    %if %{with_mythnetvision}
     1067        --enable-mythnetvision \
     1068    %else
     1069        --disable-mythnetvision \
     1070    %endif
    10431071        --enable-opengl \
    10441072        --enable-libvisual \
    10451073        --enable-fftw \
     
    14251459%{_datadir}/mythtv/i18n/mythzoneminder_*.qm
    14261460%endif
    14271461
     1462%if %{with_mythnetvision}
     1463%files -n mythnetvision
     1464%defattr(-,root,root,-)
     1465%doc mythplugins-%{version}/mythnetvision/AUTHORS
     1466%doc mythplugins-%{version}/mythnetvision/ChangeLog
     1467%doc mythplugins-%{version}/mythnetvision/README
     1468%{_libdir}/mythtv/plugins/libmythnetvision.so
     1469%{_datadir}/mythtv/mythnetvision
     1470%endif
     1471
    14281472%endif
    14291473
    14301474################################################################################
    14311475
    14321476%changelog
    14331477
     1478* Wed Jan 13 2010 Harry Orenstein <hospam@verizon.net> 0.23-0.1.svn
     1479- Add MythNetVision
     1480
    14341481* Sat Dec 05 2009 Chris Petersen <rpm@forevermore.net> 0.23-0.1.svn
    14351482- Remove MythFlix
    14361483