Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 00/14] Introducing XBMC
@ 2014-01-12 17:53 Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 01/14] jasper: new package Maxime Hadjinlian
                   ` (14 more replies)
  0 siblings, 15 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

Hi all,

After a long long time, here is a series introducing XBMC.
There are many packages needed by XBMC to work properly.

Also, it seems it can only build easily with external toolchain (a missing
bitdefs.h files).
It doesn't seems that uClibc is supported also.

Maxime Hadjinlian (14):
  jasper: new package
  libenca: new package
  libass: new package
  libbluray: new package
  libcdio: new package
  libmodplug: new package
  libnfs: new package
  libplist: new package
  librtmp: new package
  libshairplay: new package
  tinyxml: new package
  sdl: add host version
  sdl_image: add host version
  xbmc: new package

 package/Config.in                                  |  12 ++
 package/jasper/Config.in                           |   7 +
 package/jasper/jasper.mk                           |  15 ++
 package/libass/Config.in                           |  10 +
 package/libass/libass.mk                           |  14 ++
 package/libbluray/Config.in                        |   6 +
 package/libbluray/libbluray.mk                     |  14 ++
 package/libcdio/Config.in                          |  11 ++
 package/libcdio/libcdio.mk                         |  18 ++
 package/libenca/Config.in                          |   6 +
 package/libenca/libenca-1.9-dont-build-tools.patch |  33 ++++
 package/libenca/libenca-1.9-fix-clean.patch        |  22 +++
 package/libenca/libenca-1.9-fix-prefix.patch       |  19 ++
 package/libenca/libenca.mk                         |  26 +++
 package/libmodplug/Config.in                       |  10 +
 package/libmodplug/libmodplug.mk                   |  12 ++
 package/libnfs/Config.in                           |  11 ++
 package/libnfs/libnfs.mk                           |  16 ++
 package/libplist/Config.in                         |  12 ++
 package/libplist/libplist.mk                       |  15 ++
 package/librtmp/Config.in                          |   8 +
 package/librtmp/librtmp.mk                         |  51 ++++++
 package/libshairplay/Config.in                     |  12 ++
 package/libshairplay/libshairplay.mk               |  13 ++
 package/sdl/sdl.mk                                 |   2 +
 package/sdl_image/sdl_image.mk                     |  11 ++
 package/tinyxml/Config.in                          |  11 ++
 package/tinyxml/tinyxml.mk                         |  15 ++
 package/xbmc/Config.in                             | 202 +++++++++++++++++++++
 package/xbmc/S99xbmc.default                       |  24 +++
 package/xbmc/S99xbmc.raspberrypi                   |  31 ++++
 package/xbmc/xbmc-0001-Fixup-include-path.patch    |  79 ++++++++
 .../xbmc-0002-RaspberryPi-Default-Settings.patch   | 167 +++++++++++++++++
 package/xbmc/xbmc.mk                               | 167 +++++++++++++++++
 34 files changed, 1082 insertions(+)
 create mode 100644 package/jasper/Config.in
 create mode 100644 package/jasper/jasper.mk
 create mode 100644 package/libass/Config.in
 create mode 100644 package/libass/libass.mk
 create mode 100644 package/libbluray/Config.in
 create mode 100644 package/libbluray/libbluray.mk
 create mode 100644 package/libcdio/Config.in
 create mode 100644 package/libcdio/libcdio.mk
 create mode 100644 package/libenca/Config.in
 create mode 100644 package/libenca/libenca-1.9-dont-build-tools.patch
 create mode 100644 package/libenca/libenca-1.9-fix-clean.patch
 create mode 100644 package/libenca/libenca-1.9-fix-prefix.patch
 create mode 100644 package/libenca/libenca.mk
 create mode 100644 package/libmodplug/Config.in
 create mode 100644 package/libmodplug/libmodplug.mk
 create mode 100644 package/libnfs/Config.in
 create mode 100644 package/libnfs/libnfs.mk
 create mode 100644 package/libplist/Config.in
 create mode 100644 package/libplist/libplist.mk
 create mode 100644 package/librtmp/Config.in
 create mode 100644 package/librtmp/librtmp.mk
 create mode 100644 package/libshairplay/Config.in
 create mode 100644 package/libshairplay/libshairplay.mk
 create mode 100644 package/tinyxml/Config.in
 create mode 100644 package/tinyxml/tinyxml.mk
 create mode 100644 package/xbmc/Config.in
 create mode 100755 package/xbmc/S99xbmc.default
 create mode 100755 package/xbmc/S99xbmc.raspberrypi
 create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch
 create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
 create mode 100644 package/xbmc/xbmc.mk

--
1.8.5.2

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 01/14] jasper: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 18:29   ` Peter Korsgaard
  2014-01-12 17:53 ` [Buildroot] [PATCH 02/14] libenca: " Maxime Hadjinlian
                   ` (13 subsequent siblings)
  14 siblings, 1 reply; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

JPEG-2000 decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in        |  1 +
 package/jasper/Config.in |  7 +++++++
 package/jasper/jasper.mk | 15 +++++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/jasper/Config.in
 create mode 100644 package/jasper/jasper.mk

diff --git a/package/Config.in b/package/Config.in
index 20e142f..c47f1ad 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -523,6 +523,7 @@ source "package/gtk2-engines/Config.in"
 source "package/gtk2-themes/Config.in"
 source "package/harfbuzz/Config.in"
 source "package/imlib2/Config.in"
+source "package/jasper/Config.in"
 source "package/jpeg/Config.in"
 source "package/lcms2/Config.in"
 source "package/lesstif/Config.in"
diff --git a/package/jasper/Config.in b/package/jasper/Config.in
new file mode 100644
index 0000000..087b520
--- /dev/null
+++ b/package/jasper/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_JASPER
+	bool "jasper"
+	select BR2_PACKAGE_JPEG
+	help
+	  JPEG-2000 decoder
+
+	  http://www.ece.uvic.ca/~mdadams/jasper/
diff --git a/package/jasper/jasper.mk b/package/jasper/jasper.mk
new file mode 100644
index 0000000..5092ab3
--- /dev/null
+++ b/package/jasper/jasper.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# jasper
+#
+#############################################################
+
+JASPER_VERSION = 1.900.1
+JASPER_SITE = http://sources.openelec.tv/devel
+JASPER_SOURCE = jasper-$(JASPER_VERSION).tar.bz2
+JASPER_INSTALL_STAGING = YES
+JASPER_DEPENDENCIES = jpeg
+JASPER_LICENSE = MIT
+JASPER_LICENSE_FILE = LICENSE
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 02/14] libenca: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 01/14] jasper: new package Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-13  8:20   ` Thomas Petazzoni
  2014-01-14 22:14   ` Yann E. MORIN
  2014-01-12 17:53 ` [Buildroot] [PATCH 03/14] libass: " Maxime Hadjinlian
                   ` (12 subsequent siblings)
  14 siblings, 2 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

Extremely Naive Charset Analyser.

This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in                                  |  1 +
 package/libenca/Config.in                          |  6 ++++
 package/libenca/libenca-1.9-dont-build-tools.patch | 33 ++++++++++++++++++++++
 package/libenca/libenca-1.9-fix-clean.patch        | 22 +++++++++++++++
 package/libenca/libenca-1.9-fix-prefix.patch       | 19 +++++++++++++
 package/libenca/libenca.mk                         | 26 +++++++++++++++++
 6 files changed, 107 insertions(+)
 create mode 100644 package/libenca/Config.in
 create mode 100644 package/libenca/libenca-1.9-dont-build-tools.patch
 create mode 100644 package/libenca/libenca-1.9-fix-clean.patch
 create mode 100644 package/libenca/libenca-1.9-fix-prefix.patch
 create mode 100644 package/libenca/libenca.mk

diff --git a/package/Config.in b/package/Config.in
index c47f1ad..b1a805b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -757,6 +757,7 @@ menu "Text and terminal handling"
 source "package/enchant/Config.in"
 source "package/icu/Config.in"
 source "package/libedit/Config.in"
+source "package/libenca/Config.in"
 source "package/libfribidi/Config.in"
 source "package/libiconv/Config.in"
 source "package/linenoise/Config.in"
diff --git a/package/libenca/Config.in b/package/libenca/Config.in
new file mode 100644
index 0000000..5e951ed
--- /dev/null
+++ b/package/libenca/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBENCA
+	bool "libenca"
+	help
+	  Extremely Naive Charset Analyser
+
+	  http://cihar.com/software/enca/
diff --git a/package/libenca/libenca-1.9-dont-build-tools.patch b/package/libenca/libenca-1.9-dont-build-tools.patch
new file mode 100644
index 0000000..43b3420
--- /dev/null
+++ b/package/libenca/libenca-1.9-dont-build-tools.patch
@@ -0,0 +1,33 @@
+diff -ruN libenca-1.9.orig/Makefile.in libenca-1.9/Makefile.in
+--- libenca-1.9.orig/Makefile.in	2011-07-23 20:02:58.304328321 -0400
++++ libenca-1.9/Makefile.in	2011-07-23 20:03:34.246328297 -0400
+@@ -78,7 +78,7 @@
+ DATA = $(pkgconfig_DATA)
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = tools script lib src devel-docs test data
++DIST_SUBDIRS = script lib src devel-docs test data
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -207,10 +207,10 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+- at MAINTAINER_MODE_FALSE@SUBDIRS = tools script lib src devel-docs test
++ at MAINTAINER_MODE_FALSE@SUBDIRS = script lib src devel-docs test
+
+ # @(#) $Id: Makefile.am,v 1.35 2005/11/24 10:21:32 yeti Exp $
+- at MAINTAINER_MODE_TRUE@SUBDIRS = tools data script lib src devel-docs test
++ at MAINTAINER_MODE_TRUE@SUBDIRS = data script lib src devel-docs test
+ man_MANS = man/enca.1
+ DISTCHECK_CONFIGURE_FLAGS = --enable-maintainer-mode
+ M4TESTS = \
+@@ -223,7 +223,6 @@
+   m4/long-text.l2 \
+   m4/recode-bugs.m4 \
+   m4/scanf.m4 \
+-  m4/tools.m4 \
+   m4/typevar.m4
+
+ EXTRA_DIST = \
diff --git a/package/libenca/libenca-1.9-fix-clean.patch b/package/libenca/libenca-1.9-fix-clean.patch
new file mode 100644
index 0000000..9c206ad
--- /dev/null
+++ b/package/libenca/libenca-1.9-fix-clean.patch
@@ -0,0 +1,22 @@
+--- libenca-1.9.orig/src/Makefile.in	2011-07-23 20:19:28.744327998 -0400
++++ libenca-1.9/src/Makefile.in	2011-07-23 20:22:47.894327936 -0400
+@@ -694,7 +694,7 @@
+	cd $(DESTDIR)$(bindir); \
+	inst1=`echo enca | sed '$(transform)'`; \
+	inst2=`echo enconv | sed '$(transform)'`; \
+-	$(LN_S) $$inst1$(EXEEXT) $$inst2$(EXEEXT)
++	$(LN_S) -f $$inst1$(EXEEXT) $$inst2$(EXEEXT)
+
+ uninstall-hook:
+	inst=`echo enconv | sed '$(transform)'`; \
+--- libenca-1.9.orig/Makefile.in	2011-07-23 20:19:28.746327999 -0400
++++ libenca-1.9/Makefile.in	2011-07-23 20:36:48.742327668 -0400
+@@ -768,7 +768,7 @@
+	cd $(DESTDIR)$(man1dir); \
+	inst1=`echo enca | sed '$(transform)'`.1; \
+	inst2=`echo enconv | sed '$(transform)'`.1; \
+-	$(LN_S) $$inst1 $$inst2
++	$(LN_S) -f $$inst1 $$inst2
+
+ uninstall-hook:
+	inst=`echo enconv | sed '$(transform)'`.1; \
diff --git a/package/libenca/libenca-1.9-fix-prefix.patch b/package/libenca/libenca-1.9-fix-prefix.patch
new file mode 100644
index 0000000..6fd195b
--- /dev/null
+++ b/package/libenca/libenca-1.9-fix-prefix.patch
@@ -0,0 +1,19 @@
+--- libenca-1.9.orig/configure
++++ libenca-1.9/configure
+
+@@ -20808,15 +20808,6 @@ _ACEOF
+ fi
+
+
+-if test "$prefix" = "NONE"; then
+-  LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+-  CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+-else
+-  LDFLAGS="$LDFLAGS -L$prefix/lib"
+-  CPPFLAGS="$CPPFLAGS -I$prefix/include"
+-fi
+-
+-
+ case "$target" in
+ NONE) yeti_libm_target="$host" ;;
+ *) yeti_libm_target="$target" ;;
diff --git a/package/libenca/libenca.mk b/package/libenca/libenca.mk
new file mode 100644
index 0000000..e9dba18
--- /dev/null
+++ b/package/libenca/libenca.mk
@@ -0,0 +1,26 @@
+#############################################################
+#
+# libenca
+#
+#############################################################
+
+LIBENCA_VERSION = 1.9
+LIBENCA_SITE = http://dl.cihar.com/enca
+LIBENCA_SOURCE = enca-$(LIBENCA_VERSION).tar.bz2
+LIBENCA_INSTALL_STAGING = YES
+LIBENCA_LICENSE = GPLv2
+LIBENCA_LICENSE_FILES = COPYING
+
+LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes
+LIBENCA_CONF_ENV += ac_cv_file__dev_urandom=yes
+LIBENCA_CONF_ENV += ac_cv_file__dev_arandom=no
+LIBENCA_CONF_ENV += ac_cv_file__dev_srandom=no
+LIBENCA_CONF_ENV += yeti_cv_func_scanf_modif_size_t=yes
+
+define LIBENCA_MAKE_HOST_TOOL
+cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c
+endef
+
+LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 03/14] libass: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 01/14] jasper: new package Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 02/14] libenca: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 18:37   ` Bernd Kuhls
  2014-01-14 22:17   ` Yann E. MORIN
  2014-01-12 17:53 ` [Buildroot] [PATCH 04/14] libbluray: " Maxime Hadjinlian
                   ` (11 subsequent siblings)
  14 siblings, 2 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

libass is a portable subtitle renderer for the
ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in        |  1 +
 package/libass/Config.in | 10 ++++++++++
 package/libass/libass.mk | 14 ++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/libass/Config.in
 create mode 100644 package/libass/libass.mk

diff --git a/package/Config.in b/package/Config.in
index b1a805b..0b00a9e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -620,6 +620,7 @@ source "package/yajl/Config.in"
 endmenu
 
 menu "Multimedia"
+source "package/libass/Config.in"
 source "package/libdvbsi/Config.in"
 source "package/libdvdnav/Config.in"
 source "package/libdvdread/Config.in"
diff --git a/package/libass/Config.in b/package/libass/Config.in
new file mode 100644
index 0000000..ff34b64
--- /dev/null
+++ b/package/libass/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBASS
+	bool "libass"
+	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_FONTCONFIG
+	select BR2_PACKAGE_LIBENCA
+	help
+	  libass is a portable subtitle renderer for the ASS/SSA
+	  (Advanced Substation Alpha/Substation Alpha) subtitle format
+
+	  http://code.google.com/p/libass/
diff --git a/package/libass/libass.mk b/package/libass/libass.mk
new file mode 100644
index 0000000..3fd748a
--- /dev/null
+++ b/package/libass/libass.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# libass
+#
+#############################################################
+
+LIBASS_VERSION = 0.9.12
+LIBASS_SITE = http://libass.googlecode.com/files
+LIBASS_INSTALL_STAGING = YES
+LIBASS_DEPENDENCIES = freetype fontconfig libenca
+LIBASS_LICENSE = BSD-3c
+LIBASS_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 04/14] libbluray: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (2 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 03/14] libass: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 18:40   ` Bernd Kuhls
  2014-01-14 22:26   ` Yann E. MORIN
  2014-01-12 17:53 ` [Buildroot] [PATCH 05/14] libcdio: " Maxime Hadjinlian
                   ` (10 subsequent siblings)
  14 siblings, 2 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

LIBBLURAY is a client library for accessing bluray disks.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in              |  1 +
 package/libbluray/Config.in    |  6 ++++++
 package/libbluray/libbluray.mk | 14 ++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/libbluray/Config.in
 create mode 100644 package/libbluray/libbluray.mk

diff --git a/package/Config.in b/package/Config.in
index 0b00a9e..3e01ba0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -621,6 +621,7 @@ endmenu
 
 menu "Multimedia"
 source "package/libass/Config.in"
+source "package/libbluray/Config.in"
 source "package/libdvbsi/Config.in"
 source "package/libdvdnav/Config.in"
 source "package/libdvdread/Config.in"
diff --git a/package/libbluray/Config.in b/package/libbluray/Config.in
new file mode 100644
index 0000000..eeb93dc
--- /dev/null
+++ b/package/libbluray/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBBLURAY
+	bool "libbluray"
+	help
+	  libbluray is a client library for accessing bluray disks.
+
+	  http://www.videolan.org/developers/libbluray.html
diff --git a/package/libbluray/libbluray.mk b/package/libbluray/libbluray.mk
new file mode 100644
index 0000000..25cda6b
--- /dev/null
+++ b/package/libbluray/libbluray.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# libbluray
+#
+#############################################################
+
+LIBBLURAY_VERSION = 0.2.2
+LIBBLURAY_SITE = ftp://ftp.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION)
+LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
+LIBBLURAY_INSTALL_STAGING = YES
+LIBBLURAY_LICENSE = LGPLv2.1+
+LIBBLURAY_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 05/14] libcdio: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (3 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 04/14] libbluray: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 18:40   ` Bernd Kuhls
  2014-01-14 22:32   ` Yann E. MORIN
  2014-01-12 17:53 ` [Buildroot] [PATCH 06/14] libmodplug: " Maxime Hadjinlian
                   ` (9 subsequent siblings)
  14 siblings, 2 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

The GNU Compact Disc Input and Control library.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in          |  1 +
 package/libcdio/Config.in  | 11 +++++++++++
 package/libcdio/libcdio.mk | 18 ++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 package/libcdio/Config.in
 create mode 100644 package/libcdio/libcdio.mk

diff --git a/package/Config.in b/package/Config.in
index 3e01ba0..d50c5ec 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -446,6 +446,7 @@ source "package/celt051/Config.in"
 source "package/fdk-aac/Config.in"
 source "package/libao/Config.in"
 source "package/libcdaudio/Config.in"
+source "package/libcdio/Config.in"
 source "package/libcue/Config.in"
 source "package/libcuefile/Config.in"
 source "package/libid3tag/Config.in"
diff --git a/package/libcdio/Config.in b/package/libcdio/Config.in
new file mode 100644
index 0000000..4e6c800
--- /dev/null
+++ b/package/libcdio/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBCDIO
+	bool "libcdio"
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  The GNU Compact Disc Input and Control library.
+
+	  http://www.gnu.org/software/libcdio/
+
+comment "libcdio requires C++ support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libcdio/libcdio.mk b/package/libcdio/libcdio.mk
new file mode 100644
index 0000000..d90b18c
--- /dev/null
+++ b/package/libcdio/libcdio.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# libcdio
+#
+#############################################################
+
+LIBCDIO_VERSION = 0.82
+LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio
+LIBCDIO_INSTALL_STAGING = YES
+LIBCDIO_LICENSE = GPLv3+
+LIBCDIO_LICENSE_FILES = COPYING
+LIBCDIO_CONF_OPT = --disable-example-progs
+
+ifeq ($(BR2_ENABLE_LOCALE),)
+LIBCDIO_DEPENDENCIES = libiconv
+endif
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 06/14] libmodplug: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (4 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 05/14] libcdio: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 18:41   ` Bernd Kuhls
                     ` (2 more replies)
  2014-01-12 17:53 ` [Buildroot] [PATCH 07/14] libnfs: " Maxime Hadjinlian
                   ` (8 subsequent siblings)
  14 siblings, 3 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

MOD music file decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in                |  1 +
 package/libmodplug/Config.in     | 10 ++++++++++
 package/libmodplug/libmodplug.mk | 12 ++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/libmodplug/Config.in
 create mode 100644 package/libmodplug/libmodplug.mk

diff --git a/package/Config.in b/package/Config.in
index d50c5ec..836dc7e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -452,6 +452,7 @@ source "package/libcuefile/Config.in"
 source "package/libid3tag/Config.in"
 source "package/liblo/Config.in"
 source "package/libmad/Config.in"
+source "package/libmodplug/Config.in"
 source "package/libmpd/Config.in"
 source "package/libreplaygain/Config.in"
 source "package/libsamplerate/Config.in"
diff --git a/package/libmodplug/Config.in b/package/libmodplug/Config.in
new file mode 100644
index 0000000..976a08b
--- /dev/null
+++ b/package/libmodplug/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBMODPLUG
+	bool "libmodplug"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  MOD music file decoder
+
+	  http://modplug-xmms.sourceforge.net/
+
+comment "libmodplug requires C++ support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk
new file mode 100644
index 0000000..14df808
--- /dev/null
+++ b/package/libmodplug/libmodplug.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# libmodplug
+#
+#############################################################
+
+LIBMODPLUG_VERSION = 0.8.7
+LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION)
+LIBMODPLUG_INSTALL_STAGING = YES
+LIBMODPLUG_LICENSE = Public Domain
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 07/14] libnfs: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (5 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 06/14] libmodplug: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 18:42   ` Bernd Kuhls
  2014-01-14 22:38   ` Yann E. MORIN
  2014-01-12 17:53 ` [Buildroot] [PATCH 08/14] libplist: " Maxime Hadjinlian
                   ` (7 subsequent siblings)
  14 siblings, 2 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

nfs userspace implementation.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in        |  1 +
 package/libnfs/Config.in | 11 +++++++++++
 package/libnfs/libnfs.mk | 16 ++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 package/libnfs/Config.in
 create mode 100644 package/libnfs/libnfs.mk

diff --git a/package/Config.in b/package/Config.in
index 836dc7e..2a06c66 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -508,6 +508,7 @@ source "package/libconfig/Config.in"
 source "package/libconfuse/Config.in"
 source "package/libfuse/Config.in"
 source "package/liblockfile/Config.in"
+source "package/libnfs/Config.in"
 source "package/libsysfs/Config.in"
 source "package/lockdev/Config.in"
 endmenu
diff --git a/package/libnfs/Config.in b/package/libnfs/Config.in
new file mode 100644
index 0000000..29e5a43
--- /dev/null
+++ b/package/libnfs/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBNFS
+	bool "libnfs"
+	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	depends on BR2_LARGEFILE
+	help
+	  nfs userspace implementation.
+
+	  http://github.com/sahlberg/libnfs
+
+comment "libnfs requires a toolchain with RPC and LARGEFILE support"
+	depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE)
diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk
new file mode 100644
index 0000000..574b196
--- /dev/null
+++ b/package/libnfs/libnfs.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libnfs
+#
+#############################################################
+
+LIBNFS_VERSION = libnfs-1.3.0
+LIBNFS_SITE = $(call github,sahlberg,libnfs,$(LIBNFS_VERSION))
+LIBNFS_INSTALL_STAGING = YES
+LIBNFS_AUTORECONF = YES
+LIBNFS_MAKE = $(MAKE1)
+LIBNFS_LICENSE = LGPLv2.1+
+LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt
+LIBNFS_DEPENDENCIES = host-pkgconf
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 08/14] libplist: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (6 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 07/14] libnfs: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 09/14] librtmp: " Maxime Hadjinlian
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

libplist is a client for manipulating Apple Property List (.plist) files
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in            |  1 +
 package/libplist/Config.in   | 12 ++++++++++++
 package/libplist/libplist.mk | 15 +++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 package/libplist/Config.in
 create mode 100644 package/libplist/libplist.mk

diff --git a/package/Config.in b/package/Config.in
index 2a06c66..464098d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -728,6 +728,7 @@ source "package/libical/Config.in"
 source "package/liblog4c-localtime/Config.in"
 source "package/libnspr/Config.in"
 source "package/libpfm4/Config.in"
+source "package/libplist/Config.in"
 source "package/libpthsem/Config.in"
 source "package/libseccomp/Config.in"
 source "package/libsigc/Config.in"
diff --git a/package/libplist/Config.in b/package/libplist/Config.in
new file mode 100644
index 0000000..a4a3adb
--- /dev/null
+++ b/package/libplist/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBPLIST
+	bool "libplist"
+	select BR2_PACKAGE_LIBXML2
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  libplist is a client for manipulating Apple Property List
+	  (.plist) files
+
+	  http://cgit.sukimashita.com/libplist.git
+
+comment "libplist requires C++ support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libplist/libplist.mk b/package/libplist/libplist.mk
new file mode 100644
index 0000000..e76542c
--- /dev/null
+++ b/package/libplist/libplist.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# libplist
+#
+#############################################################
+
+LIBPLIST_VERSION = 1.6
+LIBPLIST_SITE = http://cgit.sukimashita.com/libplist.git/snapshot
+LIBPLIST_DEPENDENCIES = libxml2
+LIBPLIST_INSTALL_STAGING = YES
+LIBPLIST_MAKE = $(MAKE1)
+LIBPLIST_LICENSE = LGPLv2.1+
+LIBPLIST_LICENSE_FILES = COPYING
+
+$(eval $(cmake-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 09/14] librtmp: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (7 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 08/14] libplist: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 10/14] libshairplay: " Maxime Hadjinlian
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

rtmpdump - RTMPDump Real-Time Messaging Protocol API
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Note that this package will only install librtmp in this state.
Hence the name librtmp instead of rtmpdump

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in          |  1 +
 package/librtmp/Config.in  |  8 ++++++++
 package/librtmp/librtmp.mk | 51 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)
 create mode 100644 package/librtmp/Config.in
 create mode 100644 package/librtmp/librtmp.mk

diff --git a/package/Config.in b/package/Config.in
index 464098d..9094abd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -542,6 +542,7 @@ source "package/libpng/Config.in"
 source "package/libqrencode/Config.in"
 source "package/libraw/Config.in"
 source "package/librsvg/Config.in"
+source "package/librtmp/Config.in"
 source "package/libsvg/Config.in"
 source "package/libsvg-cairo/Config.in"
 source "package/libsvgtiny/Config.in"
diff --git a/package/librtmp/Config.in b/package/librtmp/Config.in
new file mode 100644
index 0000000..b04b9f6
--- /dev/null
+++ b/package/librtmp/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBRTMP
+  bool "librtmp"
+  select BR2_PACKAGE_ZLIB
+  help
+    rtmpdump - RTMPDump Real-Time Messaging Protocol API
+    Only librtmp is installed by this package.
+
+    http://rtmpdump.mplayerhq.hu
diff --git a/package/librtmp/librtmp.mk b/package/librtmp/librtmp.mk
new file mode 100644
index 0000000..dabbe03
--- /dev/null
+++ b/package/librtmp/librtmp.mk
@@ -0,0 +1,51 @@
+#############################################################
+#
+#librtmp
+#
+#############################################################
+
+LIBRTMP_VERSION = e0056c51cc1710c9a44d2a2c4e2f344fa9cabcf4
+LIBRTMP_SITE = git://git.ffmpeg.org/rtmpdump
+LIBRTMP_INSTALL_STAGING = YES
+# Note that LIBRTMP is GPLv2 but librtmp has its own license and since we only
+# care about the librtmp, it's LGPLv2.1+
+LIBRTMP_LICENSE = LGPLv2.1+
+LIBRTMP_LICENSE_FILES = librtmp/COPYING
+LIBRTMP_DEPENDENCIES = zlib
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+    LIBRTMP_DEPENDENCIES += gnutls
+else
+    ifeq ($(BR2_PACKAGE_POLARSSL),y)
+        LIBRTMP_DEPENDENCIES += polarssl
+    else
+        LIBRTMP_DEPENDENCIES += openssl
+    endif
+endif
+
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+	LIBRTMP_PIC =
+else
+	LIBRTMP_PIC = -fPIC
+endif
+
+define LIBRTMP_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) $(LIBRTMP_PIC)" CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)/librtmp
+endef
+
+define LIBRTMP_FIX_PREFIX
+	sed -ie "s|prefix=/usr/local|prefix=/usr|" $(@D)/librtmp/Makefile
+endef
+
+define LIBRTMP_INSTALL_STAGING_CMDS
+	mkdir -p $(STAGING_DIR)/usr/local/lib
+	$(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR)
+endef
+
+define LIBRTMP_INSTALL_TARGET_CMDS
+	mkdir -p $(STAGING_DIR)/usr/local/lib
+	$(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR)
+endef
+
+LIBRTMP_POST_EXTRACT_HOOKS += LIBRTMP_FIX_PREFIX
+
+$(eval $(generic-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 10/14] libshairplay: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (8 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 09/14] librtmp: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 11/14] tinyxml: " Maxime Hadjinlian
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

libshairplay is a client library that emulates an airplay server
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in                    |  1 +
 package/libshairplay/Config.in       | 12 ++++++++++++
 package/libshairplay/libshairplay.mk | 13 +++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/libshairplay/Config.in
 create mode 100644 package/libshairplay/libshairplay.mk

diff --git a/package/Config.in b/package/Config.in
index 9094abd..944ecda 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -676,6 +676,7 @@ source "package/liboping/Config.in"
 source "package/libosip2/Config.in"
 source "package/libpcap/Config.in"
 source "package/librsync/Config.in"
+source "package/libshairplay/Config.in"
 source "package/libsoup/Config.in"
 source "package/libtirpc/Config.in"
 source "package/libtorrent/Config.in"
diff --git a/package/libshairplay/Config.in b/package/libshairplay/Config.in
new file mode 100644
index 0000000..a200eb2
--- /dev/null
+++ b/package/libshairplay/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBSHAIRPLAY
+  bool "libshairplay"
+  select BR2_PACKAGE_OPENSSL
+  depends on BR2_INET_IPV6
+  help
+    libshairplay is a client library that emulates an airplay
+    server
+
+    https://github.com/juhovh/shairplay
+
+comment "libshairplay requires a toolchain with IPV6 support"
+	depends on !BR2_INET_IPV6
diff --git a/package/libshairplay/libshairplay.mk b/package/libshairplay/libshairplay.mk
new file mode 100644
index 0000000..960de87
--- /dev/null
+++ b/package/libshairplay/libshairplay.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# libshairplay
+#
+#############################################################
+LIBSHAIRPLAY_VERSION = 139d5ef55564514c31f02dd82cef91236c9ff523
+LIBSHAIRPLAY_SITE = $(call github,juhovh,shairplay,$(LIBSHAIRPLAY_VERSION))
+LIBSHAIRPLAY_INSTALL_STAGING = YES
+LIBSHAIRPLAY_INSTALL_TARGET = YES
+LIBSHAIRPLAY_AUTORECONF = YES
+LIBSHAIRPORT_LICENSE = MIT
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 11/14] tinyxml: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (9 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 10/14] libshairplay: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 12/14] sdl: add host version Maxime Hadjinlian
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

Tiny XML Parser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in          |  1 +
 package/tinyxml/Config.in  | 11 +++++++++++
 package/tinyxml/tinyxml.mk | 15 +++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/tinyxml/Config.in
 create mode 100644 package/tinyxml/tinyxml.mk

diff --git a/package/Config.in b/package/Config.in
index 944ecda..3e888b2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -619,6 +619,7 @@ source "package/libxslt/Config.in"
 source "package/libyaml/Config.in"
 source "package/mxml/Config.in"
 source "package/rapidjson/Config.in"
+source "package/tinyxml/Config.in"
 source "package/xerces/Config.in"
 source "package/yajl/Config.in"
 endmenu
diff --git a/package/tinyxml/Config.in b/package/tinyxml/Config.in
new file mode 100644
index 0000000..05b5475
--- /dev/null
+++ b/package/tinyxml/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TINYXML
+	bool "tinyxml"
+	  depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  TinyXML is a simple, small, C++ XML parser that can be
+	  easily integrating into other programs.
+
+	  https://github.com/leethomason/tinyxml2
+
+comment "tinyxml requires C++ support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/tinyxml/tinyxml.mk b/package/tinyxml/tinyxml.mk
new file mode 100644
index 0000000..be13ea3
--- /dev/null
+++ b/package/tinyxml/tinyxml.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# tinyxml
+#
+#############################################################
+
+TINYXML_VERSION = 2.6.2_2
+TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources
+# AUTORECONF is needed because the XBMC's version of TinyXML contains a
+# configure.ac which is not present in mainline.
+TINYXML_AUTORECONF = YES
+TINYXML_INSTALL_STAGING = YES
+TINYXML_LICENSE = zlib
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 12/14] sdl: add host version
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (10 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 11/14] tinyxml: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 13/14] sdl_image: " Maxime Hadjinlian
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

Host version is needed to build xbmc

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/sdl/sdl.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index ba5fbca..0972acb 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -18,6 +18,7 @@ define SDL_RUN_AUTOGEN
 endef
 
 SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN
+HOST_SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN
 SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
 
 
@@ -80,3 +81,4 @@ endef
 SDL_POST_INSTALL_STAGING_HOOKS += SDL_FIXUP_SDL_CONFIG
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 13/14] sdl_image: add host version
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (11 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 12/14] sdl: add host version Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 17:53 ` [Buildroot] [PATCH 14/14] xbmc: new package Maxime Hadjinlian
  2014-01-12 18:33 ` [Buildroot] [PATCH 00/14] Introducing XBMC Bernd Kuhls
  14 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

Host version is needed to build xbmc

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/sdl_image/sdl_image.mk | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/package/sdl_image/sdl_image.mk b/package/sdl_image/sdl_image.mk
index ba9751d..05b9a1f 100644
--- a/package/sdl_image/sdl_image.mk
+++ b/package/sdl_image/sdl_image.mk
@@ -38,4 +38,15 @@ SDL_IMAGE_DEPENDENCIES = sdl \
 	$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \
 	$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp)
 
+HOST_SDL_IMAGE_CONF_OPT = --with-sdl-prefix=$(HOST_DIR)/usr \
+                --with-sdl-exec-prefix=$(HOST_DIR)/usr \
+                --disable-sdltest \
+                --disable-static \
+                --disable-jpg-shared \
+                --disable-png-shared \
+                --disable-tif-shared \
+
+HOST_SDL_IMAGE_DEPENDENCIES = host-libjpeg host-libpng host-sdl
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 14/14] xbmc: new package
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (12 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 13/14] sdl_image: " Maxime Hadjinlian
@ 2014-01-12 17:53 ` Maxime Hadjinlian
  2014-01-12 18:15   ` Maxime Hadjinlian
  2014-01-12 18:33 ` [Buildroot] [PATCH 00/14] Introducing XBMC Bernd Kuhls
  14 siblings, 1 reply; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 17:53 UTC (permalink / raw)
  To: buildroot

XBMC is an award-winning free and open source (GPL) software media player and
entertainment hub for digital media.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in                                  |   1 +
 package/xbmc/Config.in                             | 202 +++++++++++++++++++++
 package/xbmc/S99xbmc.default                       |  24 +++
 package/xbmc/S99xbmc.raspberrypi                   |  31 ++++
 package/xbmc/xbmc-0001-Fixup-include-path.patch    |  79 ++++++++
 .../xbmc-0002-RaspberryPi-Default-Settings.patch   | 167 +++++++++++++++++
 package/xbmc/xbmc.mk                               | 167 +++++++++++++++++
 7 files changed, 671 insertions(+)
 create mode 100644 package/xbmc/Config.in
 create mode 100755 package/xbmc/S99xbmc.default
 create mode 100755 package/xbmc/S99xbmc.raspberrypi
 create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch
 create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
 create mode 100644 package/xbmc/xbmc.mk

diff --git a/package/Config.in b/package/Config.in
index 3e888b2..f7c563e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -25,6 +25,7 @@ source "package/tidsp-binaries/Config.in"
 source "package/tstools/Config.in"
 source "package/vorbis-tools/Config.in"
 source "package/wavpack/Config.in"
+source "package/xbmc/Config.in"
 source "package/yavta/Config.in"
 endmenu
 
diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
new file mode 100644
index 0000000..69c4a1f
--- /dev/null
+++ b/package/xbmc/Config.in
@@ -0,0 +1,202 @@
+comment "xbmc requires an OpenGL-capable backend"
+	depends on !(BR2_PACKAGE_HAS_OPENGL_EGL && BR2_PACKAGE_HAS_OPENGL_ES)
+
+# External toolchain are required because of a missing bitdefs.h
+comment "xbmc requires an external glibc or eglibc toolchain with C++ and WCHAR support"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) || BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_BUILDROOT
+
+menuconfig BR2_PACKAGE_XBMC
+	bool "xbmc"
+	select BR2_PACKAGE_BOOST
+	select BR2_PACKAGE_BOOST_THREAD
+	select BR2_PACKAGE_BZIP2
+	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_JASPER
+	select BR2_PACKAGE_LIBCDIO
+	select BR2_PACKAGE_LIBCURL
+	select BR2_PACKAGE_LIBFRIBIDI
+	select BR2_PACKAGE_LIBGCRYPT
+	select BR2_PACKAGE_LIBMODPLUG
+	select BR2_PACKAGE_LIBMPEG2
+	select BR2_PACKAGE_LIBUNGIF
+	select BR2_PACKAGE_LZO
+	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_PCRE
+	select BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON_BSDDB
+	select BR2_PACKAGE_PYTHON_BZIP2
+	select BR2_PACKAGE_PYTHON_CURSES
+	select BR2_PACKAGE_PYTHON_PYEXPAT
+	select BR2_PACKAGE_PYTHON_READLINE
+	select BR2_PACKAGE_PYTHON_SQLITE
+	select BR2_PACKAGE_PYTHON_SSL
+	select BR2_PACKAGE_PYTHON_UNICODEDATA
+	select BR2_PACKAGE_PYTHON_ZLIB
+	select BR2_PACKAGE_READLINE
+	select BR2_PACKAGE_SQLITE
+	select BR2_PACKAGE_TAGLIB
+	select BR2_PACKAGE_TIFF
+	select BR2_PACKAGE_TINYXML
+	select BR2_PACKAGE_YAJL
+	select BR2_PACKAGE_ZLIB
+	depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && !BR2_TOOLCHAIN_USES_UCLIBC
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC
+	help
+	  XBMC is an award-winning free and open source (GPL) software
+	  media player and entertainment hub for digital media.
+
+          http://xbmc.org
+
+if BR2_PACKAGE_XBMC
+
+config BR2_PACKAGE_XBMC_AVAHI
+        bool "avahi"
+        select BR2_PACKAGE_AVAHI
+        select BR2_PACKAGE_AVAHI_DAEMON
+        help
+          Enable Avahi support.
+          Select this if you want XBMC to support Bonjour protocol.
+
+config BR2_PACKAGE_XBMC_DBUS
+	bool "dbus"
+	select BR2_PACKAGE_DBUS
+	help
+          Enable DBUS support
+
+config BR2_PACKAGE_XBMC_FLAC
+	bool "flac"
+	select BR2_PACKAGE_FLAC
+	help
+	  Enable flac input/streaming support.
+	  Select this if you want to play back FLAC files.
+
+config BR2_PACKAGE_XBMC_LIBASS
+	bool "libass"
+	select BR2_PACKAGE_LIBASS
+	help
+          Enable ASS sublititles support
+
+config BR2_PACKAGE_XBMC_LIBBLURAY
+        bool "libbluray"
+        select BR2_PACKAGE_LIBBLURAY
+        help
+          Enable bluray input support.
+          Select this if you want to play back bluray content.
+
+config BR2_PACKAGE_XBMC_LIBCEC
+        bool "libcec"
+        select BR2_PACKAGE_LIBCEC
+        depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR
+        help
+          Enable CEC support.
+          Select this if you want XBMC to support HDMI CEC.
+
+if BR2_PACKAGE_XBMC_LIBCEC && BR2_arm
+
+config BR2_PACKAGE_XBMC_LIBCEC_RBP
+        bool "rpi support"
+        depends on BR2_INSTALL_LIBSTDCPP
+        depends on BR2_LARGEFILE
+        select BR2_PACKAGE_RPI_USERLAND
+	select BR2_PACKAGE_LIBCEC_RBP
+        help
+          Enable RasberryPi support
+
+comment "rpi support requires a toolchain with C++ and LARGEFILE support"
+        depends on !(BR2_INSTALL_LIBSTDCPP && BR2_LARGEFILE)
+
+endif
+
+comment "libcec requires a toolchain with C++ and WCHAR support"
+        depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
+
+config BR2_PACKAGE_XBMC_LIBMICROHTTPD
+	bool "libmicrohttpd"
+	select BR2_PACKAGE_LIBMICROHTTPD
+	help
+          Enable webserver feature
+
+config BR2_PACKAGE_XBMC_LIBNFS
+        bool "libnfs"
+        select BR2_PACKAGE_LIBNFS
+	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+        help
+          Enable NFS server support.
+
+comment "libnfs support requires a toolchain with LARGEFILE and RPC support"
+	depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_NATIVE_RPC)
+
+config BR2_PACKAGE_XBMC_LIBRTMP
+        bool "librtmp"
+        select BR2_PACKAGE_LIBRTMP
+        help
+          Enable rtmp input support.
+          Select this if you want to play back rtmp stream.
+
+config BR2_PACKAGE_XBMC_LIBSAMPLERATE
+	bool "libsamplerate"
+	select BR2_PACKAGE_LIBSAMPLERATE
+	help
+	  Enable libsamplerate input support.
+	  Select this for software sample rate conversion.
+
+config BR2_PACKAGE_XBMC_LIBSHAIRPLAY
+        bool "libshairport"
+        select BR2_PACKAGE_LIBSHAIRPLAY
+	depends on BR2_INET_IPV6
+        help
+          Enable shairport support.
+          Select this if you want to stream content from Apple device.
+
+comment "libshairport support requires a toolchain with IPV6 support"
+	depends on !(BR2_INET_IPV6)
+
+config BR2_PACKAGE_XBMC_LIBSMBCLIENT
+	bool "libsmbclient"
+	select BR2_PACKAGE_SAMBA
+	select BR2_PACKAGE_SAMBA_LIBSMBCLIENT
+	help
+          Enable Samba support
+
+config BR2_PACKAGE_XBMC_LIBTHEORA
+	bool "libtheora"
+	select BR2_PACKAGE_LIBTHEORA
+	help
+	  Enable theora input support.
+	  Select this if you want to play back OGG/OGV files (Video).
+
+config BR2_PACKAGE_XBMC_LIBUSB
+	bool "libusb"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_LIBUSB
+	select BR2_PACKAGE_LIBUSB_COMPAT
+	help
+	  Enable libusb support.
+
+config BR2_PACKAGE_XBMC_MAD
+	bool "mad"
+	select BR2_PACKAGE_LIBID3TAG
+	select BR2_PACKAGE_LIBMAD
+	help
+	  Enable mad input support.
+	  Select this if you want to play back MP3 files.
+
+config BR2_PACKAGE_XBMC_VORBIS
+	bool "vorbis"
+	select BR2_PACKAGE_LIBOGG
+	select BR2_PACKAGE_LIBVORBIS
+	help
+	  Enable vorbis input/streaming support.
+	  Select this if you want to play back OGG files on hardfloat
+	  targets.
+
+config BR2_PACKAGE_XBMC_WAVPACK
+	bool "wavpack"
+	select BR2_PACKAGE_WAVPACK
+	help
+	  Enable wavpack input support.
+	  Select this if you want to play back WV files.
+
+endif
diff --git a/package/xbmc/S99xbmc.default b/package/xbmc/S99xbmc.default
new file mode 100755
index 0000000..a15d3f9
--- /dev/null
+++ b/package/xbmc/S99xbmc.default
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME=xbmc.bin
+DAEMON=/usr/lib/xbmc/$NAME
+DAEMON_ARGS="--standalone -fs -n"
+PIDFILE=/var/run/xbmc.pid
+
+export HOME=/root
+
+case "$1" in
+	start)
+		echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit
+		;;
+	stop)
+		start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE
+		;;
+	restart)
+		$0 stop
+		$0 start
+		;;
+	*)
+		echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/package/xbmc/S99xbmc.raspberrypi b/package/xbmc/S99xbmc.raspberrypi
new file mode 100755
index 0000000..833aea5
--- /dev/null
+++ b/package/xbmc/S99xbmc.raspberrypi
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME=xbmc.bin
+DAEMON=/usr/lib/xbmc/$NAME
+DAEMON_ARGS="--standalone -fs -n"
+PIDFILE=/var/run/xbmc.pid
+
+XRES=1280
+YRES=720
+
+export LD_LIBRARY_PATH=$XBMC_BASE/lib:/opt/vc/lib:/usr/lib/mysql:$LD_LIBRARY_PATH
+export LD_PRELOAD=/usr/lib/libcofi_rpi.so
+export HOME=/root
+
+case "$1" in
+	start)
+		echo 0 >  /sys/class/vtconsole/vtcon1/bind
+		fbset -xres 1 -yres 1 -vxres 1 -vyres 1
+		echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit
+		;;
+	stop)
+		start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE
+		;;
+	restart)
+		$0 stop
+		$0 start
+		;;
+	*)
+		echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/package/xbmc/xbmc-0001-Fixup-include-path.patch b/package/xbmc/xbmc-0001-Fixup-include-path.patch
new file mode 100644
index 0000000..e4d6632
--- /dev/null
+++ b/package/xbmc/xbmc-0001-Fixup-include-path.patch
@@ -0,0 +1,79 @@
+From 63c255f1f5d68363f49193aceed343e602dc8bdf Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+Date: Thu, 26 Dec 2013 21:17:10 +0100
+Subject: [PATCH] Fixup include path
+
+Patch originally taken from :
+http://repository.timesys.com/buildsources/x/xbmc/xbmc-11.0/xbmc-11.0-fixups.patch
+---
+ lib/enca/configure                           | 3 ---
+ lib/enca/configure.ac                        | 3 ---
+ lib/libdvd/libdvdread/misc/dvdread-config.sh | 6 +++---
+ lib/timidity/configure.in                    | 6 +++---
+ 4 files changed, 6 insertions(+), 12 deletions(-)
+
+diff --git a/lib/enca/configure b/lib/enca/configure
+index c839a51..7af5a09 100644
+--- a/lib/enca/configure
++++ b/lib/enca/configure
+@@ -12011,9 +12011,6 @@ fi
+ if test "$prefix" = "NONE"; then
+   LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+   CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+-else
+-  LDFLAGS="$LDFLAGS -L$prefix/lib"
+-  CPPFLAGS="$CPPFLAGS -I$prefix/include"
+ fi
+ 
+ 
+diff --git a/lib/enca/configure.ac b/lib/enca/configure.ac
+index 41434df..47d5367 100644
+--- a/lib/enca/configure.ac
++++ b/lib/enca/configure.ac
+@@ -100,9 +100,6 @@ dnl Dirty path hack.  Helps some people with badly set up search paths.
+ if test "$prefix" = "NONE"; then
+   LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+   CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+-else
+-  LDFLAGS="$LDFLAGS -L$prefix/lib"
+-  CPPFLAGS="$CPPFLAGS -I$prefix/include"
+ fi
+ 
+ dnl Checks for libraries.
+diff --git a/lib/libdvd/libdvdread/misc/dvdread-config.sh b/lib/libdvd/libdvdread/misc/dvdread-config.sh
+index e170c7e..25ee893 100644
+--- a/lib/libdvd/libdvdread/misc/dvdread-config.sh
++++ b/lib/libdvd/libdvdread/misc/dvdread-config.sh
+@@ -48,9 +48,9 @@ if test "$echo_prefix" = "yes"; then
+ fi
+ 
+ if test "$echo_cflags" = "yes"; then
+-      echo -I$prefix/include $extracflags
++      echo $extracflags
+ fi
+ 
+ if test "$echo_libs" = "yes"; then
+-      echo -L$libdir $dvdreadlib
+-fi      
++      echo $dvdreadlib
++fi
+diff --git a/lib/timidity/configure.in b/lib/timidity/configure.in
+index 9f2835b..733470a 100644
+--- a/lib/timidity/configure.in
++++ b/lib/timidity/configure.in
+@@ -100,9 +100,9 @@ done
+ 
+ # add $prefix if specified.
+ if test "x$prefix" != xNONE -a "x$prefix" != "x$ac_default_prefix" -a "x$prefix" != "x/usr"; then
+-  LDFLAGS="-L$prefix/lib $LDFLAGS"
+-  SHLDFLAGS="-L$prefix/lib $SHLDFLAGS"
+-  CPPFLAGS="-I$prefix/include $CPPFLAGS"
++  LDFLAGS="$LDFLAGS"
++  SHLDFLAGS="$SHLDFLAGS"
++  CPPFLAGS="$CPPFLAGS"
+ fi
+ 
+ dnl add --with-includes, --with-libraries
+-- 
+1.8.5.2
+
diff --git a/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch b/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
new file mode 100644
index 0000000..076da5a
--- /dev/null
+++ b/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
@@ -0,0 +1,167 @@
+From 2541772a3ed71402a620466feb6a337b40f08880 Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <maximeh.hadjinlian@gmail.com>
+Date: Sat, 15 Dec 2012 23:41:06 +0100
+Subject: [PATCH] RaspberryPi Default Settings
+
+Add some default settings if the target platform is the RaspberryPi.
+Avoid the fact that the user _MUST_ have an advandcedsettings.xml to be able
+to use XBMC properly.
+
+---
+ xbmc/settings/AdvancedSettings.cpp          |   31 +++++++++++++++++++++++++++
+ xbmc/settings/GUISettings.cpp               |    8 +++----
+ xbmc/settings/GUIWindowSettingsCategory.cpp |    4 ++--
+ 3 files changed, 37 insertions(+), 6 deletions(-)
+
+diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
+index 2cbbf98..42ccabd 100644
+--- a/xbmc/settings/AdvancedSettings.cpp
++++ b/xbmc/settings/AdvancedSettings.cpp
+@@ -72,7 +72,11 @@ void CAdvancedSettings::Initialize()
+   m_karaokeAlwaysEmptyOnCdgs = 1;
+   m_karaokeUseSongSpecificBackground = 0;
+
++  #if defined(TARGET_RASPBERRY_PI)
++  m_audioDefaultPlayer = "omxplayer";
++  #else
+   m_audioDefaultPlayer = "paplayer";
++  #endif
+   m_audioPlayCountMinimumPercent = 90.0f;
+   m_audioHost = "default";
+
+@@ -93,8 +97,14 @@ void CAdvancedSettings::Initialize()
+   m_videoBlackBarColour = 0;
+   m_videoPPFFmpegDeint = "linblenddeint";
+   m_videoPPFFmpegPostProc = "ha:128:7,va,dr";
++
++  #if defined(TARGET_RASPBERRY_PI)
++  m_videoDefaultPlayer = "omxplayer";
++  m_videoDefaultDVDPlayer = "omxplayer";
++  #else
+   m_videoDefaultPlayer = "dvdplayer";
+   m_videoDefaultDVDPlayer = "dvdplayer";
++  #endif
+   m_videoIgnoreSecondsAtStart = 3*60;
+   m_videoIgnorePercentAtEnd   = 8.0f;
+   m_videoPlayCountMinimumPercent = 90.0f;
+@@ -287,7 +297,11 @@ void CAdvancedSettings::Initialize()
+   m_alwaysOnTop = false;
+ #endif
+
++  #if defined(TARGET_RASPBERRY_PI)
++  m_bgInfoLoaderMaxThreads = 2;
++  #else
+   m_bgInfoLoaderMaxThreads = 5;
++  #endif
+
+   m_iPVRTimeCorrection             = 0;
+   m_iPVRInfoToggleInterval         = 3000;
+@@ -299,7 +313,12 @@ void CAdvancedSettings::Initialize()
+
+   m_measureRefreshrate = false;
+
++  #if defined(TARGET_RASPBERRY_PI)
++  m_cacheMemBufferSize = 1024 * 1024 * 10;
++  #else
+   m_cacheMemBufferSize = 1024 * 1024 * 20;
++  #endif
++
+   m_addonPackageFolderSize = 200;
+
+   m_jsonOutputCompact = true;
+@@ -509,11 +528,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
+         RefreshOverride override = {0};
+
+         float fps;
++        #if defined(TARGET_RASPBERRY_PI)
++          fps = 23.976;
++          override.fpsmin = fps - 0.01f;
++          override.fpsmax = fps + 0.01f;
++        #else
+         if (XMLUtils::GetFloat(pRefreshOverride, "fps", fps))
+         {
+           override.fpsmin = fps - 0.01f;
+           override.fpsmax = fps + 0.01f;
+         }
++        #endif
+
+         float fpsmin, fpsmax;
+         if (XMLUtils::GetFloat(pRefreshOverride, "fpsmin", fpsmin) &&
+@@ -524,11 +549,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
+         }
+
+         float refresh;
++        #if defined(TARGET_RASPBERRY_PI)
++          refresh = 24.0;
++          override.refreshmin = refresh - 0.01f;
++          override.refreshmax = refresh + 0.01f;
++        #else
+         if (XMLUtils::GetFloat(pRefreshOverride, "refresh", refresh))
+         {
+           override.refreshmin = refresh - 0.01f;
+           override.refreshmax = refresh + 0.01f;
+         }
++        #endif
+
+         float refreshmin, refreshmax;
+         if (XMLUtils::GetFloat(pRefreshOverride, "refreshmin", refreshmin) &&
+diff --git a/xbmc/settings/GUISettings.cpp b/xbmc/settings/GUISettings.cpp
+index c1820a7..c00fb18 100644
+--- a/xbmc/settings/GUISettings.cpp
++++ b/xbmc/settings/GUISettings.cpp
+@@ -537,11 +537,11 @@ void CGUISettings::Initialize()
+   AddInt(NULL, "input.appleremotesequencetime", 13603, 500, 50, 50, 1000, SPIN_CONTROL_INT_PLUS, MASK_MS, TEXT_OFF);
+   AddSeparator(in, "input.sep1");
+ #endif
+-  AddBool(in, "input.remoteaskeyboard", 21449, false);
++  AddBool(in, "input.remoteaskeyboard", 21449, true);
+ #if defined(TARGET_DARWIN_IOS)
+   AddBool(NULL, "input.enablemouse", 21369, true);
+ #else
+-  AddBool(in, "input.enablemouse", 21369, true);
++  AddBool(in, "input.enablemouse", 21369, false);
+ #endif
+ #if defined(HAS_SDL_JOYSTICK)
+   AddBool(in, "input.enablejoystick", 35100, true);
+@@ -831,7 +831,7 @@ void CGUISettings::Initialize()
+
+ #ifdef HAS_WEB_SERVER
+   CSettingsCategory* srvWeb = AddCategory(SETTINGS_SERVICE, "webserver", 33101);
+-  AddBool(srvWeb,  "services.webserver",        263, false);
++  AddBool(srvWeb,  "services.webserver",        263, true);
+   AddString(srvWeb,"services.webserverport",    730, CUtil::CanBindPrivileged()?"80":"8080", EDIT_CONTROL_NUMBER_INPUT, false, 730);
+   AddString(srvWeb,"services.webserverusername",1048, "xbmc", EDIT_CONTROL_INPUT);
+   AddString(srvWeb,"services.webserverpassword",733, "", EDIT_CONTROL_HIDDEN_INPUT, true, 733);
+@@ -881,7 +881,7 @@ void CGUISettings::Initialize()
+   AddInt(laf, "lookandfeel.startupwindow",512,1, WINDOW_HOME, 1, WINDOW_PYTHON_END, SPIN_CONTROL_TEXT);
+   AddString(laf, "lookandfeel.soundskin",15108,"SKINDEFAULT", SPIN_CONTROL_TEXT);
+   AddSeparator(laf, "lookandfeel.sep2");
+-  AddBool(laf, "lookandfeel.enablerssfeeds",13305,  true);
++  AddBool(laf, "lookandfeel.enablerssfeeds",13305,  false);
+   AddString(laf, "lookandfeel.rssedit", 21450, "", BUTTON_CONTROL_STANDARD);
+
+   CSettingsCategory* loc = AddCategory(SETTINGS_APPEARANCE, "locale", 14090);
+diff --git a/xbmc/settings/GUIWindowSettingsCategory.cpp b/xbmc/settings/GUIWindowSettingsCategory.cpp
+index b4cee69..a9bcb7a 100644
+--- a/xbmc/settings/GUIWindowSettingsCategory.cpp
++++ b/xbmc/settings/GUIWindowSettingsCategory.cpp
+@@ -1271,7 +1271,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC
+       if (!g_application.StartWebServer())
+       {
+         CGUIDialogOK::ShowAndGetInput(g_localizeStrings.Get(33101), "", g_localizeStrings.Get(33100), "");
+-        g_guiSettings.SetBool("services.webserver", false);
++        g_guiSettings.SetBool("services.webserver", true);
+       }
+   }
+   else if (strSetting.Equals("services.webserverusername") || strSetting.Equals("services.webserverpassword"))
+@@ -1292,7 +1292,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC
+     else
+     {
+       g_application.StopAirplayServer(true);
+-      g_guiSettings.SetBool("services.airplay", false);
++      g_guiSettings.SetBool("services.airplay", true);
+       CZeroconf::GetInstance()->Stop();
+     }
+ #endif
+--
+1.7.10.4
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
new file mode 100644
index 0000000..c39a13f
--- /dev/null
+++ b/package/xbmc/xbmc.mk
@@ -0,0 +1,167 @@
+################################################################################
+#
+# xbmc
+#
+#################################################################################
+
+XBMC_VERSION = 12.3-Frodo
+XBMC_SITE = $(call github,xbmc,xbmc,$(XBMC_VERSION))
+XBMC_LICENSE = GPLv2
+XBMC_LICENSE_FILES = LICENSE.GPL
+XBMC_DEPENDENCIES = host-lzo host-sdl_image host-swig
+XBMC_DEPENDENCIES += libmpeg2 bzip2 libcdio python lzo zlib libgcrypt openssl \
+		sqlite fontconfig freetype jasper jpeg libmodplug libpng libungif tiff \
+		libcurl boost libfribidi ncurses pcre libplist readline expat libxml2 yajl \
+		tinyxml taglib
+
+XBMC_CONF_ENV += PYTHON_VERSION="$(PYTHON_VERSION_MAJOR)"
+XBMC_CONF_ENV += PYTHON_LDFLAGS="-L$(STAGING_DIR)/usr/lib/ -lpython$(PYTHON_VERSION_MAJOR) -lpthread -ldl -lutil -lm"
+XBMC_CONF_ENV += PYTHON_CPPFLAGS="-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)"
+XBMC_CONF_ENV += PYTHON_SITE_PKG="$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages"
+XBMC_CONF_ENV += PYTHON_NOVERSIONCHECK="no-check"
+XBMC_CONF_ENV += TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr"
+
+XBMC_PLATFORM = default
+
+XBMC_MAKE=$(MAKE1)
+XBMC_CONF_OPT += --disable-sdl --disable-x11 --disable-xrandr --disable-openmax \
+		--disable-optical-drive --disable-dvdcss --disable-joystick \
+		--disable-debug --disable-crystalhd --disable-vtbdecoder --disable-vaapi \
+		--disable-vdpau --disable-pulse --disable-projectm --enable-optimizations \
+		--disable-alsa --disable-ssh --disable-hal --disable-mysql
+
+ifeq ($(BR2_arm),y)
+XBMC_CONF_OPT += --enable-gles --disable-gl
+endif
+
+ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
+XBMC_DEPENDENCIES += rpi-userland
+XBMC_CONF_OPT += --with-platform=raspberry-pi --enable-player=omxplayer
+XBMC_PLATFORM = raspberrypi
+XBMC_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
+		 -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
+endif
+
+ifeq ($(BR2_PACKAGE_DBUS),y)
+XBMC_DEPENDENCIES += dbus
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y)
+XBMC_DEPENDENCIES += libusb-compat
+XBMC_CONF_OPT += --enable-libusb
+else
+XBMC_CONF_OPT += --disable-libusb
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBMICROHTTPD),y)
+XBMC_DEPENDENCIES += libmicrohttpd
+XBMC_CONF_OPT += --enable-webserver
+else
+XBMC_CONF_OPT += --disable-webserver
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBSMBCLIENT),y)
+XBMC_DEPENDENCIES += samba
+XBMC_CONF_OPT += --enable-samba
+else
+XBMC_CONF_OPT += --disable-samba
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_VORBIS),y)
+XBMC_DEPENDENCIES += libogg libvorbis
+XBMC_CONF_OPT += --enable-libvorbisenc
+else
+XBMC_CONF_OPT += --disable-libvorbisenc
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBNFS),y)
+XBMC_DEPENDENCIES += libnfs
+XBMC_CONF_OPT += --enable-nfs
+else
+XBMC_CONF_OPT += --disable-nfs
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBRTMP),y)
+XBMC_DEPENDENCIES += librtmp
+XBMC_CONF_OPT += --enable-rtmp
+else
+XBMC_CONF_OPT += --disable-rtmp
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBBLURAY),y)
+XBMC_DEPENDENCIES += libbluray
+XBMC_CONF_OPT += --enable-libbluray
+else
+XBMC_CONF_OPT += --disable-libbluray
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBSHAIRPLAY),y)
+XBMC_DEPENDENCIES += libshairplay
+XBMC_CONF_OPT += --enable-airplay
+else
+XBMC_CONF_OPT += --disable-airplay
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_AVAHI),y)
+XBMC_DEPENDENCIES += avahi
+XBMC_CONF_OPT += --enable-avahi
+else
+XBMC_CONF_OPT += --disable-avahi
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBCEC),y)
+XBMC_DEPENDENCIES += libcec
+XBMC_CONF_OPT += --enable-libcec
+else
+XBMC_CONF_OPT += --disable-libcec
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_FLAC),y)
+XBMC_DEPENDENCIES += flac
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBASS),y)
+XBMC_DEPENDENCIES += libass
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_MAD),y)
+XBMC_DEPENDENCIES += libmad
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBSAMPLERATE),y)
+XBMC_DEPENDENCIES += libsamplerate
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_WAVPACK),y)
+XBMC_DEPENDENCIES += wavpack
+endif
+
+# Add HOST_DIR to PATH for codegenerator.mk to find swig
+# TODO: java binary from user's machine is currently used...
+define XBMC_BOOTSTRAP
+	cd $(@D) && PATH="$(HOST_DIR)/usr/bin/:$(PATH)" ./bootstrap
+endef
+
+define XBMC_INSTALL_ETC
+	$(INSTALL) -D -d -m 755 $(TARGET_DIR)/etc/init.d/
+	$(INSTALL) -D -m 755 package/xbmc/S99xbmc.$(XBMC_PLATFORM) $(TARGET_DIR)/etc/init.d/S99xbmc
+endef
+
+define XBMC_CLEAN_UNUSED_ADDONS
+	rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/screensaver.rsxs.plasma
+	rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.milkdrop
+	rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.projectm
+	rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.itunes
+endef
+
+define XBMC_CLEAN_CONFLUENCE_SKIN
+	find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.png -delete
+	find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.jpg -delete
+endef
+
+XBMC_PRE_CONFIGURE_HOOKS += XBMC_BOOTSTRAP
+XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_INSTALL_ETC
+XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_UNUSED_ADDONS
+XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_CONFLUENCE_SKIN
+
+$(eval $(autotools-package))
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 14/14] xbmc: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 14/14] xbmc: new package Maxime Hadjinlian
@ 2014-01-12 18:15   ` Maxime Hadjinlian
  2014-01-28 21:44     ` Thomas Petazzoni
  0 siblings, 1 reply; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 18:15 UTC (permalink / raw)
  To: buildroot

You should note that XBMC needs Java to build. Currently, it uses the JRE of
the user's machine.

I could use jamvm with its host variant, but it needs classpath to be
built, which itself need java installed. Since I didn't see any way
out of this, I kept it this way.

On Sun, Jan 12, 2014 at 6:53 PM, Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote:
> XBMC is an award-winning free and open source (GPL) software media player and
> entertainment hub for digital media.
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/Config.in                                  |   1 +
>  package/xbmc/Config.in                             | 202 +++++++++++++++++++++
>  package/xbmc/S99xbmc.default                       |  24 +++
>  package/xbmc/S99xbmc.raspberrypi                   |  31 ++++
>  package/xbmc/xbmc-0001-Fixup-include-path.patch    |  79 ++++++++
>  .../xbmc-0002-RaspberryPi-Default-Settings.patch   | 167 +++++++++++++++++
>  package/xbmc/xbmc.mk                               | 167 +++++++++++++++++
>  7 files changed, 671 insertions(+)
>  create mode 100644 package/xbmc/Config.in
>  create mode 100755 package/xbmc/S99xbmc.default
>  create mode 100755 package/xbmc/S99xbmc.raspberrypi
>  create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch
>  create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
>  create mode 100644 package/xbmc/xbmc.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 3e888b2..f7c563e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -25,6 +25,7 @@ source "package/tidsp-binaries/Config.in"
>  source "package/tstools/Config.in"
>  source "package/vorbis-tools/Config.in"
>  source "package/wavpack/Config.in"
> +source "package/xbmc/Config.in"
>  source "package/yavta/Config.in"
>  endmenu
>
> diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
> new file mode 100644
> index 0000000..69c4a1f
> --- /dev/null
> +++ b/package/xbmc/Config.in
> @@ -0,0 +1,202 @@
> +comment "xbmc requires an OpenGL-capable backend"
> +       depends on !(BR2_PACKAGE_HAS_OPENGL_EGL && BR2_PACKAGE_HAS_OPENGL_ES)
> +
> +# External toolchain are required because of a missing bitdefs.h
> +comment "xbmc requires an external glibc or eglibc toolchain with C++ and WCHAR support"
> +       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) || BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_BUILDROOT
> +
> +menuconfig BR2_PACKAGE_XBMC
> +       bool "xbmc"
> +       select BR2_PACKAGE_BOOST
> +       select BR2_PACKAGE_BOOST_THREAD
> +       select BR2_PACKAGE_BZIP2
> +       select BR2_PACKAGE_EXPAT
> +       select BR2_PACKAGE_JASPER
> +       select BR2_PACKAGE_LIBCDIO
> +       select BR2_PACKAGE_LIBCURL
> +       select BR2_PACKAGE_LIBFRIBIDI
> +       select BR2_PACKAGE_LIBGCRYPT
> +       select BR2_PACKAGE_LIBMODPLUG
> +       select BR2_PACKAGE_LIBMPEG2
> +       select BR2_PACKAGE_LIBUNGIF
> +       select BR2_PACKAGE_LZO
> +       select BR2_PACKAGE_OPENSSL
> +       select BR2_PACKAGE_PCRE
> +       select BR2_PACKAGE_PYTHON
> +       select BR2_PACKAGE_PYTHON_BSDDB
> +       select BR2_PACKAGE_PYTHON_BZIP2
> +       select BR2_PACKAGE_PYTHON_CURSES
> +       select BR2_PACKAGE_PYTHON_PYEXPAT
> +       select BR2_PACKAGE_PYTHON_READLINE
> +       select BR2_PACKAGE_PYTHON_SQLITE
> +       select BR2_PACKAGE_PYTHON_SSL
> +       select BR2_PACKAGE_PYTHON_UNICODEDATA
> +       select BR2_PACKAGE_PYTHON_ZLIB
> +       select BR2_PACKAGE_READLINE
> +       select BR2_PACKAGE_SQLITE
> +       select BR2_PACKAGE_TAGLIB
> +       select BR2_PACKAGE_TIFF
> +       select BR2_PACKAGE_TINYXML
> +       select BR2_PACKAGE_YAJL
> +       select BR2_PACKAGE_ZLIB
> +       depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && !BR2_TOOLCHAIN_USES_UCLIBC
> +       depends on !BR2_TOOLCHAIN_USES_UCLIBC
> +       help
> +         XBMC is an award-winning free and open source (GPL) software
> +         media player and entertainment hub for digital media.
> +
> +          http://xbmc.org
> +
> +if BR2_PACKAGE_XBMC
> +
> +config BR2_PACKAGE_XBMC_AVAHI
> +        bool "avahi"
> +        select BR2_PACKAGE_AVAHI
> +        select BR2_PACKAGE_AVAHI_DAEMON
> +        help
> +          Enable Avahi support.
> +          Select this if you want XBMC to support Bonjour protocol.
> +
> +config BR2_PACKAGE_XBMC_DBUS
> +       bool "dbus"
> +       select BR2_PACKAGE_DBUS
> +       help
> +          Enable DBUS support
> +
> +config BR2_PACKAGE_XBMC_FLAC
> +       bool "flac"
> +       select BR2_PACKAGE_FLAC
> +       help
> +         Enable flac input/streaming support.
> +         Select this if you want to play back FLAC files.
> +
> +config BR2_PACKAGE_XBMC_LIBASS
> +       bool "libass"
> +       select BR2_PACKAGE_LIBASS
> +       help
> +          Enable ASS sublititles support
> +
> +config BR2_PACKAGE_XBMC_LIBBLURAY
> +        bool "libbluray"
> +        select BR2_PACKAGE_LIBBLURAY
> +        help
> +          Enable bluray input support.
> +          Select this if you want to play back bluray content.
> +
> +config BR2_PACKAGE_XBMC_LIBCEC
> +        bool "libcec"
> +        select BR2_PACKAGE_LIBCEC
> +        depends on BR2_INSTALL_LIBSTDCPP
> +       depends on BR2_USE_WCHAR
> +        help
> +          Enable CEC support.
> +          Select this if you want XBMC to support HDMI CEC.
> +
> +if BR2_PACKAGE_XBMC_LIBCEC && BR2_arm
> +
> +config BR2_PACKAGE_XBMC_LIBCEC_RBP
> +        bool "rpi support"
> +        depends on BR2_INSTALL_LIBSTDCPP
> +        depends on BR2_LARGEFILE
> +        select BR2_PACKAGE_RPI_USERLAND
> +       select BR2_PACKAGE_LIBCEC_RBP
> +        help
> +          Enable RasberryPi support
> +
> +comment "rpi support requires a toolchain with C++ and LARGEFILE support"
> +        depends on !(BR2_INSTALL_LIBSTDCPP && BR2_LARGEFILE)
> +
> +endif
> +
> +comment "libcec requires a toolchain with C++ and WCHAR support"
> +        depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
> +
> +config BR2_PACKAGE_XBMC_LIBMICROHTTPD
> +       bool "libmicrohttpd"
> +       select BR2_PACKAGE_LIBMICROHTTPD
> +       help
> +          Enable webserver feature
> +
> +config BR2_PACKAGE_XBMC_LIBNFS
> +        bool "libnfs"
> +        select BR2_PACKAGE_LIBNFS
> +       depends on BR2_LARGEFILE
> +       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
> +        help
> +          Enable NFS server support.
> +
> +comment "libnfs support requires a toolchain with LARGEFILE and RPC support"
> +       depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_NATIVE_RPC)
> +
> +config BR2_PACKAGE_XBMC_LIBRTMP
> +        bool "librtmp"
> +        select BR2_PACKAGE_LIBRTMP
> +        help
> +          Enable rtmp input support.
> +          Select this if you want to play back rtmp stream.
> +
> +config BR2_PACKAGE_XBMC_LIBSAMPLERATE
> +       bool "libsamplerate"
> +       select BR2_PACKAGE_LIBSAMPLERATE
> +       help
> +         Enable libsamplerate input support.
> +         Select this for software sample rate conversion.
> +
> +config BR2_PACKAGE_XBMC_LIBSHAIRPLAY
> +        bool "libshairport"
> +        select BR2_PACKAGE_LIBSHAIRPLAY
> +       depends on BR2_INET_IPV6
> +        help
> +          Enable shairport support.
> +          Select this if you want to stream content from Apple device.
> +
> +comment "libshairport support requires a toolchain with IPV6 support"
> +       depends on !(BR2_INET_IPV6)
> +
> +config BR2_PACKAGE_XBMC_LIBSMBCLIENT
> +       bool "libsmbclient"
> +       select BR2_PACKAGE_SAMBA
> +       select BR2_PACKAGE_SAMBA_LIBSMBCLIENT
> +       help
> +          Enable Samba support
> +
> +config BR2_PACKAGE_XBMC_LIBTHEORA
> +       bool "libtheora"
> +       select BR2_PACKAGE_LIBTHEORA
> +       help
> +         Enable theora input support.
> +         Select this if you want to play back OGG/OGV files (Video).
> +
> +config BR2_PACKAGE_XBMC_LIBUSB
> +       bool "libusb"
> +       depends on BR2_TOOLCHAIN_HAS_THREADS
> +       select BR2_PACKAGE_LIBUSB
> +       select BR2_PACKAGE_LIBUSB_COMPAT
> +       help
> +         Enable libusb support.
> +
> +config BR2_PACKAGE_XBMC_MAD
> +       bool "mad"
> +       select BR2_PACKAGE_LIBID3TAG
> +       select BR2_PACKAGE_LIBMAD
> +       help
> +         Enable mad input support.
> +         Select this if you want to play back MP3 files.
> +
> +config BR2_PACKAGE_XBMC_VORBIS
> +       bool "vorbis"
> +       select BR2_PACKAGE_LIBOGG
> +       select BR2_PACKAGE_LIBVORBIS
> +       help
> +         Enable vorbis input/streaming support.
> +         Select this if you want to play back OGG files on hardfloat
> +         targets.
> +
> +config BR2_PACKAGE_XBMC_WAVPACK
> +       bool "wavpack"
> +       select BR2_PACKAGE_WAVPACK
> +       help
> +         Enable wavpack input support.
> +         Select this if you want to play back WV files.
> +
> +endif
> diff --git a/package/xbmc/S99xbmc.default b/package/xbmc/S99xbmc.default
> new file mode 100755
> index 0000000..a15d3f9
> --- /dev/null
> +++ b/package/xbmc/S99xbmc.default
> @@ -0,0 +1,24 @@
> +#!/bin/sh
> +
> +NAME=xbmc.bin
> +DAEMON=/usr/lib/xbmc/$NAME
> +DAEMON_ARGS="--standalone -fs -n"
> +PIDFILE=/var/run/xbmc.pid
> +
> +export HOME=/root
> +
> +case "$1" in
> +       start)
> +               echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit
> +               ;;
> +       stop)
> +               start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE
> +               ;;
> +       restart)
> +               $0 stop
> +               $0 start
> +               ;;
> +       *)
> +               echo "usage: $0 {start|stop|restart}"
> +esac
> +exit 0
> diff --git a/package/xbmc/S99xbmc.raspberrypi b/package/xbmc/S99xbmc.raspberrypi
> new file mode 100755
> index 0000000..833aea5
> --- /dev/null
> +++ b/package/xbmc/S99xbmc.raspberrypi
> @@ -0,0 +1,31 @@
> +#!/bin/sh
> +
> +NAME=xbmc.bin
> +DAEMON=/usr/lib/xbmc/$NAME
> +DAEMON_ARGS="--standalone -fs -n"
> +PIDFILE=/var/run/xbmc.pid
> +
> +XRES=1280
> +YRES=720
> +
> +export LD_LIBRARY_PATH=$XBMC_BASE/lib:/opt/vc/lib:/usr/lib/mysql:$LD_LIBRARY_PATH
> +export LD_PRELOAD=/usr/lib/libcofi_rpi.so
> +export HOME=/root
> +
> +case "$1" in
> +       start)
> +               echo 0 >  /sys/class/vtconsole/vtcon1/bind
> +               fbset -xres 1 -yres 1 -vxres 1 -vyres 1
> +               echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit
> +               ;;
> +       stop)
> +               start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE
> +               ;;
> +       restart)
> +               $0 stop
> +               $0 start
> +               ;;
> +       *)
> +               echo "usage: $0 {start|stop|restart}"
> +esac
> +exit 0
> diff --git a/package/xbmc/xbmc-0001-Fixup-include-path.patch b/package/xbmc/xbmc-0001-Fixup-include-path.patch
> new file mode 100644
> index 0000000..e4d6632
> --- /dev/null
> +++ b/package/xbmc/xbmc-0001-Fixup-include-path.patch
> @@ -0,0 +1,79 @@
> +From 63c255f1f5d68363f49193aceed343e602dc8bdf Mon Sep 17 00:00:00 2001
> +From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> +Date: Thu, 26 Dec 2013 21:17:10 +0100
> +Subject: [PATCH] Fixup include path
> +
> +Patch originally taken from :
> +http://repository.timesys.com/buildsources/x/xbmc/xbmc-11.0/xbmc-11.0-fixups.patch
> +---
> + lib/enca/configure                           | 3 ---
> + lib/enca/configure.ac                        | 3 ---
> + lib/libdvd/libdvdread/misc/dvdread-config.sh | 6 +++---
> + lib/timidity/configure.in                    | 6 +++---
> + 4 files changed, 6 insertions(+), 12 deletions(-)
> +
> +diff --git a/lib/enca/configure b/lib/enca/configure
> +index c839a51..7af5a09 100644
> +--- a/lib/enca/configure
> ++++ b/lib/enca/configure
> +@@ -12011,9 +12011,6 @@ fi
> + if test "$prefix" = "NONE"; then
> +   LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
> +   CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
> +-else
> +-  LDFLAGS="$LDFLAGS -L$prefix/lib"
> +-  CPPFLAGS="$CPPFLAGS -I$prefix/include"
> + fi
> +
> +
> +diff --git a/lib/enca/configure.ac b/lib/enca/configure.ac
> +index 41434df..47d5367 100644
> +--- a/lib/enca/configure.ac
> ++++ b/lib/enca/configure.ac
> +@@ -100,9 +100,6 @@ dnl Dirty path hack.  Helps some people with badly set up search paths.
> + if test "$prefix" = "NONE"; then
> +   LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
> +   CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
> +-else
> +-  LDFLAGS="$LDFLAGS -L$prefix/lib"
> +-  CPPFLAGS="$CPPFLAGS -I$prefix/include"
> + fi
> +
> + dnl Checks for libraries.
> +diff --git a/lib/libdvd/libdvdread/misc/dvdread-config.sh b/lib/libdvd/libdvdread/misc/dvdread-config.sh
> +index e170c7e..25ee893 100644
> +--- a/lib/libdvd/libdvdread/misc/dvdread-config.sh
> ++++ b/lib/libdvd/libdvdread/misc/dvdread-config.sh
> +@@ -48,9 +48,9 @@ if test "$echo_prefix" = "yes"; then
> + fi
> +
> + if test "$echo_cflags" = "yes"; then
> +-      echo -I$prefix/include $extracflags
> ++      echo $extracflags
> + fi
> +
> + if test "$echo_libs" = "yes"; then
> +-      echo -L$libdir $dvdreadlib
> +-fi
> ++      echo $dvdreadlib
> ++fi
> +diff --git a/lib/timidity/configure.in b/lib/timidity/configure.in
> +index 9f2835b..733470a 100644
> +--- a/lib/timidity/configure.in
> ++++ b/lib/timidity/configure.in
> +@@ -100,9 +100,9 @@ done
> +
> + # add $prefix if specified.
> + if test "x$prefix" != xNONE -a "x$prefix" != "x$ac_default_prefix" -a "x$prefix" != "x/usr"; then
> +-  LDFLAGS="-L$prefix/lib $LDFLAGS"
> +-  SHLDFLAGS="-L$prefix/lib $SHLDFLAGS"
> +-  CPPFLAGS="-I$prefix/include $CPPFLAGS"
> ++  LDFLAGS="$LDFLAGS"
> ++  SHLDFLAGS="$SHLDFLAGS"
> ++  CPPFLAGS="$CPPFLAGS"
> + fi
> +
> + dnl add --with-includes, --with-libraries
> +--
> +1.8.5.2
> +
> diff --git a/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch b/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
> new file mode 100644
> index 0000000..076da5a
> --- /dev/null
> +++ b/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
> @@ -0,0 +1,167 @@
> +From 2541772a3ed71402a620466feb6a337b40f08880 Mon Sep 17 00:00:00 2001
> +From: Maxime Hadjinlian <maximeh.hadjinlian@gmail.com>
> +Date: Sat, 15 Dec 2012 23:41:06 +0100
> +Subject: [PATCH] RaspberryPi Default Settings
> +
> +Add some default settings if the target platform is the RaspberryPi.
> +Avoid the fact that the user _MUST_ have an advandcedsettings.xml to be able
> +to use XBMC properly.
> +
> +---
> + xbmc/settings/AdvancedSettings.cpp          |   31 +++++++++++++++++++++++++++
> + xbmc/settings/GUISettings.cpp               |    8 +++----
> + xbmc/settings/GUIWindowSettingsCategory.cpp |    4 ++--
> + 3 files changed, 37 insertions(+), 6 deletions(-)
> +
> +diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
> +index 2cbbf98..42ccabd 100644
> +--- a/xbmc/settings/AdvancedSettings.cpp
> ++++ b/xbmc/settings/AdvancedSettings.cpp
> +@@ -72,7 +72,11 @@ void CAdvancedSettings::Initialize()
> +   m_karaokeAlwaysEmptyOnCdgs = 1;
> +   m_karaokeUseSongSpecificBackground = 0;
> +
> ++  #if defined(TARGET_RASPBERRY_PI)
> ++  m_audioDefaultPlayer = "omxplayer";
> ++  #else
> +   m_audioDefaultPlayer = "paplayer";
> ++  #endif
> +   m_audioPlayCountMinimumPercent = 90.0f;
> +   m_audioHost = "default";
> +
> +@@ -93,8 +97,14 @@ void CAdvancedSettings::Initialize()
> +   m_videoBlackBarColour = 0;
> +   m_videoPPFFmpegDeint = "linblenddeint";
> +   m_videoPPFFmpegPostProc = "ha:128:7,va,dr";
> ++
> ++  #if defined(TARGET_RASPBERRY_PI)
> ++  m_videoDefaultPlayer = "omxplayer";
> ++  m_videoDefaultDVDPlayer = "omxplayer";
> ++  #else
> +   m_videoDefaultPlayer = "dvdplayer";
> +   m_videoDefaultDVDPlayer = "dvdplayer";
> ++  #endif
> +   m_videoIgnoreSecondsAtStart = 3*60;
> +   m_videoIgnorePercentAtEnd   = 8.0f;
> +   m_videoPlayCountMinimumPercent = 90.0f;
> +@@ -287,7 +297,11 @@ void CAdvancedSettings::Initialize()
> +   m_alwaysOnTop = false;
> + #endif
> +
> ++  #if defined(TARGET_RASPBERRY_PI)
> ++  m_bgInfoLoaderMaxThreads = 2;
> ++  #else
> +   m_bgInfoLoaderMaxThreads = 5;
> ++  #endif
> +
> +   m_iPVRTimeCorrection             = 0;
> +   m_iPVRInfoToggleInterval         = 3000;
> +@@ -299,7 +313,12 @@ void CAdvancedSettings::Initialize()
> +
> +   m_measureRefreshrate = false;
> +
> ++  #if defined(TARGET_RASPBERRY_PI)
> ++  m_cacheMemBufferSize = 1024 * 1024 * 10;
> ++  #else
> +   m_cacheMemBufferSize = 1024 * 1024 * 20;
> ++  #endif
> ++
> +   m_addonPackageFolderSize = 200;
> +
> +   m_jsonOutputCompact = true;
> +@@ -509,11 +528,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
> +         RefreshOverride override = {0};
> +
> +         float fps;
> ++        #if defined(TARGET_RASPBERRY_PI)
> ++          fps = 23.976;
> ++          override.fpsmin = fps - 0.01f;
> ++          override.fpsmax = fps + 0.01f;
> ++        #else
> +         if (XMLUtils::GetFloat(pRefreshOverride, "fps", fps))
> +         {
> +           override.fpsmin = fps - 0.01f;
> +           override.fpsmax = fps + 0.01f;
> +         }
> ++        #endif
> +
> +         float fpsmin, fpsmax;
> +         if (XMLUtils::GetFloat(pRefreshOverride, "fpsmin", fpsmin) &&
> +@@ -524,11 +549,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
> +         }
> +
> +         float refresh;
> ++        #if defined(TARGET_RASPBERRY_PI)
> ++          refresh = 24.0;
> ++          override.refreshmin = refresh - 0.01f;
> ++          override.refreshmax = refresh + 0.01f;
> ++        #else
> +         if (XMLUtils::GetFloat(pRefreshOverride, "refresh", refresh))
> +         {
> +           override.refreshmin = refresh - 0.01f;
> +           override.refreshmax = refresh + 0.01f;
> +         }
> ++        #endif
> +
> +         float refreshmin, refreshmax;
> +         if (XMLUtils::GetFloat(pRefreshOverride, "refreshmin", refreshmin) &&
> +diff --git a/xbmc/settings/GUISettings.cpp b/xbmc/settings/GUISettings.cpp
> +index c1820a7..c00fb18 100644
> +--- a/xbmc/settings/GUISettings.cpp
> ++++ b/xbmc/settings/GUISettings.cpp
> +@@ -537,11 +537,11 @@ void CGUISettings::Initialize()
> +   AddInt(NULL, "input.appleremotesequencetime", 13603, 500, 50, 50, 1000, SPIN_CONTROL_INT_PLUS, MASK_MS, TEXT_OFF);
> +   AddSeparator(in, "input.sep1");
> + #endif
> +-  AddBool(in, "input.remoteaskeyboard", 21449, false);
> ++  AddBool(in, "input.remoteaskeyboard", 21449, true);
> + #if defined(TARGET_DARWIN_IOS)
> +   AddBool(NULL, "input.enablemouse", 21369, true);
> + #else
> +-  AddBool(in, "input.enablemouse", 21369, true);
> ++  AddBool(in, "input.enablemouse", 21369, false);
> + #endif
> + #if defined(HAS_SDL_JOYSTICK)
> +   AddBool(in, "input.enablejoystick", 35100, true);
> +@@ -831,7 +831,7 @@ void CGUISettings::Initialize()
> +
> + #ifdef HAS_WEB_SERVER
> +   CSettingsCategory* srvWeb = AddCategory(SETTINGS_SERVICE, "webserver", 33101);
> +-  AddBool(srvWeb,  "services.webserver",        263, false);
> ++  AddBool(srvWeb,  "services.webserver",        263, true);
> +   AddString(srvWeb,"services.webserverport",    730, CUtil::CanBindPrivileged()?"80":"8080", EDIT_CONTROL_NUMBER_INPUT, false, 730);
> +   AddString(srvWeb,"services.webserverusername",1048, "xbmc", EDIT_CONTROL_INPUT);
> +   AddString(srvWeb,"services.webserverpassword",733, "", EDIT_CONTROL_HIDDEN_INPUT, true, 733);
> +@@ -881,7 +881,7 @@ void CGUISettings::Initialize()
> +   AddInt(laf, "lookandfeel.startupwindow",512,1, WINDOW_HOME, 1, WINDOW_PYTHON_END, SPIN_CONTROL_TEXT);
> +   AddString(laf, "lookandfeel.soundskin",15108,"SKINDEFAULT", SPIN_CONTROL_TEXT);
> +   AddSeparator(laf, "lookandfeel.sep2");
> +-  AddBool(laf, "lookandfeel.enablerssfeeds",13305,  true);
> ++  AddBool(laf, "lookandfeel.enablerssfeeds",13305,  false);
> +   AddString(laf, "lookandfeel.rssedit", 21450, "", BUTTON_CONTROL_STANDARD);
> +
> +   CSettingsCategory* loc = AddCategory(SETTINGS_APPEARANCE, "locale", 14090);
> +diff --git a/xbmc/settings/GUIWindowSettingsCategory.cpp b/xbmc/settings/GUIWindowSettingsCategory.cpp
> +index b4cee69..a9bcb7a 100644
> +--- a/xbmc/settings/GUIWindowSettingsCategory.cpp
> ++++ b/xbmc/settings/GUIWindowSettingsCategory.cpp
> +@@ -1271,7 +1271,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC
> +       if (!g_application.StartWebServer())
> +       {
> +         CGUIDialogOK::ShowAndGetInput(g_localizeStrings.Get(33101), "", g_localizeStrings.Get(33100), "");
> +-        g_guiSettings.SetBool("services.webserver", false);
> ++        g_guiSettings.SetBool("services.webserver", true);
> +       }
> +   }
> +   else if (strSetting.Equals("services.webserverusername") || strSetting.Equals("services.webserverpassword"))
> +@@ -1292,7 +1292,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC
> +     else
> +     {
> +       g_application.StopAirplayServer(true);
> +-      g_guiSettings.SetBool("services.airplay", false);
> ++      g_guiSettings.SetBool("services.airplay", true);
> +       CZeroconf::GetInstance()->Stop();
> +     }
> + #endif
> +--
> +1.7.10.4
> diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
> new file mode 100644
> index 0000000..c39a13f
> --- /dev/null
> +++ b/package/xbmc/xbmc.mk
> @@ -0,0 +1,167 @@
> +################################################################################
> +#
> +# xbmc
> +#
> +#################################################################################
> +
> +XBMC_VERSION = 12.3-Frodo
> +XBMC_SITE = $(call github,xbmc,xbmc,$(XBMC_VERSION))
> +XBMC_LICENSE = GPLv2
> +XBMC_LICENSE_FILES = LICENSE.GPL
> +XBMC_DEPENDENCIES = host-lzo host-sdl_image host-swig
> +XBMC_DEPENDENCIES += libmpeg2 bzip2 libcdio python lzo zlib libgcrypt openssl \
> +               sqlite fontconfig freetype jasper jpeg libmodplug libpng libungif tiff \
> +               libcurl boost libfribidi ncurses pcre libplist readline expat libxml2 yajl \
> +               tinyxml taglib
> +
> +XBMC_CONF_ENV += PYTHON_VERSION="$(PYTHON_VERSION_MAJOR)"
> +XBMC_CONF_ENV += PYTHON_LDFLAGS="-L$(STAGING_DIR)/usr/lib/ -lpython$(PYTHON_VERSION_MAJOR) -lpthread -ldl -lutil -lm"
> +XBMC_CONF_ENV += PYTHON_CPPFLAGS="-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)"
> +XBMC_CONF_ENV += PYTHON_SITE_PKG="$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages"
> +XBMC_CONF_ENV += PYTHON_NOVERSIONCHECK="no-check"
> +XBMC_CONF_ENV += TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr"
> +
> +XBMC_PLATFORM = default
> +
> +XBMC_MAKE=$(MAKE1)
> +XBMC_CONF_OPT += --disable-sdl --disable-x11 --disable-xrandr --disable-openmax \
> +               --disable-optical-drive --disable-dvdcss --disable-joystick \
> +               --disable-debug --disable-crystalhd --disable-vtbdecoder --disable-vaapi \
> +               --disable-vdpau --disable-pulse --disable-projectm --enable-optimizations \
> +               --disable-alsa --disable-ssh --disable-hal --disable-mysql
> +
> +ifeq ($(BR2_arm),y)
> +XBMC_CONF_OPT += --enable-gles --disable-gl
> +endif
> +
> +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
> +XBMC_DEPENDENCIES += rpi-userland
> +XBMC_CONF_OPT += --with-platform=raspberry-pi --enable-player=omxplayer
> +XBMC_PLATFORM = raspberrypi
> +XBMC_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
> +                -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
> +endif
> +
> +ifeq ($(BR2_PACKAGE_DBUS),y)
> +XBMC_DEPENDENCIES += dbus
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y)
> +XBMC_DEPENDENCIES += libusb-compat
> +XBMC_CONF_OPT += --enable-libusb
> +else
> +XBMC_CONF_OPT += --disable-libusb
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBMICROHTTPD),y)
> +XBMC_DEPENDENCIES += libmicrohttpd
> +XBMC_CONF_OPT += --enable-webserver
> +else
> +XBMC_CONF_OPT += --disable-webserver
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBSMBCLIENT),y)
> +XBMC_DEPENDENCIES += samba
> +XBMC_CONF_OPT += --enable-samba
> +else
> +XBMC_CONF_OPT += --disable-samba
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_VORBIS),y)
> +XBMC_DEPENDENCIES += libogg libvorbis
> +XBMC_CONF_OPT += --enable-libvorbisenc
> +else
> +XBMC_CONF_OPT += --disable-libvorbisenc
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBNFS),y)
> +XBMC_DEPENDENCIES += libnfs
> +XBMC_CONF_OPT += --enable-nfs
> +else
> +XBMC_CONF_OPT += --disable-nfs
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBRTMP),y)
> +XBMC_DEPENDENCIES += librtmp
> +XBMC_CONF_OPT += --enable-rtmp
> +else
> +XBMC_CONF_OPT += --disable-rtmp
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBBLURAY),y)
> +XBMC_DEPENDENCIES += libbluray
> +XBMC_CONF_OPT += --enable-libbluray
> +else
> +XBMC_CONF_OPT += --disable-libbluray
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBSHAIRPLAY),y)
> +XBMC_DEPENDENCIES += libshairplay
> +XBMC_CONF_OPT += --enable-airplay
> +else
> +XBMC_CONF_OPT += --disable-airplay
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_AVAHI),y)
> +XBMC_DEPENDENCIES += avahi
> +XBMC_CONF_OPT += --enable-avahi
> +else
> +XBMC_CONF_OPT += --disable-avahi
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBCEC),y)
> +XBMC_DEPENDENCIES += libcec
> +XBMC_CONF_OPT += --enable-libcec
> +else
> +XBMC_CONF_OPT += --disable-libcec
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_FLAC),y)
> +XBMC_DEPENDENCIES += flac
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBASS),y)
> +XBMC_DEPENDENCIES += libass
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_MAD),y)
> +XBMC_DEPENDENCIES += libmad
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_LIBSAMPLERATE),y)
> +XBMC_DEPENDENCIES += libsamplerate
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XBMC_WAVPACK),y)
> +XBMC_DEPENDENCIES += wavpack
> +endif
> +
> +# Add HOST_DIR to PATH for codegenerator.mk to find swig
> +# TODO: java binary from user's machine is currently used...
> +define XBMC_BOOTSTRAP
> +       cd $(@D) && PATH="$(HOST_DIR)/usr/bin/:$(PATH)" ./bootstrap
> +endef
> +
> +define XBMC_INSTALL_ETC
> +       $(INSTALL) -D -d -m 755 $(TARGET_DIR)/etc/init.d/
> +       $(INSTALL) -D -m 755 package/xbmc/S99xbmc.$(XBMC_PLATFORM) $(TARGET_DIR)/etc/init.d/S99xbmc
> +endef
> +
> +define XBMC_CLEAN_UNUSED_ADDONS
> +       rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/screensaver.rsxs.plasma
> +       rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.milkdrop
> +       rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.projectm
> +       rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.itunes
> +endef
> +
> +define XBMC_CLEAN_CONFLUENCE_SKIN
> +       find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.png -delete
> +       find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.jpg -delete
> +endef
> +
> +XBMC_PRE_CONFIGURE_HOOKS += XBMC_BOOTSTRAP
> +XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_INSTALL_ETC
> +XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_UNUSED_ADDONS
> +XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_CONFLUENCE_SKIN
> +
> +$(eval $(autotools-package))
> --
> 1.8.5.2
>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 01/14] jasper: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 01/14] jasper: new package Maxime Hadjinlian
@ 2014-01-12 18:29   ` Peter Korsgaard
  0 siblings, 0 replies; 35+ messages in thread
From: Peter Korsgaard @ 2014-01-12 18:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:

 > JPEG-2000 decoder.
 > This package was originally found at : https://github.com/huceke/buildroot-rbp
 > By gimli <ebsi4711@gmail.com>

 > Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 00/14] Introducing XBMC
  2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
                   ` (13 preceding siblings ...)
  2014-01-12 17:53 ` [Buildroot] [PATCH 14/14] xbmc: new package Maxime Hadjinlian
@ 2014-01-12 18:33 ` Bernd Kuhls
  2014-01-12 18:39   ` Maxime Hadjinlian
  14 siblings, 1 reply; 35+ messages in thread
From: Bernd Kuhls @ 2014-01-12 18:33 UTC (permalink / raw)
  To: buildroot

Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389549208-19078-1-git-send-email-maxime.hadjinlian at gmail.com: 

> Also, it seems it can only build easily with external toolchain (a
> missing bitdefs.h files).
> It doesn't seems that uClibc is supported also.

Hi,

xbmc gotham supports uClibc:
https://github.com/xbmc/xbmc/commit/0fdf7aa6a95f13b34edf42a6e42da47b4bebf68b

You can backport the patch to frodo, several months ago I compiled that 
version successfully with a buildroot-compiled uClibc toolchain targeting
BR2_ARCH="i586".

After your patchset gets comitted I will add vaapi support for hw decoding.

Regards, Bernd

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 03/14] libass: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 03/14] libass: " Maxime Hadjinlian
@ 2014-01-12 18:37   ` Bernd Kuhls
  2014-01-14 22:17   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Bernd Kuhls @ 2014-01-12 18:37 UTC (permalink / raw)
  To: buildroot

Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389549208-19078-4-git-send-email-maxime.hadjinlian at gmail.com: 

> +LIBASS_VERSION = 0.9.12

Hi,

current version is 0.10.2.

Regards, Bernd

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 00/14] Introducing XBMC
  2014-01-12 18:33 ` [Buildroot] [PATCH 00/14] Introducing XBMC Bernd Kuhls
@ 2014-01-12 18:39   ` Maxime Hadjinlian
  0 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-12 18:39 UTC (permalink / raw)
  To: buildroot

Hi Bernd,

On Sun, Jan 12, 2014 at 7:33 PM, Bernd Kuhls <berndkuhls@hotmail.com> wrote:
> Maxime Hadjinlian
> <maxime.hadjinlian@gmail.com> wrote in
> news:1389549208-19078-1-git-send-email-maxime.hadjinlian at gmail.com:
>
>> Also, it seems it can only build easily with external toolchain (a
>> missing bitdefs.h files).
>> It doesn't seems that uClibc is supported also.
>
> Hi,
>
> xbmc gotham supports uClibc:
> https://github.com/xbmc/xbmc/commit/0fdf7aa6a95f13b34edf42a6e42da47b4bebf68b
>
> You can backport the patch to frodo, several months ago I compiled that
> version successfully with a buildroot-compiled uClibc toolchain targeting
> BR2_ARCH="i586".
That's nice to know ! I'll push it once this patchset is accepted.
>
> After your patchset gets comitted I will add vaapi support for hw decoding.
Great :)
>
> Regards, Bernd
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 04/14] libbluray: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 04/14] libbluray: " Maxime Hadjinlian
@ 2014-01-12 18:40   ` Bernd Kuhls
  2014-01-14 22:26   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Bernd Kuhls @ 2014-01-12 18:40 UTC (permalink / raw)
  To: buildroot

Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389549208-19078-5-git-send-email-maxime.hadjinlian at gmail.com: 

> +LIBBLURAY_VERSION = 0.2.2

Hi,

current version is 0.5.0.

My local package also included these depends, maybe you also need them:

LIBBLURAY_DEPENDENCIES = host-pkgconf freetype bzip2 libxml2 zlib $(if $(BR2
_PACKAGE_LIBICONV),libiconv)

Regards, Bernd

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 05/14] libcdio: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 05/14] libcdio: " Maxime Hadjinlian
@ 2014-01-12 18:40   ` Bernd Kuhls
  2014-01-14 22:32   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Bernd Kuhls @ 2014-01-12 18:40 UTC (permalink / raw)
  To: buildroot

Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389549208-19078-6-git-send-email-maxime.hadjinlian at gmail.com: 

> +LIBCDIO_VERSION = 0.82

Hi,

current version is 0.90.

Regards, Bernd

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 06/14] libmodplug: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 06/14] libmodplug: " Maxime Hadjinlian
@ 2014-01-12 18:41   ` Bernd Kuhls
  2014-01-14 22:36   ` Yann E. MORIN
  2014-01-15 20:55   ` Peter Korsgaard
  2 siblings, 0 replies; 35+ messages in thread
From: Bernd Kuhls @ 2014-01-12 18:41 UTC (permalink / raw)
  To: buildroot

Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389549208-19078-7-git-send-email-maxime.hadjinlian at gmail.com: 

> +LIBMODPLUG_VERSION = 0.8.7

Hi,

current version is 0.8.8.4.

Regards, Bernd

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 07/14] libnfs: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 07/14] libnfs: " Maxime Hadjinlian
@ 2014-01-12 18:42   ` Bernd Kuhls
  2014-01-14 22:38   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Bernd Kuhls @ 2014-01-12 18:42 UTC (permalink / raw)
  To: buildroot

Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389549208-19078-8-git-send-email-maxime.hadjinlian at gmail.com: 

> +LIBNFS_VERSION = libnfs-1.3.0

Hi,

current version is 1.8.0.

Regards, Bernd

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 02/14] libenca: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 02/14] libenca: " Maxime Hadjinlian
@ 2014-01-13  8:20   ` Thomas Petazzoni
  2014-01-14 22:14   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Thomas Petazzoni @ 2014-01-13  8:20 UTC (permalink / raw)
  To: buildroot

Dear Maxime Hadjinlian,

On Sun, 12 Jan 2014 18:53:16 +0100, Maxime Hadjinlian wrote:
> Extremely Naive Charset Analyser.
> 
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/Config.in                                  |  1 +
>  package/libenca/Config.in                          |  6 ++++
>  package/libenca/libenca-1.9-dont-build-tools.patch | 33 ++++++++++++++++++++++
>  package/libenca/libenca-1.9-fix-clean.patch        | 22 +++++++++++++++
>  package/libenca/libenca-1.9-fix-prefix.patch       | 19 +++++++++++++

We don't want the version number of package in the patch file names,
but we do want sequence numbers. So:

	libenca-000-<something>.patch
	libenca-001-<something>.patch

> diff --git a/package/libenca/libenca-1.9-dont-build-tools.patch b/package/libenca/libenca-1.9-dont-build-tools.patch
> new file mode 100644
> index 0000000..43b3420
> --- /dev/null
> +++ b/package/libenca/libenca-1.9-dont-build-tools.patch
> @@ -0,0 +1,33 @@
> +diff -ruN libenca-1.9.orig/Makefile.in libenca-1.9/Makefile.in
> +--- libenca-1.9.orig/Makefile.in	2011-07-23 20:02:58.304328321 -0400
> ++++ libenca-1.9/Makefile.in	2011-07-23 20:03:34.246328297 -0400
> +@@ -78,7 +78,7 @@


> diff --git a/package/libenca/libenca-1.9-fix-clean.patch b/package/libenca/libenca-1.9-fix-clean.patch
> new file mode 100644
> index 0000000..9c206ad
> --- /dev/null
> +++ b/package/libenca/libenca-1.9-fix-clean.patch
> @@ -0,0 +1,22 @@
> +--- libenca-1.9.orig/src/Makefile.in	2011-07-23 20:19:28.744327998 -0400
> ++++ libenca-1.9/src/Makefile.in	2011-07-23 20:22:47.894327936 -0400

> diff --git a/package/libenca/libenca-1.9-fix-prefix.patch b/package/libenca/libenca-1.9-fix-prefix.patch
> new file mode 100644
> index 0000000..6fd195b
> --- /dev/null
> +++ b/package/libenca/libenca-1.9-fix-prefix.patch
> @@ -0,0 +1,19 @@
> +--- libenca-1.9.orig/configure
> ++++ libenca-1.9/configure

We generally prefer to patch the Makefile.am and the configure.{in,ac}
script, and set <foo>_AUTORECONF = YES.

> +#############################################################
> +#
> +# libenca
> +#
> +#############################################################

80 # signs are needed now.

> +
> +LIBENCA_VERSION = 1.9
> +LIBENCA_SITE = http://dl.cihar.com/enca
> +LIBENCA_SOURCE = enca-$(LIBENCA_VERSION).tar.bz2
> +LIBENCA_INSTALL_STAGING = YES
> +LIBENCA_LICENSE = GPLv2
> +LIBENCA_LICENSE_FILES = COPYING
> +
> +LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes
> +LIBENCA_CONF_ENV += ac_cv_file__dev_urandom=yes
> +LIBENCA_CONF_ENV += ac_cv_file__dev_arandom=no
> +LIBENCA_CONF_ENV += ac_cv_file__dev_srandom=no
> +LIBENCA_CONF_ENV += yeti_cv_func_scanf_modif_size_t=yes

Use (i.e on one line) :

LIBENCA_CONF_ENV = \
	bleh=yes \
	foo=bar \
	bar=bleh

> +define LIBENCA_MAKE_HOST_TOOL
> +cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c

Instead with one tab.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 02/14] libenca: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 02/14] libenca: " Maxime Hadjinlian
  2014-01-13  8:20   ` Thomas Petazzoni
@ 2014-01-14 22:14   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Yann E. MORIN @ 2014-01-14 22:14 UTC (permalink / raw)
  To: buildroot

Maxime, All,

At long last, my comments below... ;-)

Since I'm basing my review not on this patch, but on the one you have in
your repo, there might be some discrepancies...

On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
> Extremely Naive Charset Analyser.

Muarf! :-)

> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>

Maybe it would be nice to at least Cc gimli, out of courtesy?

> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
  Cc: gimli

[--SNIP--]
> diff --git a/package/libenca/libenca-1.9-dont-build-tools.patch b/package/libenca/libenca-1.9-dont-build-tools.patch
> new file mode 100644
> index 0000000..43b3420
> --- /dev/null
> +++ b/package/libenca/libenca-1.9-dont-build-tools.patch

Your repo now has a commit log + SoB-line, but it does not explain why
you want to avoid buildign the tools. Please expand on this in the
patch' commit log (what you said on IRC is OK, I guess).

Also, your patch touches Makefile.in. You should modify Makefile.am to
remove the tools, and set LIBENCA_AUTORECONF=yes.

Or better yet: prepare a patch for upstream that adds the possibility to
enable/disable the tools:
    ./configure --enable-tools
    ./configure --disable-tools

That way, we can get rid of the patch altogether (and _AUTORECONF) when
upstream releases a new version and we bump to it.

> diff --git a/package/libenca/libenca-1.9-fix-clean.patch b/package/libenca/libenca-1.9-fix-clean.patch
> new file mode 100644
> index 0000000..9c206ad
> --- /dev/null
> +++ b/package/libenca/libenca-1.9-fix-clean.patch

This patch in your repo is still missing a commit log + SoB-line.

Also, it looks like it is an install fix, not a clean fix (name of the
patch).

Again, you're touching Makefile.in. You should modify Makefile.am and
set AUTORECONF=yes.

> diff --git a/package/libenca/libenca-1.9-fix-prefix.patch b/package/libenca/libenca-1.9-fix-prefix.patch
> new file mode 100644
> index 0000000..6fd195b

It seems you dropped that one from your repo.

> index 0000000..e9dba18
> --- /dev/null
> +++ b/package/libenca/libenca.mk
> @@ -0,0 +1,26 @@
> +#############################################################
> +#
> +# libenca
> +#
> +#############################################################

Here I'm pasting the content of your repo:

> +LIBENCA_VERSION = 1.15
> +LIBENCA_SITE = $(call github,nijel,enca,$(LIBENCA_VERSION))
> +LIBENCA_INSTALL_STAGING = YES
> +LIBENCA_LICENSE = GPLv2
> +LIBENCA_LICENSE_FILES = COPYING
> +
> +LIBENCA_CONF_OPT += --prefix=$(TARGET_DIR)/usr

Why do you need to fake the prefix? Doesn't DESTDIR work as expected?

> +LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes \
> ac_cv_file__dev_urandom=yes \
> ac_cv_file__dev_arandom=no \
> ac_cv_file__dev_srandom=no

Check indentation on those three lines: they appear to be right-shifted.
Myabe your tabls are too small in your editor? We're using 8-space wide
tabs.

> +define LIBENCA_MAKE_HOST_TOOL
> +     cd $(@D)/tools && sed -e 's/^#define \([A-Z0-9_]*\) \(.*\)/@\1@ \2/' -e 's/"//g' -e 's/NULL$$//' -e 's/ /\//' -e 's/^\(.*\)$$/s\/\1\//' ../iconvenc.h >encodings.sed

Please split this long line before each -e:
    cd $(@D)/tools && sed -e 's/^#define \([A-Z0-9_]*\) \(.*\)/@\1@ \2/' \
                          -e 's/"//g' -e 's/NULL$$//' -e 's/ /\//' \
                          -e 's/^\(.*\)$$/s\/\1\//' ../iconvenc.h \
                          >encodings.sed

> +     cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c
> +     cd $(@D)/tools && sed -f encodings.sed ./encodings.dat | ./make_hash >encodings.h
> +endef
> +
> +LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL

Should it be a POST_CONFIGURE, or a _PRE_BUILD hook? But we don't have a
_PRE_BUILD HOOK, so let it be a _POST_CONFIGURE.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 03/14] libass: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 03/14] libass: " Maxime Hadjinlian
  2014-01-12 18:37   ` Bernd Kuhls
@ 2014-01-14 22:17   ` Yann E. MORIN
  2014-01-14 22:23     ` Yann E. MORIN
  1 sibling, 1 reply; 35+ messages in thread
From: Yann E. MORIN @ 2014-01-14 22:17 UTC (permalink / raw)
  To: buildroot

Maxime, All,

On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
> libass is a portable subtitle renderer for the
> ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[--SNIP--]
> diff --git a/package/libass/libass.mk b/package/libass/libass.mk
> new file mode 100644
> index 0000000..3fd748a
> --- /dev/null
> +++ b/package/libass/libass.mk
> @@ -0,0 +1,14 @@
> +#############################################################

80-chars, please.

> +#
> +# libass
> +#
> +#############################################################

Ditto.

Rgards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 03/14] libass: new package
  2014-01-14 22:17   ` Yann E. MORIN
@ 2014-01-14 22:23     ` Yann E. MORIN
  0 siblings, 0 replies; 35+ messages in thread
From: Yann E. MORIN @ 2014-01-14 22:23 UTC (permalink / raw)
  To: buildroot

Maxime, All,

On 2014-01-14 23:17 +0100, Yann E. MORIN spake thusly:
> On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
> > libass is a portable subtitle renderer for the
> > ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
> > This package was originally found at : https://github.com/huceke/buildroot-rbp
> > By gimli <ebsi4711@gmail.com>
> > 
> > Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> [--SNIP--]
> > diff --git a/package/libass/libass.mk b/package/libass/libass.mk
> > new file mode 100644
> > index 0000000..3fd748a
> > --- /dev/null
> > +++ b/package/libass/libass.mk
> > @@ -0,0 +1,14 @@
> > +#############################################################
> 
> 80-chars, please.
> 
> > +#
> > +# libass
> > +#
> > +#############################################################
> 
> Ditto.

Otherwise:
    Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 04/14] libbluray: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 04/14] libbluray: " Maxime Hadjinlian
  2014-01-12 18:40   ` Bernd Kuhls
@ 2014-01-14 22:26   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Yann E. MORIN @ 2014-01-14 22:26 UTC (permalink / raw)
  To: buildroot

Maxime, All,

On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[--SNIP--]
> diff --git a/package/libbluray/libbluray.mk b/package/libbluray/libbluray.mk
> new file mode 100644
> index 0000000..25cda6b
> --- /dev/null
> +++ b/package/libbluray/libbluray.mk
> @@ -0,0 +1,14 @@
> +#############################################################

80-chars.

> +#
> +# libbluray
> +#
> +#############################################################

Ditto.

Otherwise:
    Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 05/14] libcdio: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 05/14] libcdio: " Maxime Hadjinlian
  2014-01-12 18:40   ` Bernd Kuhls
@ 2014-01-14 22:32   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Yann E. MORIN @ 2014-01-14 22:32 UTC (permalink / raw)
  To: buildroot

Maxime, All,

As seen on IRC: 80 chars... :-p

On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>

Otherwise:
    Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 06/14] libmodplug: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 06/14] libmodplug: " Maxime Hadjinlian
  2014-01-12 18:41   ` Bernd Kuhls
@ 2014-01-14 22:36   ` Yann E. MORIN
  2014-01-15 20:55   ` Peter Korsgaard
  2 siblings, 0 replies; 35+ messages in thread
From: Yann E. MORIN @ 2014-01-14 22:36 UTC (permalink / raw)
  To: buildroot

Maxime, All,

On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>

Otherwise:
    Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

/me likes the easy ones... :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 07/14] libnfs: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 07/14] libnfs: " Maxime Hadjinlian
  2014-01-12 18:42   ` Bernd Kuhls
@ 2014-01-14 22:38   ` Yann E. MORIN
  1 sibling, 0 replies; 35+ messages in thread
From: Yann E. MORIN @ 2014-01-14 22:38 UTC (permalink / raw)
  To: buildroot

Maxime, All,

On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>

Otherwise:
    Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 06/14] libmodplug: new package
  2014-01-12 17:53 ` [Buildroot] [PATCH 06/14] libmodplug: " Maxime Hadjinlian
  2014-01-12 18:41   ` Bernd Kuhls
  2014-01-14 22:36   ` Yann E. MORIN
@ 2014-01-15 20:55   ` Peter Korsgaard
  2014-01-15 23:19     ` Maxime Hadjinlian
  2 siblings, 1 reply; 35+ messages in thread
From: Peter Korsgaard @ 2014-01-15 20:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:

 > MOD music file decoder.
 > This package was originally found at : https://github.com/huceke/buildroot-rbp
 > By gimli <ebsi4711@gmail.com>

 > Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
 > ---
 >  package/Config.in                |  1 +
 >  package/libmodplug/Config.in     | 10 ++++++++++
 >  package/libmodplug/libmodplug.mk | 12 ++++++++++++
 >  3 files changed, 23 insertions(+)
 >  create mode 100644 package/libmodplug/Config.in
 >  create mode 100644 package/libmodplug/libmodplug.mk

 > diff --git a/package/Config.in b/package/Config.in
 > index d50c5ec..836dc7e 100644
 > --- a/package/Config.in
 > +++ b/package/Config.in
 > @@ -452,6 +452,7 @@ source "package/libcuefile/Config.in"
 >  source "package/libid3tag/Config.in"
 >  source "package/liblo/Config.in"
 >  source "package/libmad/Config.in"
 > +source "package/libmodplug/Config.in"
 >  source "package/libmpd/Config.in"
 >  source "package/libreplaygain/Config.in"
 >  source "package/libsamplerate/Config.in"
 > diff --git a/package/libmodplug/Config.in b/package/libmodplug/Config.in
 > new file mode 100644
 > index 0000000..976a08b
 > --- /dev/null
 > +++ b/package/libmodplug/Config.in
 > @@ -0,0 +1,10 @@
 > +config BR2_PACKAGE_LIBMODPLUG
 > +	bool "libmodplug"
 > +	depends on BR2_INSTALL_LIBSTDCPP
 > +	help
 > +	  MOD music file decoder
 > +
 > +	  http://modplug-xmms.sourceforge.net/
 > +
 > +comment "libmodplug requires C++ support in toolchain"
 > +	depends on !BR2_INSTALL_LIBSTDCPP

We've standardized on '<foo> needs a toolchain w/ C++' now.

 > diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk
 > new file mode 100644
 > index 0000000..14df808
 > --- /dev/null
 > +++ b/package/libmodplug/libmodplug.mk
 > @@ -0,0 +1,12 @@
 > +#############################################################

80 char #'s.

 > +#
 > +# libmodplug
 > +#
 > +#############################################################
 > +
 > +LIBMODPLUG_VERSION = 0.8.7
 > +LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION)
 > +LIBMODPLUG_INSTALL_STAGING = YES
 > +LIBMODPLUG_LICENSE = Public Domain

You forgot _LICENSE_FILES.

Committed with these fixes, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 06/14] libmodplug: new package
  2014-01-15 20:55   ` Peter Korsgaard
@ 2014-01-15 23:19     ` Maxime Hadjinlian
  0 siblings, 0 replies; 35+ messages in thread
From: Maxime Hadjinlian @ 2014-01-15 23:19 UTC (permalink / raw)
  To: buildroot

Hi all,

On Wed, Jan 15, 2014 at 9:55 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:
>
>  > MOD music file decoder.
>  > This package was originally found at : https://github.com/huceke/buildroot-rbp
>  > By gimli <ebsi4711@gmail.com>
>
>  > Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
>  > ---
>  >  package/Config.in                |  1 +
>  >  package/libmodplug/Config.in     | 10 ++++++++++
>  >  package/libmodplug/libmodplug.mk | 12 ++++++++++++
>  >  3 files changed, 23 insertions(+)
>  >  create mode 100644 package/libmodplug/Config.in
>  >  create mode 100644 package/libmodplug/libmodplug.mk
>
>  > diff --git a/package/Config.in b/package/Config.in
>  > index d50c5ec..836dc7e 100644
>  > --- a/package/Config.in
>  > +++ b/package/Config.in
>  > @@ -452,6 +452,7 @@ source "package/libcuefile/Config.in"
>  >  source "package/libid3tag/Config.in"
>  >  source "package/liblo/Config.in"
>  >  source "package/libmad/Config.in"
>  > +source "package/libmodplug/Config.in"
>  >  source "package/libmpd/Config.in"
>  >  source "package/libreplaygain/Config.in"
>  >  source "package/libsamplerate/Config.in"
>  > diff --git a/package/libmodplug/Config.in b/package/libmodplug/Config.in
>  > new file mode 100644
>  > index 0000000..976a08b
>  > --- /dev/null
>  > +++ b/package/libmodplug/Config.in
>  > @@ -0,0 +1,10 @@
>  > +config BR2_PACKAGE_LIBMODPLUG
>  > +    bool "libmodplug"
>  > +    depends on BR2_INSTALL_LIBSTDCPP
>  > +    help
>  > +      MOD music file decoder
>  > +
>  > +      http://modplug-xmms.sourceforge.net/
>  > +
>  > +comment "libmodplug requires C++ support in toolchain"
>  > +    depends on !BR2_INSTALL_LIBSTDCPP
>
> We've standardized on '<foo> needs a toolchain w/ C++' now.
Ok, I will fix this, then send again the whole series with all the comments.
>
>  > diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk
>  > new file mode 100644
>  > index 0000000..14df808
>  > --- /dev/null
>  > +++ b/package/libmodplug/libmodplug.mk
>  > @@ -0,0 +1,12 @@
>  > +#############################################################
>
> 80 char #'s.
>
>  > +#
>  > +# libmodplug
>  > +#
>  > +#############################################################
>  > +
>  > +LIBMODPLUG_VERSION = 0.8.7
>  > +LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION)
>  > +LIBMODPLUG_INSTALL_STAGING = YES
>  > +LIBMODPLUG_LICENSE = Public Domain
>
> You forgot _LICENSE_FILES.
>
> Committed with these fixes, thanks.
Thanks
>
> --
> Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [Buildroot] [PATCH 14/14] xbmc: new package
  2014-01-12 18:15   ` Maxime Hadjinlian
@ 2014-01-28 21:44     ` Thomas Petazzoni
  0 siblings, 0 replies; 35+ messages in thread
From: Thomas Petazzoni @ 2014-01-28 21:44 UTC (permalink / raw)
  To: buildroot

Dear Maxime Hadjinlian,

On Sun, 12 Jan 2014 19:15:09 +0100, Maxime Hadjinlian wrote:

> You should note that XBMC needs Java to build. Currently, it uses the JRE of
> the user's machine.
> 
> I could use jamvm with its host variant, but it needs classpath to be
> built, which itself need java installed. Since I didn't see any way
> out of this, I kept it this way.

Maybe it has been discussed later on, but I'm replying to my huge
e-mail backlog in a FIFO fashion.

If this package requires Java to be installed, then we can require it
to be installed on the user's machine, like we already do for the
classpath build.

Search for BR2_PACKAGE_CLASSPATH in
support/dependencies/dependencies.sh.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2014-01-28 21:44 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-12 17:53 [Buildroot] [PATCH 00/14] Introducing XBMC Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 01/14] jasper: new package Maxime Hadjinlian
2014-01-12 18:29   ` Peter Korsgaard
2014-01-12 17:53 ` [Buildroot] [PATCH 02/14] libenca: " Maxime Hadjinlian
2014-01-13  8:20   ` Thomas Petazzoni
2014-01-14 22:14   ` Yann E. MORIN
2014-01-12 17:53 ` [Buildroot] [PATCH 03/14] libass: " Maxime Hadjinlian
2014-01-12 18:37   ` Bernd Kuhls
2014-01-14 22:17   ` Yann E. MORIN
2014-01-14 22:23     ` Yann E. MORIN
2014-01-12 17:53 ` [Buildroot] [PATCH 04/14] libbluray: " Maxime Hadjinlian
2014-01-12 18:40   ` Bernd Kuhls
2014-01-14 22:26   ` Yann E. MORIN
2014-01-12 17:53 ` [Buildroot] [PATCH 05/14] libcdio: " Maxime Hadjinlian
2014-01-12 18:40   ` Bernd Kuhls
2014-01-14 22:32   ` Yann E. MORIN
2014-01-12 17:53 ` [Buildroot] [PATCH 06/14] libmodplug: " Maxime Hadjinlian
2014-01-12 18:41   ` Bernd Kuhls
2014-01-14 22:36   ` Yann E. MORIN
2014-01-15 20:55   ` Peter Korsgaard
2014-01-15 23:19     ` Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 07/14] libnfs: " Maxime Hadjinlian
2014-01-12 18:42   ` Bernd Kuhls
2014-01-14 22:38   ` Yann E. MORIN
2014-01-12 17:53 ` [Buildroot] [PATCH 08/14] libplist: " Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 09/14] librtmp: " Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 10/14] libshairplay: " Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 11/14] tinyxml: " Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 12/14] sdl: add host version Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 13/14] sdl_image: " Maxime Hadjinlian
2014-01-12 17:53 ` [Buildroot] [PATCH 14/14] xbmc: new package Maxime Hadjinlian
2014-01-12 18:15   ` Maxime Hadjinlian
2014-01-28 21:44     ` Thomas Petazzoni
2014-01-12 18:33 ` [Buildroot] [PATCH 00/14] Introducing XBMC Bernd Kuhls
2014-01-12 18:39   ` Maxime Hadjinlian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox