/[packages]/cauldron/xbmc/current/SPECS/xbmc.spec
ViewVC logotype

Diff of /cauldron/xbmc/current/SPECS/xbmc.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 227541 by anssi, Sat Mar 24 20:46:00 2012 UTC revision 227542 by anssi, Thu Mar 29 22:41:15 2012 UTC
# Line 5  Line 5 
5  %define version 11.0  %define version 11.0
6  %define snap    0  %define snap    0
7  %define pre     0  %define pre     0
8  %define rel     1  %define rel     2
9    
10  %if %snap  %if %snap
11  %define branch  %branch_release.%extra_feature  %define branch  %branch_release.%extra_feature
# Line 15  Line 15 
15    
16  %define branchr %([ "%branch" ] && echo .%branch | tr - _)  %define branchr %([ "%branch" ] && echo .%branch | tr - _)
17    
18    # build with internal ffmpeg, disabled by default (--with internal_ffmpeg)
19    %bcond_with     internal_ffmpeg
20    
21    %if %with internal_ffmpeg
22    # issue with 11.0 internal ffmpeg, haven't bothered with patching as it is
23    # not used in the default build anyway
24    %define Werror_cflags %nil
25    %endif
26    
27  Summary:        XBMC Media Center - media player and home entertainment system  Summary:        XBMC Media Center - media player and home entertainment system
28  Name:           %{name}  Name:           %{name}
29  Version:        %{version}  Version:        %{version}
# Line 34  URL:           http://xbmc.org/ Line 43  URL:           http://xbmc.org/
43    
44  # bring snapshot up-to-date with pvr branch  # bring snapshot up-to-date with pvr branch
45  # https://github.com/opdenkamp/xbmc  # https://github.com/opdenkamp/xbmc
46  # git diff 14feb096bcea1e..opdenkamp/Eden-pvr  # git diff 11.0-Eden-r2..11.0-Eden-pvr
47  Patch0:         xbmc-Eden-pvr-rc1.1+20120324-g6a4c861.patch  Patch0:         xbmc-Eden-pvr-11.0.patch
48    
49  # Disable updates of the default skin. Our one is the PVR version, while the  # Disable updates of the default skin. Our one is the PVR version, while the
50  # one in the XBMC.org addon repository would be the vanilla one (Confluence  # one in the XBMC.org addon repository would be the vanilla one (Confluence
# Line 60  License:       GPLv2+ and GPLv2 and (LGPLv3+ w Line 69  License:       GPLv2+ and GPLv2 and (LGPLv3+ w
69  Group:          Video  Group:          Video
70  BuildRoot:      %{_tmppath}/%{name}-root  BuildRoot:      %{_tmppath}/%{name}-root
71  BuildRequires:  boost-devel  BuildRequires:  boost-devel
72    %if %without internal_ffmpeg
73  BuildRequires:  ffmpeg-devel  BuildRequires:  ffmpeg-devel
74    %endif
75  BuildRequires:  libmpeg2dec-devel  BuildRequires:  libmpeg2dec-devel
76  BuildRequires:  libogg-devel  BuildRequires:  libogg-devel
77  BuildRequires:  libwavpack-devel  BuildRequires:  libwavpack-devel
# Line 99  BuildRequires: libxmu-devel Line 110  BuildRequires: libxmu-devel
110  BuildRequires:  libxinerama-devel  BuildRequires:  libxinerama-devel
111  BuildRequires:  libcurl-devel  BuildRequires:  libcurl-devel
112  BuildRequires:  dbus-devel  BuildRequires:  dbus-devel
 BuildRequires:  hal-devel  
113  BuildRequires:  SDL-devel  BuildRequires:  SDL-devel
114  BuildRequires:  pulseaudio-devel  BuildRequires:  pulseaudio-devel
115  BuildRequires:  avahi-common-devel  BuildRequires:  avahi-common-devel
# Line 316  export ac_cv_prog_HAVE_GIT="no" Line 326  export ac_cv_prog_HAVE_GIT="no"
326          --enable-external-libraries \          --enable-external-libraries \
327          --disable-non-free \          --disable-non-free \
328          --disable-dvdcss \          --disable-dvdcss \
329            --disable-hal \
330          --enable-goom \          --enable-goom \
331          --with-lirc-device=/var/run/lirc/lircd          --with-lirc-device=/var/run/lirc/lircd \
332    %if %with internal_ffmpeg
333            --disable-external-ffmpeg
334    %endif
335    
336  # non-free = unrar  # non-free = unrar
337  # dvdcss is handled via dlopen when disabled  # dvdcss is handled via dlopen when disabled
338    # hal is disabled as it is just a fallback when the replacmenets are
339    # not available
340    
341  %make  %make
342  %make -C tools/EventClients wiimote  %make -C tools/EventClients wiimote
# Line 374  for file in $(find %{buildroot} -type f) Line 390  for file in $(find %{buildroot} -type f)
390                  done                  done
391                  # Euphoria references rsxs PNG class, but it is never used at runtime,                  # Euphoria references rsxs PNG class, but it is never used at runtime,
392                  # so it results in no errors due to RTLD_LAZY being used by xbmc module loader.                  # so it results in no errors due to RTLD_LAZY being used by xbmc module loader.
393                  case $file:$symbol in */Euphoria.xbs:_ZN3PNG*) continue; esac                  case $file:$symbol in
394                            */Euphoria.xbs:_ZN3PNG*) continue;;
395    %if %with internal_ffmpeg
396                            */dvdplayer/*.so:*) continue;;
397    %endif
398                    esac
399                  # the symbol was not found                  # the symbol was not found
400                  undefined="${undefined}$file: $symbol\n"                  undefined="${undefined}$file: $symbol\n"
401          done          done
# Line 414  rm -rf %{buildroot} Line 435  rm -rf %{buildroot}
435  %{_libdir}/xbmc/system/libexif-*-linux.so  %{_libdir}/xbmc/system/libexif-*-linux.so
436  %{_libdir}/xbmc/system/libid3tag-*-linux.so  %{_libdir}/xbmc/system/libid3tag-*-linux.so
437  %{_libdir}/xbmc/system/players/dvdplayer/libdvdnav-*-linux.so  %{_libdir}/xbmc/system/players/dvdplayer/libdvdnav-*-linux.so
438    %if %with internal_ffmpeg
439    %{_libdir}/xbmc/system/players/dvdplayer/av*-linux.so
440    %{_libdir}/xbmc/system/players/dvdplayer/postproc-*-linux.so
441    %{_libdir}/xbmc/system/players/dvdplayer/swscale-*-linux.so
442    %endif
443  %{_libdir}/xbmc/system/players/paplayer/adpcm-*-linux.so  %{_libdir}/xbmc/system/players/paplayer/adpcm-*-linux.so
444  %{_libdir}/xbmc/system/players/paplayer/libsidplay2-*-linux.so  %{_libdir}/xbmc/system/players/paplayer/libsidplay2-*-linux.so
445  %{_libdir}/xbmc/system/players/paplayer/nosefart-*-linux.so  %{_libdir}/xbmc/system/players/paplayer/nosefart-*-linux.so

Legend:
Removed from v.227541  
changed lines
  Added in v.227542

  ViewVC Help
Powered by ViewVC 1.1.30