From patchwork Sun Feb 28 20:18:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 589643 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0B902140770 for ; Mon, 29 Feb 2016 07:18:48 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 458C98B601; Sun, 28 Feb 2016 20:18:48 +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 Eiamy82o3F9M; Sun, 28 Feb 2016 20:18:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8F1218B602; Sun, 28 Feb 2016 20:18:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 219C11C136A for ; Sun, 28 Feb 2016 20:18:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1C6FC931EE for ; Sun, 28 Feb 2016 20:18:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VDDikSkwIv4i for ; Sun, 28 Feb 2016 20:18:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) by hemlock.osuosl.org (Postfix) with ESMTPS id 051D3931E1 for ; Sun, 28 Feb 2016 20:18:36 +0000 (UTC) Received: from fwd00.aul.t-online.de (fwd00.aul.t-online.de [172.20.26.147]) by mailout12.t-online.de (Postfix) with SMTP id DFFB6422779 for ; Sun, 28 Feb 2016 21:18:33 +0100 (CET) Received: from fli4l.lan.fli4l (GMVoJTZbZhm+a06htX5KBN3uG1s58ah11GNKg5QYBLKe+VgXHA2tOp2ohZzylcWwPe@[84.191.202.162]) by fwd00.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aa7nU-3ZLXou0; Sun, 28 Feb 2016 21:18:32 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:57472 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.86) (envelope-from ) id 1aa7nU-0001EX-19; Sun, 28 Feb 2016 21:18:32 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 28 Feb 2016 21:18:27 +0100 Message-Id: <1456690708-6458-6-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456690708-6458-1-git-send-email-bernd.kuhls@t-online.de> References: <1456690708-6458-1-git-send-email-bernd.kuhls@t-online.de> X-ID: GMVoJTZbZhm+a06htX5KBN3uG1s58ah11GNKg5QYBLKe+VgXHA2tOp2ohZzylcWwPe X-TOI-MSGID: b23dcd60-ea3e-4bbe-bbd5-9bf3a7e205dd Cc: Bernd Kuhls Subject: [Buildroot] [PATCH/next 6/7] package/vlc: add optional support for xcb-util-keysyms X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" When xcb-util-keysyms was compiled before, vlc will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/vlc/plugins/control/libxcb_hotkeys_plugin.so | grep NEEDED | sort [...] 0x0000000000000001 (NEEDED) Shared library: [libxcb-keysyms.so.1] 0x0000000000000001 (NEEDED) Shared library: [libxcb.so.1] 0x0000000000000001 (NEEDED) Shared library: [libXdmcp.so.6] Signed-off-by: Bernd Kuhls --- package/vlc/vlc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index bf1ec45..b67bd35 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -393,6 +393,13 @@ else VLC_CONF_OPTS += --disable-udev endif +ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y) +VLC_CONF_OPTS += --enable-xcb +VLC_DEPENDENCIES += xcb-util-keysyms +else +VLC_CONF_OPTS += --disable-xcb +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) VLC_CONF_OPTS += --with-x VLC_DEPENDENCIES += xlib_libX11