From 0b412b2704b97faba0ca2f9bef0303be1e93670b Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 6 Jan 2021 05:04:26 -0500 Subject: [PATCH 16/21] gnu: libtgvoip: Bootstrap the source. * gnu/packages/telephony.scm (libtgvoip) [arguments]<#:phases> ['trigger-bootstrap]: New phase. [native-inputs]: Add autoconf, automake and libtool. [inputs]: Change libopusenc to opus. --- gnu/packages/telephony.scm | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 80e7c141f6..a17c5188f6 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -881,12 +881,25 @@ Initiation Protocol (SIP) and a multimedia framework.") "122kn3jx6v0kkldlzlpzvlwqxgp6pmzxsjhrhcxw12bx9c08sar5")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) (inputs `(("alsa-lib" ,alsa-lib) - ("libopusenc" ,libopusenc) ("openssl" ,openssl) + ("opus" ,opus) ("pulseaudio" ,pulseaudio))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'trigger-bootstrap + (lambda _ + (for-each delete-file + (list + "configure" + "Makefile.in")) + #t))))) (synopsis "VoIP library for Telegram clients") (description "A collection of libraries and header files for implementing telephony functionality into custom Telegram clients.") -- 2.30.0