diff options
Diffstat (limited to 'media-tv/xbmc/xbmc-9999.ebuild')
-rw-r--r-- | media-tv/xbmc/xbmc-9999.ebuild | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/media-tv/xbmc/xbmc-9999.ebuild b/media-tv/xbmc/xbmc-9999.ebuild index 4b5ef2facabb..940b345a1623 100644 --- a/media-tv/xbmc/xbmc-9999.ebuild +++ b/media-tv/xbmc/xbmc-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.42 2009/12/04 09:32:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.43 2009/12/15 12:41:33 vapier Exp $ EAPI="2" @@ -89,18 +89,28 @@ src_unpack() { if [[ ${PV} == "9999" ]] ; then subversion_src_unpack cd "${S}" - eautoreconf + rm -f configure else unpack ${A} cd "${S}" fi # Fix case sensitivity - mv media/Fonts/{a,A}rial.ttf - mv media/{S,s}plash.png + mv media/Fonts/{a,A}rial.ttf || die + mv media/{S,s}plash.png || die } src_prepare() { + # some dirs ship generated autotools, some dont + local d + for d in . xbmc/cores/dvdplayer/Codecs/libbdnav ; do + [[ -e ${d}/configure ]] && continue + pushd ${d} >/dev/null + einfo "Generating autotools in ${d}" + eautoreconf + popd >/dev/null + done + local squish #290564 use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec" use sse && squish="-DSQUISH_USE_SSE=1 -msse" |