Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453012 - media-tv/xbmc-fernetmenta-9999 - New ebuild for the FernetMenta branch of XBMC.
Summary: media-tv/xbmc-fernetmenta-9999 - New ebuild for the FernetMenta branch of XBMC.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
Depends on:
Reported: 2013-01-19 16:45 UTC by wippie
Modified: 2013-02-11 14:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

media-tv/xbmc-fernetmenta-9999.ebuild (xbmc-fernetmenta-9999.ebuild,5.99 KB, text/plain)
2013-01-19 16:47 UTC, wippie
media-tv/xbmc-fernetmenta-9999.ebuild (xbmc-fernetmenta-9999.ebuild,5.62 KB, text/plain)
2013-01-19 20:46 UTC, wippie

Note You need to log in before you can comment on or make changes to this bug.
Description wippie 2013-01-19 16:45:50 UTC
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.


Reproducible: Always
Comment 1 wippie 2013-01-19 16:47:53 UTC
Created attachment 336144 [details]
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-19 16:53:17 UTC
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.
Comment 3 wippie 2013-01-19 20:46:39 UTC
Created attachment 336164 [details]

Updated ebuild from suggestions.

Due to the design of XBMC; if PulseAudio support is enabled, ALSA support will be disabled.

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
in the ebuild.
Comment 4 SpanKY gentoo-dev 2013-01-20 19:39:38 UTC
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
Comment 5 wippie 2013-01-27 11:56:20 UTC
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:
Comment 6 SpanKY gentoo-dev 2013-01-27 16:19:25 UTC
(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.