Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions archlinuxcn/fractal-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Maintainer: xiretza <[email protected]>
# Contributor: Falk Alexander Seidl <[email protected]>

pkgname=fractal-git
_gitname=fractal
epoch=1
pkgver=5.beta1.r6.g5816bdbb
pkgrel=2
pkgdesc="Matrix messaging app for GNOME written in Rust"
arch=('i686' 'x86_64')
license=('GPL3')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url="https://gitlab.gnome.org/GNOME/fractal"
depends=('gtk4' 'gtksourceview5' 'gst-plugins-base-libs' 'gst-editing-services'
'libadwaita>=1:1.3alpha' 'pipewire' 'libshumate' 'org.freedesktop.secrets'
'xdg-desktop-portal')
conflicts=('fractal')
provides=("fractal=$pkgver" 'fractal-next')
replaces=('fractal-next')
makedepends=('rust' 'git' 'meson' 'clang')
source=("git+https://gitlab.gnome.org/GNOME/fractal.git")
md5sums=('SKIP')

pkgver() {
cd "$_gitname"
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
cd "${srcdir}/${_gitname}/"
arch-meson . _build
ninja -C _build
}
Comment on lines +28 to +32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://fars.ee/6-Mh.log

==> ERROR: A failure occurred in build().

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://fars.ee/8tJO.log

extra-x86_64-build -- -I gtk4-1%3A4.14.1-1-x86_64.pkg.tar.zst -I gtksourceview5-5.12.0-1-x86_64.pkg.tar.zst -I libadwaita-1%3A1.5.0-1-x86_64.pkg.tar.zst -I libshumate-1.2.0-1-x86_64.pkg.tar.zst
==> ERROR: A failure occurred in build().

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try gnome-unstable-x86_64-build


package() {
cd "${srcdir}/${_gitname}/"
DESTDIR="${pkgdir}" ninja -C _build install
}
16 changes: 16 additions & 0 deletions archlinuxcn/fractal-git/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
maintainers:
- github: Kimiblock

build_prefix: gnome-unstable

update_on:
- source: git
git: https://gitlab.gnome.org/World/fractal.git
use_commit: true
lilac_throttle: 7d
- source: alpm
alpm: libadwaita
provided: libadwaita-1.so
- source: alpm
alpm: libshumate
provided: libshumate-1.0.so