guix_mirror_bot pushed a commit to branch misc-world-rebuild in repository guix.
commit 9e4c04df2b56e0ea0d429a31c0aa10f1407fcff2 Author: SilverlightningY <[email protected]> AuthorDate: Mon May 25 02:10:26 2026 +0200 gnu: frei0r-api: New variable. * gnu/packages/video.scm (frei0r-api): New variable. Change-Id: I30d8182d4536cf0af62f66f9860a4125bc7a043a Reviewed-by: Efraim Flashner <[email protected]> Reviewed-by: Sharlatan Hellseher <[email protected]> Reviewed-by: Sughosha <[email protected]> Signed-off-by: Nguyễn Gia Phong <[email protected]> --- gnu/packages/video.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 8c417312d0..30ed2f606a 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -6126,6 +6126,49 @@ It counts more than 100 plugins.") ;; src/filter/facedetect/facedetect.cpp license:lgpl2.1+)))) +(define-public frei0r-api + (package + (name "frei0r-api") + (version "1.2") + (source + (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url "https://github.com/dyne/frei0r") + ;; This release contains the latest version of the headers. + ;; It should only be updated if the headers change. + (commit "v3.0.0"))) + (sha256 + (base32 "1wgsja14b4ihcakm5w7ndn0dflsp8xyv7r90hi4x2yipc7gf46iy")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("include/frei0r.h" "include/") + ("include/frei0r.hpp" "include/") + ("frei0r.pc" "lib/pkgconfig/")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'write-pkg-config-file + (lambda _ + (with-output-to-file "frei0r.pc" + (lambda _ + (format #t + "Name: frei0r +Description: minimalistic plugin API for video effects +Version: ~a +Libs: +Cflags: -I~a~%" + #$(package-version this-package) + (string-append #$output "/include"))))))))) + (home-page "https://frei0r.dyne.org/codedoc/html/") + (synopsis "Public API of frei0r") + (description + "Public header files of frei0r, a large collection of free and portable +video plugins.") + (license license:gpl2+))) + (define-public motion (package (name "motion")
