Skip to content

Commit 5699106

Browse files
committed
sysutils/plasma5-systemsettings and x11-wm/plasma5-kwin: Fix desktop effects previews.
An obscure gstreamer bug [1] prevents .ogv videos from being played via curl plugin. Workaround this by re-encoding Theora videos into WebM (suggested at KDE Devel Matrix channel) and store it on my site for the time being. [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2026 Sponsored by: Serenity Cybersecurity, LLC
1 parent e36085b commit 5699106

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

sysutils/plasma5-systemsettings/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PORTNAME= systemsettings
22
DISTVERSION= ${KDE_PLASMA_VERSION}
3-
PORTREVISION= 1
3+
PORTREVISION= 2
44
CATEGORIES= sysutils kde kde-plasma
55

66
MAINTAINER= kde@FreeBSD.org
@@ -9,7 +9,7 @@ WWW= https://www.kde.org/plasma-desktop
99

1010
USES= cmake compiler:c++11-lib gettext gstreamer kde:5 qt:5 tar:xz \
1111
xorg
12-
USE_GSTREAMER= curl openh264 theora
12+
USE_GSTREAMER= curl openh264 vpx
1313
USE_KDE= activities activities-stats auth codecs completion config \
1414
configwidgets coreaddons crash dbusaddons guiaddons i18n \
1515
iconthemes itemmodels itemviews jobwidgets js kcmutils \

x11-wm/plasma5-kwin/Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PORTNAME= kwin
22
DISTVERSION= ${KDE_PLASMA_VERSION}
3-
PORTREVISION= 1
3+
PORTREVISION= 2
44
CATEGORIES= x11-wm kde kde-plasma
55

66
MAINTAINER= kde@FreeBSD.org
@@ -56,4 +56,11 @@ SHEBANG_FILES= kconf_update/*.py \
5656
kconf_update/*.pl \
5757
src/effects/strip-effect-metadata.py
5858

59+
# A (hopefully) temporary workaround for
60+
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2026
61+
post-patch:
62+
${REINPLACE_CMD} -E \
63+
's|https://files.kde.org/plasma/kwin/effect-videos/([a-z_]+)\.ogv|https://arrowd.name/kwin-effect-videos/\1\.webm|' \
64+
${WRKSRC}/src/effects/*/metadata.json
65+
5966
.include <bsd.port.mk>

0 commit comments

Comments
 (0)