From patchwork Mon Jul 11 18:08:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 647003 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 3rpCm25bcJz9s9c for ; Tue, 12 Jul 2016 04:09:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 98EEB88628; Mon, 11 Jul 2016 18:09:20 +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 1cmQV2E4Gsbk; Mon, 11 Jul 2016 18:09:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 02DBE886B7; Mon, 11 Jul 2016 18:09:18 +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 5900D1C16ED for ; Mon, 11 Jul 2016 18:09:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5563E856FD for ; Mon, 11 Jul 2016 18:09:14 +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 6VnVgIRNdDxL for ; Mon, 11 Jul 2016 18:09:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3772B85D00 for ; Mon, 11 Jul 2016 18:09:13 +0000 (UTC) Received: from fwd05.aul.t-online.de (fwd05.aul.t-online.de [172.20.27.149]) by mailout05.t-online.de (Postfix) with SMTP id 2CB7942316C8 for ; Mon, 11 Jul 2016 20:09:11 +0200 (CEST) Received: from fli4l.lan.fli4l (TiS5VTZUghFqsNX3HQW9o8zOju-qDItLRw4JoSi6AIVUwjmstLreG3nlYY6xalxZhB@[84.178.233.154]) by fwd05.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1bMfdk-34CcOO0; Mon, 11 Jul 2016 20:09:08 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:33602 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1bMfdj-0003nO-4M; Mon, 11 Jul 2016 20:09:07 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Mon, 11 Jul 2016 20:08:58 +0200 Message-Id: <1468260542-7194-4-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1468260542-7194-1-git-send-email-bernd.kuhls@t-online.de> References: <1468260542-7194-1-git-send-email-bernd.kuhls@t-online.de> X-ID: TiS5VTZUghFqsNX3HQW9o8zOju-qDItLRw4JoSi6AIVUwjmstLreG3nlYY6xalxZhB X-TOI-MSGID: 953ee65f-b7c7-4d39-91bb-bf85bb05dba5 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v5 4/8] package/kodi: Add suboption to control unrar support 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" Signed-off-by: Bernd Kuhls --- v5: no changes v4: no changes v3: rebased series, no changes to this patch v2: rebased series, no changes to this patch package/kodi/Config.in | 6 ++++++ package/kodi/kodi.mk | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index a000e79..5e7aa67 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -174,6 +174,12 @@ config BR2_PACKAGE_KODI_LIBNFS comment "nfs support needs a toolchain w/ threads support" depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) +config BR2_PACKAGE_KODI_NONFREE + bool "nonfree" + help + Enable components with non-compliant licenses. + This option currently only controls support for RAR archives. + config BR2_PACKAGE_KODI_RTMPDUMP bool "rtmp" select BR2_PACKAGE_RTMPDUMP diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index 52593aa..da5d1fa 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -86,6 +86,14 @@ else KODI_CONF_OPTS += --disable-mysql endif +ifeq ($(BR2_PACKAGE_KODI_NONFREE),y) +KODI_CONF_OPTS += --enable-non-free +KODI_LICENSE := $(KODI_LICENSE), unrar +KODI_LICENSE_FILES += lib/UnrarXLib/license.txt +else +KODI_CONF_OPTS += --disable-non-free +endif + ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) KODI_DEPENDENCIES += rpi-userland KODI_CONF_OPTS += --with-platform=raspberry-pi --enable-player=omxplayer