Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/xbmc: ChangeLog xbmc-9.04.1.ebuild
Date: Sat, 05 Sep 2009 15:02:13
Message-Id: E1MjwmK-0006ec-5G@stork.gentoo.org
1 vapier 09/09/05 15:02:12
2
3 Modified: ChangeLog
4 Added: xbmc-9.04.1.ebuild
5 Log:
6 Version bump #283608 by zehner.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.25 media-tv/xbmc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 27 Aug 2009 09:51:05 -0000 1.24
23 +++ ChangeLog 5 Sep 2009 15:02:11 -0000 1.25
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-tv/xbmc
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.24 2009/08/27 09:51:05 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.25 2009/09/05 15:02:11 vapier Exp $
29 +
30 +*xbmc-9.04.1 (05 Sep 2009)
31 +
32 + 05 Sep 2009; Mike Frysinger <vapier@g.o> +xbmc-9.04.1.ebuild:
33 + Version bump #283608 by zehner.
34
35 27 Aug 2009; Mike Frysinger <vapier@g.o> xbmc-9999.ebuild:
36 Force internal faad2 for now #278400. Pull in more deps #279062 #281078.
37
38
39
40 1.1 media-tv/xbmc/xbmc-9.04.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/xbmc-9.04.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/xbmc-9.04.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: xbmc-9.04.1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9.04.1.ebuild,v 1.1 2009/09/05 15:02:11 vapier Exp $
50
51 # XXX: be nice to split out packages that come bundled and use the
52 # system libraries ...
53
54 EAPI="2"
55
56 inherit eutils
57
58 # Use XBMC_ESVN_REPO_URI to track a different branch
59 ESVN_REPO_URI=${XBMC_ESVN_REPO_URI:-http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC}
60 ESVN_PROJECT=${ESVN_REPO_URI##*/svnroot/}
61 ESVN_PROJECT=${ESVN_PROJECT%/XBMC}
62 if [[ ${PV} == "9999" ]] ; then
63 inherit subversion
64 KEYWORDS=""
65 else
66 MY_P="${PV}_Babylon-linux-osx-win32"
67 SRC_URI="mirror://sourceforge/${PN}/XBMC%20Source%20Code/Babylon%20-%209.04/${MY_P}-repack.tar.gz"
68 KEYWORDS="~amd64 ~x86"
69 S=${WORKDIR}/${MY_P}/XBMC
70 fi
71
72 DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
73 HOMEPAGE="http://xbmc.org/"
74
75 LICENSE="GPL-2"
76 SLOT="0"
77 IUSE="alsa debug joystick opengl profile pulseaudio vdpau"
78
79 RDEPEND="opengl? ( virtual/opengl )
80 app-arch/bzip2
81 || ( app-arch/unrar app-arch/unrar-gpl )
82 app-arch/unzip
83 app-arch/zip
84 app-i18n/enca
85 >=dev-lang/python-2.4
86 dev-libs/boost
87 dev-libs/fribidi
88 dev-libs/libcdio
89 dev-libs/libpcre
90 dev-libs/lzo
91 >=dev-python/pysqlite-2
92 media-libs/alsa-lib
93 media-libs/faac
94 media-libs/fontconfig
95 media-libs/freetype
96 media-libs/glew
97 media-libs/jasper
98 media-libs/libmad
99 media-libs/libogg
100 media-libs/libsamplerate
101 media-libs/libsdl[alsa,audio,video,X]
102 media-libs/libvorbis
103 media-libs/sdl-gfx
104 media-libs/sdl-image[gif,jpeg,png]
105 media-libs/sdl-mixer
106 media-libs/sdl-sound
107 net-misc/curl
108 sys-apps/dbus
109 sys-apps/hal
110 sys-apps/pmount
111 virtual/mysql
112 x11-apps/xdpyinfo
113 x11-apps/mesa-progs
114 x11-libs/libXinerama
115 x11-libs/libXrandr
116 x11-libs/libXrender"
117 DEPEND="${RDEPEND}
118 x11-proto/xineramaproto
119 dev-util/cmake
120 x86? ( dev-lang/nasm )"
121
122 src_unpack() {
123 if [[ ${PV} == "9999" ]] ; then
124 subversion_src_unpack
125 else
126 unpack ${A}
127 fi
128 cd "${S}"
129
130 epatch "${FILESDIR}"/${PN}-9.04-gcc.patch
131
132 # Avoid help2man
133 sed -i \
134 -e '/HELP2MAN.*--output/s:.*:\ttouch $@:' \
135 xbmc/lib/libcdio/libcdio/src/Makefile.in
136
137 # Tweak autotool timestamps to avoid regeneration
138 find . '(' -name configure -o -name configure2 -o -name '*.pl' ')' -exec chmod a+rx {} +
139 find . -type f -exec touch -r configure {} +
140
141 # Fix XBMC's final version string showing as "exported"
142 # instead of the SVN revision number. Also cleanup flags.
143 export SVN_REV=${ESVN_WC_REVISION:-exported}
144 sed -i -r -e '/DEBUG_FLAGS/s:-(g|O2)::' configure
145 sed -i -e 's:\<strip\>:echo:' xbmc/lib/libhdhomerun/Makefile.in
146 # Avoid lsb-release dependency
147 sed -i \
148 -e 's:/usr/bin/lsb_release -d:cat /etc/gentoo-release:' \
149 xbmc/utils/SystemInfo.cpp
150
151 # Fix case sensitivity
152 mv media/Fonts/{a,A}rial.ttf
153 mv media/{S,s}plash.png
154
155 # Do not use termcap #262822
156 sed -i 's:-ltermcap::' xbmc/lib/libPython/Python/configure
157
158 # Unzip web content
159 cd web
160 unpack ./Project_Mayhem_III_webserver_*.zip
161 }
162
163 src_configure() {
164 # Disable documentation generation
165 export ac_cv_path_LATEX=no
166
167 econf \
168 --disable-ccache \
169 --disable-optimizations \
170 $(use_enable debug) \
171 $(use_enable joystick) \
172 $(use_enable opengl gl) \
173 $(use_enable profile profiling) \
174 $(use_enable pulseaudio pulse) \
175 $(use_enable vdpau)
176 }
177
178 src_install() {
179 einstall || die "Install failed!"
180
181 insinto /usr/share/applications
182 doins tools/Linux/xbmc.desktop
183 doicon tools/Linux/xbmc.png
184
185 dodoc README.linux known_issues.txt
186 rm "${D}"/usr/share/xbmc/{README.linux,LICENSE.GPL,*.txt}
187 }
188
189 pkg_postinst() {
190 elog "Visit http://xbmc.org/wiki/?title=XBMC_Online_Manual"
191 }