* [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support
2014-08-01 17:32 [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Bernd Kuhls
@ 2014-08-01 17:32 ` Bernd Kuhls
2014-08-01 21:30 ` Yann E. MORIN
2014-08-01 17:32 ` [Buildroot] [PATCH v16 2/3] xbmc: Add option for Goom screensaver Bernd Kuhls
` (3 subsequent siblings)
4 siblings, 1 reply; 13+ messages in thread
From: Bernd Kuhls @ 2014-08-01 17:32 UTC (permalink / raw)
To: buildroot
- on ARM xbmc only supports EGL/GLES
https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L695
- rsxs depends on OpenGL
https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L1469
so include a compile fix, courtesy of
https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/mediacenter/xbmc/package.mk#L109
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/xbmc/Config.in | 31 ++++++++++++++++++++++++++++---
package/xbmc/xbmc.mk | 33 +++++++++++++++++++++++++++------
2 files changed, 55 insertions(+), 9 deletions(-)
diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
index 05d28ee..04bc86f 100644
--- a/package/xbmc/Config.in
+++ b/package/xbmc/Config.in
@@ -6,9 +6,26 @@ comment "xbmc needs a toolchain w/ C++, IPv6, largefile, threads, wchar"
depends on BR2_PACKAGE_XBMC_ARCH_SUPPORTS
depends on !BR2_INET_IPV6 || !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+config BR2_PACKAGE_XBMC_EGL_GLES
+ bool
+ default y
+ depends on BR2_PACKAGE_HAS_LIBEGL
+ depends on BR2_PACKAGE_HAS_LIBGLES
+ depends on !BR2_PACKAGE_XBMC_GL # prefer GL if available
+
+config BR2_PACKAGE_XBMC_GL
+ bool
+ default y
+ depends on BR2_PACKAGE_HAS_LIBGL
+ depends on !BR2_arm # xbmc needs egl/gles on arm
+
+comment "xbmc needs an OpenGL or an openGL ES and EGL backend"
+ depends on BR2_i386 || BR2_x86_64
+ depends on !BR2_PACKAGE_XBMC_GL && !BR2_PACKAGE_XBMC_EGL_GLES
+
comment "xbmc requires an OpenGL ES and EGL backend"
- depends on BR2_PACKAGE_XBMC_ARCH_SUPPORTS
- depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES
+ depends on BR2_arm
+ depends on !BR2_PACKAGE_XBMC_EGL_GLES
menuconfig BR2_PACKAGE_XBMC
bool "xbmc"
@@ -26,6 +43,8 @@ menuconfig BR2_PACKAGE_XBMC
select BR2_PACKAGE_LIBCDIO
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBFRIBIDI
+ select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_XBMC_GL
+ select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_XBMC_GL
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBID3TAG
select BR2_PACKAGE_LIBMAD
@@ -55,17 +74,23 @@ menuconfig BR2_PACKAGE_XBMC
select BR2_PACKAGE_PYTHON_UNICODEDATA
select BR2_PACKAGE_PYTHON_ZLIB
select BR2_PACKAGE_READLINE
+ select BR2_PACKAGE_SDL if BR2_PACKAGE_XBMC_GL
+ select BR2_PACKAGE_SDL_X11 if BR2_PACKAGE_XBMC_GL
+ select BR2_PACKAGE_SDL_IMAGE if BR2_PACKAGE_XBMC_GL
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_TAGLIB
select BR2_PACKAGE_TIFF
select BR2_PACKAGE_TINYXML
+ select BR2_PACKAGE_XLIB_XMU if BR2_PACKAGE_XBMC_GL # needed by rsxs screensaver
+ select BR2_PACKAGE_XLIB_XRANDR if BR2_PACKAGE_XBMC_GL
+ select BR2_PACKAGE_XLIB_XT if BR2_PACKAGE_XBMC_GL # needed by rsxs screensaver
select BR2_PACKAGE_YAJL
select BR2_PACKAGE_ZLIB
depends on BR2_INET_IPV6
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
- depends on BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_HAS_LIBGLES
+ depends on BR2_PACKAGE_XBMC_EGL_GLES || BR2_PACKAGE_XBMC_GL
depends on BR2_USE_MMU # python
depends on BR2_USE_WCHAR
depends on BR2_PACKAGE_XBMC_ARCH_SUPPORTS
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
index c3b0d71..c868b59 100644
--- a/package/xbmc/xbmc.mk
+++ b/package/xbmc/xbmc.mk
@@ -15,7 +15,7 @@ XBMC_LICENSE_FILES = LICENSE.GPL
# http://wiki.xbmc.org/index.php?title=TexturePacker
XBMC_DEPENDENCIES = host-gawk host-gettext host-gperf host-infozip host-lzo host-sdl_image host-swig
XBMC_DEPENDENCIES += boost bzip2 expat flac fontconfig freetype jasper jpeg \
- libass libcdio libcurl libegl libfribidi libgcrypt libgles libmad libmodplug libmpeg2 \
+ libass libcdio libcurl libfribidi libgcrypt libmad libmodplug libmpeg2 \
libogg libplist libpng libsamplerate libungif libvorbis libxml2 libxslt lzo ncurses \
openssl pcre python readline sqlite taglib tiff tinyxml yajl zlib
@@ -44,7 +44,6 @@ XBMC_CONF_OPT += \
--disable-crystalhd \
--disable-debug \
--disable-dvdcss \
- --disable-gl \
--disable-hal \
--disable-joystick \
--disable-mysql \
@@ -52,14 +51,10 @@ XBMC_CONF_OPT += \
--disable-optical-drive \
--disable-projectm \
--disable-pulse \
- --disable-sdl \
--disable-ssh \
--disable-vaapi \
--disable-vdpau \
--disable-vtbdecoder \
- --disable-x11 \
- --disable-xrandr \
- --enable-gles \
--enable-optimizations
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
@@ -88,6 +83,32 @@ else
XBMC_CONF_OPT += --disable-libmp3lame
endif
+# quote from xbmc/configure.in: "GLES overwrites GL if both set to yes."
+# we choose the opposite because opengl offers more features, like libva support
+ifeq ($(BR2_PACKAGE_XBMC_GL),y)
+XBMC_DEPENDENCIES += libglew libglu libgl sdl_image xlib_libX11 xlib_libXext \
+ xlib_libXmu xlib_libXrandr xlib_libXt
+XBMC_CONF_OPT += --enable-gl --enable-sdl --enable-x11 --enable-xrandr --disable-gles
+# fix rsxs compile
+# make sure target libpng-config is used, options taken from rsxs-0.9/acinclude.m4
+XBMC_CONF_ENV += \
+ jm_cv_func_gettimeofday_clobber=no \
+ mac_cv_pkg_png=$(STAGING_DIR)/usr/bin/libpng-config \
+ mac_cv_pkg_cppflags="`$(STAGING_DIR)/usr/bin/libpng-config --I_opts --cppflags`" \
+ mac_cv_pkg_cxxflags="`$(STAGING_DIR)/usr/bin/libpng-config --ccopts`" \
+ mac_cv_pkg_ldflags="`$(STAGING_DIR)/usr/bin/libpng-config --L_opts --R_opts`" \
+ mac_cv_pkg_libs="`$(STAGING_DIR)/usr/bin/libpng-config --libs`"
+XBMC_CONF_OPT += --enable-rsxs
+else
+XBMC_CONF_OPT += --disable-gl --disable-rsxs --disable-sdl --disable-x11 --disable-xrandr
+ifeq ($(BR2_PACKAGE_XBMC_EGL_GLES),y)
+XBMC_DEPENDENCIES += libegl libgles
+XBMC_CONF_OPT += --enable-gles
+else
+XBMC_CONF_OPT += --disable-gles
+endif
+endif
+
ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y)
XBMC_DEPENDENCIES += libusb-compat
XBMC_CONF_OPT += --enable-libusb
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread* [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support
2014-08-01 17:32 ` [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support Bernd Kuhls
@ 2014-08-01 21:30 ` Yann E. MORIN
2014-08-01 22:02 ` Bernd Kuhls
0 siblings, 1 reply; 13+ messages in thread
From: Yann E. MORIN @ 2014-08-01 21:30 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-08-01 19:32 +0200, Bernd Kuhls spake thusly:
> - on ARM xbmc only supports EGL/GLES
> https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L695
> - rsxs depends on OpenGL
> https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L1469
> so include a compile fix, courtesy of
> https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/mediacenter/xbmc/package.mk#L109
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
I however have one comment, see below...
> diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
> index c3b0d71..c868b59 100644
> --- a/package/xbmc/xbmc.mk
> +++ b/package/xbmc/xbmc.mk
[--SNIP--]
> @@ -88,6 +83,32 @@ else
> XBMC_CONF_OPT += --disable-libmp3lame
> endif
>
> +# quote from xbmc/configure.in: "GLES overwrites GL if both set to yes."
> +# we choose the opposite because opengl offers more features, like libva support
> +ifeq ($(BR2_PACKAGE_XBMC_GL),y)
> +XBMC_DEPENDENCIES += libglew libglu libgl sdl_image xlib_libX11 xlib_libXext \
> + xlib_libXmu xlib_libXrandr xlib_libXt
> +XBMC_CONF_OPT += --enable-gl --enable-sdl --enable-x11 --enable-xrandr --disable-gles
> +# fix rsxs compile
> +# make sure target libpng-config is used, options taken from rsxs-0.9/acinclude.m4
> +XBMC_CONF_ENV += \
> + jm_cv_func_gettimeofday_clobber=no \
> + mac_cv_pkg_png=$(STAGING_DIR)/usr/bin/libpng-config \
> + mac_cv_pkg_cppflags="`$(STAGING_DIR)/usr/bin/libpng-config --I_opts --cppflags`" \
> + mac_cv_pkg_cxxflags="`$(STAGING_DIR)/usr/bin/libpng-config --ccopts`" \
> + mac_cv_pkg_ldflags="`$(STAGING_DIR)/usr/bin/libpng-config --L_opts --R_opts`" \
> + mac_cv_pkg_libs="`$(STAGING_DIR)/usr/bin/libpng-config --libs`"
> +XBMC_CONF_OPT += --enable-rsxs
> +else
> +XBMC_CONF_OPT += --disable-gl --disable-rsxs --disable-sdl --disable-x11 --disable-xrandr
We currently do not disable rsxs, and XBMC builds just fine on the RPi.
However, we remove it from the rootfs as a post-install hook.
What's the problem with rsxs on EGL/GLES?
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] 13+ messages in thread
* [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support
2014-08-01 21:30 ` Yann E. MORIN
@ 2014-08-01 22:02 ` Bernd Kuhls
2014-08-01 22:18 ` Yann E. MORIN
0 siblings, 1 reply; 13+ messages in thread
From: Bernd Kuhls @ 2014-08-01 22:02 UTC (permalink / raw)
To: buildroot
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
news:20140801213036.GE3778 at free.fr:
> We currently do not disable rsxs, and XBMC builds just fine on the RPi.
> However, we remove it from the rootfs as a post-install hook.
>
> What's the problem with rsxs on EGL/GLES?
Hi,
according to xbmc configure rsxs depends on opengl only:
https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L1469
This can be confirmed when looking the rsxs configure:
https://github.com/xbmc/xbmc/blob/Gotham/xbmc/screensavers/rsxs-
0.9/configure.ac#L97
I am surprised that rsxs is build at all with egl/gles only.
My patch just follows the configure system of xbmc.
Regards, Bernd
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support
2014-08-01 22:02 ` Bernd Kuhls
@ 2014-08-01 22:18 ` Yann E. MORIN
2014-08-02 11:19 ` Bernd Kuhls
0 siblings, 1 reply; 13+ messages in thread
From: Yann E. MORIN @ 2014-08-01 22:18 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-08-02 00:02 +0200, Bernd Kuhls spake thusly:
> "Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
> news:20140801213036.GE3778 at free.fr:
>
> > We currently do not disable rsxs, and XBMC builds just fine on the RPi.
> > However, we remove it from the rootfs as a post-install hook.
> >
> > What's the problem with rsxs on EGL/GLES?
>
> according to xbmc configure rsxs depends on opengl only:
> https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L1469
>
> This can be confirmed when looking the rsxs configure:
> https://github.com/xbmc/xbmc/blob/Gotham/xbmc/screensavers/rsxs-
> 0.9/configure.ac#L97
>
> I am surprised that rsxs is build at all with egl/gles only.
Well, I said "XBMC builds just fine" and "we remove [rsxs] from the rootfs".
That does not imply that rsxs is built and installed.
/me is just kidding and playing with words and logic, here. ;-)
> My patch just follows the configure system of xbmc.
OK. Thanks for the clarifications. :-)
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] 13+ messages in thread
* [Buildroot] [PATCH v16 2/3] xbmc: Add option for Goom screensaver
2014-08-01 17:32 [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Bernd Kuhls
2014-08-01 17:32 ` [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support Bernd Kuhls
@ 2014-08-01 17:32 ` Bernd Kuhls
2014-08-01 21:31 ` Yann E. MORIN
2014-08-01 17:32 ` [Buildroot] [PATCH v16 3/3] xbmc: Add VA-API support Bernd Kuhls
` (2 subsequent siblings)
4 siblings, 1 reply; 13+ messages in thread
From: Bernd Kuhls @ 2014-08-01 17:32 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/xbmc/Config.in | 9 +++++++++
package/xbmc/xbmc.mk | 6 ++++++
2 files changed, 15 insertions(+)
diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
index 04bc86f..6a00531 100644
--- a/package/xbmc/Config.in
+++ b/package/xbmc/Config.in
@@ -128,6 +128,15 @@ config BR2_PACKAGE_XBMC_LIBBLURAY
comment "libbluray support needs a toolchain w/ dynamic library"
depends on BR2_PREFER_STATIC_LIB
+config BR2_PACKAGE_XBMC_GOOM
+ bool "goom screensaver"
+ depends on BR2_PACKAGE_XBMC_GL
+ help
+ Enable goom screensaver
+
+comment "goom needs an OpenGL backend"
+ depends on !BR2_PACKAGE_XBMC_GL
+
config BR2_PACKAGE_XBMC_LIBCEC
bool "hdmi cec"
depends on !BR2_PREFER_STATIC_LIB # libcec
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
index c868b59..920d731 100644
--- a/package/xbmc/xbmc.mk
+++ b/package/xbmc/xbmc.mk
@@ -109,6 +109,12 @@ XBMC_CONF_OPT += --disable-gles
endif
endif
+ifeq ($(BR2_PACKAGE_XBMC_GOOM),y)
+XBMC_CONF_OPT += --enable-goom
+else
+XBMC_CONF_OPT += --disable-goom
+endif
+
ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y)
XBMC_DEPENDENCIES += libusb-compat
XBMC_CONF_OPT += --enable-libusb
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread* [Buildroot] [PATCH v16 2/3] xbmc: Add option for Goom screensaver
2014-08-01 17:32 ` [Buildroot] [PATCH v16 2/3] xbmc: Add option for Goom screensaver Bernd Kuhls
@ 2014-08-01 21:31 ` Yann E. MORIN
0 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2014-08-01 21:31 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-08-01 19:32 +0200, Bernd Kuhls spake thusly:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/xbmc/Config.in | 9 +++++++++
> package/xbmc/xbmc.mk | 6 ++++++
> 2 files changed, 15 insertions(+)
>
> diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
> index 04bc86f..6a00531 100644
> --- a/package/xbmc/Config.in
> +++ b/package/xbmc/Config.in
> @@ -128,6 +128,15 @@ config BR2_PACKAGE_XBMC_LIBBLURAY
> comment "libbluray support needs a toolchain w/ dynamic library"
> depends on BR2_PREFER_STATIC_LIB
>
> +config BR2_PACKAGE_XBMC_GOOM
> + bool "goom screensaver"
> + depends on BR2_PACKAGE_XBMC_GL
> + help
> + Enable goom screensaver
> +
> +comment "goom needs an OpenGL backend"
> + depends on !BR2_PACKAGE_XBMC_GL
> +
> config BR2_PACKAGE_XBMC_LIBCEC
> bool "hdmi cec"
> depends on !BR2_PREFER_STATIC_LIB # libcec
> diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
> index c868b59..920d731 100644
> --- a/package/xbmc/xbmc.mk
> +++ b/package/xbmc/xbmc.mk
> @@ -109,6 +109,12 @@ XBMC_CONF_OPT += --disable-gles
> endif
> endif
>
> +ifeq ($(BR2_PACKAGE_XBMC_GOOM),y)
> +XBMC_CONF_OPT += --enable-goom
> +else
> +XBMC_CONF_OPT += --disable-goom
> +endif
> +
> ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y)
> XBMC_DEPENDENCIES += libusb-compat
> XBMC_CONF_OPT += --enable-libusb
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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] 13+ messages in thread
* [Buildroot] [PATCH v16 3/3] xbmc: Add VA-API support
2014-08-01 17:32 [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Bernd Kuhls
2014-08-01 17:32 ` [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support Bernd Kuhls
2014-08-01 17:32 ` [Buildroot] [PATCH v16 2/3] xbmc: Add option for Goom screensaver Bernd Kuhls
@ 2014-08-01 17:32 ` Bernd Kuhls
2014-08-01 21:32 ` Yann E. MORIN
2014-08-03 8:42 ` [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Thomas Petazzoni
2014-08-12 23:05 ` Yann E. MORIN
4 siblings, 1 reply; 13+ messages in thread
From: Bernd Kuhls @ 2014-08-01 17:32 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/xbmc/xbmc.mk | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
index 920d731..880b3d4 100644
--- a/package/xbmc/xbmc.mk
+++ b/package/xbmc/xbmc.mk
@@ -52,7 +52,6 @@ XBMC_CONF_OPT += \
--disable-projectm \
--disable-pulse \
--disable-ssh \
- --disable-vaapi \
--disable-vdpau \
--disable-vtbdecoder \
--enable-optimizations
@@ -186,6 +185,14 @@ ifeq ($(BR2_PACKAGE_XBMC_LIBTHEORA),y)
XBMC_DEPENDENCIES += libtheora
endif
+# xbmc needs libva & libva-glx
+ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy)
+XBMC_DEPENDENCIES += mesa3d libva
+XBMC_CONF_OPT += --enable-vaapi
+else
+XBMC_CONF_OPT += --disable-vaapi
+endif
+
# Add HOST_DIR to PATH for codegenerator.mk to find swig
define XBMC_BOOTSTRAP
cd $(@D) && PATH=$(BR_PATH) ./bootstrap
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v16 3/3] xbmc: Add VA-API support
2014-08-01 17:32 ` [Buildroot] [PATCH v16 3/3] xbmc: Add VA-API support Bernd Kuhls
@ 2014-08-01 21:32 ` Yann E. MORIN
0 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2014-08-01 21:32 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-08-01 19:32 +0200, Bernd Kuhls spake thusly:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/xbmc/xbmc.mk | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
> index 920d731..880b3d4 100644
> --- a/package/xbmc/xbmc.mk
> +++ b/package/xbmc/xbmc.mk
> @@ -52,7 +52,6 @@ XBMC_CONF_OPT += \
> --disable-projectm \
> --disable-pulse \
> --disable-ssh \
> - --disable-vaapi \
> --disable-vdpau \
> --disable-vtbdecoder \
> --enable-optimizations
> @@ -186,6 +185,14 @@ ifeq ($(BR2_PACKAGE_XBMC_LIBTHEORA),y)
> XBMC_DEPENDENCIES += libtheora
> endif
>
> +# xbmc needs libva & libva-glx
> +ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy)
> +XBMC_DEPENDENCIES += mesa3d libva
> +XBMC_CONF_OPT += --enable-vaapi
> +else
> +XBMC_CONF_OPT += --disable-vaapi
> +endif
> +
> # Add HOST_DIR to PATH for codegenerator.mk to find swig
> define XBMC_BOOTSTRAP
> cd $(@D) && PATH=$(BR_PATH) ./bootstrap
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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] 13+ messages in thread
* [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom
2014-08-01 17:32 [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Bernd Kuhls
` (2 preceding siblings ...)
2014-08-01 17:32 ` [Buildroot] [PATCH v16 3/3] xbmc: Add VA-API support Bernd Kuhls
@ 2014-08-03 8:42 ` Thomas Petazzoni
2014-08-12 23:05 ` Yann E. MORIN
4 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2014-08-03 8:42 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Fri, 1 Aug 2014 19:32:36 +0200, Bernd Kuhls wrote:
> Bernd Kuhls (3):
> xbmc: Add X.org/OpenGL support
> xbmc: Add option for Goom screensaver
> xbmc: Add VA-API support
>
> package/xbmc/Config.in | 40 +++++++++++++++++++++++++++++++++++++---
> package/xbmc/xbmc.mk | 48 +++++++++++++++++++++++++++++++++++++++++-------
> 2 files changed, 78 insertions(+), 10 deletions(-)
Series applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom
2014-08-01 17:32 [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Bernd Kuhls
` (3 preceding siblings ...)
2014-08-03 8:42 ` [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Thomas Petazzoni
@ 2014-08-12 23:05 ` Yann E. MORIN
2014-08-13 4:21 ` Bernd Kuhls
4 siblings, 1 reply; 13+ messages in thread
From: Yann E. MORIN @ 2014-08-12 23:05 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-08-01 19:32 +0200, Bernd Kuhls spake thusly:
> The series is compiled-tested using
>
> for Intel platform:
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_PACKAGE_XBMC=y
> BR2_PACKAGE_XBMC_LIBBLURAY=y
> BR2_PACKAGE_XBMC_LIBCEC=y
> BR2_PACKAGE_XBMC_LIBMICROHTTPD=y
> BR2_PACKAGE_XBMC_LIBNFS=y
> BR2_PACKAGE_XBMC_RTMPDUMP=y
> BR2_PACKAGE_XBMC_LIBSHAIRPLAY=y
> BR2_PACKAGE_XBMC_LIBSMBCLIENT=y
> BR2_PACKAGE_XBMC_LIBTHEORA=y
> BR2_PACKAGE_XBMC_LIBUSB=y
> BR2_PACKAGE_XBMC_WAVPACK=y
> BR2_PACKAGE_XBMC_GOOM=y
> BR2_PACKAGE_XBMC_ADDON_XVDR=y
> BR2_PACKAGE_XBMC_PVR_ADDONS=y
> BR2_PACKAGE_MESA3D=y
> BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
> BR2_PACKAGE_XORG7=y
Weird. I had to had an Xorg server to be able to use XBMC...
But now I can run XBMC on my i915-based nettbook! Woot! :-)
(I just had to tweak mesa3d to build the i915 DRI driver, will push that
to the list soonish...)
Yeah! :-)
I've lost track of all your XBMC-related series. Is the v16 the last
one? Do we miss anything in Buildroot for XBMC ?
I guess we'll need more stuff for Kodi, but that can come later.
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] 13+ messages in thread* [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom
2014-08-12 23:05 ` Yann E. MORIN
@ 2014-08-13 4:21 ` Bernd Kuhls
0 siblings, 0 replies; 13+ messages in thread
From: Bernd Kuhls @ 2014-08-13 4:21 UTC (permalink / raw)
To: buildroot
Hi,
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
news:20140812230542.GF4055 at free.fr:
> I've lost track of all your XBMC-related series. Is the v16 the last
> one? Do we miss anything in Buildroot for XBMC ?
no, currently there are no pending patches to extend the functionality of the
xbmc package. I will post a version bump to 13.2rc1 soon, however. For my
personal needs I would like to see your libudev patch series in buildroot ;)
> I guess we'll need more stuff for Kodi, but that can come later.
Locally I already renamed xbmc to Kodi and bumped the package to 14.0alpha2.
Buildroot 2014.08 will most likely contain Gotham, however. When Helix/Kodi
reaches beta stage I will post another version bump. This bump will then
consist of three patches:
- move package/xbmc/* to package/kodi/* and rename files
- rename variables XBMC_* to KODI_* and add legacy options
- bump to 14.0...
Did I miss something?
Regards, Bernd
^ permalink raw reply [flat|nested] 13+ messages in thread