summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-18 05:55:31 +0000
committerMike Frysinger <vapier@gentoo.org>2013-01-18 05:55:31 +0000
commitfc0d84f534d7b71fe94b44f1dff5a32f265eded5 (patch)
treec1817190e0da1452bc8c836c81fcee90173e566d /media-tv
parentDev channel bump. (diff)
downloadhistorical-fc0d84f534d7b71fe94b44f1dff5a32f265eded5.tar.gz
historical-fc0d84f534d7b71fe94b44f1dff5a32f265eded5.tar.bz2
historical-fc0d84f534d7b71fe94b44f1dff5a32f265eded5.zip
Version bump #452422 by Elis Axelsson.
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/xbmc/ChangeLog8
-rw-r--r--media-tv/xbmc/Manifest24
-rwxr-xr-xmedia-tv/xbmc/files/generate.sh16
-rw-r--r--media-tv/xbmc/xbmc-12.0_rc3.ebuild237
4 files changed, 278 insertions, 7 deletions
diff --git a/media-tv/xbmc/ChangeLog b/media-tv/xbmc/ChangeLog
index a7b0c4667ad9..96b153d07065 100644
--- a/media-tv/xbmc/ChangeLog
+++ b/media-tv/xbmc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-tv/xbmc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.165 2013/01/17 16:34:53 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.166 2013/01/18 05:55:25 vapier Exp $
+
+*xbmc-12.0_rc3 (18 Jan 2013)
+
+ 18 Jan 2013; Mike Frysinger <vapier@gentoo.org> +files/generate.sh,
+ +xbmc-12.0_rc3.ebuild:
+ Version bump #452422 by Elis Axelsson.
17 Jan 2013; Michał Górny <mgorny@gentoo.org> xbmc-11.0-r1.ebuild,
xbmc-11.0.ebuild:
diff --git a/media-tv/xbmc/Manifest b/media-tv/xbmc/Manifest
index d5ca64fa085e..b4bc05d75666 100644
--- a/media-tv/xbmc/Manifest
+++ b/media-tv/xbmc/Manifest
@@ -1,6 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX generate.sh 312 SHA256 15265da293e108a9ab5c00a1fdc2ba79c24fd3c0504ad3fb31c0e257f5488f4e SHA512 4e2ff4476556f386ec02696473cb3471617d9f845b6e3a219855ece49597e69a392a86d31d92712978c94696fe2c358cdec7de8a038f6ce59aeb3cfa3d42a2c3 WHIRLPOOL a4fbb4d6b80e30d7df57fa69508c8a7822646b0366e903cb641be5096e003a73383a9c56d3d55c08e6c67be5774b38cc6295aa47aca55226c714d12bef8b5fca
AUX xbmc-11.0-ffmpeg-0.10.2.patch 1197 SHA256 84e2a842c81c1bc6a346c946301f38e47862051f4e3f56ffe468852542ba9b90 SHA512 c7bf34086e27c8789177665a862464018082404f3947a2b9f799a34cae15a01760bc67a148de6da20036c9e17ca047fbd32ed4237980af16605ee2d306c9f9a4 WHIRLPOOL 67cfa7538f59fc1a3cb664218de64b8518a66a97fdc4cd42f43f4882240f665f5be4e448df01df623b538899320f86b7f2d94989fbdb8667289fc8ebdb7f67c7
AUX xbmc-11.0-ffmpeg.patch 1566 SHA256 5515321c4cb46b0ac1c959b9e8752c370344352d9f7de1be3991760fa6ffc70f SHA512 c7ccba50e6f8fa8dd714ddf0cf1348c7311aefa9d9e971b0287757f75b51d8640d7e404940e12f7b53dbca3ce0bdc81c5b2913d6a73e2edd1ca7351b0a986fdb WHIRLPOOL 088d39196324112d2b133df19489427ca6e84fe7eaf410d9be5603601562019dd78427c4ff438814928c1e3db4c22d742824b6458ef15b79a46ea2c8b79f749d
AUX xbmc-11.0-libav-r1.patch 3436 SHA256 ad2dde73e0c9ed1f96c0c6aa4c3d80edadbb92c3092d3c1f34e28bab45983ecb SHA512 42a5fd80b76d31e1b0661d3bda15e3015b90852c53f37b50927ddd15484e9a7f02efbb685b92a48594425c74bfc82ac9a2f256c69530a483d10c4d3b81e7ad79 WHIRLPOOL e9b4c62f15aa706f32926a21406b4d845de9219edd35ff0996916317d0bfca21b8bef2c3452fc03253fa99e24a3a6f93862d6a44a18d51be9641ea927c5daea6
@@ -15,19 +16,30 @@ DIST xbmc-11.0-ffmpeg-1.0-compat-1.tar.bz2 32687 SHA256 bfdca8283c35d0062ed2c2b3
DIST xbmc-11.0.tar.gz 63012044 SHA256 1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19 SHA512 ba738129f70dd171b3fae385ab44317f62c9041a116bfe809d6d07c99ea69c663ad5d598552a17be0b942251ce12a68f34d0be21b303b256055849a6dde90043 WHIRLPOOL 4dd068749c86542e39b8fc42b45bbb56e885813b17876d3583cb4d91c902ff075e1f16f1c19720e3430dc149c40e52e7d1ab3323f666263fb353a59e2ef94a8e
DIST xbmc-12.0_rc2-generated-addons.tar.xz 51984 SHA256 ea7a021c7fd28fa88476dddaf88b7fee9917de2364a57113dbbeda47e402bb52 SHA512 a2379276d2ffcb62e4410599ec1e8637eb52bd74f89731ceb66e92ac2e25cfe92eda76fd0e732749109e0b1986861815e0940d6be4380cab1029106420952578 WHIRLPOOL 571d9e8691ad6d49508708ee495262305eb15a18e8b0543aa308006e3216680e913761d1706c6bed2448eeb37f4546727cde922988fa0c6e9598a429e9f0b170
DIST xbmc-12.0_rc2.tar.gz 63734373 SHA256 e8d08df41ddbd6490e07f46c9ce28d7ada216012647f52f5e54a3e6618aa8c69 SHA512 e738c22abf9477ddd5c6be977e85303679bbf5baa524da8baa34426930f3c4599e4bf6f8aba9a093ebf81b9948c77d3bb381cdf50457ca39fbbfe3dd3411b297 WHIRLPOOL a30730c69c8b1808fb6d500b682f46517c77495e08cc61db304d14db09c0a42c8ac9b05a45a4783c05a891fe5d3f190533608806432b8e29577b23768062b9de
+DIST xbmc-12.0_rc3-generated-addons.tar.xz 51960 SHA256 cb1aa2cdd37c8b05ba45feea17380fefc7065a0203e0a3a4853a4cb252b5b2bc SHA512 a9cf5086e81f462cf72a7548eb9d89f11b0961e9b455b82395f298799b90eea8f3dbe86f04621926c2f056455ee102596e1ec3f39b329dc72b0df0355058e1c5 WHIRLPOOL 18fb704caa1abdaa05a66cd61cea5301f59bc11bdaa74cc9cb823cc6462f103ab660850c31103c4315256cf6c59b6d57c98e275d670954523d3aa2937de6d556
+DIST xbmc-12.0_rc3.tar.gz 64069488 SHA256 5d2e9d47aad3c84c32d37fd2fe9645a2466b2bc51d7fc4923e66a1aa48013f3d SHA512 798beed64cb37c454bd20c05ab9432721a1dd2129d55b1fa1c7ebdecffd0854cee6f8a27ced1bb11f25e4eccab3faa8c46f21622a2218333e2f6d28f4b937d5d WHIRLPOOL 0c86b9a318b415f24c086a80e8262aecd93fbde52b7bc501806698f32aa3efc64a8de14a474e862589260011c19bfdd0d760793013f01e7fb6484b6116fe53a0
DIST xbmc-9999-20121224-generated-addons.tar.xz 51980 SHA256 21284fe7ccee065eee10064f73a469722d6ffddf2fe882a0aefc07ea0eba0401 SHA512 48cdf8c685a48cd32462509962c888e8bc16254268d6fc891aacc5222da42e227ee5b6858c9e2b80d7d9fecc63862cd0c62c181a106212886a25f9be52778a1f WHIRLPOOL 12a31d33cc322b4afc3bdc829fc330a0971cab8a557a2f87885569d817a3664ae7506bfe7984322ec95b7786a246cd5edb10fceabfd96965ef33dd19cb934ae7
EBUILD xbmc-11.0-r1.ebuild 6507 SHA256 8a061777222215b70be0e356744a733da97bff974afa311c945b33c46938cfc9 SHA512 118a994f758de41de5c1e294d4982750db0e55e15388d219a8bb0b5d703b7662910028effc002eb6923e5c2e8b4a65583ba03974e92b7f5f351d689ab729c65f WHIRLPOOL 198d13ab2449bcb49fcc8ffa3975a340af3ee97d1a9d0e2848977e4fd5809f56c84355b905dbc0fdb433cfa71c4b9f828ffd3fe5a9c06f70685e90d15418a878
EBUILD xbmc-11.0.ebuild 6295 SHA256 5a700f39848da84db6e79eed1a316dbec2cea01252ae412f2219f63b653e8c71 SHA512 02fd0286655573965dc9204d1580d69dce5a9beef049a92ad10d619e39ef9ad07524b4172503626a442c8f4969200e4e9587b31e776fc5ca8a2b3f2596a11b12 WHIRLPOOL 1b03964b773587217dea06243a2c4b9f459e7deb3f6efbaed17ae8fa0b80e0f83e286b03d97a4ac2f19fce5df7bb609232a38f6c7366183c42165013ed7f08d6
EBUILD xbmc-12.0_rc2.ebuild 6485 SHA256 c1747574823327f1e3d30662e12effaec969d5362553fb5af18f9145ab790a2c SHA512 507b3416cb85ddc201cfb83a0ff3d71f9f3fd53abb386f070d55700460f6800b90b17f4237998536443cd47fdb3502bae28c99559664db3bfa102971a32523e8 WHIRLPOOL 9f9444da3a277ceeca19cd762d7b0e24a2be28f2c14c868cb87b5f1228b63689f6560d9dec16551244d40d1d7e97194b3fa7d7e418c940d72ffa1441cc59b644
+EBUILD xbmc-12.0_rc3.ebuild 6485 SHA256 6945111215e22e4257a159df698d8091bf4e49f1da287351f847b1a46f8eb599 SHA512 60aaa6edcfc5bde08dfd74a42a1ea36536acbe8aac17967c9209b18da4bf546b0f27c1e14d05869eb3e07ac13e2482e4ad69259ebd733ad5369bafed8253a079 WHIRLPOOL 32e008b48d094f4cde1b06e8d16fb8f6d3e9b5381f7f8d5abed1a16a002658dd87f94f646bb1c4f398140e3eb9abab2eceb3efa5d47cae7c4f124a3ce1f24a17
EBUILD xbmc-9999.ebuild 6483 SHA256 e8c7b3c68a027af4fea50b7204898da7cfcb16bc99b231fc3020916d73245ecb SHA512 87322f88d0775849df105d1d67399cf68170e2a8767c44915424f6f1233f2bbb4fd2fc6641f526f96befdeb32725860bbaae664a600cceee6466d3aa1ebad469 WHIRLPOOL 56598e6a6988f2f2179032bd32ba336d05e4e38716a1772d3e9c63a6dbee30bffbb5f86317e2fbf90fe260375bc9ba39a94d8c2819a79a3320b63c34f1e4d2e6
-MISC ChangeLog 26724 SHA256 094473e875439419be8b9088d5477251320ee6583beb685c553bb99f0b7482cc SHA512 359299fc273689741f1f63c657688dee5cfd4595a6af6b325c1547f1a725373db606c4ce2f73980249379e2e41b2d35e5920340340c2ee9bc52531a09a87e27f WHIRLPOOL 84b47cb4d7787a3a45e213f19012dd7e97fac455351978f21644df2e94d3bea60a91615a01d8d088960ed2d2c93c89c668e47e6c0697c5056d4bc73283fd4d91
+MISC ChangeLog 26891 SHA256 cd0805966f33937c2b15c52f52d3afefa0676f13b4aefc5ddb63949815ab1663 SHA512 c75453e6d541af18b83651bae8de9364cb13de5b7f40b9c4a60d70c76ae8aab2fb4a879601160583f11f52f0243b2e0a73c26c6829ea8090677562128c85198a WHIRLPOOL 855e08b0003804d89ebe2c2caadb64978b381f8a125acdb30ee80c62e0309c8ba568c6f114d32fad5fa7e7ed3488268bcbb4cb93f823a24332197fc3197e7f40
MISC metadata.xml 1025 SHA256 73ced63a34ac528635412bea6d8e671d6ba517c6bfa17d0f48a560a9de0f12f9 SHA512 40d2a20175ef2fd0bdc5228339f4236905cd91758d30bec4c8575ff2a90f59e3333167e8ffcb125f382530248931e1a0a98f7e67a40073bff0850c350bccc36f WHIRLPOOL 3c4f940a8a42426b530041e0958635cbd46d9a23817594f82dbe4dce2a0873189c727a53663bb98c198c146dd38dc2fcb6e06823c4c22cb9ae860c3d51ea6750
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iJwEAQEIAAYFAlD4KFQACgkQfXuS5UK5QB38jQP/T13QXISL6iZbwh0/Ptaj4URj
-y9RuujhzKsNVRzP9Df4dAkK7bTvUewlJL2b5e3hHVANmZE2gvH0dcksClDcmu5iz
-YfgQfKVlc8PB/9CAbEWl3cPcy0N4u+tdVcSqWLxPkhZG8HSewmMJFsgu0GRYQopY
-N+Nbs19XlVk/F77vse8=
-=rlSy
+iQIcBAEBCAAGBQJQ+OSmAAoJELEHsLL7fEFWsccP/RFPB5HmFk3nsLgWBqVa6/BF
+B5Rs8rLYp4NKQfFye/FjHNQpeG3WpJj/PPKeisb7cP6FGRIbrYha8CMuwH2sAqKo
+1JtkFB1uq5I1M2lv03PpJNkwgy4Tx4W0KNm55g1vV9SOXwlx5nMeBU5ucgzb8znL
+BKO/wQ6KtYDi8yZ96LiM12qmsLNzK5Zw1VH8oX9DFTo+8yCj4beQHWfYZlNXJsZV
+5MDo6y1LqSWiMdgXsueMFsmDpNyAUJP0/UZ5i1HUVezS7gxtzmRfN8ty/803s+kE
+vO8TxvWdTbhJYlw7F1XwpvQpqVN/X7o8zP4zKOxdbXpr5D9EcE9cOQ0gOxdjUOpw
+DXXWCYgECNY2Zx0BUyPzr2YnBTCPYnQS4glqWGUUfpGQjfEwVMZfcGMz9E/hfHnR
+RIjQavVcDL5bBPTJUDoRP+bJDlqQAwf/21UahDLWPkY4gcdh8s3kISiVoChxOWDC
+mgCNK8AKPnaOWqld6vdrKAoEwnYo10WTo5NQbggWZoU/ZQBJ1Yry6cQz/pqVAKda
+/yDHHQ8sxJEqrRNChlE8dRdSAYUZBaFEVrsCRkVfSldzamidSZ60ftLLFdTFQXBD
+2W7GzNagzUswVwzMAVH3cuFyn+eX4ywdACbGFumw91X3qAvC1B22N7Xy4jZDUO/L
+e9oCu3gBGbD/N5YKI4/M
+=ECnp
-----END PGP SIGNATURE-----
diff --git a/media-tv/xbmc/files/generate.sh b/media-tv/xbmc/files/generate.sh
new file mode 100755
index 000000000000..1e610a7a2c6c
--- /dev/null
+++ b/media-tv/xbmc/files/generate.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -eux
+
+PV=$1
+PN=xbmc
+P="${PN}-${PV}"
+DISTDIR="/usr/portage/distfiles"
+
+rm -rf ${PN}-*/
+tar xf ${DISTDIR}/${P}.tar.gz
+cd ${PN}-*/
+make codegenerated -f codegenerator.mk -j
+cd ..
+tar cf - ${PN}-*/xbmc/interfaces/python/generated/*.cpp | xz > ${DISTDIR}/${P}-generated-addons.tar.xz
+rm -rf ${PN}-*/
diff --git a/media-tv/xbmc/xbmc-12.0_rc3.ebuild b/media-tv/xbmc/xbmc-12.0_rc3.ebuild
new file mode 100644
index 000000000000..6b593072af45
--- /dev/null
+++ b/media-tv/xbmc/xbmc-12.0_rc3.ebuild
@@ -0,0 +1,237 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-12.0_rc3.ebuild,v 1.1 2013/01/18 05:55:25 vapier Exp $
+
+EAPI="4"
+
+# Does not work with py3 here
+# It might work with py:2.5 but I didn't test that
+PYTHON_DEPEND="2:2.6"
+PYTHON_USE_WITH=sqlite
+
+inherit eutils python multiprocessing autotools
+
+case ${PV} in
+9999)
+ EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
+ inherit git-2
+ SRC_URI="!java? ( mirror://gentoo/${P}-20121224-generated-addons.tar.xz )"
+ ;;
+*_alpha*|*_beta*|*_rc*)
+ MY_PV="Frodo_${PV#*_}"
+ MY_P="${PN}-${MY_PV}"
+ SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
+ KEYWORDS="~amd64 ~x86"
+ ;;
+*)
+ MY_P=${P/_/-*_}
+ SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ ;;
+esac
+
+DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
+HOMEPAGE="http://xbmc.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="airplay alsa altivec avahi bluetooth bluray cec css debug goom java joystick midi mysql nfs profile +projectm pulseaudio pvr +rsxs rtmp +samba sse sse2 sftp udev upnp vaapi vdpau webserver +xrandr"
+REQUIRED_USE="pvr? ( mysql )"
+
+COMMON_DEPEND="virtual/glu
+ virtual/opengl
+ app-arch/bzip2
+ app-arch/unzip
+ app-arch/zip
+ app-i18n/enca
+ airplay? ( app-pda/libplist )
+ >=dev-lang/python-2.4
+ dev-libs/boost
+ dev-libs/fribidi
+ dev-libs/libcdio[-minimal]
+ cec? ( >=dev-libs/libcec-2 )
+ dev-libs/libpcre[cxx]
+ >=dev-libs/lzo-2.04
+ dev-libs/tinyxml[stl]
+ dev-libs/yajl
+ dev-python/simplejson
+ media-libs/alsa-lib
+ media-libs/flac
+ media-libs/fontconfig
+ media-libs/freetype
+ >=media-libs/glew-1.5.6
+ media-libs/jasper
+ media-libs/jbigkit
+ >=media-libs/libass-0.9.7
+ bluray? ( media-libs/libbluray )
+ css? ( media-libs/libdvdcss )
+ media-libs/libmad
+ media-libs/libmodplug
+ media-libs/libmpeg2
+ media-libs/libogg
+ media-libs/libpng
+ projectm? ( media-libs/libprojectm )
+ media-libs/libsamplerate
+ media-libs/libsdl[audio,opengl,video,X]
+ alsa? ( media-libs/libsdl[alsa] )
+ >=media-libs/taglib-1.8
+ media-libs/libvorbis
+ media-libs/sdl-gfx
+ >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
+ media-libs/sdl-mixer
+ media-libs/sdl-sound
+ media-libs/tiff
+ pulseaudio? ( media-sound/pulseaudio )
+ media-sound/wavpack
+ || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg )
+ >=virtual/ffmpeg-0.6[encode]
+ rtmp? ( media-video/rtmpdump )
+ avahi? ( net-dns/avahi )
+ nfs? ( net-fs/libnfs )
+ webserver? ( net-libs/libmicrohttpd[messages] )
+ sftp? ( net-libs/libssh )
+ net-misc/curl
+ samba? ( >=net-fs/samba-3.4.6[smbclient] )
+ bluetooth? ( net-wireless/bluez )
+ sys-apps/dbus
+ sys-libs/zlib
+ virtual/jpeg
+ mysql? ( virtual/mysql )
+ x11-apps/xdpyinfo
+ x11-apps/mesa-progs
+ vaapi? ( x11-libs/libva[opengl] )
+ vdpau? (
+ || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
+ virtual/ffmpeg[vdpau]
+ )
+ x11-libs/libXinerama
+ xrandr? ( x11-libs/libXrandr )
+ x11-libs/libXrender"
+RDEPEND="${COMMON_DEPEND}
+ udev? ( sys-fs/udisks:0 sys-power/upower )"
+DEPEND="${COMMON_DEPEND}
+ app-arch/xz-utils
+ dev-lang/swig
+ dev-util/gperf
+ x11-proto/xineramaproto
+ dev-util/cmake
+ x86? ( dev-lang/nasm )
+ java? ( virtual/jre )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_unpack() {
+ [[ ${PV} == "9999" ]] && git-2_src_unpack || default
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
+ epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
+ # The mythtv patch touches configure.ac, so force a regen
+ rm -f configure
+
+ # some dirs ship generated autotools, some dont
+ multijob_init
+ local d
+ for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
+ [[ -e ${d} ]] && continue
+ pushd ${d/%configure/.} >/dev/null || die
+ AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
+ multijob_child_init eautoreconf
+ popd >/dev/null
+ done
+ multijob_finish
+ elibtoolize
+
+ # Disable internal func checks as our USE/DEPEND
+ # stuff handles this just fine already #408395
+ export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
+
+ 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}" \
+ lib/libsquish/Makefile.in || die
+
+ # Fix XBMC's final version string showing as "exported"
+ # instead of the SVN revision number.
+ export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
+
+ # avoid long delays when powerkit isn't running #348580
+ sed -i \
+ -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
+ xbmc/linux/*.cpp || die
+
+ 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)
+ # No configure flage for this #403561
+ export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
+ # Requiring java is asine #434662
+ export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
+
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-ccache \
+ --disable-optimizations \
+ --enable-external-libraries \
+ --enable-gl \
+ $(use_enable airplay) \
+ $(use_enable avahi) \
+ $(use_enable bluray libbluray) \
+ $(use_enable cec libcec) \
+ $(use_enable css dvdcss) \
+ $(use_enable debug) \
+ $(use_enable goom) \
+ --disable-hal \
+ $(use_enable joystick) \
+ $(use_enable midi mid) \
+ $(use_enable mysql) \
+ $(use_enable nfs) \
+ $(use_enable profile profiling) \
+ $(use_enable projectm) \
+ $(use_enable pulseaudio pulse) \
+ $(use_enable pvr mythtv) \
+ $(use_enable rsxs) \
+ $(use_enable rtmp) \
+ $(use_enable samba) \
+ $(use_enable sftp ssh) \
+ $(use_enable upnp) \
+ $(use_enable vaapi) \
+ $(use_enable vdpau) \
+ $(use_enable webserver) \
+ $(use_enable xrandr)
+}
+
+src_install() {
+ default
+ rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
+
+ domenu tools/Linux/xbmc.desktop
+ newicon tools/Linux/xbmc-48x48.png 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://wiki.xbmc.org/?title=XBMC_Online_Manual"
+}