From patchwork Fri Aug 1 17:32:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 375818 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id B473814011D for ; Sat, 2 Aug 2014 03:33:09 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0CB498BF41; Fri, 1 Aug 2014 17:33:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZAjM_-73qM_I; Fri, 1 Aug 2014 17:33:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id EBD848BF17; Fri, 1 Aug 2014 17:33:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B2EA81BFA2E for ; Fri, 1 Aug 2014 17:33:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ADA068C152 for ; Fri, 1 Aug 2014 17:33:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G0cy1blze9Kr for ; Fri, 1 Aug 2014 17:33:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by whitealder.osuosl.org (Postfix) with ESMTPS id 62E2F8C08B for ; Fri, 1 Aug 2014 17:33:00 +0000 (UTC) Received: from fwd15.aul.t-online.de (fwd15.aul.t-online.de [172.20.27.63]) by mailout03.t-online.de (Postfix) with SMTP id 5855D31C049 for ; Fri, 1 Aug 2014 19:32:58 +0200 (CEST) Received: from fli4l.lan.fli4l (S385oeZ1whhl7ZUL6lU7EiuFxeWJG8l91RO4qx8TTxyPi9ZGbwOlY+sZPj7dq3+QTE@[87.146.212.52]) by fwd15.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1XDGhE-0l9byy0; Fri, 1 Aug 2014 19:32:48 +0200 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:39554) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.83) (envelope-from ) id 1XDGhD-0005KU-HR; Fri, 01 Aug 2014 19:32:47 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 1 Aug 2014 19:32:39 +0200 Message-Id: <1406914359-31106-4-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1406914359-31106-1-git-send-email-bernd.kuhls@t-online.de> References: <1406914359-31106-1-git-send-email-bernd.kuhls@t-online.de> X-ID: S385oeZ1whhl7ZUL6lU7EiuFxeWJG8l91RO4qx8TTxyPi9ZGbwOlY+sZPj7dq3+QTE X-TOI-MSGID: ce9a6e0c-d0bc-4979-b116-2bbe86ea9258 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v16 3/3] xbmc: Add VA-API support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Bernd Kuhls Reviewed-by: "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