Package Details: wayfarer 1.2.4-1

Git Clone URL: https://aur.archlinux.org/wayfarer.git (read-only, click to copy)
Package Base: wayfarer
Description: Screen recorder for GNOME / Wayland or X11 / Pipewire / XDG Portal
Upstream URL: https://github.com/stronnag/wayfarer
Licenses: GPL3
Submitter: christoph.gysin
Maintainer: christoph.gysin
Last Packager: christoph.gysin
Votes: 3
Popularity: 1.53
First Submitted: 2023-03-07 20:39 (UTC)
Last Updated: 2024-04-09 05:59 (UTC)

Latest Comments

dreieck commented on 2023-05-12 12:20 (UTC)

The solution to the error that makes blueprint-compiler failing is that the package python-argparse must not be installed. See ↗ here.

dreieck commented on 2023-05-07 11:30 (UTC)

Actually, not having blueprint-compiler installed makes the package building for me.

Then it falls back to it's own blueprint-compiler, which does not give this error. (Having blueprint-compiler-git installed also does not solve the issue.)

But it really needs to be made sure that no external blueprint-compiler is installed -- no idea how to achieve this outside of a "clean build chroot".

Here is a PKGBUILD:

# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>

pkgname=wayfarer
pkgver=1.1.0
pkgrel=2
pkgdesc='Screen recorder for GNOME / Wayland or X11 / Pipewire / XDG Portal'
arch=('i686' 'x86_64' 'arm' 'aarch64' 'armv7h' 'pentium4')
url='https://github.com/stronnag/wayfarer'
license=('GPL3')
makedepends=('git' 'vala' 'meson' 'gobject-introspection')
depends=('gtk4' 'libpulse')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('a787b7a6c171f60d55d2fe71b6f874e275c0ac88e5c6768da1809f1e43de8daa')

prepare() {
  cd $pkgname-$pkgver
  if which blueprint-compiler > /dev/null 2>&1; then
    error "This package only builds cleanly if 'blueprint-compiler' is _not_ installed. Please build in an environment where it is not available."
    return 99
  fi
  meson setup build --prefix=/usr --buildtype=release --strip # Put in `prepare()` since it (might) download some stuff.
}

build() {
  cd $pkgname-$pkgver
  meson compile -C build
}

package() {
  cd $pkgname-$pkgver
  DESTDIR="$pkgdir" meson install -C build
}

Regards!

christoph.gysin commented on 2023-03-17 20:21 (UTC) (edited on 2023-03-17 20:21 (UTC) by christoph.gysin)

@TrialnError Added missing build dependency blueprint-compiler. Thanks!

TrialnError commented on 2023-03-15 19:51 (UTC)

There seems to be some missing (build-)dep?

[1/21] Generating data/blueprints with a custom command
FAILED: data 
/tmp/makepkg/wayfarer/src/wayfarer-1.1.0/build/subprojects/blueprint-compiler/blueprint-compiler batch-compile data/. ../data ../data/wayfarer.blp
Traceback (most recent call last):
  File "/tmp/makepkg/wayfarer/src/wayfarer-1.1.0/build/subprojects/blueprint-compiler/blueprint-compiler", line 37, in <module>
    from blueprintcompiler import main
  File "/tmp/makepkg/wayfarer/src/wayfarer-1.1.0/subprojects/blueprint-compiler/blueprintcompiler/main.py", line 25, in <module>
    from .lsp import LanguageServer
  File "/tmp/makepkg/wayfarer/src/wayfarer-1.1.0/subprojects/blueprint-compiler/blueprintcompiler/lsp.py", line 24, in <module>
    from .completions import complete
  File "/tmp/makepkg/wayfarer/src/wayfarer-1.1.0/subprojects/blueprint-compiler/blueprintcompiler/completions.py", line 22, in <module>
    from . import gir, language
  File "/tmp/makepkg/wayfarer/src/wayfarer-1.1.0/subprojects/blueprint-compiler/blueprintcompiler/gir.py", line 24, in <module>
    import gi  # type: ignore
ModuleNotFoundError: No module named 'gi'