guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add libsbsms.


From: Taylan Ulrich Bayırlı/Kammer
Subject: Re: [PATCH] gnu: Add libsbsms.
Date: Tue, 24 Feb 2015 18:32:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

address@hidden (Taylan Ulrich "Bayırlı/Kammer") writes:

>> From 7aed4cd0b6bd365e31fe5fb6de1c7249ca300e15 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
>  <address@hidden>
> Date: Fri, 20 Feb 2015 21:42:48 +0100
> Subject: [PATCH 4/9] gnu: Add libsbsms.
>
> * gnu/packages/audio.scm (libsbsms): New variable.
> ---
>  gnu/packages/audio.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
> index e1ad44a..51157d0 100644
> --- a/gnu/packages/audio.scm
> +++ b/gnu/packages/audio.scm
> @@ -1,5 +1,6 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
> +;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <address@hidden>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -42,6 +43,7 @@
>    #:use-module (gnu packages readline)
>    #:use-module (gnu packages xiph)
>    #:use-module (gnu packages xml)
> +  #:use-module (gnu packages autotools)
>    #:use-module (srfi srfi-1))
>  
>  (define-public aubio
> @@ -645,3 +647,37 @@ analysis plugins or audio feature extraction plugins.")
>      (license
>       (license:x11-style
>        
> "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING";))))
> +
> +(define-public libsbsms
> +  (package
> +    (name "libsbsms")
> +    (version "2.0.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
> +                           "/libsbsms-" version ".tar.gz"))
> +       (sha256
> +        (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
> +    (build-system gnu-build-system)
> +    (native-inputs `(("automake" ,automake)))
> +    (arguments
> +     `(#:phases
> +       (alist-cons-after
> +        'unpack 'fix-ar-lib-path
> +        (lambda* (#:key inputs #:allow-other-keys)
> +          ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
> +          (delete-file "ar-lib")
> +          (symlink
> +           (string-append (assoc-ref inputs "automake") "/share/automake-"
> +                          ,(package-version automake) "/ar-lib")
> +           "ar-lib"))
> +        %standard-phases)))
> +    (home-page "http://sbsms.sourceforge.net/";)
> +    (synopsis "Library for time stretching and pitch scaling of audio")
> +    (description
> +     "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
> +stretching and pitch scaling of audio.  This package contains the library.")
> +    ;; There is no explicit declaration of a license, but a COPYING file
> +    ;; containing gpl2.
> +    (license license:gpl2)))

Ping.  Does anyone know a better solution to the ar-lib hack?  Will push
otherwise.

Taylan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]