Commit Graph

10 Commits

Author SHA1 Message Date
Jan Wielkiewicz da358e8c88
gnu: Add ffmpeg-jami.
This package is needed because Jami uses a modified version
of ffmpeg, which provides GPU hardware acceleration, automatical
adapting of bitrate and extra codecs. Because of the configure flags
list being long, it is better to keep them separated in variables,
instead of littering the package definition.

* gnu/packages/jami.scm (ffmpeg-jami, %ffmpeg-default-configure-flags,
%ffmpeg-linux-configure-flags, %ffmpeg-linux-x86-configure-flags):
New variables.
(ffmpeg-compose-configure-flags): New procedure.
(libring)[inputs]: Use ffmpeg-jami instead of ffmpeg.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-05-15 09:08:46 +02:00
Marius Bakke 12bcfcedb0
gnu: jami: Remove obsolete wrapper.
* gnu/packages/jami.scm (jami)[inputs]: Change from
SQLITE-WITH-COLUMN-METADATA to SQLITE.
[arguments]: Remove 'wrap' phase.
2020-05-13 00:57:15 +02:00
Jan Wielkiewicz 8c98eb2808
gnu: jami: Add epoll support.
* gnu/packages/jami.scm (jami)[arguments]: Add epoll support on Linux systems.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz f06eefa31d
gnu: jami: Use gettext-minimal.
* gnu/packages/jami.scm (jami)[native-inputs]: Use "gettext-minimal" instead
of "gnu-gettext".

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz 2ff4e549bb
gnu: pjproject-jami: Update to 2.10.
* gnu/packages/telephony.scm (pjproject): Update to 2.10,
[source]: reorder "file-name" and "sha256" fields.
* gnu/packages/jami.scm (%jami-version): Update to 20200401.1.6f090d,
(pjproject-jami)[arguments]: apply patches related to 2.10.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz 7f8f39d344
gnu: jami: Make gettext a native input.
* gnu/packages/jami.scm (jami)[inputs]: Move "gettext" to ...
[native-inputs]: ... here.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz 63e6f1cdee
gnu: libring: Add libnatpmp dependency.
This library isn't mandatory, but it works better with new
routers than libupnp.

* gnu/packages/jami.scm (libring)[inputs]: Add libnatpmp.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00
Jan Wielkiewicz f60699af61
gnu: jami: Create a jami-apply-dependency-patches procedure.
* gnu/packages/jami.scm (pjproject-jami)
[native-inputs]: Rename "savoir-faire-linux-patches" to "sfl-patches".
[arguments]: Move Jami patching procedure to ...
(jami-apply-dependency-patches): ... this new procedure.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00
Jan Wielkiewicz aaa199ca52
gnu: jami: Fix download.
The package name changed from Ring to Jami.  Package tarballs start now with
"jami_" prefix.  The "ring-release" folder is also deprecated, let's use the
"release" folder instead.

* gnu/packages/jami.scm (jami-source)[origin]:
Change the uri from "https://dl.jami.net/ring-release/tarballs/ring_"
to "https://dl.jami.net/release/tarballs/jami_".

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00
Jan Wielkiewicz 15c6e4260b
gnu: telephony: Move Jami and its dependencies to jami.scm.
Jami is a massive package and its developers modify many libraries. Keeping
them in a single file makes maintenance easier.

* gnu/packages/telephony.scm (%jami-version, jami-source,
pjproject-jami, libring, libringclient,
jami, jami-client-gnome): Move to ...
* gnu/packages/jami.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00