diff options
author | Xiretza | 2022-08-14 09:59:35 +0200 |
---|---|---|
committer | Xiretza | 2022-08-14 10:00:07 +0200 |
commit | 3b199e8caf9c4cb14405b2bc22238fd3cb18a114 (patch) | |
tree | 3e127b6e72d28c42371507b165b0f25d857747c0 | |
parent | 3b15386217e1af0c00575d14eeff9c60ea89fb04 (diff) | |
download | aur-3b199e8caf9c4cb14405b2bc22238fd3cb18a114.tar.gz |
Fix dependencies
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 22 insertions, 20 deletions
@@ -1,30 +1,27 @@ pkgbase = fractal-git pkgdesc = Matrix messaging app for GNOME written in Rust - pkgver = r1614.f39555b + pkgver = 5.alpha.r724.b55752c1 pkgrel = 1 url = https://gitlab.gnome.org/GNOME/fractal arch = i686 arch = x86_64 license = GPL3 makedepends = rust - makedepends = gst-editing-services - makedepends = pkg-config makedepends = git makedepends = meson - depends = gtk3 - depends = libhandy - depends = gtksourceview3 - depends = gstreamer + makedepends = clang + depends = gtk4 + depends = gtksourceview5 depends = gst-plugins-base-libs - depends = gst-plugins-bad depends = gst-editing-services - depends = gst-libav depends = gspell - optdepends = gnome-keyring + depends = libadwaita>=1:1.2.alpha + depends = pipewire + depends = libshumate + depends = org.freedesktop.secrets provides = fractal conflicts = fractal source = git+https://gitlab.gnome.org/GNOME/fractal.git md5sums = SKIP pkgname = fractal-git - @@ -2,23 +2,28 @@ pkgname=fractal-git _gitname=fractal -pkgver=r1614.f39555b +pkgver=5.alpha.r724.b55752c1 pkgrel=1 pkgdesc="Matrix messaging app for GNOME written in Rust" arch=('i686' 'x86_64') license=('GPL3') url="https://gitlab.gnome.org/GNOME/fractal" -depends=('gtk3' 'libhandy' 'gtksourceview3' 'gstreamer' 'gst-plugins-base-libs' 'gst-plugins-bad' 'gst-editing-services' 'gst-libav' 'gspell') -optdepends=('gnome-keyring: secrets service') -conflics=('fractal') +depends=('gtk4' 'gtksourceview5' 'gst-plugins-base-libs' 'gst-editing-services' 'gspell' 'libadwaita>=1:1.2.alpha' 'pipewire' 'libshumate' 'org.freedesktop.secrets') +conflicts=('fractal') provides=('fractal') -makedepends=('rust' 'gst-editing-services' 'pkg-config' 'git' 'meson') -source=("git+https://gitlab.gnome.org/World/fractal.git") +makedepends=('rust' 'git' 'meson' 'clang') +source=("git+https://gitlab.gnome.org/GNOME/fractal.git") md5sums=('SKIP') - + pkgver() { - cd "${srcdir}/${_gitname}/" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$_gitname" + ( + set -o pipefail + + # the -next rewrite is a completely separate git history, which does not have any tags yet + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "5.alpha.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) } build() { |