summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Natalenko2020-08-04 18:17:43 +0200
committerOleksandr Natalenko2020-08-04 18:17:43 +0200
commite4220382dfbe174539d94d425fe29da30ad06bfa (patch)
tree03631cfb6f2d16ae642714ffea2216807ce17182
parent95a17e7e09108d4a83453e932462660f37db5791 (diff)
downloadaur-e4220382dfbe174539d94d425fe29da30ad06bfa.tar.gz
bump to v3.20.0
Signed-off-by: Oleksandr Natalenko <oleksandr@redhat.com>
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD27
-rwxr-xr-xmicrosip70
-rw-r--r--microsip.desktop12
-rw-r--r--microsip.pngbin62859 -> 0 bytes
-rw-r--r--microsip.reg7
6 files changed, 17 insertions, 115 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbeaa6e6be2..7871f4881bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = microsip
pkgdesc = Open source portable SIP softphone for Windows based on PJSIP stack
- pkgver = 3.19.31
+ pkgver = 3.20.0
pkgrel = 1
url = https://www.microsip.org/
arch = x86_64
@@ -9,16 +9,10 @@ pkgbase = microsip
depends = lib32-libpulse
depends = xorg-xdpyinfo
conflicts = wine-staging
- source = MicroSIP-Lite-3.19.31.zip::https://www.microsip.org/downloads/?file=MicroSIP-Lite-3.19.31.zip
- source = microsip
- source = microsip.desktop
- source = microsip.png
- source = microsip.reg
- sha256sums = 172ae69f37a41d2c44e73a9c42c38581ae0bd7878d7819fc7e8c960963a52ee7
- sha256sums = f35b60d2da37bb7d7a8a224eb8a392680824078179629d75c4f3efd3b0693980
- sha256sums = d588c2b2e38e12d2be3dfdd9f2a63690293b884c7df240c441e271725b9a2ca2
- sha256sums = 4d33d040f772c4b1f1652b8af59342bdec600fd3de875e7ef6ee1a43fc3415cf
- sha256sums = c97cde99004dbee5cb9b05a7b6bad117e5ec63cb1032fa56efdf07a4b27e3c1d
+ source = MicroSIP-Lite-3.20.0.zip::https://www.microsip.org/downloads/?file=MicroSIP-Lite-3.20.0.zip
+ source = microsip-1.0.tar.bz2::https://gitlab.com/post-factum/microsip/-/archive/v1.0/microsip-v1.0.tar.bz2
+ sha256sums = da028d90b8e53871257025f85943d5debcd0532ae3b807f71af3cd5a89cb1fc5
+ sha256sums = 760c5ad743af3157c20c644f3af90b99b46097de1dbc8b2f8c025de9d2dd7205
pkgname = microsip
diff --git a/PKGBUILD b/PKGBUILD
index 0120c654cbc..adf25a58e89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,11 @@
# Maintainer: Oleksandr Natalenko <oleksandr@natalenko.name>
pkgname=microsip
-pkgver=3.19.31
+pkgver=3.20.0
pkgrel=1
pkgdesc="Open source portable SIP softphone for Windows based on PJSIP stack"
+_repouser=post-factum
+_reponame=microsip
+_wrapperver=1.0
arch=(x86_64)
url="https://www.microsip.org/"
license=(GPL2)
@@ -10,16 +13,10 @@ depends=(wine lib32-libpulse xorg-xdpyinfo)
conflicts=(wine-staging)
source=("MicroSIP-Lite-${pkgver}.zip"::"https://www.microsip.org/downloads/?file=MicroSIP-Lite-${pkgver}.zip"
- "${pkgname}"
- "${pkgname}.desktop"
- "${pkgname}.png"
- "${pkgname}.reg")
+ "${_reponame}-${_wrapperver}.tar.bz2"::"https://gitlab.com/${_repouser}/${_reponame}/-/archive/v${_wrapperver}/${_reponame}-v${_wrapperver}.tar.bz2")
-sha256sums=('172ae69f37a41d2c44e73a9c42c38581ae0bd7878d7819fc7e8c960963a52ee7'
- 'f35b60d2da37bb7d7a8a224eb8a392680824078179629d75c4f3efd3b0693980'
- 'd588c2b2e38e12d2be3dfdd9f2a63690293b884c7df240c441e271725b9a2ca2'
- '4d33d040f772c4b1f1652b8af59342bdec600fd3de875e7ef6ee1a43fc3415cf'
- 'c97cde99004dbee5cb9b05a7b6bad117e5ec63cb1032fa56efdf07a4b27e3c1d')
+sha256sums=('da028d90b8e53871257025f85943d5debcd0532ae3b807f71af3cd5a89cb1fc5'
+ '760c5ad743af3157c20c644f3af90b99b46097de1dbc8b2f8c025de9d2dd7205')
package() {
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m0644 "License.txt"
@@ -32,11 +29,11 @@ package() {
install -Dt "${pkgdir}/usr/share/${pkgname}" -m0644 "ringtone.wav"
install -Dt "${pkgdir}/usr/lib/${pkgname}" -m0644 "lame_enc.dll"
- install -Dm0644 "MicroSIP.exe" "${pkgdir}/usr/lib/${pkgname}/microsip.exe"
+ install -Dt "${pkgdir}/usr/lib/${pkgname}" -m0644 "microsip.exe"
- install -Dt "${pkgdir}/usr/bin" -m0755 "${pkgname}"
- install -Dt "${pkgdir}/usr/share/${pkgname}" -m0644 "${pkgname}.reg"
- install -Dt "${pkgdir}/usr/share/applications" -m0644 "${pkgname}.desktop"
- install -Dt "${pkgdir}/usr/share/icons/hicolor/256x256/apps" -m0644 "${pkgname}.png"
+ install -Dt "${pkgdir}/usr/bin" -m0755 "${_reponame}-v${_wrapperver}/${pkgname}"
+ install -Dt "${pkgdir}/usr/share/${pkgname}" -m0644 "${_reponame}-v${_wrapperver}/${pkgname}.reg"
+ install -Dt "${pkgdir}/usr/share/applications" -m0644 "${_reponame}-v${_wrapperver}/${pkgname}.desktop"
+ install -Dt "${pkgdir}/usr/share/icons/hicolor/256x256/apps" -m0644 "${_reponame}-v${_wrapperver}/${pkgname}.png"
}
diff --git a/microsip b/microsip
deleted file mode 100755
index 500c5bf7e63..00000000000
--- a/microsip
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/usr/bin/env bash
-
-__REV=3
-__APPNAME=$(basename $0)
-__WINEPREFIX="${XDG_DATA_HOME:-$HOME/.local}/wine/${__APPNAME}"
-__WINEARCH="win32"
-__APPDIR="${__WINEPREFIX}/dosdevices/c:/${__APPNAME}"
-__INSTALLED="${__APPDIR}/.installed.${__REV}"
-__APPCFG="${XDG_CONFIG_HOME:-$HOME/.config}/${__APPNAME}"
-__APPLOG="${XDG_CACHE_HOME:-$HOME/.cache}/${__APPNAME}"
-__REGFILE="${__APPDIR}/${__APPNAME}.reg"
-__TMPREGFILE=$(mktemp)
-__DPI=$(xdpyinfo -display $DISPLAY | grep -A 2 "screen #0:" | grep "resolution:" | grep -oE '[0-9]+x[0-9]+' | cut -d 'x' -f 1)
-__DPIX=$(printf %08x ${__DPI})
-
-# force 32-bit prefix
-__QUIRK1="${__APPDIR}/.quirk.1"
-
-__symlink() {
- ln -sf "$1" "${__APPDIR}/${1##*/}"
-}
-
-if [[ -d "${__WINEPREFIX}" ]] && [[ ! -f "${__QUIRK1}" ]]; then
- rm -rf "${__WINEPREFIX}"
-fi
-
-if [[ ! -f "${__INSTALLED}" ]]; then
- mkdir -p "${__WINEPREFIX}"
- WINEPREFIX="${__WINEPREFIX}" WINEARCH="${__WINEARCH}" wineboot -u
-
- mkdir -p "${__APPDIR}"
-
- cp "/usr/share/${__APPNAME}/${__APPNAME}.reg" "${__TMPREGFILE}"
- sed -i "s/{DPI}/${__DPIX}/g" "${__TMPREGFILE}"
- iconv -f utf-8 -t utf-16le "${__TMPREGFILE}" >"${__REGFILE}"
- rm -f "${__TMPREGFILE}"
- WINEPREFIX="${__WINEPREFIX}" WINEARCH="${__WINEARCH}" regedit "${__REGFILE}"
- rm -f "${__REGFILE}"
-
- __symlink "/usr/share/licenses/${__APPNAME}/License.txt"
- __symlink "/usr/share/doc/${__APPNAME}/MicroSIP Website.url"
- __symlink "/usr/share/${__APPNAME}/hangup.wav"
- __symlink "/usr/share/${__APPNAME}/msgin.wav"
- __symlink "/usr/share/${__APPNAME}/msgout.wav"
- __symlink "/usr/share/${__APPNAME}/ringing.wav"
- __symlink "/usr/share/${__APPNAME}/ringing2.wav"
- __symlink "/usr/share/${__APPNAME}/ringtone.wav"
- __symlink "/usr/lib/${__APPNAME}/microsip.exe"
- __symlink "/usr/lib/${__APPNAME}/lame_enc.dll"
-
- mkdir -p "${__APPCFG}"
- touch "${__APPCFG}/Contacts.xml"
- touch "${__APPCFG}/microsip.ini"
- __symlink "${__APPCFG}/Contacts.xml"
- __symlink "${__APPCFG}/microsip.ini"
-
- mkdir -p "${__APPLOG}"
- touch "${__APPLOG}/microsip_log.txt"
- __symlink "${__APPLOG}/microsip_log.txt"
-
- touch "${__INSTALLED}"
-fi
-
-if [[ ! -f "${__QUIRK1}" ]]; then
- touch "${__QUIRK1}"
-fi
-
-
-WINEPREFIX="${__WINEPREFIX}" WINEARCH="${__WINEARCH}" wine "${__APPDIR}/microsip.exe"
-
diff --git a/microsip.desktop b/microsip.desktop
deleted file mode 100644
index b4b246880b6..00000000000
--- a/microsip.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=MicroSIP
-Comment=Open source portable SIP softphone for Windows based on PJSIP stack
-Exec=/usr/bin/microsip
-Terminal=false
-Type=Application
-Icon=microsip
-Categories=Network;Telephony;
-StartupNotify=false
-GenericName=
-MimeType=x-scheme-handler/sip;
diff --git a/microsip.png b/microsip.png
deleted file mode 100644
index d6fab1ee5e4..00000000000
--- a/microsip.png
+++ /dev/null
Binary files differ
diff --git a/microsip.reg b/microsip.reg
deleted file mode 100644
index 869c1366d8b..00000000000
--- a/microsip.reg
+++ /dev/null
@@ -1,7 +0,0 @@
-´╗┐Windows Registry Editor Version 5.00
-
-[HKEY_CURRENT_USER\Control Panel\Desktop]
-"FontSmoothingGamma"=dword:00000578
-"FontSmoothingType"=dword:00000002
-"LogPixels"=dword:{DPI}
-