57 lines
2.0 KiB
YAML
57 lines
2.0 KiB
YAML
name : linphone-desktop
|
|
version : 5.2.6
|
|
release : 2
|
|
source :
|
|
- https://ftp.zhirov.kz/repositories/other/linphone-desktop_5.2.6.tar.gz : 8e4805a96c0dccd1be02825e975b5ce19e8ed5778a2ee71a825e07aa09410bd7
|
|
homepage : https://linphone.org/
|
|
license : GPL-3.0-or-later
|
|
component : network.im
|
|
summary : A free VoIP and video softphone based on the SIP protocol
|
|
description: |
|
|
A free VoIP and video softphone based on the SIP protocol
|
|
builddeps :
|
|
- pkgconfig(Qt5UiTools)
|
|
- pkgconfig(Qt5Multimedia)
|
|
- pkgconfig(Qt5Svg)
|
|
- pkgconfig(Qt5QuickControls2)
|
|
- pkgconfig(Qt5TextToSpeech)
|
|
- pkgconfig(libpulse)
|
|
- pkgconfig(glew)
|
|
- pkgconfig(libv4l2)
|
|
- pkgconfig(x11)
|
|
- coreutils
|
|
- doxygen
|
|
- git
|
|
- libxcrypt-compat
|
|
- nasm
|
|
- qt5-base
|
|
- qt5-graphicaleffects
|
|
- qt5-quickcontrols2
|
|
- yasm
|
|
rundeps :
|
|
- qt5-quickcontrols2
|
|
- qt5-graphicaleffects
|
|
- qt5-speech
|
|
- qt5-multimedia
|
|
- glew
|
|
networking : yes
|
|
setup : |
|
|
pip3 install --user pystache six
|
|
mkdir -p build build/OUTPUT && cd build
|
|
%cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=$(nproc) -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
build : |
|
|
cd build && cmake --build . --target install --parallel $(nproc) --config RelWithDebInfo
|
|
install : |
|
|
mkdir -p "$installdir/opt/linphone/"
|
|
cp -r "$workdir/build/OUTPUT/." "$installdir/opt/linphone/"
|
|
|
|
echo '#!/bin/bash' > "$installdir/opt/linphone/linphone-launcher"
|
|
echo 'LD_LIBRARY_PATH="/opt/linphone/lib64:$LD_LIBRARY_PATH" /opt/linphone/bin/linphone "$@"' >> "$installdir/opt/linphone/linphone-launcher"
|
|
chmod +x "$installdir/opt/linphone/linphone-launcher"
|
|
|
|
mkdir -p "$installdir/usr/bin/"
|
|
ln -sf /opt/linphone/linphone-launcher "$installdir/usr/bin/linphone"
|
|
|
|
install -Dm644 $pkgfiles/linphone-desktop.desktop "$installdir/usr/share/applications/linphone-desktop.desktop"
|
|
install -Dm644 $pkgfiles/linphone.png "$installdir/usr/share/pixmaps/linphone.png"
|