diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-04-13 19:45:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-04-13 19:45:21 +0000 |
commit | c0491253fda2bc0b784ade58f88c471be47cb33a (patch) | |
tree | 10b0686b8b7af9b2a247e0c8bdd565e3871c5250 /media-tv | |
parent | Patch by hal to punt unused addons #465108. (diff) | |
download | gentoo-2-c0491253fda2bc0b784ade58f88c471be47cb33a.tar.gz gentoo-2-c0491253fda2bc0b784ade58f88c471be47cb33a.tar.bz2 gentoo-2-c0491253fda2bc0b784ade58f88c471be47cb33a.zip |
Refresh generated python interfaces #464048 by Marcel Unbehaun.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/xbmc/ChangeLog | 6 | ||||
-rwxr-xr-x | media-tv/xbmc/files/generate.sh | 23 | ||||
-rw-r--r-- | media-tv/xbmc/xbmc-9999.ebuild | 4 |
3 files changed, 23 insertions, 10 deletions
diff --git a/media-tv/xbmc/ChangeLog b/media-tv/xbmc/ChangeLog index 0e7b3f2b9e41..94ae73e94aca 100644 --- a/media-tv/xbmc/ChangeLog +++ b/media-tv/xbmc/ChangeLog @@ -1,6 +1,10 @@ # 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.178 2013/04/13 19:20:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.179 2013/04/13 19:45:21 vapier Exp $ + + 13 Apr 2013; Mike Frysinger <vapier@gentoo.org> files/generate.sh, + xbmc-9999.ebuild: + Refresh generated python interfaces #464048 by Marcel Unbehaun. 13 Apr 2013; Mike Frysinger <vapier@gentoo.org> xbmc-9999.ebuild: Patch by hal to punt unused addons #465108. diff --git a/media-tv/xbmc/files/generate.sh b/media-tv/xbmc/files/generate.sh index 1e610a7a2c6c..ff0a6c1901b5 100755 --- a/media-tv/xbmc/files/generate.sh +++ b/media-tv/xbmc/files/generate.sh @@ -6,11 +6,20 @@ PV=$1 PN=xbmc P="${PN}-${PV}" DISTDIR="/usr/portage/distfiles" +GITDIR="/usr/local/src/xbmc/git" -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}-*/ +if [[ ${PV} != "9999" ]] ; then + rm -rf ${PN}-*/ + tar xf ${DISTDIR}/${P}.tar.gz + d=$(echo ${PN}-*/) +else + stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d) + P+="-${stamp}" + cd ${GITDIR} + d=. +fi +make -C ${d} -j -f codegenerator.mk +tar cf - ${d}/xbmc/interfaces/python/generated/*.cpp | xz > ${DISTDIR}/${P}-generated-addons.tar.xz +if [[ ${PV} != "9999" ]] ; then + rm -rf ${PN}-*/ +fi diff --git a/media-tv/xbmc/xbmc-9999.ebuild b/media-tv/xbmc/xbmc-9999.ebuild index 9da505cd1bac..65cbdceb3fa3 100644 --- a/media-tv/xbmc/xbmc-9999.ebuild +++ b/media-tv/xbmc/xbmc-9999.ebuild @@ -1,6 +1,6 @@ # 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-9999.ebuild,v 1.140 2013/04/13 19:20:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.141 2013/04/13 19:45:21 vapier Exp $ EAPI="4" @@ -15,7 +15,7 @@ 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 )" + SRC_URI="!java? ( mirror://gentoo/${P}-20130413-generated-addons.tar.xz )" ;; *_alpha*|*_beta*|*_rc*) MY_PV="Frodo_${PV#*_}" |