Summary: | media-tv/xbmc-11.0_p53_pre: ebuild for xbmc pvr branch by opdenkamp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leho Kraav (:macmaN @lkraav) <leho> |
Component: | New packages | Assignee: | Gentoo Xbox project <xbox> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | cybertec.systems, dekien, gentoo, jiojio74, leho, Thomas.Rausch, yamadharma |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://github.com/opdenkamp/xbmc | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xbmc-11.0_p30_pre.ebuild
xbmc-11.0_p40_pre.ebuild xbmc-11.0_p44_pre.ebuild xbmc-11.0_p46_pre.ebuild xbmc-11.0_p48_pre.ebuild xbmc-11.0_p50_pre.ebuild update |
Description
Leho Kraav (:macmaN @lkraav)
2011-05-01 07:45:07 UTC
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
|