media-libs/libopenshot
Video editing library used by OpenShot Video Editor
ChangeLog
commit ae787f1ab04e5e6847abbb73113a002e82345d16
Author: lucascouts <lucascs@protonmail.com>
Date: Sat Oct 10 23:44:06 2026 -0300
treewide: drop non-amd64 keywords from bentoo's own ebuilds
Applies the amd64-only baseline to the 132 ebuilds (126 packages) that
have no ::gentoo counterpart; the 375 mirror ebuilds keep upstream's
KEYWORDS.
- KEYWORDS: only ~amd64 (amd64 stays stable on gst-plugins-va and
librewolf-bin).
- SRC_URI: arm64?/x86?/... blocks removed from 36 ebuilds, plus the dead
`elif use arm64` branches that picked those distfiles.
- Manifest: 80 DIST lines nothing references any more, from 34 packages.
- Comments in ebuilds and .autoupdate/packages.toml that justified
~arm64 rewritten; no probe url or pattern changed.
- md5-cache regenerated for exactly the edited ebuilds.
librewolf and kata-* keep their per-arch logic on purpose: it mirrors
the Firefox/Kata build scripts and keeping it eases rebases.
Verified: pkgcheck per package shows no new finding vs master (14 fewer),
gentoo-parity.sh output identical to master, emerge -pv resolves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 77af5b62bfada45997150e7b89b54505e010d157
Author: lucascouts <lucascs@protonmail.com>
Date: Wed Sep 30 16:19:08 2026 -0300
fix(media-libs/libopenshot-1.0.1): restore patches the 1.0.0 -> 1.0.1 bump left unreachable, del(metadata/md5-cache: 167 stale entries)
The bump renamed the ebuild but not files/, so PATCHES pointed at
$-*.patch names that did not exist and the ebuild died in
src_prepare -- 1.0.1 never installed.
- guard-tracked-object-mask: dropped. 1.0.1 guards TrackedObjectMask()
with #ifdef USE_OPENCV upstream; the patch only applied with fuzz 2.
- opencv5-cxx20: still needed, applies cleanly to 1.0.1; renamed to
$-opencv5-cxx20.patch so the next bump cannot orphan it again.
Verified: unpack + prepare with the official distfile; pkgcheck clean.
Not verified: a USE=-opencv compile (media-libs/libopenshot-audio is
not installed on the build host).
md5-cache: 168 entries naming an ebuild no longer in the tree, left
behind by bumps. gentoo-parity.sh now reports [cache] 0 and
[missing] 0.
(Cherry-picked onto master: one of the 168, zed-1.23.0_pre20260929-r1,
was already removed by 28a06bc71.)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit e2891460957c2ef4175056790d10509a2611c36d
Author: lucascouts <lucascs@protonmail.com>
Date: Mon Sep 28 18:33:41 2026 -0300
add(metadata/{md5-cache/app-admin/awscli2-2.37.5, md5-cache/app-editors/cursor-3.22.12, md5-cache/app-editors/zed-1.23.0_pre20260928, md5-cache/app-misc/claude-desktop-bin-2.9939.4, md5-cache/dev-python/openai-3.20.0, md5-cache/dev-util/claude-code-2.1.284, md5-cache/dev-util/codex-0.158.0, md5-cache/dev-util/codex-bin-0.158.0, md5-cache/dev-util/codex-desktop-bin-26.924.50649, md5-cache/dev-util/copilot-cli-bin-1.0.89, md5-cache/dev-util/mesa_clc-26.3.0_pre20260928, md5-cache/dev-util/openchamber-bin-2.0.3, md5-cache/dev-util/opencode-bin-1.18.33, md5-cache/dev-util/typescript-language-server-6.0.1-r3, md5-cache/dev-util/vulkan-utility-libraries-1.4.364_p20260927, md5-cache/media-gfx/freecad-1.1.4, md5-cache/media-libs/libopenshot-1.0.1, md5-cache/media-libs/libopenshot-audio-1.0.1, md5-cache/media-libs/mesa-26.3.0_pre20260928, md5-cache/media-libs/vulkan-layers-1.4.363_p20260928, md5-cache/media-video/openshot-4.0.1, md5-cache/media-video/shotcut-26.9.27, md5-cache/net-misc/postman-bin-12.30.0, md5-cache/net-vpn/obscura-1.180_p20260928, md5-cache/sci-ml/ik_llama-cpp-0_pre20260928, md5-cache/sys-apps/flatpak-1.18.4, md5-cache/sys-apps/flatpak-1.19.2}), del(metadata/md5-cache/dev-util/typescript-language-server-6.0.1-r2), mod(.autoupdate/packages.toml), up(app-admin/awscli2-2.37.4 -> 2.37.5, app-editors/{cursor-3.22.7 -> 3.22.12, zed-1.23.0_pre20260927-r1 -> 1.23.0_pre20260928}, app-misc/claude-desktop-bin-2.7032.0 -> 2.9939.4, dev-python/openai-3.19.2 -> 3.20.0, dev-util/codex{,-bin}-0.157.1 -> 0.158.0, media-gfx/freecad-1.1.3-r1 -> 1.1.4, media-libs/{libopenshot-1.0.0 -> 1.0.1, libopenshot-audio-1.0.0 -> 1.0.1, mesa-26.3.0_pre20260927 -> 26.3.0_pre20260928, vulkan-layers-1.4.363_p20260927 -> 1.4.363_p20260928}, media-video/{openshot-4.0.0 -> 4.0.1, shotcut-26.8.1 -> 26.9.27}, net-misc/postman-bin-12.29.5 -> 12.30.0, net-vpn/obscura-1.180_p20260926 -> 1.180_p20260928, sci-ml/ik_llama-cpp-0_pre20260927 -> 0_pre20260928, sys-apps/{flatpak-1.18.3 -> 1.18.4, flatpak-1.19.0 -> 1.19.2})
commit f3347026e71a43967faf99cdf735eedbebaf7b58
Author: lucascouts <lucascs@protonmail.com>
Date: Tue Sep 1 12:24:18 2026 -0300
add(net-libs/cppzmq-4.11.0, media-libs/{libopenshot-audio-1.0.0, libopenshot-1.0.0}, media-video/openshot-4.0.0), mod(.autoupdate/packages.toml)
Reintroduce the OpenShot stack, which ::gentoo last-rited on 2024-03-26 and
removed on 2024-05-08 (bug #909996). The two reasons given there were a
deprecated distutils-r1 API and a dev-qt/qtwebengine:5 dependency; the 4.x
series resolves both. Verified against the v4.0.0 tarball: no occurrence of
WebEngine under src/ and no .html file anywhere in the tree -- the timeline,
previously rendered in QtWebEngine, is now native Qt.
net-libs/cppzmq is new to this overlay and to ::gentoo. It is not optional
despite upstream probing it with find_package(cppzmq QUIET): libopenshot's
ZmqLogger.h does #include <zmq.hpp>, a header net-libs/zeromq does not install.
Measured with g++: the include is a fatal error without it.
libopenshot carries two patches, each covering one end of USE=opencv:
guard-tracked-object-mask fixes an upstream bug. The 1.0.0-new
EffectBase::TrackedObjectMask() calls TrackedObjectBBox::Contains() and
::GetBox() without the "#ifdef USE_OPENCV" guard that Clip.cpp and
Timeline.cpp use. TrackedObjectBBox.cpp only enters the build through
OPENSHOT_CV_SOURCES, so with USE=-opencv libopenshot.so ships three undefined
symbols (confirmed with nm -DC) and every downstream link fails. A control
build without the patch reproduces exactly those three symbols.
opencv5-cxx20 ports to OpenCV 5, which this overlay ships. opencv is
SLOT="0/$", so 4 and 5 cannot coexist and upstream's
find_package(OpenCV 4) rejects the 5. The patch also raises
CMAKE_CXX_STANDARD to 20, required by abseil/protobuf 7.x -- note that
-DCMAKE_CXX_STANDARD=20 on the command line does not work, the set() in
CMakeLists.txt wins. Diagnosis trap worth recording: under C++17 the abseil
headers fail to parse and emit ~690 errors that read as OpenCV errors
("cv::boundingRect is not a member"). Fix the standard first.
dev-python/pyqt6[scxml] is load-bearing and not obvious: openshot's qt_api.py
aborts the launch with "PyQt6 QtStateMachine module not available" without it,
and scxml is not default-on. The resolver independently demands
>=dev-python/pyqt6-6.11.0-r1 scxml.
Two build-breaking defects found only by building, both invisible to pkgcheck
and emerge -pv: openshot-qt ships an installer/__init__.py at the top of $
that shadows dev-python/installer and kills gpep517 install-wheel, and its
setup.py runs update-mime-database and update-desktop-database against the live
prefix whenever euid is 0 (it only self-disarms on FAKEROOTKEY, which Portage
never sets). Both are handled in src_prepare behind grep/die guards so a
version bump cannot silently turn them into no-ops.
libopenshot-audio drops a dead JuceLibraryCode oboe CMakeLists.txt: it is never
add_subdirectory()'d, but cmake.eclass scans every CMakeLists.txt under $,
finds its cmake_minimum_required(VERSION 3.4.1) and pushes
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 onto the whole build.
Verified by real builds on this host (GCC 16.2, CMake 4.3.4, Qt 6.11.2,
FFmpeg 8.1.2, OpenCV 5.0.0, Python 3.14, SWIG 4.4.1):
cppzmq build + 107/107 tests
libopenshot-audio ebuild install, SONAME 10, NEEDED = libasound + libz
libopenshot 106/106 with USE=-opencv, 138/138 with USE=opencv
openshot build through src_install, 7260-file image
runtime openshot-qt 4.0.0 starts against the patched library
under QT_QPA_PLATFORM=offscreen with no traceback
Nothing was merged into the live system: this host has no sudo, so USE=doc and
USE=test on libopenshot remain unexecuted.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: lucascouts <lucascs@protonmail.com>
Date: Sat Oct 10 23:44:06 2026 -0300
treewide: drop non-amd64 keywords from bentoo's own ebuilds
Applies the amd64-only baseline to the 132 ebuilds (126 packages) that
have no ::gentoo counterpart; the 375 mirror ebuilds keep upstream's
KEYWORDS.
- KEYWORDS: only ~amd64 (amd64 stays stable on gst-plugins-va and
librewolf-bin).
- SRC_URI: arm64?/x86?/... blocks removed from 36 ebuilds, plus the dead
`elif use arm64` branches that picked those distfiles.
- Manifest: 80 DIST lines nothing references any more, from 34 packages.
- Comments in ebuilds and .autoupdate/packages.toml that justified
~arm64 rewritten; no probe url or pattern changed.
- md5-cache regenerated for exactly the edited ebuilds.
librewolf and kata-* keep their per-arch logic on purpose: it mirrors
the Firefox/Kata build scripts and keeping it eases rebases.
Verified: pkgcheck per package shows no new finding vs master (14 fewer),
gentoo-parity.sh output identical to master, emerge -pv resolves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 77af5b62bfada45997150e7b89b54505e010d157
Author: lucascouts <lucascs@protonmail.com>
Date: Wed Sep 30 16:19:08 2026 -0300
fix(media-libs/libopenshot-1.0.1): restore patches the 1.0.0 -> 1.0.1 bump left unreachable, del(metadata/md5-cache: 167 stale entries)
The bump renamed the ebuild but not files/, so PATCHES pointed at
$-*.patch names that did not exist and the ebuild died in
src_prepare -- 1.0.1 never installed.
- guard-tracked-object-mask: dropped. 1.0.1 guards TrackedObjectMask()
with #ifdef USE_OPENCV upstream; the patch only applied with fuzz 2.
- opencv5-cxx20: still needed, applies cleanly to 1.0.1; renamed to
$-opencv5-cxx20.patch so the next bump cannot orphan it again.
Verified: unpack + prepare with the official distfile; pkgcheck clean.
Not verified: a USE=-opencv compile (media-libs/libopenshot-audio is
not installed on the build host).
md5-cache: 168 entries naming an ebuild no longer in the tree, left
behind by bumps. gentoo-parity.sh now reports [cache] 0 and
[missing] 0.
(Cherry-picked onto master: one of the 168, zed-1.23.0_pre20260929-r1,
was already removed by 28a06bc71.)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit e2891460957c2ef4175056790d10509a2611c36d
Author: lucascouts <lucascs@protonmail.com>
Date: Mon Sep 28 18:33:41 2026 -0300
add(metadata/{md5-cache/app-admin/awscli2-2.37.5, md5-cache/app-editors/cursor-3.22.12, md5-cache/app-editors/zed-1.23.0_pre20260928, md5-cache/app-misc/claude-desktop-bin-2.9939.4, md5-cache/dev-python/openai-3.20.0, md5-cache/dev-util/claude-code-2.1.284, md5-cache/dev-util/codex-0.158.0, md5-cache/dev-util/codex-bin-0.158.0, md5-cache/dev-util/codex-desktop-bin-26.924.50649, md5-cache/dev-util/copilot-cli-bin-1.0.89, md5-cache/dev-util/mesa_clc-26.3.0_pre20260928, md5-cache/dev-util/openchamber-bin-2.0.3, md5-cache/dev-util/opencode-bin-1.18.33, md5-cache/dev-util/typescript-language-server-6.0.1-r3, md5-cache/dev-util/vulkan-utility-libraries-1.4.364_p20260927, md5-cache/media-gfx/freecad-1.1.4, md5-cache/media-libs/libopenshot-1.0.1, md5-cache/media-libs/libopenshot-audio-1.0.1, md5-cache/media-libs/mesa-26.3.0_pre20260928, md5-cache/media-libs/vulkan-layers-1.4.363_p20260928, md5-cache/media-video/openshot-4.0.1, md5-cache/media-video/shotcut-26.9.27, md5-cache/net-misc/postman-bin-12.30.0, md5-cache/net-vpn/obscura-1.180_p20260928, md5-cache/sci-ml/ik_llama-cpp-0_pre20260928, md5-cache/sys-apps/flatpak-1.18.4, md5-cache/sys-apps/flatpak-1.19.2}), del(metadata/md5-cache/dev-util/typescript-language-server-6.0.1-r2), mod(.autoupdate/packages.toml), up(app-admin/awscli2-2.37.4 -> 2.37.5, app-editors/{cursor-3.22.7 -> 3.22.12, zed-1.23.0_pre20260927-r1 -> 1.23.0_pre20260928}, app-misc/claude-desktop-bin-2.7032.0 -> 2.9939.4, dev-python/openai-3.19.2 -> 3.20.0, dev-util/codex{,-bin}-0.157.1 -> 0.158.0, media-gfx/freecad-1.1.3-r1 -> 1.1.4, media-libs/{libopenshot-1.0.0 -> 1.0.1, libopenshot-audio-1.0.0 -> 1.0.1, mesa-26.3.0_pre20260927 -> 26.3.0_pre20260928, vulkan-layers-1.4.363_p20260927 -> 1.4.363_p20260928}, media-video/{openshot-4.0.0 -> 4.0.1, shotcut-26.8.1 -> 26.9.27}, net-misc/postman-bin-12.29.5 -> 12.30.0, net-vpn/obscura-1.180_p20260926 -> 1.180_p20260928, sci-ml/ik_llama-cpp-0_pre20260927 -> 0_pre20260928, sys-apps/{flatpak-1.18.3 -> 1.18.4, flatpak-1.19.0 -> 1.19.2})
commit f3347026e71a43967faf99cdf735eedbebaf7b58
Author: lucascouts <lucascs@protonmail.com>
Date: Tue Sep 1 12:24:18 2026 -0300
add(net-libs/cppzmq-4.11.0, media-libs/{libopenshot-audio-1.0.0, libopenshot-1.0.0}, media-video/openshot-4.0.0), mod(.autoupdate/packages.toml)
Reintroduce the OpenShot stack, which ::gentoo last-rited on 2024-03-26 and
removed on 2024-05-08 (bug #909996). The two reasons given there were a
deprecated distutils-r1 API and a dev-qt/qtwebengine:5 dependency; the 4.x
series resolves both. Verified against the v4.0.0 tarball: no occurrence of
WebEngine under src/ and no .html file anywhere in the tree -- the timeline,
previously rendered in QtWebEngine, is now native Qt.
net-libs/cppzmq is new to this overlay and to ::gentoo. It is not optional
despite upstream probing it with find_package(cppzmq QUIET): libopenshot's
ZmqLogger.h does #include <zmq.hpp>, a header net-libs/zeromq does not install.
Measured with g++: the include is a fatal error without it.
libopenshot carries two patches, each covering one end of USE=opencv:
guard-tracked-object-mask fixes an upstream bug. The 1.0.0-new
EffectBase::TrackedObjectMask() calls TrackedObjectBBox::Contains() and
::GetBox() without the "#ifdef USE_OPENCV" guard that Clip.cpp and
Timeline.cpp use. TrackedObjectBBox.cpp only enters the build through
OPENSHOT_CV_SOURCES, so with USE=-opencv libopenshot.so ships three undefined
symbols (confirmed with nm -DC) and every downstream link fails. A control
build without the patch reproduces exactly those three symbols.
opencv5-cxx20 ports to OpenCV 5, which this overlay ships. opencv is
SLOT="0/$", so 4 and 5 cannot coexist and upstream's
find_package(OpenCV 4) rejects the 5. The patch also raises
CMAKE_CXX_STANDARD to 20, required by abseil/protobuf 7.x -- note that
-DCMAKE_CXX_STANDARD=20 on the command line does not work, the set() in
CMakeLists.txt wins. Diagnosis trap worth recording: under C++17 the abseil
headers fail to parse and emit ~690 errors that read as OpenCV errors
("cv::boundingRect is not a member"). Fix the standard first.
dev-python/pyqt6[scxml] is load-bearing and not obvious: openshot's qt_api.py
aborts the launch with "PyQt6 QtStateMachine module not available" without it,
and scxml is not default-on. The resolver independently demands
>=dev-python/pyqt6-6.11.0-r1 scxml.
Two build-breaking defects found only by building, both invisible to pkgcheck
and emerge -pv: openshot-qt ships an installer/__init__.py at the top of $
that shadows dev-python/installer and kills gpep517 install-wheel, and its
setup.py runs update-mime-database and update-desktop-database against the live
prefix whenever euid is 0 (it only self-disarms on FAKEROOTKEY, which Portage
never sets). Both are handled in src_prepare behind grep/die guards so a
version bump cannot silently turn them into no-ops.
libopenshot-audio drops a dead JuceLibraryCode oboe CMakeLists.txt: it is never
add_subdirectory()'d, but cmake.eclass scans every CMakeLists.txt under $,
finds its cmake_minimum_required(VERSION 3.4.1) and pushes
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 onto the whole build.
Verified by real builds on this host (GCC 16.2, CMake 4.3.4, Qt 6.11.2,
FFmpeg 8.1.2, OpenCV 5.0.0, Python 3.14, SWIG 4.4.1):
cppzmq build + 107/107 tests
libopenshot-audio ebuild install, SONAME 10, NEEDED = libasound + libz
libopenshot 106/106 with USE=-opencv, 138/138 with USE=opencv
openshot build through src_install, 7260-file image
runtime openshot-qt 4.0.0 starts against the patched library
under QT_QPA_PLATFORM=offscreen with no traceback
Nothing was merged into the live system: this host has no sudo, so USE=doc and
USE=test on libopenshot remain unexecuted.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>


View
Download
Browse