Compare commits

...
Author SHA1 Message Date
Stefan Hansson 9727972f51 temp/calls: fork to use sofia-sip-linphone
[ci:skip-vercheck]
2024-08-17 21:12:56 +02:00
Stefan Hansson d31ca07cc0 temp/sofia-sip-linphone: new aport 2024-08-17 21:09:38 +02:00
3 changed files with 132 additions and 0 deletions

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
# Forked from Alpine to test alternative sip backend
pkgname=calls
pkgver=46.3
pkgrel=1
pkgdesc="Phone dialer and call handler"
arch="all"
url="https://gitlab.gnome.org/GNOME/calls"
license="GPL-3.0-or-later"
depends="
callaudiod
modemmanager
"
makedepends="
callaudiod-dev
evolution-data-server-dev
desktop-file-utils
feedbackd-dev
folks-dev
gettext-dev
gobject-introspection-dev
gom-dev
gsound-dev
gstreamer-dev
gtk+3.0-dev
libhandy1-dev
libpeas-dev
meson
modemmanager-dev
ninja
py3-docutils
sofia-sip-linphone-dev
vala
"
subpackages="$pkgname-doc $pkgname-dbg $pkgname-lang"
source="https://download.gnome.org/sources/calls/${pkgver%%.*}/calls-$pkgver.tar.xz
"
options="!check" # Requires running Wayland compositor
build() {
abuild-meson \
-Db_lto=true \
-Dtests="$(want_check && echo true || echo false)" \
. output
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
e128b6ddc6986ceb1335641f28a03111925e58a66de42276f25b5f4e030d4f448b193ca311502448c12876e0a2b3a84a1d6583480741ea13fc180aadef6f7314 calls-46.3.tar.xz
"
@@ -0,0 +1,30 @@
From 551ba7e1e0af3ae7a19a6bf6909db8178a2563cd Mon Sep 17 00:00:00 2001
From: Stefan Hansson <newbyte@postmarketos.org>
Date: Sat, 17 Aug 2024 20:27:40 +0200
Subject: [PATCH] Remove bc suffix from version
abuild doesn't like this. While it might seem appealing to strip this
using some sed invocation to make this more futureproof, in practice
this is a fool's errand as since this release they changed the build
system from Autotools to CMake, so any future release will use CMake
anyway which consequently makes any changes to configure.ac pointless.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index cbd57c4d..59fa82cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,7 @@ dnl information on the package
dnl ---------------------------
dnl update both the version for AC_INIT and the LIBSOFIA_SIP_UA_MAJOR_MINOR
-AC_INIT([sofia-sip], [1.13.45bc])
+AC_INIT([sofia-sip], [1.13.45])
AC_CONFIG_SRCDIR([libsofia-sip-ua/sip/sofia-sip/sip.h])
AC_CONFIG_MACRO_DIR([m4])
AC_SUBST(VER_LIBSOFIA_SIP_UA_MAJOR_MINOR, [1.13])
--
2.45.2
+44
View File
@@ -0,0 +1,44 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sofia-sip-linphone
pkgver=1.13.45
_pkgver="${pkgver}bc"
pkgrel=0
pkgdesc="RFC3261 compliant SIP User-Agent library"
url="https://gitlab.linphone.org/BC/public/external/sofia-sip"
arch="all"
license="LGPL-2.1-only"
options="!check"
makedepends="automake autoconf coreutils libtool m4 glib-dev openssl-dev>3 lksctp-tools-dev"
subpackages="$pkgname-dev $pkgname-dbg $pkgname-doc"
source="$pkgname-$_pkgver.tar.gz::https://github.com/BelledonneCommunications/sofia-sip/archive/$_pkgver.tar.gz
0001-Remove-bc-suffix-from-version.patch
"
builddir="$srcdir/sofia-sip-$_pkgver"
prepare() {
default_prepare
sh autogen.sh
}
build() {
./configure \
--prefix=/usr \
--with-openssl \
--enable-static=no \
--disable-rpath
make
}
check() {
TPORT_DEBUG=9 TPORT_TEST_HOST=0.0.0.0 make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
4e6ed6c8ad0dba53c4c490abe248e8c537e00991d78e882ec93920477f6f2b36ee1fe5cfa90cea1c6f3d07fbccdd96adea881efd49e3aa89f647826ce8200344 sofia-sip-linphone-1.13.45bc.tar.gz
f1dbeab1293f936092439d34046ae9fece6a283656746d92d49115c94a65c2a2061a55ff069949af663b8e96991c056cba5677efffce879eae2791ecf1b9263d 0001-Remove-bc-suffix-from-version.patch
"