/[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.98 Revision 1.99
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.98 2012/02/04 18:28:04 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.99 2012/02/04 19:50:24 vapier Exp $
4 4
5EAPI="2" 5EAPI="4"
6 6
7inherit eutils python 7inherit eutils python
8 8
9EGIT_REPO_URI="git://github.com/xbmc/xbmc.git" 9EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
10if [[ ${PV} == "9999" ]] ; then 10if [[ ${PV} == "9999" ]] ; then
20DESCRIPTION="XBMC is a free and open source media-player and entertainment hub" 20DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
21HOMEPAGE="http://xbmc.org/" 21HOMEPAGE="http://xbmc.org/"
22 22
23LICENSE="GPL-2" 23LICENSE="GPL-2"
24SLOT="0" 24SLOT="0"
25IUSE="airplay alsa altivec avahi bluray css debug goom joystick midi profile +projectm pulseaudio pvr +rsxs rtmp +samba sse sse2 udev vaapi vdpau webserver +xrandr" 25IUSE="airplay alsa altivec avahi bluray css debug goom joystick midi mysql profile +projectm pulseaudio pvr +rsxs rtmp +samba sse sse2 udev vaapi vdpau webserver +xrandr"
26REQUIRED_USE="pvr? ( mysql )"
26 27
27COMMON_DEPEND="virtual/opengl 28COMMON_DEPEND="virtual/opengl
28 app-arch/bzip2 29 app-arch/bzip2
29 app-arch/unzip 30 app-arch/unzip
30 app-arch/zip 31 app-arch/zip
73 webserver? ( net-libs/libmicrohttpd ) 74 webserver? ( net-libs/libmicrohttpd )
74 net-misc/curl 75 net-misc/curl
75 samba? ( >=net-fs/samba-3.4.6[smbclient] ) 76 samba? ( >=net-fs/samba-3.4.6[smbclient] )
76 sys-apps/dbus 77 sys-apps/dbus
77 sys-libs/zlib 78 sys-libs/zlib
78 pvr? ( virtual/mysql ) 79 mysql? ( virtual/mysql )
79 x11-apps/xdpyinfo 80 x11-apps/xdpyinfo
80 x11-apps/mesa-progs 81 x11-apps/mesa-progs
81 vaapi? ( x11-libs/libva ) 82 vaapi? ( x11-libs/libva )
82 vdpau? ( 83 vdpau? (
83 || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 ) 84 || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
121 xbmc/screensavers/rsxs-* \ 122 xbmc/screensavers/rsxs-* \
122 xbmc/visualizations/Goom/goom2k4-0 123 xbmc/visualizations/Goom/goom2k4-0
123 do 124 do
124 [[ -e ${d}/configure ]] && continue 125 [[ -e ${d}/configure ]] && continue
125 pushd ${d} >/dev/null 126 pushd ${d} >/dev/null
126 einfo "Generating autotools in ${d}"
127 eautoreconf 127 eautoreconf
128 popd >/dev/null 128 popd >/dev/null
129 done 129 done
130 130
131 local squish #290564 131 local squish #290564
176 $(use_enable debug) \ 176 $(use_enable debug) \
177 $(use_enable goom) \ 177 $(use_enable goom) \
178 --disable-hal \ 178 --disable-hal \
179 $(use_enable joystick) \ 179 $(use_enable joystick) \
180 $(use_enable midi mid) \ 180 $(use_enable midi mid) \
181 $(use_enable mysql) \
181 $(use_enable profile profiling) \ 182 $(use_enable profile profiling) \
182 $(use_enable projectm) \ 183 $(use_enable projectm) \
183 $(use_enable pulseaudio pulse) \ 184 $(use_enable pulseaudio pulse) \
184 $(use_enable pvr mythtv) \ 185 $(use_enable pvr mythtv) \
185 $(use_enable rsxs) \ 186 $(use_enable rsxs) \
190 $(use_enable webserver) \ 191 $(use_enable webserver) \
191 $(use_enable xrandr) 192 $(use_enable xrandr)
192} 193}
193 194
194src_install() { 195src_install() {
195 emake install DESTDIR="${D}" || die 196 default
196 prepalldocs 197 rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
197 198
198 insinto /usr/share/applications 199 insinto /usr/share/applications
199 doins tools/Linux/xbmc.desktop 200 doins tools/Linux/xbmc.desktop
200 doicon tools/Linux/xbmc.png 201 doicon tools/Linux/xbmc.png
201 202

Legend:
Removed from v.1.98  
changed lines
  Added in v.1.99

  ViewVC Help
Powered by ViewVC 1.1.20