From patchwork Thu Mar 23 17:28:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 742798 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 3vptp60kqDz9s7K for ; Fri, 24 Mar 2017 04:29:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6F2B488CA2; Thu, 23 Mar 2017 17:29:13 +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 w5wXDNNZZrgN; Thu, 23 Mar 2017 17:29:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 04EB488D21; Thu, 23 Mar 2017 17:29:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id BBA1C1C1F5A for ; Thu, 23 Mar 2017 17:29:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B8A4522DA4 for ; Thu, 23 Mar 2017 17:29:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hL9Asubk-npA for ; Thu, 23 Mar 2017 17:29:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by silver.osuosl.org (Postfix) with ESMTPS id E732C22D32 for ; Thu, 23 Mar 2017 17:29:08 +0000 (UTC) Received: from fwd27.aul.t-online.de (fwd27.aul.t-online.de [172.20.26.132]) by mailout06.t-online.de (Postfix) with SMTP id 09DEE41C5240 for ; Thu, 23 Mar 2017 18:29:06 +0100 (CET) Received: from fli4l.lan.fli4l (Equ5uTZbwhk6A+vAW+XhFB-y1ntIHuq6OUFAINQCc59N5nmG5FNMYMf0toklWbfZS4@[79.228.2.40]) by fwd27.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cr6Xp-2HXVmS0; Thu, 23 Mar 2017 18:29:05 +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 1cr6Xo-00059o-SE for buildroot@buildroot.org; Thu, 23 Mar 2017 18:29:05 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Thu, 23 Mar 2017 18:28:30 +0100 Message-Id: <20170323172900.25458-10-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: Equ5uTZbwhk6A+vAW+XhFB-y1ntIHuq6OUFAINQCc59N5nmG5FNMYMf0toklWbfZS4 X-TOI-MSGID: 1355c69b-179a-4a3e-bd5e-7215a26c3d0a Subject: [Buildroot] [PATCH v4 09/39] package/kodi-texturepacker: new host 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" Needed for upcoming kodi version bump to 17.1-Krypton which will also switch the kodi build system to CMake. Signed-off-by: Bernd Kuhls --- package/kodi-texturepacker/kodi-texturepacker.hash | 1 + package/kodi-texturepacker/kodi-texturepacker.mk | 34 ++++++++++++++++++++++ package/kodi/kodi.hash | 1 + 3 files changed, 36 insertions(+) create mode 120000 package/kodi-texturepacker/kodi-texturepacker.hash create mode 100644 package/kodi-texturepacker/kodi-texturepacker.mk diff --git a/package/kodi-texturepacker/kodi-texturepacker.hash b/package/kodi-texturepacker/kodi-texturepacker.hash new file mode 120000 index 000000000..92a75949b --- /dev/null +++ b/package/kodi-texturepacker/kodi-texturepacker.hash @@ -0,0 +1 @@ +/home/bernd/buildroot/br8_ffmpeg3_kodi17_github/package/kodi/kodi.hash \ No newline at end of file diff --git a/package/kodi-texturepacker/kodi-texturepacker.mk b/package/kodi-texturepacker/kodi-texturepacker.mk new file mode 100644 index 000000000..bce73f7f0 --- /dev/null +++ b/package/kodi-texturepacker/kodi-texturepacker.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# kodi-texturepacker +# +################################################################################ + +# Not possible to directly refer to kodi variables, because of +# first/second expansion trickery... +HOST_KODI_TEXTUREPACKER_VERSION = 17.1-Krypton +HOST_KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(HOST_KODI_TEXTUREPACKER_VERSION)) +HOST_KODI_TEXTUREPACKER_LICENSE = GPLv2 +HOST_KODI_TEXTUREPACKER_LICENSE_FILES = LICENSE.GPL +HOST_KODI_TEXTUREPACKER_SUBDIR = tools/depends/native/TexturePacker +HOST_KODI_TEXTUREPACKER_DEPENDENCIES += \ + host-giflib \ + host-libjpeg \ + host-libpng \ + host-lzo + +HOST_KODI_TEXTUREPACKER_HOST_CXXFLAGS = "$(HOST_CXXFLAGS) -std=c++0x \ + -DTARGET_POSIX -DTARGET_LINUX -D_LINUX -I$(@D)/xbmc/linux" + +HOST_KODI_TEXTUREPACKER_CONF_OPTS += \ + -DCMAKE_CXX_FLAGS=$(HOST_KODI_TEXTUREPACKER_HOST_CXXFLAGS) \ + -DCMAKE_MODULE_PATH=$(@D)/project/cmake/modules \ + -DCORE_SOURCE_DIR=$(@D) \ + -Wno-dev + +HOST_KODI_TEXTUREPACKER_INSTALL_CMDS = \ + $(INSTALL) -m 755 -D \ + $(@D)/tools/depends/native/TexturePacker/TexturePacker \ + $(HOST_DIR)/usr/bin/TexturePacker + +$(eval $(host-cmake-package)) diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash index b910af2d8..ae47c70c9 100644 --- a/package/kodi/kodi.hash +++ b/package/kodi/kodi.hash @@ -1,3 +1,4 @@ # Locally computed sha256 7d82c8aff2715c83deecdf10c566e26105bec0473af530a1356d4c747ebdfd10 kodi-16.1-Jarvis.tar.gz sha256 303f3903cbb57ccc2961f09cf3746505542bcb129a464f0687d7ca8601cebbee kodi-jsonschemabuilder-17.1-Krypton.tar.gz +sha256 303f3903cbb57ccc2961f09cf3746505542bcb129a464f0687d7ca8601cebbee kodi-texturepacker-17.1-Krypton.tar.gz