Package Details: libplacebo-git 7.350.0.3601.g5ba13768-1

Git Clone URL: https://aur.archlinux.org/libplacebo-git.git (read-only, click to copy)
Package Base: libplacebo-git
Description: Reusable library for GPU-accelerated video/image rendering primitives. (GIT version)
Upstream URL: https://code.videolan.org/videolan/libplacebo
Licenses: LGPL2.1
Conflicts: libplacebo
Provides: libplacebo, libplacebo.so
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 13
Popularity: 1.07
First Submitted: 2018-04-29 15:53 (UTC)
Last Updated: 2024-11-30 23:45 (UTC)

Required by (33)

Sources (2)

Latest Comments

1 2 3 4 5 Next › Last »

qmega commented on 2024-12-01 01:57 (UTC)

Currently needs a patch to build against latest glslang. I just piggybacked on the change made to the package in Extra.

diff --git a/PKGBUILD b/PKGBUILD
index 658b022..0a322bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=libplacebo-git
 pkgver=7.350.0.3601.g5ba13768
-pkgrel=1
+pkgrel=2
 pkgdesc='Reusable library for GPU-accelerated video/image rendering primitives. (GIT version)'
 url='https://code.videolan.org/videolan/libplacebo'
 arch=('x86_64')
@@ -37,10 +37,12 @@ conflicts=('libplacebo')
 source=(
   'git+https://code.videolan.org/videolan/libplacebo.git'
   'git+https://github.com/fastfloat/fast_float.git'
+  'https://gitlab.archlinux.org/archlinux/packaging/packages/libplacebo/-/raw/47fb7c556728a2d57220f0ddceb6a85398e6c527/fix_glslang_linking.patch'
 )
 sha256sums=(
   'SKIP'
   'SKIP'
+  '17af077c646b785f26cb8f3e69508faaaf581b9d990e5450e8cd717d8a2000c8'
 )
 options=('debug')

@@ -61,6 +63,9 @@ prepare() {
   git config submodule.3rdparty/fast_float.url "${srcdir}/fast_float"
   git -c protocol.file.allow=always submodule update --init \
      3rdparty/fast_float
+
+  # Fix linking for glslang 15.0.0
+  patch -Np1 < "${srcdir}/fix_glslang_linking.patch"
 }

 build() {

qmega commented on 2024-11-28 10:10 (UTC) (edited on 2024-11-28 10:28 (UTC) by qmega)

Latest API version description has digits in it so grep produces multiple lines. Simplest fix:

diff --git a/PKGBUILD b/PKGBUILD
index 52d4df2..8d7900a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -49,7 +49,7 @@ pkgver() {
   #   echo "$(git describe --long --tags | sed 's|-rc|rc|g' | tr - . | tr -d v)"

   _major_ver="$(cat meson.build | sed -ne '/Major version/{N;p}' | tail -n1 | grep -o "[[:digit:]]*")"
-  _api="$(cat meson.build | sed -ne '/API version/{N;N;p}' | tail -n1 | grep -o "[[:digit:]]*")"
+  _api="$(cat meson.build | sed -ne '/API version/{N;N;p}' | tail -n1 | grep -o "[[:digit:]]*" | head -n1)"
   _fix_ver="$(cat meson.build | sed -ne '/Fix version/{N;p}' | tail -n1 | grep -o "[[:digit:]]*")"
   echo "${_major_ver}.${_api}.${_fix_ver}.$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
 }

Still, this approach to pkgver is pretty fragile. I guess I don't have a much better idea, though. The meson.build definition is the project's single source of truth for version AFAIK and I don't know a way to have meson evaluate the build file without also configuring the project...

wilkins commented on 2024-11-27 11:45 (UTC) (edited on 2024-11-27 11:46 (UTC) by wilkins)

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 7.350
3
11.0.3601.g5ba13768

unknown78 commented on 2024-06-27 21:04 (UTC) (edited on 2024-07-06 20:10 (UTC) by unknown78)

When running the testsuite the vulkan.c fails. Here is the full log -> https://paste.rs/qzaft Can someone help me why or how to further analyse ?

PS: since paste.rs cutted it -> https://gist.githubusercontent.com/Glog78/c66ea7900f02da29b7324c7601d747ff/raw/039dd699c64195bd37c616c6058ec38bddfa2660/error_log.txt

wilkins commented on 2024-02-08 19:47 (UTC)

==> WARNING: Library listed in 'depends' is not required by any files: libxxhash.so

preconiseencaust commented on 2024-02-05 15:40 (UTC)

Sanity check compile stderr: cc1: error: invalid argument ‘/tmp/makepkg’ to ‘-ffile-prefix-map’

../libplacebo/meson.build:1:0: ERROR: Compiler cc cannot compile programs.

Am I doing something wrong here, or is there something going on with the package? I haven't been able to build this for weeks.

qmega commented on 2023-12-20 08:45 (UTC)

@boofi I'd guess that's ffmpeg linked against libplacebo.so.264, not mpv-git (which shouldn't build against libplacebo.so.264). Do you have ffmpeg from extra installed? Do you have the same issue with the ffmpeg command? The official build of ffmpeg 2:6.1-3 requires libplacebo.so.264 and you need to build it yourself if you're using libplacebo-git.

boofi commented on 2023-12-19 19:43 (UTC)

mpv-git succesfully builds against this, but it complains about not being able to find the .so file.

mpv: error while loading shared libraries: libplacebo.so.264: cannot open shared object file: No such file or directory

Checking the libs folder, only reveals libplacebo.so, no .264 etc.

Hanuman commented on 2023-09-14 15:19 (UTC)

ok libplacebo-git from AUR works. mpv-full from AUR installed with paru still fails.

mpv: error while loading shared libraries: libplacebo.so.315: cannot open shared object file: No such file or directory

mpv-full-git works.

sl1pkn07 commented on 2023-09-13 16:22 (UTC)

is already fixed(?)