Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 410479

Summary: media-tv/xbmc - Add libcec support
Product: Gentoo Linux Reporter: Ian Whyman (thev00d00) (RETIRED) <thev00d00>
Component: Current packagesAssignee: Gentoo Xbox project <xbox>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://libcec.pulse-eight.com
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Changes to XBMC ebuilds

Description Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-04-01 21:32:53 UTC
Created attachment 307417 [details]
Changes to XBMC ebuilds

I've recently added dev-libs/libcec to portage.

Please apply attached changes (or changes based upon them) to xbmc to support libcec.

The changes are extremely simple and consist of adding a use flag and use enable call.

Unrelated: I also noticed on my last build: /var/tmp/portage/media-tv/xbmc-11.0/temp/environment: line 5286: --enable-dvdcss: command not found
Comment 1 SpanKY gentoo-dev 2012-04-01 22:04:40 UTC
your libcec ebuild had bugs in it, so i fixed that stuff up.  you might want to review things.

http://sources.gentoo.org/dev-libs/libcec/libcec-1.5.2.ebuild?r1=1.1&r2=1.2

also, if you have commit access upstream, you should get that -fPIC hardcode in CXXFLAGS removed.  libtool takes care of that for you.
Comment 2 SpanKY gentoo-dev 2012-04-01 22:50:28 UTC
that warning message is related -- your patch introduced it.  please look at notice the missing "\" at the end.
Comment 3 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-04-02 08:14:25 UTC
Thanks for your feedback.

Do you want me to provide an updated patch (including missing backslash) or are you happy to make that addition yourself?

Re: libcec, I didnt know that helpful CONFIG_CHECK variable existed, I will raise the -fPic issue upstream.