From patchwork Fri Jun 12 08:52:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pieter De Gendt X-Patchwork-Id: 483422 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]) by ozlabs.org (Postfix) with ESMTP id A60F2140348 for ; Fri, 12 Jun 2015 18:53:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=rT5QYS7u; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 796AB94EC3; Fri, 12 Jun 2015 08:53:09 +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 RCsvIovWDoNo; Fri, 12 Jun 2015 08:53:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id D423394ED1; Fri, 12 Jun 2015 08:53:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B82B31C0E29 for ; Fri, 12 Jun 2015 08:53:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B3C9494EE1 for ; Fri, 12 Jun 2015 08:53:07 +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 sXaqgsFlbwCU for ; Fri, 12 Jun 2015 08:53:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9859794EC3 for ; Fri, 12 Jun 2015 08:53:06 +0000 (UTC) Received: by wibut5 with SMTP id ut5so11759788wib.1 for ; Fri, 12 Jun 2015 01:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=fxUq8i7CtH3bOlk1aW5NhzNv0xRrQhRVv5S6fEUK6RY=; b=rT5QYS7u4hZvREuxArwLurRC+Fzguron+4QVe5Mb/tWZhi3o9N6+d+bsY1RylOj4Yj jzm8OBaDcWPULdG7Xk5XLzPQcnMlDozP7Zj8NelqqmAOrePAJeT/HdZtpluJcB1A47De 6Kcs2PUucPZazGNANiZUu3uIm9bLnIXLxBHBJaeaVTiu1LCRWEBavTz9ftrGHaMsNouB M58gPPja7X4iTdFRF8U+usAyFuK0ernfJ31RnSCcquV/oKKCxWkGF/afglyz+rSOTL/2 DXIPpfOXRnlHGGv6+LrLi0u6xB0i8slZwqZINgj+BgskQcq+XOu5StTj4NR7eFydlwRF H6pQ== X-Received: by 10.180.109.226 with SMTP id hv2mr4735526wib.64.1434099185170; Fri, 12 Jun 2015 01:53:05 -0700 (PDT) Received: from localhost.localdomain (dD577603A.access.telenet.be. [213.119.96.58]) by mx.google.com with ESMTPSA id b20sm4805044wjb.46.2015.06.12.01.53.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jun 2015 01:53:04 -0700 (PDT) From: Pieter De Gendt To: buildroot@buildroot.org Date: Fri, 12 Jun 2015 10:52:50 +0200 Message-Id: <1434099170-19778-1-git-send-email-pieter.degendt@gmail.com> X-Mailer: git-send-email 2.4.3 Cc: Pieter De Gendt Subject: [Buildroot] [PATCH 1/1] libmusicbrainz: 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Pieter De Gendt --- package/Config.in | 1 + package/libmusicbrainz/Config.in | 18 ++++++++++++++++++ package/libmusicbrainz/libmusicbrainz.mk | 16 ++++++++++++++++ package/neon/neon.mk | 1 + 4 files changed, 36 insertions(+) create mode 100644 package/libmusicbrainz/Config.in create mode 100644 package/libmusicbrainz/libmusicbrainz.mk diff --git a/package/Config.in b/package/Config.in index a17901f..3339669 100644 --- a/package/Config.in +++ b/package/Config.in @@ -681,6 +681,7 @@ menu "Audio/Sound" source "package/libmodplug/Config.in" source "package/libmpd/Config.in" source "package/libmpdclient/Config.in" + source "package/libmusicbrainz/Config.in" source "package/libreplaygain/Config.in" source "package/libsamplerate/Config.in" source "package/libsidplay2/Config.in" diff --git a/package/libmusicbrainz/Config.in b/package/libmusicbrainz/Config.in new file mode 100644 index 0000000..51417fe --- /dev/null +++ b/package/libmusicbrainz/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_LIBMUSICBRAINZ + bool "libmusicbrainz" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_NEON + select BR2_PACKAGE_NEON_LIBXML2 + help + The MusicBrainz Client Library (libmusicbrainz), + also known as mb_client, is a development library + geared towards developers who wish to add MusicBrainz + lookup capabilities to their applications. The library + supports Windows, Linux and Mac OS X, with packages + released for the RedHat and Debian distributions. + + http://musicbrainz.org/doc/libmusicbrainz + +comment "libmusicbrainz needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/libmusicbrainz/libmusicbrainz.mk b/package/libmusicbrainz/libmusicbrainz.mk new file mode 100644 index 0000000..a199f34 --- /dev/null +++ b/package/libmusicbrainz/libmusicbrainz.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libmusicbrainz +# +################################################################################ + +LIBMUSICBRAINZ_VERSION = release-5.1.0 +LIBMUSICBRAINZ_SITE = $(call github,metabrainz,libmusicbrainz,$(LIBMUSICBRAINZ_VERSION)) +LIBMUSICBRAINZ_INSTALL_STAGING = YES + +LIBMUSICBRAINZ_DEPENDENCIES = libxml2 neon host-pkgconf host-libmusicbrainz + +LIBMUSICBRAINZ_CONF_OPTS = -DIMPORT_EXECUTABLES=$(HOST_LIBMUSICBRAINZ_DIR)/ImportExecutables.cmake + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/package/neon/neon.mk b/package/neon/neon.mk index 0cff1a2..284a98c 100644 --- a/package/neon/neon.mk +++ b/package/neon/neon.mk @@ -48,3 +48,4 @@ NEON_CONF_OPTS += --disable-webdav endif $(eval $(autotools-package)) +$(eval $(host-autotools-package))