New ebuild for the FernetMenta master branch of XBMC. This is the main branch for xvba-support in xbmc, i.e. Amd's UVD hardware. Anyone running xbmc on Amd hardware using ati-drivers will probably want this. I publish this since the official XBMC 12 Frodo will not have xvba support. Not a perfect ebuild but it gets the job done. I'm still learning this. PVR should be supported but not yet tested. References: http://en.wikipedia.org/wiki/Xvba http://en.wikipedia.org/wiki/UVD Reproducible: Always
Created attachment 336144 [details] media-tv/xbmc-fernetmenta-9999.ebuild
Some suggestions: 1. Use the proper header obtained through `head -n3 /usr/portage/skel.ebuild`. 2. You can switch to the latest stable EAPI="5". 3. Don't leave clutter like #EGIT_REPO_URI... or #ISUE behind, it does nothing but stand in your way. 4. You might want to adjust the DESCRIPTION and HOMEPAGE to describe the branch.
Created attachment 336164 [details] media-tv/xbmc-fernetmenta-9999.ebuild Updated ebuild from suggestions. Note: Due to the design of XBMC; if PulseAudio support is enabled, ALSA support will be disabled. Note: This ebuild is based on FernetMentas master branch, which sometimes can be a bit unstable. If you wish for a more stable release, use FernetMentas frodo branch. You can use the same ebuild for this. Just replace EGIT_BRANCH="master" with EGIT_BRANCH="frodo" in the ebuild.
you can already use xbmc-9999.ebuild with specific branches and repos use /etc/portage/env/ and set EGIT_* and xbmc_LIVE_REPO to something special
Well almost.. Original ebuild does not have support for xvba; xvba? ( x11-libs/xvba-video ) .. $(use_enable xvba) \ Nor does it have support for hardened systems; inherit eutils python pax-utils .. pax-mark -m "${D}"usr/lib64/xbmc/xbmc.bin So even if you build it from the FernetMenta sources, it will not have xvba support enabled. The configure looks for amdxvba.h, which is included in the x11-libs/xvba-sdk. Unfortunately, xvba-sdk is not available in the main portage tree, but it's on bgo, available here: https://bugs.gentoo.org/show_bug.cgi?id=356749
(In reply to comment #5) that's because mainline doesn't support xvba. but that isn't stopping you from passing custom flags to the build process via per-package env. not a bug, and no missing functionality.