Simple Screen Recorder for arm64

I am trying to get simple screen recorder from an ubuntu or debian operating system working on X11 or Wayland this is the PKGBUILD

# Contributor: Arch Linux community <https://archlinux.org>
pkgname=simplescreenrecorder
pkgver=0.4.2
pkgrel=1
pkgdesc="A simple screen recorder for Linux"
arch=('aarch64')
url="https://www.maartenbaert.be/simplescreenrecorder/"
license=('GPL')
depends=('ffmpeg' 'libpulse' 'libx11' 'libxfixes' 'libxcb' 'libxcb-shm' 'libxcb-xfixes' 'libxcb-randr' 'libxcb-image' 'libgl' 'alsa-lib' 'fontconfig' 'cairo' 'hicolor-icon-theme' 'qt5-tools')
source=("https://github.com/MaartenBaert/ssr/archive/v$pkgver.tar.gz")
sha256sums=('SKIP')  # run 'makepkg -g' to generate the correct checksum

build() {
  cd "$srcdir/ssr-$pkgver"

  # Build the software
  qmake PREFIX=/usr SIMPLE_SCREEN_RECORDER_DO_NOT_COMPILE_FAKE_XRANDR=1
  make
}

package() {
  cd "$srcdir/ssr-$pkgver"

  # Install the files to the correct locations
  make INSTALL_ROOT="$pkgdir" install
}

# vim:set ts=2 sw=2 et:

every time i am trying to use makepkg -si in the directory folder in terminal i get this set of errors

==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: libxcb-shm
error: target not found: libxcb-xfixes
error: target not found: libxcb-randr
error: target not found: libxcb-image
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> libxcb-shm
  -> libxcb-xfixes
  -> libxcb-randr
  -> libxcb-image
==> Checking buildtime dependencies...

my problem is i have libxcb 1-16-1 installed but listing errors with ldflags didn’t help either and i know it lists it as a .so file but i need it installed in dependencies not the opt folder. smh …

FYI, you don’t need a custom PKGBUILD just to change the architecture. Use the -A flag with makepkg to ignore the architecture. See man makepkg for more info.

sudo pacman -Syu --needed base-devel git
git clone https://aur.archlinux.org/simplescreenrecorder.git
cd simplescreenrecorder
makepkg -Asrif

You can also use yay and it will prompt to ignore the architecture and build anyway.

It builds fine on x86_64, however I just tested on my PineBook Pro and it fails to build. Not every program will build on ARM64, sorry.

Also, if you can get it to build, it will work only on X11, not on Wayland.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.