diff options
author | Carl Smedstad | 2024-01-17 16:16:20 +0100 |
---|---|---|
committer | Carl Smedstad | 2024-01-17 16:29:34 +0100 |
commit | fb76556d15f16c9149f2fff275c0afb8e227874e (patch) | |
tree | 6b633369006d0674d9afed8735170850a8b7412e | |
parent | 9cb94890d74dc400cce05d27e38c0bcbe3830f67 (diff) | |
download | aur-fb76556d15f16c9149f2fff275c0afb8e227874e.tar.gz |
upgpkg: 45.0-2
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 28 insertions, 19 deletions
@@ -1,15 +1,16 @@ pkgbase = calls pkgdesc = Phone dialer and call handler pkgver = 45.0 - pkgrel = 1 + pkgrel = 2 url = https://gitlab.gnome.org/GNOME/calls arch = x86_64 arch = aarch64 - license = GPL3 + license = GPL-3.0-or-later checkdepends = gst-plugins-bad checkdepends = gst-plugins-base checkdepends = gst-plugins-good checkdepends = gst-plugins-ugly + makedepends = git makedepends = meson makedepends = python-docutils makedepends = vala @@ -31,11 +32,11 @@ pkgbase = calls depends = libpeas depends = libsecret depends = sofia-sip - source = calls-45.0.tar.gz::https://gitlab.gnome.org/GNOME/calls/-/archive/v45.0/calls-v45.0.tar.gz - source = libcall-ui-0.1.0::https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/v0.1.0/libcall-ui-v0.1.0.tar.gz + source = git+https://gitlab.gnome.org/GNOME/calls.git#commit=936d36287324163b958c6ea0c4297c7a607ee18c + source = git+https://gitlab.gnome.org/World/Phosh/libcall-ui.git source = remove-failing-tests.patch - sha256sums = 60822ecd41a997c93966765648d7d3412a7350613da1310cccee6e27ab3c1035 - sha256sums = a3dec58c622fb418c69085c4a20c2804058864d8b74f4af751e9c96b3ecafede + sha256sums = SKIP + sha256sums = SKIP sha256sums = d4411f7eed3ac49ce78eb04e139ecc213ed02559ed8a8fb2337dca06969aab86 pkgname = calls @@ -4,11 +4,12 @@ pkgname=calls pkgver=45.0 -pkgrel=1 +_commit=936d36287324163b958c6ea0c4297c7a607ee18c +pkgrel=2 pkgdesc="Phone dialer and call handler" arch=(x86_64 aarch64) url="https://gitlab.gnome.org/GNOME/calls" -license=(GPL3) +license=(GPL-3.0-or-later) depends=( callaudiod dconf @@ -30,6 +31,7 @@ depends=( sofia-sip ) makedepends=( + git meson python-docutils vala @@ -41,27 +43,33 @@ checkdepends=( gst-plugins-ugly ) -_libcall_version=0.1.0 - source=( - "$pkgname-$pkgver.tar.gz::$url/-/archive/v$pkgver/calls-v$pkgver.tar.gz" - "libcall-ui-$_libcall_version::https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/v$_libcall_version/libcall-ui-v$_libcall_version.tar.gz" + "git+$url.git#commit=$_commit" + "git+https://gitlab.gnome.org/World/Phosh/libcall-ui.git" "remove-failing-tests.patch" ) sha256sums=( - '60822ecd41a997c93966765648d7d3412a7350613da1310cccee6e27ab3c1035' - 'a3dec58c622fb418c69085c4a20c2804058864d8b74f4af751e9c96b3ecafede' + 'SKIP' + 'SKIP' 'd4411f7eed3ac49ce78eb04e139ecc213ed02559ed8a8fb2337dca06969aab86' ) -_archive="$pkgname-v$pkgver" +_archive="$pkgname" -prepare() { - rm -r "$_archive/subprojects/libcall-ui" - cp -r libcall-ui-v$_libcall_version "$_archive/subprojects/libcall-ui" +pkgver() { + cd "$_archive" + + git describe --tags | sed 's/^v//' +} +prepare() { cd "$_archive" - patch -Np1 -i "$srcdir/remove-failing-tests.patch" + + git submodule init + git config submodule.subprojects/libcall-ui.url "$srcdir/libcall-ui" + git -c protocol.file.allow=always submodule update + + patch --forward --strip=1 --input="$srcdir/remove-failing-tests.patch" } build() { |