/[gentoo-x86]/media-tv/xbmc/xbmc-9999.ebuild
Gentoo

Diff of /media-tv/xbmc/xbmc-9999.ebuild

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

Revision 1.38 Revision 1.39
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.38 2009/11/08 14:34:55 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.39 2009/11/22 20:24:50 vapier Exp $
4 4
5# XXX: be nice to split out packages that come bundled and use the 5# XXX: be nice to split out packages that come bundled and use the
6# system libraries ... 6# system libraries ...
7 7
8EAPI="2" 8EAPI="2"
24DESCRIPTION="XBMC is a free and open source media-player and entertainment hub" 24DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
25HOMEPAGE="http://xbmc.org/" 25HOMEPAGE="http://xbmc.org/"
26 26
27LICENSE="GPL-2" 27LICENSE="GPL-2"
28SLOT="0" 28SLOT="0"
29IUSE="alsa altivec debug joystick opengl profile pulseaudio sse sse2 vdpau" 29IUSE="aac alsa altivec css debug joystick midi opengl profile pulseaudio sse sse2 vdpau xrandr"
30 30
31RDEPEND="opengl? ( virtual/opengl ) 31RDEPEND="opengl? ( virtual/opengl )
32 app-arch/bzip2 32 app-arch/bzip2
33 || ( app-arch/unrar app-arch/unrar-gpl ) 33 || ( app-arch/unrar app-arch/unrar-gpl )
34 app-arch/unzip 34 app-arch/unzip
41 dev-libs/libpcre 41 dev-libs/libpcre
42 dev-libs/lzo 42 dev-libs/lzo
43 >=dev-python/pysqlite-2 43 >=dev-python/pysqlite-2
44 media-libs/a52dec 44 media-libs/a52dec
45 media-libs/alsa-lib 45 media-libs/alsa-lib
46 aac? ( media-libs/faac )
46 media-libs/faac 47 media-libs/faad2
47 media-libs/flac 48 media-libs/flac
48 media-libs/fontconfig 49 media-libs/fontconfig
49 media-libs/freetype 50 media-libs/freetype
50 media-libs/glew 51 media-libs/glew
51 media-libs/jasper 52 media-libs/jasper
52 media-libs/jbigkit 53 media-libs/jbigkit
54 media-libs/jpeg
53 >=media-libs/libass-0.9.7 55 >=media-libs/libass-0.9.7
54 media-libs/libdca 56 media-libs/libdca
57 css? ( media-libs/libdvdcss )
55 media-libs/libmad 58 media-libs/libmad
56 media-libs/libmms 59 media-libs/libmms
57 media-libs/libmpeg2 60 media-libs/libmpeg2
58 media-libs/libogg 61 media-libs/libogg
59 media-libs/libsamplerate 62 media-libs/libsamplerate
62 media-libs/sdl-gfx 65 media-libs/sdl-gfx
63 media-libs/sdl-image[gif,jpeg,png] 66 media-libs/sdl-image[gif,jpeg,png]
64 media-libs/sdl-mixer 67 media-libs/sdl-mixer
65 media-libs/sdl-sound 68 media-libs/sdl-sound
66 media-libs/tiff 69 media-libs/tiff
70 pulseaudio? ( media-sound/pulseaudio )
67 media-sound/wavpack 71 media-sound/wavpack
68 media-video/ffmpeg 72 media-video/ffmpeg
73 avahi? ( net-dns/avahi )
69 net-misc/curl 74 net-misc/curl
70 net-fs/samba 75 net-fs/samba
71 sys-apps/dbus 76 sys-apps/dbus
72 sys-apps/hal 77 sys-apps/hal
73 sys-apps/pmount 78 sys-libs/zlib
74 virtual/mysql 79 virtual/mysql
75 x11-apps/xdpyinfo 80 x11-apps/xdpyinfo
76 x11-apps/mesa-progs 81 x11-apps/mesa-progs
82 vdpau? ( >=x11-drivers/nvidia-drivers-180.51 )
77 x11-libs/libXinerama 83 x11-libs/libXinerama
78 x11-libs/libXrandr 84 xrandr? ( x11-libs/libXrandr )
79 x11-libs/libXrender" 85 x11-libs/libXrender"
80# media-libs/faad2 we use internal one for now
81DEPEND="${RDEPEND} 86DEPEND="${RDEPEND}
82 x11-proto/xineramaproto 87 x11-proto/xineramaproto
83 dev-util/cmake 88 dev-util/cmake
84 x86? ( dev-lang/nasm )" 89 x86? ( dev-lang/nasm )"
85 90
109 xbmc/lib/libsquish/Makefile.in || die 114 xbmc/lib/libsquish/Makefile.in || die
110 115
111 # Tweak autotool timestamps to avoid regeneration 116 # Tweak autotool timestamps to avoid regeneration
112 find . -type f -print0 | xargs -0 touch -r configure 117 find . -type f -print0 | xargs -0 touch -r configure
113 118
114 # use internal faad2 as mp4ff is dead and xbmc hasnt
115 # switched to libmp4v2 yet
116 sed -i \
117 -e '/use_external_libfaad/s:use_external_libraries:FOOOO:' \
118 configure || die
119
120 # Fix XBMC's final version string showing as "exported" 119 # Fix XBMC's final version string showing as "exported"
121 # instead of the SVN revision number. 120 # instead of the SVN revision number.
122 export SVN_REV=${ESVN_WC_REVISION:-exported} 121 export SVN_REV=${ESVN_WC_REVISION:-exported}
123 122
124 # Avoid lsb-release dependency 123 # Avoid lsb-release dependency
138 137
139 econf \ 138 econf \
140 --disable-ccache \ 139 --disable-ccache \
141 --disable-optimizations \ 140 --disable-optimizations \
142 --enable-external-libraries \ 141 --enable-external-libraries \
142 --enable-goom \
143 $(use_enable avahi) \
144 $(use_enable css dvdcss) \
143 $(use_enable debug) \ 145 $(use_enable debug) \
146 $(use_enable aac faac) \
144 $(use_enable joystick) \ 147 $(use_enable joystick) \
148 $(use_enable midi mid) \
145 $(use_enable opengl gl) \ 149 $(use_enable opengl gl) \
146 $(use_enable profile profiling) \ 150 $(use_enable profile profiling) \
147 $(use_enable pulseaudio pulse) \ 151 $(use_enable pulseaudio pulse) \
148 $(use_enable vdpau) 152 $(use_enable vdpau) \
153 $(use_enable xrandr)
149} 154}
150 155
151src_install() { 156src_install() {
152 einstall || die "Install failed!" 157 einstall || die "Install failed!"
153 158

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

  ViewVC Help
Powered by ViewVC 1.1.20