From patchwork Sun Feb 28 20:18:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 589644 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 2ED28140557 for ; Mon, 29 Feb 2016 07:18:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7A8AA8B657; Sun, 28 Feb 2016 20:18:51 +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 AP0qdJN0GN6V; Sun, 28 Feb 2016 20:18:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 934268B617; Sun, 28 Feb 2016 20:18:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B75A81C136A for ; Sun, 28 Feb 2016 20:18:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B3C6D8A6AC for ; Sun, 28 Feb 2016 20:18:37 +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 bvt79wiZV42P for ; Sun, 28 Feb 2016 20:18:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by whitealder.osuosl.org (Postfix) with ESMTPS id C14238A630 for ; Sun, 28 Feb 2016 20:18:36 +0000 (UTC) Received: from fwd03.aul.t-online.de (fwd03.aul.t-online.de [172.20.27.148]) by mailout11.t-online.de (Postfix) with SMTP id C1E4A4ED299 for ; Sun, 28 Feb 2016 21:18:34 +0100 (CET) Received: from fli4l.lan.fli4l (ZkxI5TZrZhKrfGwM5id015KDzFRsApnZj-N0JyRMUuh4Rl8OAg7fi7VEe+3nsdJZuS@[84.191.202.162]) by fwd03.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aa7nT-2DzWee0; Sun, 28 Feb 2016 21:18:31 +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 1aa7nS-0001EX-UJ; Sun, 28 Feb 2016 21:18:31 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 28 Feb 2016 21:18:24 +0100 Message-Id: <1456690708-6458-3-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: ZkxI5TZrZhKrfGwM5id015KDzFRsApnZj-N0JyRMUuh4Rl8OAg7fi7VEe+3nsdJZuS X-TOI-MSGID: dc9dbfd4-fee8-4e64-bb3a-7c96ab684473 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH/next 3/7] package/vlc: add optional support for libvncserver 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 libvncserver 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/access/libvnc_plugin.so | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libvlccore.so.8] 0x0000000000000001 (NEEDED) Shared library: [librt.so.1] 0x0000000000000001 (NEEDED) Shared library: [libintl.so.8] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.1] 0x0000000000000001 (NEEDED) Shared library: [libvncclient.so.0] [...] 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 1bb2b93..4affb87 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -272,6 +272,13 @@ else VLC_CONF_OPTS += --disable-upnp endif +ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) +VLC_CONF_OPTS += --enable-vnc +VLC_DEPENDENCIES += libvncserver +else +VLC_CONF_OPTS += --disable-vnc +endif + ifeq ($(BR2_PACKAGE_LIBVORBIS),y) VLC_CONF_OPTS += --enable-vorbis VLC_DEPENDENCIES += libvorbis