All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 4/8] libva-intel-driver: new package
Date: Thu, 17 Apr 2014 22:36:47 +0200	[thread overview]
Message-ID: <20140417223647.47cdad60@skate> (raw)
In-Reply-To: <1396588694-6377-5-git-send-email-bernd.kuhls@t-online.de>

Dear Bernd Kuhls,

On Fri,  4 Apr 2014 07:18:10 +0200, Bernd Kuhls wrote:

> diff --git a/package/libva-intel-driver/Config.in b/package/libva-intel-driver/Config.in
> new file mode 100644
> index 0000000..343f45f
> --- /dev/null
> +++ b/package/libva-intel-driver/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_LIBVA_INTEL_DRIVER
> +	bool "libva-intel-driver"
> +	depends on BR2_i386 || BR2_x86_64
> +	depends on BR2_PACKAGE_LIBVA
> +	depends on BR2_PACKAGE_XORG7

In fact, in the libva package, you should maybe use:

	select BR2_PACKAGE_XLIB_<foo> if BR2_PACKAGE_XORG7

Here, I'm not sure about the dependencies. Maybe we want to:

	select BR2_PACKAGE_LIBVA
	select BR2_PACKAGE_LIBDRM
	select BR2_PACKAGE_LIBDRM_INTEL

of course, don't forget to propagate the dependencies of libva and
libdrm.

X.org can remain a "depends on".

> +	select BR2_PACKAGE_LIBDRM_INTEL
> +	help
> +	  VA-API back-end driver for Intel graphics chips
> +
> +	  https://01.org/linuxgraphics/community/vaapi
> +
> +comment "libva intel driver depends on libva & X.org"
> +	depends on !BR2_PACKAGE_LIBVA || !BR2_PACKAGE_XORG7
> diff --git a/package/libva-intel-driver/libva-intel-driver.mk b/package/libva-intel-driver/libva-intel-driver.mk
> new file mode 100644
> index 0000000..86d2dcc
> --- /dev/null
> +++ b/package/libva-intel-driver/libva-intel-driver.mk
> @@ -0,0 +1,13 @@
> +################################################################################
> +#
> +# libva-intel-driver
> +#
> +################################################################################
> +
> +LIBVA_INTEL_DRIVER_VERSION = 1.3.0
> +LIBVA_INTEL_DRIVER_SOURCE = libva-intel-driver-$(LIBVA_INTEL_DRIVER_VERSION).tar.bz2
> +LIBVA_INTEL_DRIVER_SITE = http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver
> +LIBVA_INTEL_DRIVER_LICENSE = MIT

LIBVA_INTEL_DRIVER_LICENSE_FILES = COPYING

> +LIBVA_INTEL_DRIVER_DEPENDENCIES = libva
> +
> +$(eval $(autotools-package))

A quick inspection of configure.ac reveals that:

 * There are --enable-drm, --enable-x11 and --enable-wayland options.
   Maybe you should use them, at least to explicitly give a
   --disable-<foo> for the features you don't support.

 * It needs host-pkgconf

Thanks!

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

  reply	other threads:[~2014-04-17 20:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04  5:18 [Buildroot] [PATCH v5 0/8] Add new libraries for XBMC Gotham Bernd Kuhls
2014-04-04  5:18 ` [Buildroot] [PATCH v5 1/8] libdrm: Explain dependency on xorg in Kconfig Bernd Kuhls
2014-04-04  5:18 ` [Buildroot] [PATCH v5 2/8] mesa3d: Explain dependency for i965 DRI driver " Bernd Kuhls
2014-04-17 21:37   ` Yann E. MORIN
2014-04-26 21:26     ` Bernd Kuhls
2014-04-04  5:18 ` [Buildroot] [PATCH v5 3/8] [v2] libva: new package Bernd Kuhls
2014-04-17 20:31   ` Thomas Petazzoni
2014-04-04  5:18 ` [Buildroot] [PATCH v5 4/8] libva-intel-driver: " Bernd Kuhls
2014-04-17 20:36   ` Thomas Petazzoni [this message]
2014-04-04  5:18 ` [Buildroot] [PATCH v5 5/8] ffmpeg: Add libva support Bernd Kuhls
2014-04-04  5:18 ` [Buildroot] [PATCH v5 6/8] libglu: new package Bernd Kuhls
2014-04-17 20:39   ` Thomas Petazzoni
2014-04-04  5:18 ` [Buildroot] [PATCH v5 7/8] libglew: " Bernd Kuhls
2014-04-17 20:52   ` Thomas Petazzoni
2014-04-26 14:24     ` Bernd Kuhls
2014-04-04  5:18 ` [Buildroot] [PATCH v5 8/8] sdl: Add new dependency libglu for opengl support Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140417223647.47cdad60@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.