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 …