init 5.2.4
This commit is contained in:
commit
31193cf70c
|
@ -0,0 +1,6 @@
|
|||
# Linphone Desktop
|
||||
|
||||
A free VoIP and video softphone based on the SIP protocol
|
||||
|
||||
|
||||
The package build is taken from the [Arch Linux package](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linphone-desktop).
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Linphone
|
||||
GenericName=VoIP Client
|
||||
Comment=Linphone
|
||||
Exec=/opt/linphone/linphone-launcher
|
||||
Icon=linphone.png
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Categories=Network;
|
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
|
@ -0,0 +1,56 @@
|
|||
name : linphone-desktop
|
||||
version : 5.2.4
|
||||
release : 1
|
||||
source :
|
||||
- https://ftp.zhirov.kz/repositories/other/linphone-desktop_5.2.4.tar.gz : 4528df73f0ff512739d420eb810f081c3ade1097142879f74c5ef5c5dc1a71a3
|
||||
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"
|
Loading…
Reference in New Issue