Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kimi:linphone-desktop
linphone-desktop
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package linphone-desktop
# Fix for error: bsdtar: Failed to set default locale # LANG=en_US.UTF-8 # not available, use C or POSIX LANG=C LC_ALL=${LANG} # Get some information about the machine we are building on: _numberOfProcessorsOnMachine=$(nproc) _wantedJobs=$(echo "1.1*${_numberOfProcessorsOnMachine}" | bc -l) _jobsIget=$(echo ${_wantedJobs} | awk '{print int($1+0.5)}') _TOTAL_DISK=$(df -h --total | awk 'END{print $2}') _FREEMEM=$(free --mega) _TOTAL_MEM=$(free --total --mega | xargs | awk '{print $19"MB"}') _TOTAL_RAM=$(free --total --mega | xargs | awk '{print $8"MB"}') _TOTAL_SWAP=$(free --total --mega | xargs | awk '{print $15"MB"}') pkgname=linphone-desktop pkgver=5.2.4 pkgrel=1 pkgdesc='A free VoIP and video softphone based on the SIP protocol' arch=(x86_64) url='http://linphone.org' license=(GPL) depends=('qt5-base' 'qt5-multimedia' 'qt5-graphicaleffects' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-speech' 'libxcrypt-compat' 'v4l-utils' 'glew') optdepends=('linphone-contacts-vcard-csv-import-export: linphone contacts vCard CSV avatar import export' 'firejail-linphone-desktop: firejail linphone profile adjustments' 'firetools-linphone-desktop: add linphone to firetools' 'firejail: sandbox' 'firetools: firejail GUI') makedepends=('coreutils' 'procps-ng' 'bc' 'git' 'gendesk' 'cmake' 'meson' 'yasm' 'nasm' 'doxygen' 'perl' 'python-pystache' 'python-six' 'libpulse' 'qt5-base' 'qt5-declarative' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-tools') # git download has to go into _service file # modified to save also .git folder # which is by default removed by download service: # source=("${pkgname}-${pkgver}.tar.xz::git+https://github.com/BelledonneCommunications/linphone-desktop.git#commit=abcdefa" source=("${pkgname}-${pkgver}.tar.xz" "linphone.png::https://gitlab.linphone.org/BC/public/linphone-desktop/-/raw/8dfd384e3df08b200c8eb382b740da6839961bf0/linphone-app/assets/icons/hicolor/128x128/apps/icon.png" ) sha512sums=('SKIP' 'd6495cdc022b1e4c92b3641cb70347e7e6b6ef47599004de729e908b4876a12540713ab54b588611c99c8025fb9b33e3392573c85c13f72cdaee8bcf7a73d65d' ) options=() _uploaddir=/usr/src/packages/SOURCES _sourcedir=/usr/src/packages/BUILD/${pkgname}/src/${pkgname}-${pkgver} # srcdir is already defined as # ${srcdir}=/usr/src/packages/BUILD/${pkgname}/src _builddir=/usr/src/packages/BUILD/${pkgname}/build _pkgdir=/usr/src/packages/BUILD/${pkgname}/pkg/${pkgname} _TITLE="Linphone" _executable=linphone _install_prefix=/opt/${_executable} _alternative_one=true _alternative_two=false build() { echo "--- Machine data we are building on ---" echo "Total disk: $_TOTAL_DISK" echo "Output of free -h:" echo "$_FREEMEM" echo "Total memory: $_TOTAL_MEM" echo "Total RAM: $_TOTAL_RAM" echo "Total SWAP: $_TOTAL_SWAP" echo "_numberOfProcessorsOnMachine=$_numberOfProcessorsOnMachine" echo "_wantedJobs=$_wantedJobs" echo "_jobsIget=$_jobsIget" echo "--- End machine data we are building on ---" cd "$srcdir/${pkgname}-${pkgver}" # git download has to go into _service file: # git submodule update --init --recursive mkdir -p build build/OUTPUT && cd build export CFLAGS=$(echo "$CFLAGS -Wno-error=maybe-uninitialized -Wno-error=unused-parameter -Wno-error=return-type -Wno-error=implicit-function-declaration") export CXXFLAGS=$(echo "$CXXFLAGS -Wno-error=maybe-uninitialized -Wno-error=unused-parameter -Wno-error=return-type -Wno-error=implicit-function-declaration") # -DCMAKE_BUILD_TYPE=RelWithDebInfo # -DCMAKE_BUILD_TYPE=Release cmake .. \ -DCMAKE_BUILD_PARALLEL_LEVEL=${_jobsIget} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DENABLE_PQCRYPTO=YES \ -DCMAKE_SKIP_INSTALL_RPATH=YES \ -DCMAKE_INSTALL_PREFIX=${_install_prefix} # --config RelWithDebInfo # --config Release cmake --build . --target install --parallel ${_jobsIget} --config RelWithDebInfo cd "$srcdir" if ${_alternative_one}; then # Alternative 1 gendesk -f -n \ --pkgname="${pkgname}" \ --pkgdesc="${pkgdesc}" \ --name="${_TITLE}" \ --genericname="VoIP Client" \ --categories=Network \ --icon="linphone.png" \ --exec=${_install_prefix}/${_executable}-launcher \ --terminal=false \ --startupnotify=true \ --comment "SIP phone Linphone" # End alternative 1 fi if ${_alternative_two}; then # Alternative 2 gendesk -f -n \ --pkgname="${pkgname}" \ --pkgdesc="${pkgdesc}" \ --name="${_TITLE}" \ --genericname="VoIP Client" \ --categories=Network \ --icon="linphone.png" \ --exec=${_install_prefix}/bin/${_executable} \ --terminal=false \ --startupnotify=true \ --comment "SIP phone Linphone" # End alternative 2 fi ls -al echo cat ${executable}*.desktop cat ${executable}*.desktop mv -v ${executable}*.desktop "tmp.desktop" mv -v "tmp.desktop" "${pkgname}.desktop" } package() { mkdir -p "$pkgdir${_install_prefix}/" echo "--- Exchange nowebcamCIF.jpg ---" cp -v "${_uploaddir}/static.jpg" "$srcdir/${pkgname}-${pkgver}/build/OUTPUT/share/images/nowebcamCIF.jpg" if ${_alternative_two}; then # Alternative 2 # Other programs such as emacs crash if libxml2.so* exists # in ${_install_prefix}/lib so we remove it and # use system libxml2 instead rm -vf "$srcdir/${pkgname}-${pkgver}/build/OUTPUT/lib/libxml2.so.2" rm -vf "$srcdir/${pkgname}-${pkgver}/build/OUTPUT/lib/libxml2.so" # End alternative 2 fi cp -r "$srcdir/${pkgname}-${pkgver}/build/OUTPUT/." "${pkgdir}${_install_prefix}/" mkdir -p "$pkgdir/usr/share/applications/" echo ls -al "$srcdir" ls -al "$srcdir" install -Dm644 "$srcdir/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop" mkdir -p "$pkgdir/usr/share/pixmaps/" echo ls -al "$srcdir" ls -al "$srcdir" install -Dm644 "$srcdir/linphone.png" "$pkgdir/usr/share/pixmaps/${pkgname}.png" mkdir -p "${pkgdir}/usr/share/icons/hicolor/scalable/apps" cat <<EOF > "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"> <path fill="#f5f5f5" d="M485.4 999.7a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm28 0a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm-23.5-37.5a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm19.2 0a2.9 2.9 0 0 1 1.5 0c.4.1 0 .2-.9.2-.8 0-1-.1-.6-.3zm9-.6a2.9 2.9 0 0 1 1.5 0c.4.2 0 .3-.9.3-.8 0-1-.1-.6-.3zm-47.2-.5 1 .1c.1.2-.2.3-.7.3-.6 0-.7-.2-.3-.3zm92.5-3.4a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm60.5-12.5c.4-.2.8-.2 1 0 .1.2-.2.3-.7.3-.6 0-.7-.2-.3-.3zM615 842.5a260 260 0 0 1-69-19.4 484 484 0 0 1-82.5-49.4c-44.1-33.2-94-86.7-149.5-160.4a420.7 420.7 0 0 0-11.5-15.2 6 6 0 0 0-1.4-2.2 28 28 0 0 1-2.3-3.2 25.9 25.9 0 0 0-2.6-3.7c-1-1.2-2.2-3-2.7-4s-2.3-3.4-4-5.5a42.2 42.2 0 0 1-3.8-5.5c-.5-.9-3.1-5.3-6-9.7a571.6 571.6 0 0 1-30.3-52.6 570.6 570.6 0 0 1-25.7-56 122 122 0 0 0-3.5-8.5c-.9-1.4-7.2-21-9.9-30.8a269.5 269.5 0 0 1-10.9-84.4c1.7-29 8.2-51 21.4-72.1 5.6-9 8.7-13 17.2-21.6l7.8-7.9 3 4a517 517 0 0 1 5.6 7 181.5 181.5 0 0 0 7.1 9.1l5.3 7.1 6 7.8a183.3 183.3 0 0 0 6.8 8.7 57.1 57.1 0 0 0 2.6 3.5 586.2 586.2 0 0 1 8.4 10.8 260.3 260.3 0 0 0 15.5 20 44 44 0 0 1 2.8 3.5c.4.8 1.4 2 2.1 2.9l2 2.5 3.9 5a529.3 529.3 0 0 1 11.3 14.7 332.5 332.5 0 0 0 7 9 711.7 711.7 0 0 0 12 15.3c7.7 9.8 10.3 12.8 10.8 12.4.3-.1.5.2.5.8 0 1.2.6 2.1 7.3 10.5l6.1 8 1.6 2.1-2 4a24 24 0 0 0-2 4.6c0 .5-.2.8-.5.8s-.5.2-.4.4c0 .2-.4 2-1 3.9-4.3 13.2-1.2 35 7.4 52.2 14 27.8 70.3 104 112 151.5 7.3 8.2 19.8 20.7 26 26l5.5 4.6a81.5 81.5 0 0 0 22 12.8c0 1.3 13.9 3 17.4 2.3 1-.2 5.4-.4 9.7-.3l7.8.1 4 5.1c27 35 109 144.1 116 154.3 3.1 4.7 3 5-2.7 8.4a119 119 0 0 1-48.6 16.2c-7.4.7-22.7 1-29.1.5zm207-11.2a10.9 10.9 0 0 1 2-1.8l-1.5 1.8a10.9 10.9 0 0 1-2 1.7l1.5-1.8zm7.8-7.8c.5-.6 1-1 1.1-1 .1 0-.1.5-.7 1l-1.1 1c-.1 0 .2-.5.7-1zm-120.5-12.4c-3.4-2.2-4-2.8-39.1-48.4-53-68.6-86.2-113-87-116-.5-1.9 1.6-4.4 9.6-12 14-13.4 43.7-34.2 51.6-36.2 1.7-.4 2.4-.4 3.5.2 3 1.5 10.4 8.7 16.7 16.2a556 556 0 0 1 20.9 25.9l7.3 9.2c1 1.1 20.5 27 31.7 42 25.4 34.3 44.5 61.7 46.3 66.3l.8 2.2-1.7 2.9a232.2 232.2 0 0 1-54.2 47c-3.6 1.9-4.4 2-6.5.7zm147.2-17.3.9-.9c.8-.6.8-.6.2.2-.7.8-1.1 1.1-1.1.7zm-818-264.6c0-.6.2-.7.3-.3.2.4.2.8 0 1-.2.1-.3-.2-.3-.7zm-.4-9.7c0-1 .1-1.4.2-.9a4.1 4.1 0 0 1 0 1.8c0 .5-.2 0-.2-.9zm923.5-.3c0-.8.1-1 .3-.6a3 3 0 0 1 0 1.5c-.2.4-.3 0-.3-.9zm-15.5-3.5c0-1 .1-1.5.2-.8.2.6.2 1.5 0 2 0 .5-.2 0-.2-1.1zm-946-1.5c0-.8.1-1 .3-.6a3 3 0 0 1 0 1.5c-.2.4-.3 0-.3-.9zm999.5-.5c0-.8.1-1 .3-.6a3 3 0 0 1 0 1.5c-.2.4-.3 0-.3-.9zm-999.5-7c0-1 .1-1.4.2-.8.2.6.2 1.5 0 2 0 .5-.2 0-.2-1.1zm0-14.2c0-.7 0-1 .2-.6.2.3.2.9 0 1.2-.1.4-.2 0-.2-.6zm37.4-2.3c0-.6.2-.7.3-.3.2.4.2.8 0 1-.2.1-.3-.2-.3-.7zm908.7-4.7c0-2 0-2.9.2-1.9v3.8c-.1 1-.2.2-.2-1.9zM0 486c0-.7 0-1 .2-.6.2.3.2.9 0 1.2-.1.4-.2 0-.2-.6Zm38-5.3c0-.8.1-1 .3-.6a3 3 0 0 1 0 1.5c-.2.4-.3 0-.3-.9zm923.5-.2c0-.7 0-1 .2-.6.2.3.2.9 0 1.2-.1.4-.2 0-.2-.6zm-578-95.7a1006 1006 0 0 1-51.8-64.5 59423 59423 0 0 1-50.7-67 9661 9661 0 0 0-15.7-20.7c-6.9-9-7.7-10.4-7.2-11.2a339.8 339.8 0 0 1 54.7-39.8c5.6-2.9 14.3-6.6 15.2-6.6.4 0 1.8 1.5 3.2 3.4l5.4 7a4959.5 4959.5 0 0 1 22 28.9 1058.9 1058.9 0 0 0 12.3 16l6.3 8a148.4 148.4 0 0 1 4.4 6c.7 1.2 3 4 4.9 6.4a175.6 175.6 0 0 1 4.8 6.2l19.4 25.8a1633.4 1633.4 0 0 1 18.6 25l8 11.6c8.4 11.6 11.6 17.2 11.6 20.2 0 2.7-2.3 5.8-8.7 11.6a350.6 350.6 0 0 1-46 35.1c-5.6 3.3-6.3 3.2-10.6-1.3zM181 187.4l.9-.9c.8-.6.8-.6.2.2-.7.9-1.1 1.1-1.1.7zm96.9-78.7h1c.1.3-.2.4-.7.4-.6 0-.7-.2-.3-.3zm205.7-55h2.8c.7.2.1.2-1.4.2s-2.1 0-1.4-.2zm30 0h2.8c.7.2.1.2-1.4.2s-2.1 0-1.4-.2zM480 38.2a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1-.1-.6-.2zm39.5 0c.4-.2.8-.2 1 0 .1.2-.2.3-.7.3-.6 0-.7-.2-.3-.3zm-30.5-.5a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1-.1-.6-.2zm20.7 0a2.9 2.9 0 0 1 1.5 0c.4.1 0 .2-.9.2-.8 0-1-.1-.6-.3zM485.4 0a2 2 0 0 1 1.2 0c.4.2 0 .3-.6.3s-1-.1-.6-.2zm28.5 0a2 2 0 0 1 1.2 0c.4.2 0 .3-.6.3s-1-.1-.6-.2z"/> <path fill="#00242c" d="M473.8 999a506.4 506.4 0 0 1-218.6-63.5A500 500 0 0 1 95.4 792.9a544.8 544.8 0 0 1-32.9-51.6 812.4 812.4 0 0 1-20-40.5 506.6 506.6 0 0 1-39-256 499.6 499.6 0 0 1 160.1-314.1A499.3 499.3 0 0 1 438.5 4.3c24.2-3 43-4 69-3.6 19.8.2 30.8.9 48 2.8 89.1 10 175 44.2 246.5 98.5a472 472 0 0 1 31.7 26.2c7.1 6.3 33 32.3 39.9 40a502.5 502.5 0 0 1 110.5 208.3A508.5 508.5 0 0 1 999 477a500.5 500.5 0 0 1-459.3 521 630.3 630.3 0 0 1-66 1z"/> <path fill="#056e80" d="M501 38.6a392 392 0 0 0-45.8 1.3 473.2 473.2 0 0 0-126 30.8 450 450 0 0 0-55 26.8c-1 1-2.1 1.8-2.3 1.6-1.2-1.2-31.4 18-48 30.5a494.8 494.8 0 0 0-69.1 63.6A462.8 462.8 0 0 0 76 316.7a464.6 464.6 0 0 0-36 138.1c-1.8 17-2 69.2-.5 85.9a478.9 478.9 0 0 0 32.3 132.8A462.5 462.5 0 0 0 472.6 961c6.3.3 11.5.7 11.7.9.8.7 45.9-.7 57.6-1.9a453 453 0 0 0 143.2-36.8 642 642 0 0 0 53.2-27.5 470 470 0 0 0 145.4-138.5 491.3 491.3 0 0 0 53.7-108.5 463.3 463.3 0 0 0 17.1-231.6 463.4 463.4 0 0 0-57.8-153.8l-5.3-8.9c-7.5-12.5-25-36.5-38.7-52.8a480.7 480.7 0 0 0-88-80.3A467.8 467.8 0 0 0 576 44.2a357.3 357.3 0 0 0-75-5.6ZM498.5 54a377 377 0 0 1 87.1 7.7 466.7 466.7 0 0 1 96.2 29.8 284.4 284.4 0 0 1 26.5 13c8.4 4.3 7.5 3.8 24.7 14.2a450.4 450.4 0 0 1 146 144.6 440.8 440.8 0 0 1 67.1 237.3c0 34-1.5 50.4-7 81a521 521 0 0 1-25.4 87.8c-.6 1.6-1.6 3.9-6 13.6a28.2 28.2 0 0 0-2.1 5.6c0 .4-.8 1.8-1.6 3a32.8 32.8 0 0 0-3 5.8 35.5 35.5 0 0 1-2.8 5.7 80.7 80.7 0 0 0-3.8 6.8 455.4 455.4 0 0 1-45.1 69.3 493.8 493.8 0 0 1-81.4 78.7 446.7 446.7 0 0 1-218 86.1c-6 .7-19.6 1.6-30.3 2-18.4.8-33 .9-42.1.3A445 445 0 0 1 304 901.5a445.8 445.8 0 0 1-192-179.4 230.9 230.9 0 0 0-4-7.3 605.6 605.6 0 0 1-18.7-38l-3.5-9a439.5 439.5 0 0 1-32.2-157.5c-.8-36 2.2-69.3 9.1-102a487 487 0 0 1 30-92.8c2.1-4.8 13.1-27 14.3-28.9l13.6-23.3c.7-1.1 2.7-4.4 4.6-7.1a452.4 452.4 0 0 1 139.1-135.8 139.9 139.9 0 0 0 15-10.1c0 .3 6.5-2.8 14.4-6.8 21-10.7 20.4-10.4 33.4-15.6A449 449 0 0 0 339 83a398 398 0 0 1 36.9-12.1c25-7.2 48-11.7 76.9-15a355 355 0 0 1 45.7-2zm117.2 31.2c-2.2.4-5.6 8.7-7.3 17.7-4.4 22.6-6.5 55.8-12.3 197.2-4.4 108.7-6.3 135-10.2 141.1-1.3 2.2-2.2 2.3-3.9.6-3.3-3.4-4.2-15.4-5.7-80.5-1.3-54.8-2.4-81.4-3.7-93.6-2.5-22.7-9-32.4-14.4-21.6-4.5 8.9-5.7 25.7-7.8 105.8-1.2 44.3-2 61.5-3.3 64.7-.8 2-2.7 1.7-3.5-.5-1.2-3.2-1.7-11.7-3-49.6-1.6-52.5-2.2-59-5.7-65-3.4-5.8-6.6-6.4-9.8-1.6-4.2 6.2-5.3 16.5-7.1 68.2-1.8 51.7-2.8 60.9-6.7 62.4-2.2.8-5.4-2.3-6.8-6.6-3-8.8-4.3-22.8-10-106-5.8-83.8-8-102.3-13.7-113.7-2.3-4.5-4.5-6.1-7.4-5.4-4.4 1-7.5 8.4-22.7 53.1a520 520 0 0 1-20.1 53.9c-1 1.5-.4 2.7 6.5 12.5 4.2 6 8.7 13.1 10.1 15.9 2.3 4.7 2.4 5.1 1.3 7.7-.6 1.5-4 5.4-7.3 8.6a351 351 0 0 1-47.1 36 32 32 0 0 0-6.1 4.3 186 186 0 0 1-11.2 8.4c-7 5.1-8.3 6.3-8.3 8.2 0 1.2-.6 3.7-1.3 5.4-1 2.5-1.2 5-.9 12.8a81.8 81.8 0 0 0 9.5 35.7c14.2 28.5 72.1 106.8 113 152.5a97 97 0 0 0 9 9.4c.2-.4 1-8 2-17 1.9-19.5 3.4-27.8 5.8-32.7 2.9-5.8 7-5.5 8.7.7a280 280 0 0 1 3.2 45l.5 23.4 5.6 3.9c6 4.1 14.3 8.8 15.6 8.8.5 0 1-9.2 1.4-23 .6-26.5 1.7-44.4 3-48.1 1.6-5.1 3.4-2.6 4.3 6.3.4 4.6 2.9 59 2.9 65 0 2.1.1 2.2 4.4 2.2 4.8 0 4.6.1 16.9-11.3l3.9-3.7.7-26.7a464 464 0 0 1 3.3-54c.9-3.4 2.6-5.1 4.4-4.5 3.3 1.3 4.9 11.7 7.6 50.2.9 12 1.7 22 1.9 22 .7.8 8.7-4 17-10.3 18.4-13.8 32.9-22.3 36.3-21.2.9.3 3.8 2.5 6.5 5l4.8 4.4v-5c0-14.1 1.7-48 2.5-51.8 1.5-6.8 4.7-6.3 6.8 1.1a89.7 89.7 0 0 1 2 11c1 8.2 3 38.4 3.6 52.6l.4 10 9.6 12.2 9.5 12.1.5-3.5c.3-2 .8-13.4 1-25.5 1.7-67 3.5-88.3 7.6-92.9 1.6-1.7 5.7-1.9 8-.2a13 13 0 0 1 3.4 5c3.6 8.4 5.4 22.4 8.7 67.5 3 42.1 4.7 53 8 53 3 0 8.9-14.4 11.3-28 1.6-8.4 2.6-21 4.2-51.3 2.4-46.4 2.7-48 8.4-47.2 1.7.2 6 2.1 9.5 4.2A35 35 0 0 0 782 537c5.1 0 8-1.6 33.6-19l18.7-12.6h9.9c14.9 0 55.7-1.5 66.1-2.4 10.3-1 13.1-1.9 11.3-3.7-2.2-2.2-13-3-61.6-4.4l-26.4-.8-19-12.7c-18.8-12.7-27.6-17.6-33-18.6-4-.8-9.1.8-17.4 5.5a36.7 36.7 0 0 1-10.7 4.5c-3.1.4-3.5.2-4.3-1.8-.4-1.2-1.7-17.6-2.8-36.3-2.5-41.5-3.3-51.2-5.3-61.8-2.8-14.4-8.2-27.5-11.1-26.9-3 .6-5 13.6-7.5 48.9-4.2 59.8-6.5 73.3-13.3 77.4-3.4 2.1-4.9 2-7.2-.9-3.8-4.5-4.7-13.8-6.6-67.6-2.3-65.3-3.9-78.5-9.4-81.4-2-1.2-4.4 0-6 3-2.8 5.6-4.4 20-7 62.2-2.5 43.7-3.7 56.2-5.8 62.3-1.2 3.4-3.1 4.5-5 3-2-1.8-2 .2-4.5-148-1.2-68.4-2.2-86.5-5.8-104a54.7 54.7 0 0 0-7.7-19.7 3.9 3.9 0 0 0-6.3.4c-3.5 5.4-4.2 18.2-5.7 95.4-1.4 71.4-2.4 97.2-3.9 101.7-1.2 3.6-3.3 5.3-4.7 3.8-2.3-2.2-2.7-24.1-1.6-87.3 1.6-97.8 2-168.4 1-182.5-1.3-16.5-4.4-28-7.3-27.5zM384.6 212.6l-.5.4c-1 1.2-2.2 8-3 18.8a66 66 0 0 1-1 8.6c-.1.3-.8-.3-2.5-2.4a14.2 14.2 0 0 0-2-2l2.2 3 3.5 4.7a216.8 216.8 0 0 0 7.6 9.8 4 4 0 0 0-.3-1.2c-.4-1-.5-2.2-1-11.7-.8-18.8-1-22.2-1.7-25.3-.4-1.4-1-2.7-1.3-2.7zM220.5 448.4l-1 4.8c-1.8 9.8-4.2 15.9-7.4 19.2l-3 3.2-6.4-.3c-9.8-.5-11.7-1.7-16.4-11.2-4.2-8.2-5.8-9.8-8.9-8.1-1.5.8-3 3.5-10.1 19.1l-3 6.6-10.7 5.4a78.5 78.5 0 0 1-15 6.2c-2.5.4-14.7 1.4-27.2 2-29.4 1.6-33.6 2.2-33.6 4.8 0 2.1 5.5 2.9 28.3 3.7 32 1.3 34.5 1.6 42 6 3.4 2 7.6 4 9.2 4.5 4.4 1.4 8 6.2 12.4 16.3 4.8 11.1 6.2 12.9 9.6 12.9 3.3 0 4.8-1.6 6.6-7.3a17.1 17.1 0 0 1 17-12.1c3.5 0 9 2.8 9.8 5 .2.8.8 1.4 1.2 1.4 1.4 0 4 7 5.2 14 .6 3.7 1.7 13.3 2.4 21.3 1.6 18.2 2.6 25 4.5 29.3 1.8 4.2 4.2 4.6 8 1.3 5.4-4.5 8-12.3 11.8-37a469 469 0 0 1 4.1-23c1.3-5 4.3-8.6 6.5-7.8.6.3 1.2.3 1.2 0l-10.4-20.9a579.2 579.2 0 0 1-23.2-50.4z" style="-inkscape-stroke:none"/> <path fill="#dfdfdf" d="M612.3 842.1c-.2-.2-2.2-.6-4.4-.8a75.3 75.3 0 0 1-9.7-1.7 338 338 0 0 1-43-13 279.2 279.2 0 0 0-5.2-2A474.9 474.9 0 0 1 445.5 759a552 552 0 0 1-17-15.1 990 990 0 0 1-99.4-111.4 1392.2 1392.2 0 0 1-16.4-21.5 93.3 93.3 0 0 0-4-5.2 65 65 0 0 1-3.3-4.3 173 173 0 0 0-4.7-6 99 99 0 0 0-8.3-12.4 194 194 0 0 1-15.6-24 526 526 0 0 1-29.7-53 512.7 512.7 0 0 1-23.1-50.6 363.5 363.5 0 0 1-22-79.8l-1.2-9.3c-.4-3.6-1-13-1-21-.9-44.2 11.6-79.3 37.5-106l8.5-8.8 13.4 17.3a6674.4 6674.4 0 0 1 28.4 36.7l9.7 12.6 9.9 13a67 67 0 0 0 3.8 4.8 768.2 768.2 0 0 0 10.5 13.6l5 6.3a2632.4 2632.4 0 0 0 28 35.7 288.6 288.6 0 0 1 7.6 9.7l6.6 8.7c2.2 2.6 3.9 5.5 3.9 6.3 0 .8-1 3.6-2.3 6.2a61.3 61.3 0 0 0-3.5 8.6 83.7 83.7 0 0 0 2.2 36c1.7 7.6 11.4 26.3 19.4 37.6 1.6 2 2.8 4.2 2.8 4.6 0 .5.4.8.8.8.5 0 .8.5.8 1.2 0 .6.3 1.2.7 1.4a33 33 0 0 1 4.5 6l6.4 9.3a569.9 569.9 0 0 1 4.2 6.1l3.7 5.2 14.6 19.4a1491.2 1491.2 0 0 0 59 73.7l6.6 7.3a194.4 194.4 0 0 0 43.3 35.9c5.6 2.8 12.8 3.8 26.4 3.8h13.4l17.8 23.3c28.8 37.8 92.7 123 98.6 131.7 6.7 9.5 7 8.9-6 15.5a127.4 127.4 0 0 1-36 12c-7.6 1-36.8 2-37.7 1.1zm-230.5-460a196.3 196.3 0 0 1-8.8-9.9 504 504 0 0 0-9-10.8 92.1 92.1 0 0 0-2.4-2.9 466 466 0 0 1-7.4-9.4 245.1 245.1 0 0 0-8.3-10.3c-.9-1-1.7-2-1.7-2.3A7309 7309 0 0 1 258.4 222c0-.9 9.9-9.3 20.2-17.3 17.8-13.8 42.3-28.3 48-28.5 2.8-.1 4.1 1.4 25.7 29.8l20.5 26.8 37.2 49.4c30.4 40.3 39.4 54.1 38.4 58.3-.7 2.8-7.3 9.7-17.5 18.2-18.8 15.6-38.2 29.2-41.7 29.2-1.1 0-3.8-2.2-7.4-5.9zm325.7 427a218 218 0 0 1-12.9-15.3C662.6 753 595 664 587.2 652.5l-4.2-6.3 2.4-3.4c2-2.9 12.7-12.8 20-18.7 13.8-11 37-25.5 40.7-25.5 2.2 0 11 8 19 17.3l7.6 8.9c4.7 5.2 50.3 65.3 67.3 88.8a589 589 0 0 1 29.5 43l1.9 3.9-2.1 3a248.2 248.2 0 0 1-26 26.5c-13.2 11.4-28 21.6-31.5 21.6-.8 0-2.7-1.2-4.3-2.6z" style="-inkscape-stroke:none"/> </svg> EOF cat <<EOF > "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="128mm" height="128mm" viewBox="0 0 128 128"><path d="M67.767 118.265c-13.176-1.009-20.81-2.55-30.048-6.065-5.89-2.241-13.569-7.297-18.239-12.009-2.693-2.718-3.859-4.174-6.512-8.135-6.189-9.237-8.518-17.997-7.765-29.198.472-7.017 1.824-11.944 4.823-17.58 2.506-4.71 7.52-10.032 13.04-13.844 6.091-4.205 13.49-7.169 21.285-8.525.946-.164 2.277-.399 2.957-.521 2.782-.5 11.823-1.1 14.241-.944 8.5.549 14.068 6.652 20.455 3.387l29.048-14.847 5.047 3.44s.187.291-.444 1.692c-.196.436-1.308 3.353-2.471 6.482-2.584 6.954-5.183 13.904-5.563 14.878-.27.69-.198.79 1.593 2.22 2.967 2.367 6.377 5.888 9.596 9.909 1.094 1.367 3.78 5.717 4.645 7.521 3.927 8.198 5.447 19.593 3.573 26.788-.215.826-.391 1.66-.391 1.855 0 .601-2.412 6.417-3.348 8.072-.487.863-.886 1.611-.886 1.664 0 .053-.625 1.01-1.389 2.127-1.736 2.537-6.717 7.645-9.865 10.116-3.727 2.924-10.57 6.583-15.336 8.198-4.218 1.43-9.811 2.57-15.214 3.101-3.404.335-9.874.445-12.832.218z" style="fill:#562000;fill-opacity:1"/><path d="M64.893 115.533c-13.258-1.011-20.94-2.555-30.236-6.077-5.927-2.245-13.653-7.31-18.352-12.032-2.71-2.723-3.883-4.182-6.553-8.15C3.525 80.018 1.18 71.241 1.938 60.02c.475-7.03 1.835-11.967 4.853-17.614 2.522-4.718 7.568-10.051 13.123-13.87 6.128-4.213 13.574-7.182 21.417-8.54.952-.166 2.29-.4 2.975-.524 2.8-.501 11.897-1.101 14.33-.945 8.553.55 13.652 1.39 20.584 3.394 3.146.909 3.119.91 6.04-.394.66-.294 2.696-1.119 4.526-1.832 1.83-.714 3.987-1.583 4.793-1.93.805-.348 4.16-1.721 7.454-3.052 3.295-1.331 7.84-5.778 9.048-4.87l2.25 1.69s-1.567 4.013-2.737 7.148c-2.6 6.968-5.215 13.931-5.598 14.907-.27.691-.199.791 1.603 2.223 2.986 2.372 6.417 5.9 9.656 9.928 1.101 1.37 3.805 5.728 4.674 7.536 3.952 8.214 5.481 19.63 3.595 26.839-.216.827-.393 1.664-.393 1.859 0 .602-2.427 6.429-3.368 8.087-.49.864-.892 1.614-.892 1.668 0 .053-.629 1.011-1.398 2.13-1.747 2.542-6.76 7.66-9.927 10.135-3.75 2.93-10.635 6.596-15.432 8.214-4.244 1.433-9.872 2.575-15.308 3.107-3.425.336-9.936.446-12.913.219z" style="fill:#f9f9f9;fill-opacity:1;stroke-width:1.00407"/><path d="M62.875 114.974c-13.176-1.01-20.81-2.55-30.049-6.066-5.89-2.24-13.568-7.296-18.238-12.009-2.693-2.717-3.859-4.173-6.513-8.135C1.887 79.527-.442 70.767.311 59.566c.472-7.017 1.823-11.944 4.823-17.58 2.506-4.709 7.52-10.032 13.04-13.843 6.09-4.206 13.49-7.17 21.285-8.525.946-.165 2.276-.4 2.956-.522 2.783-.5 11.823-1.1 14.242-.943 8.5.548 13.566 1.387 20.455 3.386 3.126.908 3.1.91 6.003-.392.655-.294 2.68-1.117 4.498-1.83 1.82-.712 3.962-1.578 4.763-1.925.8-.347 4.134-1.718 7.408-3.047a694.44 694.44 0 0 0 8.467-3.49c1.382-.59 2.68-1.14 2.883-1.22.421-.167.26.789-.371 2.189-.197.436-1.309 3.353-2.471 6.482-2.584 6.954-5.183 13.905-5.563 14.878-.27.69-.199.79 1.592 2.22 2.968 2.367 6.378 5.888 9.596 9.909 1.095 1.367 3.781 5.717 4.646 7.521 3.927 8.198 5.446 19.593 3.572 26.788-.215.826-.39 1.66-.39 1.855 0 .601-2.412 6.417-3.348 8.073-.487.862-.886 1.61-.886 1.664 0 .053-.625 1.01-1.39 2.126-1.735 2.538-6.717 7.645-9.865 10.116-3.726 2.924-10.57 6.583-15.336 8.199-4.217 1.43-9.81 2.57-15.213 3.1-3.404.335-9.875.445-12.832.219zm10.583-6.557c6.883-1.046 10.741-2.265 16.83-5.32 5.177-2.596 9.61-5.985 12.092-9.243.668-.878 1.288-1.656 1.376-1.73.088-.072.71-1.024 1.381-2.116 3.211-5.221 4.787-11.488 4.174-16.602-.623-5.192-3.526-12.536-7.049-17.827-1.567-2.355-5.548-7.083-6.882-8.174a303.85 303.85 0 0 1-2.318-1.95c-6.273-5.315-16.327-9.93-26.616-12.215-6.313-1.402-7.888-1.572-14.552-1.572-7.235.001-9.588.28-15.875 1.883-4.91 1.252-7.022 2.011-10.69 3.842-10.217 5.1-16.289 12.805-18.005 22.85-.738 4.317-.344 11.084.91 15.66 2.04 7.435 7.7 15.258 15.085 20.852 4.748 3.596 7.766 5.353 12.171 7.086a75.658 75.658 0 0 0 20.902 4.935c3.858.34 13.849.13 17.066-.359zm-16.404-7.02c-4.557-.658-8.996-1.703-13.097-3.084-7.164-2.413-10.225-3.958-16.781-8.468-1.074-.738-6.248-5.882-7.205-7.164a25.643 25.643 0 0 0-1.237-1.536c-.84-.917-2.283-3.555-2.824-5.163-1.077-3.197-.953-6.972.332-10.076 1.006-2.43 2.78-5.43 3.638-6.153 2.274-1.913 6.192-1.485 11.501 1.254 1.599.825 2.686 1.666 4.498 3.481 2.77 2.775 2.954 3 3.464 4.219.863 2.065.185 4.09-2.32 6.942-1.604 1.824-1.789 2.145-1.637 2.841.235 1.075 1.411 2.992 2.62 4.267.45.475 2.553 1.766 3.944 2.421 6.966 3.282 14.437 5.095 20.999 5.095 2.538 0 2.898-.066 4.471-.817 2.06-.983 3.36-2.23 3.139-3.01-.085-.296-.333-1.705-.553-3.13-.427-2.767-.245-4.244.653-5.315 1.718-2.046 7.76-3.745 12.372-3.478 4.687.27 7.66 1.388 9.257 3.48.703.921.754 1.165.837 3.952.31 10.422-4.297 15.453-17.099 18.67-5.556 1.397-12.64 1.685-18.972.772z" style="fill:#ff5e00;fill-opacity:1"/></svg> EOF sed -i "s|Icon=.*|Icon=${pkgname}|g" "${pkgdir}/usr/share/applications/${pkgname}.desktop" # Fix ${_install_prefix}/bin/${_executable} not finding its libraries in ../lib/ if ${_alternative_one}; then # Alternative 1 # Add linphone's own lib folder to LD_LIBRARY_PATH echo "#!/bin/bash" > "$pkgdir${_install_prefix}/${_executable}-launcher" echo "SCRIPT_DIR=\"\$( cd \"\$( dirname \"\${BASH_SOURCE[0]}\" )\" &> /dev/null && pwd )\"" >> "$pkgdir${_install_prefix}/${_executable}-launcher" echo "LD_LIBRARY_PATH=\"${_install_prefix}/lib:\$LD_LIBRARY_PATH\" \"${_install_prefix}/bin/${_executable}\" \"\$@\"" >> "$pkgdir${_install_prefix}/${_executable}-launcher" chmod +x "$pkgdir${_install_prefix}/${_executable}-launcher" # End alternative 1 fi if ${_alternative_two}; then # Alternative 2 # Create ${pkgname}.conf and let ldconfig find those libraries mkdir -p "$pkgdir/etc/ld.so.conf.d" echo "${_install_prefix}/lib" > "$pkgdir/etc/ld.so.conf.d/${pkgname}.conf" chmod 644 "$pkgdir/etc/ld.so.conf.d/${pkgname}.conf" # End alternative 2 fi echo "--- Start list files that will be packaged ---" find ${pkgdir} | sed "s|${pkgdir}||g" echo "--- End list files that will be packaged ---" }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor