From patchwork Wed Apr 11 10:01:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 897127 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="l3MKrgdm"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40LfjL4f1Pz9s27 for ; Wed, 11 Apr 2018 20:02:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0977587832; Wed, 11 Apr 2018 10:02:24 +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 t5tES5s+qIHY; Wed, 11 Apr 2018 10:02:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9251D87517; Wed, 11 Apr 2018 10:02:09 +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 F16BD1C0057 for ; Wed, 11 Apr 2018 10:02:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B5AEE87768 for ; Wed, 11 Apr 2018 10:02:08 +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 GDOfQ94Wze49 for ; Wed, 11 Apr 2018 10:02:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by whitealder.osuosl.org (Postfix) with ESMTPS id DE5C7873B6 for ; Wed, 11 Apr 2018 10:01:56 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id o3so1164961wri.2 for ; Wed, 11 Apr 2018 03:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=WyHzLQgDSmm1mhRGK167BJTh4wcjopMO9WEEuYbTmHo=; b=l3MKrgdmx/SpsKhobD7X+2i6rYQE0tx4YKXIFkcO3Uh2yoJPGMaA0MIJ+G6qi5qb7L k57nKwp6EqP79fWQz37lCBQChNlaNVGrXO+IVYCBqZ0jUKoUEEZH2uMwpsb+yq00573d mhoWU9/52QBpl9EYTI5wDs3uN8hkkc+CS3oRHtMZGy1DLk2sWA77jg84ri31/Eda3Msu r6b71f67p19R7T7YOoPpHr0eo6o9DyW6t4mYKZUmN7hcxgIFAyjpcUMEAoXXedt3OSqS MTvlG/OL7WydrC2VHYTSFNOLQbJDe26mT+PoeF4m3G0Lmvuo0lNxsrWQ+47egVr4jNb5 P11A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WyHzLQgDSmm1mhRGK167BJTh4wcjopMO9WEEuYbTmHo=; b=RCw7onsfpZA4GMvYlTGzqvjxxKyRIFEX1WGbNG60iMGY2T+MVUyDo0rorenGPvCxDy gFaYbGlroEkeBnzVeJm9kWXZ5CLR2gmEF6aD1WM0YJxAjIiRB0VK1J2gKrhiM+noCR6b 03KePoisD3ZypapKvu7JRTW/5ksKCh7icxCn33vx9J2/a2N6aRGXnLUnX8NoF47tTUID df4nq14hh1sEZqa2lrAnTqBuAR5OO1/8KSA0IUbcw0AvIkt7f9HpAQhU2Z3emjwIm90k XiAk2OKjbR6OflImJ5krMpC456/Un7lXS+sZdG14AUVMomnGBeTq51TFPTeW0IemTqj+ V9QA== X-Gm-Message-State: ALQs6tC9bUMyUg+KwySpSerVfkg4h1je3f2U1FWSbv3m8+ASY+Zf3XMr DSWu4afwAG5GllE9nLkRLerY/Q== X-Google-Smtp-Source: AIpwx49RnhhMedAEEKm9c25MkrNPnkw1VQo2Dcqjamq203QNYZtgNzds1jVRJGaKUT2bG+6jAXUXGw== X-Received: by 10.223.142.214 with SMTP id q80mr2767730wrb.81.1523440915058; Wed, 11 Apr 2018 03:01:55 -0700 (PDT) Received: from localhost.localdomain (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id b34sm1134654wra.21.2018.04.11.03.01.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 03:01:54 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 11 Apr 2018 12:01:46 +0200 Message-Id: <20180411100146.19494-1-francois.perrad@gadz.org> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [V2] chipmunk: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 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: Francois Perrad --- DEVELOPERS | 1 + package/Config.in | 1 + package/chipmunk/Config.in | 12 ++++++++++++ package/chipmunk/chipmunk.hash | 5 +++++ package/chipmunk/chipmunk.mk | 16 ++++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/chipmunk/Config.in create mode 100644 package/chipmunk/chipmunk.hash create mode 100644 package/chipmunk/chipmunk.mk diff --git a/DEVELOPERS b/DEVELOPERS index 41e1b54d9..c978a5601 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -657,6 +657,7 @@ F: board/olimex/a20_olinuxino F: configs/olimex_a20_olinuxino_* F: package/4th/ F: package/botan/ +F: pacakge/chipmunk/ F: package/dado/ F: package/ficl/ F: package/gdbm/ diff --git a/package/Config.in b/package/Config.in index 9cd5d9c08..94347edbb 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1097,6 +1097,7 @@ menu "Graphics" source "package/bullet/Config.in" source "package/cairo/Config.in" source "package/cairomm/Config.in" + source "package/chipmunk/Config.in" source "package/exiv2/Config.in" source "package/fltk/Config.in" source "package/fontconfig/Config.in" diff --git a/package/chipmunk/Config.in b/package/chipmunk/Config.in new file mode 100644 index 000000000..7275d684a --- /dev/null +++ b/package/chipmunk/Config.in @@ -0,0 +1,12 @@ + +comment "chipmunk needs an OpenGL backend" + depends on !BR2_PACKAGE_HAS_LIBGL + +config BR2_PACKAGE_CHIPMUNK + bool "chipmunk" + depends on BR2_PACKAGE_HAS_LIBGL + help + Chipmunk2D is a simple, lightweight, fast and portable 2D + rigid body physics library written in C. + + http://chipmunk-physics.net/ diff --git a/package/chipmunk/chipmunk.hash b/package/chipmunk/chipmunk.hash new file mode 100644 index 000000000..7bd9b1569 --- /dev/null +++ b/package/chipmunk/chipmunk.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 6b6d8d5d910c4442fb9c8c4c46a178126d8c21d075cdb3ce439a7f8d8757b0ca Chipmunk-7.0.2.tar.gz + +# Hash for license file: +sha256 109cedb0301cba4e05fa99241f162bdad015c9541ae84b420b0148ac1ea588e2 LICENSE.txt diff --git a/package/chipmunk/chipmunk.mk b/package/chipmunk/chipmunk.mk new file mode 100644 index 000000000..61b7a2e7b --- /dev/null +++ b/package/chipmunk/chipmunk.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# chipmunk +# +################################################################################ + +CHIPMUNK_VERSION = 7.0.2 +CHIPMUNK_SITE = https://github.com/slembcke/Chipmunk2D/archive +CHIPMUNK_SOURCE = Chipmunk-$(CHIPMUNK_VERSION).tar.gz +CHIPMUNK_INSTALL_STAGING = YES +CHIPMUNK_LICENSE = MIT +CHIPMUNK_LICENSE_FILES = LICENSE.txt +CHIPMUNK_DEPENDENCIES = libgl +CHIPMUNK_CONF_OPTS = -DBUILD_DEMOS=OFF + +$(eval $(cmake-package))