From patchwork Thu Dec 17 22:18:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 558655 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 91E321401CA for ; Fri, 18 Dec 2015 09:18:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 22C0433EA1; Thu, 17 Dec 2015 22:18:33 +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 u5+aHCa0cQ5G; Thu, 17 Dec 2015 22:18:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7B5E033E93; Thu, 17 Dec 2015 22:18:29 +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 1D0171C1083 for ; Thu, 17 Dec 2015 22:18:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 19CBF92D77 for ; Thu, 17 Dec 2015 22:18:26 +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 LHvQdb3O3lQU for ; Thu, 17 Dec 2015 22:18:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0FAD692D63 for ; Thu, 17 Dec 2015 22:18:23 +0000 (UTC) Received: from linux.local ([94.216.55.204]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MWCKz-1ZgqPt3FcX-00XLXy for ; Thu, 17 Dec 2015 23:18:20 +0100 From: Peter Seiderer To: buildroot@busybox.net Date: Thu, 17 Dec 2015 23:18:18 +0100 Message-Id: <1450390699-10377-1-git-send-email-ps.report@gmx.net> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 X-Provags-ID: V03:K0:AE+yh3W8aFoYx5e2/V5TvcSi5M7PQDqvI602qXJbQ3zji4mxbew dtc3qIUmy99lBzxzvJHdyx321VENSKYLJEuRPNJu0lOD87V8O7dWKw7OoZnu/9wr0JFJIn9 FB17wJxDE4nNMTALSj7WLAESp9ghzblsgduALCz93eyG2JdntjHwBqMM6aqoEp2vE1g27Y3 hMW3+diDl5ENVYCOQWeCA== X-UI-Out-Filterresults: notjunk:1; V01:K0:3rFPWLdz+TU=:mFNdGToZs8EjG8b+mTS5mi Rf8NUnVNocGNpDKbMU9bebe/W9yJ4SVNa9yVKPmM3V+JqYqPcwjYXyy/K1kMpn1RxUV+O3ry6 nyX/dnHCl1RuhwQXqLCQrH8jULAwJxCE8GzwkNgZWwkfotzVyGVq1emKwiDnsm9szB4GpciH/ GU1AQgdby+GwoaKGau7yHmPJXyd3lyp0g6NlPocUey+aSxqacXNbArnGKPkLvDb4jaRruC3Na U/BVZgv/+irOBj3UBtf/fyQD+qfmGjO7zcoP9WOY3VVtpfxFeCZphPlqRRfjQqWXpey54ZFCG plsmjhCdKZg/UVkk/MIjM3Lcvx7TlIcmKTK/tjeID50nwhuhcslvMKElo3LaQ6mBFC+OtDLzW Ra0VRWQbLijY6uvxqA0yKUsCktzUES4Wtke1Aw8yykASD3fi0sryAKESW8Mai0SOMeCWuZt9q gRb4ff800aSlHasrJDRq2h3tEYv6aX1Bf2bMk41MrHOVG71m09g434eINz1gcqe47yM2AeQfc E/qYbg/LWD8aLdJ27AbDFkCuAQYpdQedkuqwVc+0DpMNwsilXNr2XX8Rnf6es4ir500VZYXPK rYSHKnhwsaLGOF91jNJozMtfG+SgFcXoC826qAw4jcNRcD8WQQU5At79Ct6wVh0Yc8B36DAPw GhX/MIdz6mA0wSjejsecF+hoqlQqFbcgcIJP3FUzt4MEpdaiXuwGlaB8LLUayndorUfkCVfAQ 4QzRT+9vRkcvDgSh0QiUcfDqqMcTNCKR8wfFc3TNeKUPdblJSzS7aoQGXiwVdJutGD9W/4W6i y6mQeVR Subject: [Buildroot] [PATCH v3 1/2] assimp: new 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Peter Seiderer ---- Changes v1 -> v2: - use github helper (thanks to Jörg Krause) Changes v2 -> v3: - add c++ dependency (suggested by Thomas Petazzoni) - fix linking problem with builtin zlib (linking code with/without '-fpic' compiled, see e.g. [2]), workaround by selecting buildroot zlib package (failure detected by Thomas Petazzoni [2]) [1] https://cmake.org/pipermail/cmake/2006-March/008482.html [2] http://lists.busybox.net/pipermail/buildroot/2015-December/146859.html --- package/Config.in | 1 + package/assimp/Config.in | 14 ++++++++++++++ package/assimp/assimp.mk | 16 ++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 package/assimp/Config.in create mode 100644 package/assimp/assimp.mk diff --git a/package/Config.in b/package/Config.in index bdc3063..b8e13e0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -796,6 +796,7 @@ menu "Filesystem" endmenu menu "Graphics" + source "package/assimp/Config.in" source "package/atk/Config.in" source "package/bullet/Config.in" source "package/cairo/Config.in" diff --git a/package/assimp/Config.in b/package/assimp/Config.in new file mode 100644 index 0000000..35e2f23 --- /dev/null +++ b/package/assimp/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_ASSIMP + bool "assimp" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_ZLIB + help + Open Asset Import Library (assimp) is a portable Open Source + library to import various well-known 3D model formats in a uniform + manner. The most recent version also knows how to export 3d files + and is therefore suitable as a general-purpose 3D model converter. + + http://www.assimp.org + +comment "assimp needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/assimp/assimp.mk b/package/assimp/assimp.mk new file mode 100644 index 0000000..fd556e5 --- /dev/null +++ b/package/assimp/assimp.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# assimp +# +################################################################################ + +ASSIMP_VERSION = v3.2 +ASSIMP_SITE = $(call github,assimp,assimp,$(ASSIMP_VERSION)) +ASSIMP_LICENSE = BSD-3c +ASSIMP_LICENSE_FILES = LICENSE +ASSIMP_DEPENDENCIES = zlib +ASSIMP_INSTALL_STAGING = YES + +ASSIMP_CONF_OPTS += -DASSIMP_BUILD_TESTS=OFF + +$(eval $(cmake-package))