/[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.40 Revision 1.41
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.40 2009/11/22 21:09:10 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.41 2009/12/04 07:16:32 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"
111 sed -i \ 111 sed -i \
112 -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \ 112 -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
113 -e "1iCXXFLAGS += ${squish}" \ 113 -e "1iCXXFLAGS += ${squish}" \
114 xbmc/lib/libsquish/Makefile.in || die 114 xbmc/lib/libsquish/Makefile.in || die
115 115
116 # Tweak autotool timestamps to avoid regeneration
117 find . -type f -print0 | xargs -0 touch -r configure
118
119 # Fix XBMC's final version string showing as "exported" 116 # Fix XBMC's final version string showing as "exported"
120 # instead of the SVN revision number. 117 # instead of the SVN revision number.
121 export SVN_REV=${ESVN_WC_REVISION:-exported} 118 export SVN_REV=${ESVN_WC_REVISION:-exported}
122 119
123 # Avoid lsb-release dependency 120 # Avoid lsb-release dependency
125 -e 's:/usr/bin/lsb_release -d:cat /etc/gentoo-release:' \ 122 -e 's:/usr/bin/lsb_release -d:cat /etc/gentoo-release:' \
126 xbmc/utils/SystemInfo.cpp 123 xbmc/utils/SystemInfo.cpp
127 124
128 # Do not use termcap #262822 125 # Do not use termcap #262822
129 sed -i 's:-ltermcap::' xbmc/lib/libPython/Python/configure 126 sed -i 's:-ltermcap::' xbmc/lib/libPython/Python/configure
127
128 epatch_user #293109
129
130 # Tweak autotool timestamps to avoid regeneration
131 find . -type f -print0 | xargs -0 touch -r configure
130} 132}
131 133
132src_configure() { 134src_configure() {
133 # Disable documentation generation 135 # Disable documentation generation
134 export ac_cv_path_LATEX=no 136 export ac_cv_path_LATEX=no

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20