Package Details: screenpipe 0.2.7-1

Git Clone URL: https://aur.archlinux.org/screenpipe.git (read-only, click to copy)
Package Base: screenpipe
Description: 24/7 Screen and Audio Capture with AI-powered tools
Upstream URL: https://github.com/mediar-ai/screenpipe
Licenses: MIT
Submitter: tonybenoy
Maintainer: envolution
Last Packager: envolution
Votes: 2
Popularity: 1.10
First Submitted: 2024-10-03 08:55 (UTC)
Last Updated: 2024-11-29 21:08 (UTC)

Latest Comments

ptr1337 commented on 2024-11-09 19:24 (UTC)

Hi,

this PKGBUILD is currently really a messy. You are providing it as stable package, but checking out at the latest -git commit. This package is also not possible to compile in a chroot (check this with pkgctl build) due a lot of missing dependecies.

You are even providing the wrong pkgversion. It would be 0.1.94 and not 0.19.4. This is a massive difference, when this package is maintained in repositories.

Please read the following, how to use PKGBUILDs and follow the guidelines: https://wiki.archlinux.org/title/Arch_package_guidelines

With lto enabled, the package doesnt build either. Please apply the following diff:

diff --git a/PKGBUILD b/PKGBUILD
index 4c43805..ff8b171 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
 # Maintainer: Tony Benoy <me@tonybenoy.com>
 pkgname=screenpipe
-pkgver=0.19.4
-pkgrel=2
+pkgver=0.1.98
+pkgrel=1
 pkgdesc="24/7 Screen and Audio Capture with AI-powered tools"
 arch=('x86_64')
 url="https://github.com/mediar-ai/screenpipe"
 license=('MIT')
-depends=('ffmpeg' 'tesseract' 'curl')
-makedepends=('rust' 'cargo' 'git')
-source=("$pkgname::git+$url")
-sha256sums=('SKIP')
+depends=('ffmpeg' 'tesseract' 'curl' 'libxi' 'libxtst' 'xdo' 'xdotool')
+makedepends=('rust' 'cargo' 'git' 'cmake')
+source=("git+https://github.com/mediar-ai/screenpipe#tag=v${pkgver}")
+sha256sums=('b08a3bec8b1356cf3d0709d5c1c0dbd5de1803ab7cacaec3d08682eae4187445')
+options=(!lto)

 build() {
   cd "$srcdir/$pkgname"

please fix the package in the AUR.

Sandwich commented on 2024-10-30 11:53 (UTC)

Add options=("!lto") to the PKGBUILD for successful compilation

bannert commented on 2024-10-23 06:04 (UTC) (edited on 2024-10-23 06:05 (UTC) by bannert)

The installation will fail, because of missing dependencies.

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `ort-sys` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: screenpipe-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
screenpipe - exit status 4