Package Details: vapoursynth-plugin-lsmashsource-git 1194.0.0.0.5.gf41e8d5-1

Git Clone URL: https://aur.archlinux.org/foosynth-plugin-lsmashsource-git.git (read-only, click to copy)
Package Base: foosynth-plugin-lsmashsource-git
Description: Plugin for Vapoursynth: lsmashsource (GIT version)
Upstream URL: https://forum.doom9.org/showthread.php?t=167435
Keywords: vapoursynth
Licenses: LGPL
Conflicts: vapoursynth-plugin-lsmashsource
Provides: vapoursynth-plugin-lsmashsource
Submitter: sl1pkn07
Maintainer: jholmer
Last Packager: jholmer
Votes: 3
Popularity: 0.104536
First Submitted: 2021-01-08 05:27 (UTC)
Last Updated: 2024-08-24 13:33 (UTC)

Dependencies (12)

Required by (12)

Sources (1)

Latest Comments

jholmer commented on 2024-08-24 13:33 (UTC)

Package has been updated

Win8Error commented on 2024-08-11 12:33 (UTC)

Can you please merge the patch from @FintasticMan?

Rus commented on 2024-07-31 21:22 (UTC)

sl1pkn07, update pls

FintasticMan commented on 2024-07-28 10:29 (UTC)

This patch fixes the build for me, by switching to the fork @jholmer suggested.

commit 2b3209709189239f105fc3083bc96275573f01fc
Author: FintasticMan <finlay.neon.kid@gmail.com>
Date:   Sun Jul 28 12:26:08 2024 +0200

    Switch to fork

diff --git a/PKGBUILD b/PKGBUILD
index e9cf11b..0da7036 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ makedepends=('git'
              )
 provides=("vapoursynth-plugin-${_plug}")
 conflicts=("vapoursynth-plugin-${_plug}")
-source=("${_plug}::git+https://github.com/AkarinVS/L-SMASH-Works.git#branch=ffmpeg-4.5")
+source=("${_plug}::git+https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works.git")
 sha256sums=('SKIP')
 options=('debug')

@@ -50,5 +50,5 @@ build() {

 package_vapoursynth-plugin-lsmashsource-git() {
   DESTDIR="${pkgdir}" ninja -C build install
-  install -Dm644 "${_plug}/AviSynth/README" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README"
+  install -Dm644 "${_plug}/VapourSynth/README.md" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README"
 }

jholmer commented on 2024-07-24 04:24 (UTC)

Does the fork at https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works work with ffmpeg 7? It appears to be more up-to-date than the Akarin fork.

exu commented on 2024-06-24 19:37 (UTC)

This is the upstream issue for tracking ffmpeg 7.0 support.
https://github.com/AkarinVS/L-SMASH-Works/issues/33

lighterowl commented on 2024-06-21 21:38 (UTC)

ffmpeg is now at 7.0.1 and this plugin fails to build.

A fix for now is to build against ffmpeg4.4 :

diff --git a/PKGBUILD b/PKGBUILD
index e9cf11b..f022d14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 _plug=lsmashsource
 pkgbase=foosynth-plugin-${_plug}-git
 pkgname=("vapoursynth-plugin-${_plug}-git")
-pkgver=A.5b.0.gfb891d0
+pkgver=A.5b.10.g5bea7a5
 pkgrel=1
 pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)"
 arch=('x86_64')
@@ -21,7 +21,7 @@ makedepends=('git'
              'meson'
              'vapoursynth'
              'l-smash'
-             'ffmpeg'
+             'ffmpeg4.4'
              )
 provides=("vapoursynth-plugin-${_plug}")
 conflicts=("vapoursynth-plugin-${_plug}")
@@ -42,7 +42,9 @@ prepare() {

 build() {
   cd build
-  arch-meson "../${_plug}/VapourSynth" \
+  PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig \
+    CFLAGS=-D_XOPEN_SOURCE=500 \
+    arch-meson "../${_plug}/VapourSynth" \
     --buildtype=release

   ninja

CFLAGS=-D_XOPEN_SOURCE=500 is there because the definition of realpath isn't provided otherwise, at least on my system.