couple of things to note: 1. i wouldve initially liked to have media-tv/xbmc-pvr for example, but there seems to be no simple way to modify executable names and paths to /usr/*/xbmc-pvr and there is no real benefit for me to spend a lot of time figuring this out 2. i would like to have a better branch distinction in ebuild version, but my understanding from Ebuild File Format is that xbmc-11.0_odk30_pre is against the rules 3. opdenkamp tags his releases every couple of weeks with odkXX, tarball snapshots are at http://github.com/opdenkamp/xbmc/downloads. unfortunately github's automatic tarballing is a real nut. download url: http://github.com/opdenkamp/xbmc/tarball/pvr-ppa-odk30 redirects: http://download.github.com/opdenkamp-xbmc-pvr-ppa-odk30-0-gf44db35.tar.gz wget will still save the file as pvr-ppa-odk30 and then ebuild will not recognize it's format. i don't know how to make ebuild fetch rename a downloaded asset. haven't been able to figure out a way to not hardcode these file names into every ebuild, since commit hashes are going to change. this means the ebuild will need to be updated for each release, which i will be doing until i figure the Right Way out or someone points me to it. other than that, it compiles well and XBMC Live TV menu is a lot of new fun. Reproducible: Always
Created attachment 271723 [details] xbmc-11.0_p30_pre.ebuild
thread opened in xbmc pvr subforum too: http://forum.xbmc.org/showthread.php?p=786833
noticed that for some reason i haven't merged in git repo migration from -9999 ebuild, will be doing that shortly.
I think a simpler approach might be to modify the existing xbmc-9999 ebuild to support alternative git repositories with the following. EGIT_REPO_URI=${XBMC_EGIT_REPO_URI:-git://github.com/xbmc/xbmc.git} EGIT_PROJECT=${XBMC_EGIT_PROJECT:-xbmc} You can then set XBMC_EGIT_REPO_URI and XBMC_EGIT_PROJECT as environment variables and have xbmc-9999 track a different repository. XBMC_EGIT_REPO_URI=git://github.com/opdenkamp/xbmc.git XBMC_EGIT_PROJECT=xbmc-pvr You will have a much better chance of convincing the xbmc package maintainer to make this change, than to maintain another ebuild.
read git.eclass ... it already supports per-package uri overrides transparently i'm not adding ebuilds to the tree for random branches when people can do this on their own systems locally
yeah i wasn't even aiming for the tree. i think b.g.o is the best tool there is just work with this for a bit and let interested people find out about the effort. is it OK to continue in this wontfix-corner until pvr is integrated in main branch?
feel free to post updates all you like. the forums might be a better place to collaborate with people though.
Created attachment 279259 [details] xbmc-11.0_p40_pre.ebuild
Created attachment 282985 [details] xbmc-11.0_p44_pre.ebuild bumped
Created attachment 283219 [details] xbmc-11.0_p46_pre.ebuild this ebuild now is independent of github tag SHA marks in the directory name. i'm pretty sure this is a crude hack¹, so improvements welcome. ¹: inside src_unpack doing cd "${WORKDIR}; S="${WORKDIR}/$(ls)" to set S, since we don't what we're going to get from the tarball until we unpack it
The ebuild fails to build with the last ffmpeg. The problem is present on all xbmc ebuild (https://bugs.gentoo.org/show_bug.cgi?id=378229)
yes, you need to apply patch from http://trac.xbmc.org/ticket/11689 until further notice i guess. i'm sure this is fixed in to-be-odk48.
(In reply to comment #12) > yes, you need to apply patch from http://trac.xbmc.org/ticket/11689 until > further notice i guess. i'm sure this is fixed in to-be-odk48. Thanks for the patch. I'll try it. For now, it isn't in the last master git version. (version 9999 of the ebuild fail too)
Works like a charm. Thanks.
Created attachment 289765 [details] xbmc-11.0_p48_pre.ebuild this is dated 09/01, will be merging gentoo's latest xbmc-9999.ebuild changes whenever odk50 gets released.
Created attachment 290119 [details] xbmc-11.0_p50_pre.ebuild odk50 bump, updated from xbmc-9999.ebuild 1.84 to 1.93
ffmpeg 0.7.x patch is no longer necessary here
just rename the p50 ebuild to p53.
Hi, Does it build with libpng 1.5. I can't build xbmc since this upgrade. There is a patch for xbmc-10.1 but it doesn't works with recent versions of xbmc (with or without the pvr add-ons). Regards.
i am still on libpng-1.4, so i don't know yet.
There are patches available on trac.xbmc.org. They work with current git version so probably with odkXX too. See http://trac.xbmc.org/ticket/12001 and http://forums.gentoo.org/viewtopic-t-900122.html for an easy way to use them.
it doens't seem to work with png 1.5 it fails on: /usr/include/libpng15/png.h:833:16: error: forward declaration of 'struct png_struct' ximapng.h:73:18: error: invalid use of incomplete type 'struct png_struct'
yep, from the xbmc ticket above i'm applying: 0002-xbmc-9999-headers.patch 0003-xbmc-9999-libpng-1.5.patch 0004-xbmc-9999-libpng-1.5-fix-plt-trn-get.patch just epatch them in this order in the ebuild
After the recent addition of mysql/pvr USE flags to the ebuilds in the tree, "transparent per-package uri overrides" as mentioned in Comment 5 doesn't work for the xbmc-pvr branch anymore.
Created attachment 306695 [details] update here's a fresh ebuild