From patchwork Tue Jun 20 08:23:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 51101 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D209F27BBE2; Tue, 20 Jun 2023 09:25:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4110227BBE9 for ; Tue, 20 Jun 2023 09:25:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBWfl-0003Lj-3d; Tue, 20 Jun 2023 04:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBWfe-0003Hh-O2 for guix-patches@gnu.org; Tue, 20 Jun 2023 04:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBWfe-0005Xc-DP for guix-patches@gnu.org; Tue, 20 Jun 2023 04:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBWfd-0005xO-Sa for guix-patches@gnu.org; Tue, 20 Jun 2023 04:25:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63199] [PATCH v3] gnu: Add juce. References: <82Vq54ICY2wY3ste1ysyzh2OlgViC2d6cXej6r12bRJd1BcNtggmr6180ZNeCvNOoItWOTzDf-wx2KCQvHemXOy-NFD0Kq8XCfUCNfySEkc=@proton.me> In-Reply-To: <82Vq54ICY2wY3ste1ysyzh2OlgViC2d6cXej6r12bRJd1BcNtggmr6180ZNeCvNOoItWOTzDf-wx2KCQvHemXOy-NFD0Kq8XCfUCNfySEkc=@proton.me> Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Jun 2023 08:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63199 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "63199@debbugs.gnu.org" <63199@debbugs.gnu.org> Received: via spool by 63199-submit@debbugs.gnu.org id=B63199.168724945622833 (code B ref 63199); Tue, 20 Jun 2023 08:25:01 +0000 Received: (at 63199) by debbugs.gnu.org; 20 Jun 2023 08:24:16 +0000 Received: from localhost ([127.0.0.1]:58023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBWet-0005wD-WB for submit@debbugs.gnu.org; Tue, 20 Jun 2023 04:24:16 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:11395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBWep-0005vv-VW for 63199@debbugs.gnu.org; Tue, 20 Jun 2023 04:24:14 -0400 Date: Tue, 20 Jun 2023 08:23:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1687249445; x=1687508645; bh=tkMWi9TD9eKAgGQrsQnNuHHW4IluKrvrjxtNXYsk70k=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=k0xM57vWs+8r4sEam91OmHQMeecWNtgQ1Qc0QasFUY8ttrRePw7jd/oZXd821U+Dz Gzup7Kn0moJqM5hTBvQffHJ8kf4xCPGOhskyqG8cbUtERb4kUjgUrEjuSYV+thFkXn muO0rvlWf8Xp+Es4GlRyEaK9wxjtpfFPV/ad1pqrD9gtgS4Y/sQ8zKbfeREql0d/2S ejHvGC062gieCtK/Y/6gf6VWO4RlbBeVYAd9qXfsd3fbJQ8f7qWpbWTG18cSkm1qSk iInqsEmRzpuJ7+yzhrIqQyuFR/IXcRGSTeyvyzB3FgD8G9ysYCKybbB+3WzSmSI6aw UPG0SFooqGCKQ== Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From a438104658df4365958f7e4cb2620d4df378024e Mon Sep 17 00:00:00 2001 * gnu/packages/cpp.scm (juce): New variable. --- gnu/packages/cpp.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) -- libgit2 1.5.1 diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 365b15a..37b81b7 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -68,6 +68,7 @@ (define-module (gnu packages cpp) #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages assembly) + #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages benchmark) @@ -86,6 +87,7 @@ (define-module (gnu packages cpp) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages libevent) #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) @@ -102,6 +104,7 @@ (define-module (gnu packages cpp) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages tls) #:use-module (gnu packages web) + #:use-module (gnu packages webkit) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) ;; Using autoload to avoid a cycle. @@ -2513,6 +2516,60 @@ (define-public wdl @end itemize") (license license:zlib)))) +(define-public juce + (package + (name "juce") + (version "7.0.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/juce-framework/JUCE") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zfkyf9gwwvv0mrslvvjlh6gxv1zd50bkcal54x1kqil46hps49m")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;no test suite + #:configure-flags #~(list "-DJUCE_TOOL_INSTALL_DIR=bin") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* + (find-files "." "jucer_ProjectExport_CodeBlocks.h$") + (("/usr/include/freetype2") + (search-input-directory inputs "/include/freetype2"))) + (substitute* + (find-files "." "juce_linux_Fonts.cpp$") + (("fonts\\.conf\" };") + (string-append + "fonts.conf\"\n\"" + (search-input-file inputs "/etc/fonts/fonts.conf") + "\"\n};")))))))) + (native-inputs + (list alsa-lib + curl + jack-1 + libx11 + pkg-config + webkitgtk-with-libsoup2)) + (inputs (list fontconfig freetype libjpeg-turbo libpng)) + (home-page "https://juce.com") + (synopsis "C++ application framework for audio plugins and plugin hosts") + (description + "JUCE is a C++ application framework for creating applications including +VST, VST3, AU, AUv3, AAX and LV2 audio plug-ins and plug-in hosts.") + (license + (list license:asl2.0 ;for Oboe and AudioUnitSDK + license:bsd-3 ;for FLAC, Ogg Vorbis and OpenGL Extension Wrangler + license:expat ;for Mesa 3-D graphics and jucer icons + license:gpl3 ;for JUCE and VST3 SDK + license:ijg ;for jpeglib + license:isc ;for LV2 SDK + license:zlib)))) ;for pngLib, zlib and Box2D + (define-public ftxui (package (name "ftxui")