>From 5a44968a262a6770dc2e94644aacddaee0b14bec Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 6 Jan 2021 04:58:53 -0500 Subject: [PATCH 15/20] gnu: libtgvoip: Remove obsolete phase. * gnu/packages/telephony.scm (libtgvoip) [arguments]<#:phases> ['patch-dlopen]: Remove phase. --- gnu/packages/telephony.scm | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 86a24f8fd8..80e7c141f6 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -887,23 +887,6 @@ Initiation Protocol (SIP) and a multimedia framework.") ("libopusenc" ,libopusenc) ("openssl" ,openssl) ("pulseaudio" ,pulseaudio))) - (arguments - `(#:phases - (modify-phases %standard-phases - ;; libtgvoip wants to dlopen libpulse and libasound, so tell it where - ;; they are. - (add-after 'unpack 'patch-dlopen - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "os/linux/AudioPulse.cpp" - (("libpulse\\.so") - (string-append (assoc-ref inputs "pulseaudio") - "/lib/libpulse.so"))) - (substitute* '("os/linux/AudioInputALSA.cpp" - "os/linux/AudioOutputALSA.cpp") - (("libasound\\.so") - (string-append (assoc-ref inputs "alsa-lib") - "/lib/libasound.so"))) - #t))))) (synopsis "VoIP library for Telegram clients") (description "A collection of libraries and header files for implementing telephony functionality into custom Telegram clients.") -- 2.29.2