Package Details: libopenshot-git 0.4.0.r140.g7b4e9992-1

Git Clone URL: https://aur.archlinux.org/libopenshot-git.git (read-only, click to copy)
Package Base: libopenshot-git
Description: A high quality, open-source video editing, animation, and playback library for C++, Python, and Ruby (git version)
Upstream URL: https://www.openshot.org/
Licenses: LGPL-3.0-or-later
Conflicts: libopenshot
Provides: libopenshot, libopenshot.so
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 2
Popularity: 0.000000
First Submitted: 2017-07-24 01:20 (UTC)
Last Updated: 2025-10-10 19:37 (UTC)

Latest Comments

1 2 Next › Last »

abd commented on 2025-10-11 06:06 (UTC) (edited on 2025-10-11 06:07 (UTC) by abd)

Sorry, imagemagick is outdated

updating it should now solve it

abd commented on 2025-10-10 23:18 (UTC)

I think compile succeed (?) but linking error:

Generating build files for OpenShot with CMake 4.0.1-dirty
Building libopenshot (version 0.4.0)
SO/API/ABI Version: 27

-- Looking for system jsoncpp
-- Could NOT find Resvg (missing: Resvg_LIBRARIES Resvg_INCLUDE_DIRS) (found version "")
-- Checking for module 'libavresample'
-- Package 'libavresample' not found
-- Checking for module 'babl'
-- Package 'babl' not found
-- PYTHON_MODULE_PATH: /usr//usr/lib/python3.13/site-packages
-- Doxygen found, enabling libopenshot documentation target
-- libopenshot Build configuration: -- The following features have been enabled:

  • FFmpeg swresample, Audio resampling uses swresample
  • FFmpeg hwaccel, GPU-accelerated routines (FFmpeg 3.4+)
  • OpenCV algorithms, Use OpenCV algorithms
  • Parallel tests, Unit tests can use 4 processors
  • Unit tests, Compile unit tests for library functions
  • Non-default target 'coverage', Run unit tests and (if enabled) collect coverage data
  • Non-default target 'doc', Build formatted API documentation (HTML+SVG)

-- The following OPTIONAL packages have been found:

  • ImageMagick
  • cppzmq
  • PkgConfig
  • babl
  • OpenCV (required version >= 4)
  • Threads
  • PythonInterp (required version >= 3)
  • PythonLibs (required version >= 3)
  • Doxygen
  • Catch2

-- The following REQUIRED packages have been found:

  • OpenShotAudio (required version >= 0.4.0)
  • jsoncpp
  • Qt5Widgets
  • Qt5Svg
  • FFmpeg
  • OpenMP
  • ZeroMQ
  • Protobuf (required version >= 3)
  • Qt5Core (required version >= 5.15.17)
  • Qt5Gui
  • Qt5
  • SWIG (required version >= 3.0)

-- The following features have been disabled:

  • Coverage, analyze test coverage and generate report
  • IWYU (include-what-you-use), Scan all source files with 'iwyu'

-- The following OPTIONAL packages have not been found:

  • Resvg

-- Configuring done (35.8s) -- Generating done (3.4s) -- Build files have been written to: /home/abdu/Downloads/libopenshot-git/src/build
[ 1%] Built target openshot_autogen_timestamp_deps
[ 2%] Built target openshot_autogen
[ 57%] Built target openshot
[ 57%] Linking CXX executable openshot-example
/usr/bin/ld: /usr/lib/libMagickCore-7.Q16HDRI.so.10: undefined reference to xmlFreeDoc@LIBXML2_2.4.30' /usr/bin/ld: /usr/lib/libMagickCore-7.Q16HDRI.so.10: undefined reference toxmlReadMemory@LIBXML2_2.6.0'

A bright idea to clarify ?

dbermond commented on 2025-10-10 19:38 (UTC)

@abd @ticpu package updated to match the latest upstream changes.

ticpu commented on 2025-10-10 04:07 (UTC)

@abd edit the PKGBUILD file and remove the prepare() section completely. The issue has been fixed upstream and the patch isn't required anymore.

@dbermond I think the PKGBUILD could be updated as well!

abd commented on 2025-10-10 03:44 (UTC) (edited on 2025-10-10 03:44 (UTC) by abd)

...
==> Retrieving sources...
-> Updating libopenshot git repo...
-> Found 010-libopenshot-disable-cxx-standard-restriction.patch
==> Validating source files with sha256sums... libopenshot ... Skipped 010-libopenshot-disable-cxx-standard-restriction.patch ... Passed ==> Extracting sources... -> Creating working copy of libopenshot git repo... Switched to a new branch 'makepkg' ==> Starting prepare()...
patching file CMakeLists.txt
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().

How solving this ?

dbermond commented on 2024-04-07 12:06 (UTC)

@archdub @ticpu After further investigation, I see why are you getting this. That's probably because you have opencv installed, which triggers a feature that also requires probotobuf. And protobuf in turn currently requires C++ 17. Package updated to match the repository one, which depends on opencv, and added a patch to disable the C++ standard restriction.

ticpu commented on 2024-04-05 02:02 (UTC) (edited on 2024-04-05 02:07 (UTC) by ticpu)

Thanks @archdub, this fixes it for me as well. @dbermond, would it be possible to add that to the package please?

dbermond commented on 2024-02-26 14:28 (UTC)

@archdub I'm using Arch Linux. Other distributions are not supported.

archdub commented on 2024-02-18 22:02 (UTC) (edited on 2024-02-18 22:06 (UTC) by archdub)

@dbermond I managed to build it without errors. I compared your PKGBUILD with that of the official package. There are lots of differences! What caught my eye was the lack of a prepare function in your PKGBUILD so I copied the one from the standard Arch package and that solved the build issue. I don't know why you were not getting errors. Are you using Arch or an Arch derivative like Manjaro?

Anyway, this is what I added:

# mine - this whole function
prepare() {
# protobuf 23 requiers C++17
sed -e 's|CMAKE_CXX_STANDARD 14|CMAKE_CXX_STANDARD 17|' -i libopenshot/CMakeLists.txt
}