diff options
author | 2010-09-17 17:47:55 +0200 | |
---|---|---|
committer | 2010-09-17 17:47:55 +0200 | |
commit | 5270d7558de0dd0228cabf4120f841d973606a89 (patch) | |
tree | 04116b147de14179b45a029c14a50e891a414110 | |
parent | sparkleshare version bump (diff) | |
download | iElectric-5270d7558de0dd0228cabf4120f841d973606a89.tar.gz iElectric-5270d7558de0dd0228cabf4120f841d973606a89.tar.bz2 iElectric-5270d7558de0dd0228cabf4120f841d973606a89.zip |
adding xbmc trunk ebuild
-rw-r--r-- | media-tv/xbmc/ChangeLog | 3 | ||||
-rw-r--r-- | media-tv/xbmc/Manifest | 3 | ||||
-rw-r--r-- | media-tv/xbmc/xbmc-9999.ebuild | 203 |
3 files changed, 208 insertions, 1 deletions
diff --git a/media-tv/xbmc/ChangeLog b/media-tv/xbmc/ChangeLog index 71cd7d9..d236ffd 100644 --- a/media-tv/xbmc/ChangeLog +++ b/media-tv/xbmc/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.64 2010/08/14 17:56:24 vapier Exp $ + 17 Sep 2010; Domen Kožar <domen@dev.si> +xbmc-9999.ebuild: + Add trunk ebuild + *xbmc-9.11-r5 (23 Aug 2010) 23 Aug 2010; Domen Kožar <domen@dev.si> +xbmc-9.11-r5.ebuild, diff --git a/media-tv/xbmc/Manifest b/media-tv/xbmc/Manifest index c57267a..2a54511 100644 --- a/media-tv/xbmc/Manifest +++ b/media-tv/xbmc/Manifest @@ -6,5 +6,6 @@ AUX xbmc-9.11-use-cdio-system-headers-on-non-win32.patch 3623 RMD160 d8b6d48a072 AUX xbmc-9.11-wavpack.patch 2637 RMD160 35a7f5446aaef27ff563da4a8200616fffb66e00 SHA1 0f9a2845a5b9d0b554569f1379af0557b071ef69 SHA256 b09e9072f0a2d4451588c40b0b300611944ba7d4cefbae0c400389ed9f8485dc DIST xbmc-9.11.tar.gz 141420517 RMD160 0d0890ba373e05af95a66360aed8871b384849f2 SHA1 71956ed8630d46662e49de9d96304308078f10b5 SHA256 e810aaaf1c380bbe923d9e30e2e472577081b7b893e12a7ef4bb70a911c3db87 EBUILD xbmc-9.11-r5.ebuild 5824 RMD160 36c46814ddc15ed664517433cd6e87e222242f3d SHA1 ef4bfd04a2e8dd148d911aff25eb91a8afc8fbc3 SHA256 30440e4d97b31df01bb739aad196f9a8e35d8a3292235f5c6144a8489961f928 -MISC ChangeLog 11127 RMD160 45684c115d6cc5ba81096f1ddc80a5f038c33767 SHA1 79bb88e9c3b1008df15f234320a1391df5884607 SHA256 b3a8afede58a7699c66365f1159b19252688003438052facab5767bad52beae9 +EBUILD xbmc-9999.ebuild 5139 RMD160 127cd5c05f12a6c396e186554a0c94165a72faa2 SHA1 4c653349dd69262e4aec90390f5d7ac55e14fd03 SHA256 43a3dcaa247ced130f1bbd78aee8c5d0d1af9fe06b78de4df96ce38ba7440f5b +MISC ChangeLog 11209 RMD160 5e292c52465767b598856171c7c2375f0a73bcae SHA1 a69bf88037b297f3d156fc53fc69b7d26de2facb SHA256 734d4710ab37cda8af299e845f0d162e30441d0182296f909504edef2c68664a MISC metadata.xml 579 RMD160 cf1a05346b2c33147e752be840dfb562726b42dd SHA1 0fabb20c84367962605b88b9030fabf6acf3045d SHA256 f61dd5617b99b9fa5505269e6633d317f90a2c6903108bdcc84370cfb8858afb diff --git a/media-tv/xbmc/xbmc-9999.ebuild b/media-tv/xbmc/xbmc-9999.ebuild new file mode 100644 index 0000000..e530e88 --- /dev/null +++ b/media-tv/xbmc/xbmc-9999.ebuild @@ -0,0 +1,203 @@ +# Copyright 1999-2010 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.62 2010/08/24 18:38:54 vapier Exp $ + +EAPI="2" + +inherit eutils python + +# Use XBMC_ESVN_REPO_URI to track a different branch +ESVN_REPO_URI=${XBMC_ESVN_REPO_URI:-http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk} +ESVN_PROJECT=${ESVN_REPO_URI##*/svnroot/} +ESVN_PROJECT=${ESVN_PROJECT%/*} +if [[ ${PV} == "9999" ]] ; then + inherit subversion autotools + KEYWORDS="" +else + inherit autotools + MY_P=${P/_/-} + SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S=${WORKDIR}/${MY_P} +fi + +DESCRIPTION="XBMC is a free and open source media-player and entertainment hub" +HOMEPAGE="http://xbmc.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="aac alsa altivec avahi css debug hal joystick midi mysql profile pulseaudio rtmp sse sse2 vaapi vdpau webserver xrandr" + +RDEPEND="virtual/opengl + app-arch/bzip2 + app-arch/unrar + app-arch/unzip + app-arch/zip + app-i18n/enca + >=dev-lang/python-2.4 + dev-libs/boost + dev-libs/fribidi + dev-libs/libcdio[-minimal] + dev-libs/libpcre + dev-libs/lzo + >=dev-python/pysqlite-2 + media-libs/a52dec + media-libs/alsa-lib + aac? ( media-libs/faac ) + media-libs/faad2 + media-libs/flac + media-libs/fontconfig + media-libs/freetype + media-libs/glew + media-libs/jasper + media-libs/jbigkit + media-libs/jpeg:0 + >=media-libs/libass-0.9.7 + media-libs/libdca + css? ( media-libs/libdvdcss ) + media-libs/libmad + media-libs/libmms + media-libs/libmodplug + media-libs/libmpeg2 + media-libs/libogg + media-libs/libsamplerate + media-libs/libsdl[audio,opengl,video,X] + alsa? ( media-libs/libsdl[alsa] ) + media-libs/libvorbis + media-libs/sdl-gfx + media-libs/sdl-image[gif,jpeg,png] + media-libs/sdl-mixer + media-libs/sdl-sound + media-libs/tiff + pulseaudio? ( media-sound/pulseaudio ) + media-sound/wavpack + >=media-video/ffmpeg-0.6 + rtmp? ( media-video/rtmpdump ) + avahi? ( net-dns/avahi ) + webserver? ( net-libs/libmicrohttpd ) + net-misc/curl + || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.3 ) + sys-apps/dbus + hal? ( sys-apps/hal ) + sys-libs/zlib + mysql? ( virtual/mysql ) + x11-apps/xdpyinfo + x11-apps/mesa-progs + vaapi? ( x11-libs/libva ) + vdpau? ( + || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 ) + media-video/ffmpeg[vdpau] + ) + x11-libs/libXinerama + xrandr? ( x11-libs/libXrandr ) + x11-libs/libXrender" +# The cpluff bundled addon uses gettext which needs CVS ... +DEPEND="${RDEPEND} + dev-vcs/cvs + x11-proto/xineramaproto + dev-util/cmake + x86? ( dev-lang/nasm )" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + subversion_src_unpack + cd "${S}" + rm -f configure + else + unpack ${A} + cd "${S}" + fi + + # Fix case sensitivity + mv media/Fonts/{a,A}rial.ttf || die + mv media/{S,s}plash.png || die +} + +src_prepare() { + sed -i \ + -e '1i#include <stdlib.h>\n#include <string.h>\n' \ + xbmc/lib/libid3tag/libid3tag/metadata.c || die + + # some dirs ship generated autotools, some dont + local d + for d in . xbmc/cores/dvdplayer/Codecs/{libdts,libdvd/lib*/} lib/cpluff ; 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" + use sse2 && squish="-DSQUISH_USE_SSE=2 -msse2" + sed -i \ + -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \ + -e "1iCXXFLAGS += ${squish}" \ + xbmc/lib/libsquish/Makefile.in || die + + # Fix XBMC's final version string showing as "exported" + # instead of the SVN revision number. + export SVN_REV=${ESVN_WC_REVISION:-exported} + + # Avoid lsb-release dependency + sed -i \ + -e 's:lsb_release -d:cat /etc/gentoo-release:' \ + xbmc/utils/SystemInfo.cpp + + # Do not use termcap #262822 + sed -i 's:-ltermcap::' xbmc/lib/libPython/Python/configure + + epatch_user #293109 + + # Tweak autotool timestamps to avoid regeneration + find . -type f -print0 | xargs -0 touch -r configure +} + +src_configure() { + # Disable documentation generation + export ac_cv_path_LATEX=no + # Avoid help2man + export HELP2MAN=$(type -P help2man || echo true) + + econf \ + --docdir=/usr/share/doc/${PF} \ + --disable-ccache \ + --disable-optimizations \ + --enable-external-libraries \ + --disable-external-python \ + --enable-goom \ + --enable-gl \ + $(use_enable avahi) \ + $(use_enable css dvdcss) \ + $(use_enable debug) \ + $(use_enable aac faac) \ + $(use_enable hal) \ + $(use_enable joystick) \ + $(use_enable midi mid) \ + $(use_enable profile profiling) \ + $(use_enable pulseaudio pulse) \ + $(use_enable rtmp) \ + $(use_enable vaapi) \ + $(use_enable vdpau) \ + $(use_enable webserver) \ + $(use_enable xrandr) +} + +src_install() { + emake install DESTDIR="${D}" || die + prepalldocs + + insinto /usr/share/applications + doins tools/Linux/xbmc.desktop + doicon tools/Linux/xbmc.png + + insinto "$(python_get_sitedir)" #309885 + doins tools/EventClients/lib/python/xbmcclient.py || die + newbin "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send || die +} + +pkg_postinst() { + elog "Visit http://xbmc.org/wiki/?title=XBMC_Online_Manual" +}
\ No newline at end of file |