From patchwork Sat Jan 30 16:17:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 576027 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id E95DE140B98 for ; Sun, 31 Jan 2016 03:17:40 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id DDDC5A5C52; Sat, 30 Jan 2016 16:17:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NMld_-lQ1tRn; Sat, 30 Jan 2016 16:17:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 79AE0A5C19; Sat, 30 Jan 2016 16:17:34 +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 A9CBF1C1654 for ; Sat, 30 Jan 2016 16:17:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0433D92163 for ; Sat, 30 Jan 2016 16:17:27 +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 tkgZGZHopNaA for ; Sat, 30 Jan 2016 16:17:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1F33091EC6 for ; Sat, 30 Jan 2016 16:17:25 +0000 (UTC) Received: from fwd21.aul.t-online.de (fwd21.aul.t-online.de [172.20.27.66]) by mailout11.t-online.de (Postfix) with SMTP id 626161EE3E5 for ; Sat, 30 Jan 2016 17:17:25 +0100 (CET) Received: from fli4l.lan.fli4l (TvXbC4ZDrhSrF3gTlb-N2UPVvG5Ixr+ycPYe1E7acd3SR6bOhAdeLZ+i4PoVr-ggSi@[84.178.233.95]) by fwd21.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aPYD9-0icK0W0; Sat, 30 Jan 2016 17:17:19 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:37334 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.86) (envelope-from ) id 1aPYD8-0002wX-OG; Sat, 30 Jan 2016 17:17:19 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 30 Jan 2016 17:17:16 +0100 Message-Id: <1454170636-9427-5-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.7.0.rc3 In-Reply-To: <1454170636-9427-1-git-send-email-bernd.kuhls@t-online.de> References: <1454170636-9427-1-git-send-email-bernd.kuhls@t-online.de> X-ID: TvXbC4ZDrhSrF3gTlb-N2UPVvG5Ixr+ycPYe1E7acd3SR6bOhAdeLZ+i4PoVr-ggSi X-TOI-MSGID: 508e4543-9cb9-414e-a565-fb7bb6d82473 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 5/5] package/libraw: add optional support for lcms2 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 --- package/libraw/libraw.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk index 5ebc4a2..e261e2b 100644 --- a/package/libraw/libraw.mk +++ b/package/libraw/libraw.mk @@ -12,7 +12,6 @@ LIBRAW_INSTALL_STAGING = YES LIBRAW_AUTORECONF = YES LIBRAW_CONF_OPTS += \ --disable-examples \ - --disable-lcms \ --disable-openmp \ --disable-demosaic-pack-gpl2 \ --disable-demosaic-pack-gpl3 @@ -33,4 +32,11 @@ else LIBRAW_CONF_OPTS += --disable-jpeg endif +ifeq ($(BR2_PACKAGE_LCMS2),y) +LIBRAW_CONF_OPTS += --enable-lcms +LIBRAW_DEPENDENCIES += lcms2 +else +LIBRAW_CONF_OPTS += --disable-lcms +endif + $(eval $(autotools-package))