Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addpkg: fractal-git #3704

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
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 <xiretza+aur@xiretza.xyz>
# Contributor: Falk Alexander Seidl <fa@terminal.run>

pkgname=fractal-git
_gitname=fractal
epoch=1
pkgver=6.r150.g462b5cd5
pkgrel=1
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.5alpha' 'pipewire' 'libshumate' 'org.freedesktop.secrets'
'xdg-desktop-portal')
conflicts=('fractal')
provides=("fractal=$pkgver" 'fractal-next')
makedepends=('rust' 'git' 'meson' 'clang')
options=('!lto')
source=("git+https://gitlab.gnome.org/GNOME/fractal.git")
md5sums=('SKIP')

pkgver() {
cd "$_gitname"
git describe --tags | sed -r 's/\.([a-z])/\1/;s/[^-]*-g/r&/;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
Contributor 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