commit 31193cf70cf4e8544330ac9eb807af3b1b30b664 Author: Alexander Zhirov Date: Thu May 2 09:46:14 2024 +0300 init 5.2.4 diff --git a/README.md b/README.md new file mode 100644 index 0000000..eea78f3 --- /dev/null +++ b/README.md @@ -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). diff --git a/files/linphone-desktop.desktop b/files/linphone-desktop.desktop new file mode 100644 index 0000000..bf9f3b1 --- /dev/null +++ b/files/linphone-desktop.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; diff --git a/files/linphone.png b/files/linphone.png new file mode 100644 index 0000000..05192af Binary files /dev/null and b/files/linphone.png differ diff --git a/package.yml b/package.yml new file mode 100644 index 0000000..16d93b0 --- /dev/null +++ b/package.yml @@ -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"