From patchwork Thu Mar 23 17:28:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 742815 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vptqs3PTTz9s7K for ; Fri, 24 Mar 2017 04:30:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 724C888DA2; Thu, 23 Mar 2017 17:30:08 +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 k6yU3stXkoXc; Thu, 23 Mar 2017 17:30:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 87AEE8A1D6; Thu, 23 Mar 2017 17:30:05 +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 70F861C1F5A for ; Thu, 23 Mar 2017 17:29:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6D8C180584 for ; Thu, 23 Mar 2017 17:29:19 +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 iLBYIzkc2NJO for ; Thu, 23 Mar 2017 17:29:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) by whitealder.osuosl.org (Postfix) with ESMTPS id 983938750D for ; Thu, 23 Mar 2017 17:29:18 +0000 (UTC) Received: from fwd29.aul.t-online.de (fwd29.aul.t-online.de [172.20.26.134]) by mailout08.t-online.de (Postfix) with SMTP id D5F1441D66AA for ; Thu, 23 Mar 2017 18:29:16 +0100 (CET) Received: from fli4l.lan.fli4l (E2RN2TZGYhSQJtHYUTyW-wWR-TeymCOwBw29TR3+NQtP2x3FTawW2K6CIXnvmD8Q+g@[79.228.2.40]) by fwd29.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cr6Xv-28IAoC0; Thu, 23 Mar 2017 18:29:11 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:58788 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1cr6Xu-00059o-W9 for buildroot@buildroot.org; Thu, 23 Mar 2017 18:29:11 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Thu, 23 Mar 2017 18:28:39 +0100 Message-Id: <20170323172900.25458-19-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170323172900.25458-1-bernd.kuhls@t-online.de> References: <20170323172900.25458-1-bernd.kuhls@t-online.de> X-ID: E2RN2TZGYhSQJtHYUTyW-wWR-TeymCOwBw29TR3+NQtP2x3FTawW2K6CIXnvmD8Q+g X-TOI-MSGID: 2686a1d0-acfb-49fd-8e24-9207e79228d9 Subject: [Buildroot] [PATCH v4 18/39] package/kodi: libxslt is an optional package 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" After this commit https://github.com/xbmc/xbmc/commit/bad3902b4a2538a433f858c97b2cf91c44c7feff libxslt is an optional package Signed-off-by: Bernd Kuhls --- package/kodi/Config.in | 2 -- package/kodi/kodi.mk | 9 +++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index 2d3faf562..9537c0f7e 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -74,8 +74,6 @@ menuconfig BR2_PACKAGE_KODI select BR2_PACKAGE_LIBGCRYPT select BR2_PACKAGE_LIBPLIST select BR2_PACKAGE_LIBSAMPLERATE - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_LIBXSLT select BR2_PACKAGE_LZO select BR2_PACKAGE_NCURSES select BR2_PACKAGE_OPENSSL diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index b903dd979..af8836992 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -37,8 +37,6 @@ KODI_DEPENDENCIES = \ libgcrypt \ libplist \ libsamplerate \ - libxml2 \ - libxslt \ lzo \ ncurses \ openssl \ @@ -171,6 +169,13 @@ else KODI_CONF_OPTS += -DENABLE_CAP=OFF endif +ifeq ($(BR2_PACKAGE_LIBXSLT),y) +KODI_CONF_OPTS += -DENABLE_XSLT=ON +KODI_DEPENDENCIES += libxslt +else +KODI_CONF_OPTS += -DENABLE_XSLT=OFF +endif + ifeq ($(BR2_PACKAGE_KODI_BLUEZ),y) KODI_CONF_OPTS += -DENABLE_BLUETOOTH=ON KODI_DEPENDENCIES += bluez5_utils