HOW-TO:Compile XBMC on openSUSE Linux

Prerequisites
In order to successful install XBMC Eden, (by source or by rpms) you need the following Repositories to be added in Yast (change "12.1" to "11.4" or "11.3" if required):

http://download.opensuse.org/distribution/12.1/repo/oss/
 * openSUSE-12.1-Oss (this is already enabled in a standard installation)

http://ftp.skynet.be/pub/packman/suse/12.1/
 * Packman Repository

You can easly add them by YaST (package manager) --> repositories --> repositories manager --> add --> community repositories

Installation with RPMs
Use YaST or zypper to install XBMC:

NOTE: XBMC is in the Packman repository NOTE: As of April 1st, 2012, XBMC-Eden (11.0) has not yet been uploaded to the Packman repository

You can now skip to Run It!

Stable sources
Stable sources can be downloaded in tar.gz format from http://mirrors.xbmc.org/releases/source/

After downloading, run

You can now skip to Installing all building dependencies

Development sources
If you want to build xbmc from current development snapshot: The first time:

In order to update the source code (and clean old make files):

Installing all building dependencies
XBMC requires a number of external libraries to build (you may want to copy and paste):

Compile source
To compile respecting openSUSE Filesystem structure please do the following:

64bit (x86_64)
I doubt that all this is needed any more - I just did an x86_64 build without this stuff. I had to however install a few more dependencies.

x86_64 users need to export CFLAGS and apply a patch because a non standard libdir ( http://forum.xbmc.org/showthread.php?t=34527 ) on ubuntu (the only one supported)

create a text file called for example "missing-cflags.patch" a paste inside it the following lines:

http://pastebin.com/f22b29f07

than put it in your folder and type the following:

Run it
Open a shell and type  to launch it.

Continue with How to Add Content (Media Sources) to your XBMC.

Have fun Anubisg1