git: b829b65dc512 - 2022Q1 - multimedia/kodi: Unbreak package, failing due to missing libdvdcss
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Jan 2022 16:58:22 UTC
The branch 2022Q1 has been updated by jwb:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b829b65dc5123ad8f66f954df8df6dbba2cfa28f
commit b829b65dc5123ad8f66f954df8df6dbba2cfa28f
Author: Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2022-01-29 16:38:59 +0000
Commit: Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2022-01-29 16:57:57 +0000
multimedia/kodi: Unbreak package, failing due to missing libdvdcss
libdvdcss, which is no longer packaged for legal reasons, was a
default-on OPTION. Package builds were succeeding, but the binary
complained of missing libraries. This update makes libdvdcss
default-off and adds a pkg-message about building from source for
those who need it encrypted DVD support.
PR: 260490
Reported by: ravens10@tutanota.com
MFH: 2022Q1
(cherry picked from commit 94753e8d69e37978bab386c456020fedd7bb089d)
---
multimedia/kodi/Makefile | 4 ++--
multimedia/kodi/pkg-message | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile
index 26704ea50864..5e1a82dd3ecc 100644
--- a/multimedia/kodi/Makefile
+++ b/multimedia/kodi/Makefile
@@ -1,7 +1,7 @@
PORTNAME= kodi
DISTVERSION= 19.3
-PORTREVISION= 1
DISTVERSIONSUFFIX= -${KODI_CODENAME}
+PORTREVISION= 3
CATEGORIES= multimedia java
MAINTAINER= yzrh@noema.org
@@ -77,7 +77,7 @@ OPTIONS_SUB= yes
OPTIONS_DEFINE= AIRPLAY AVAHI LIBBLURAY CEC DBUS DVDCSS LCMS2 \
LIRC WEBSERVER NFS DVD SMB TEST UDEV UPNP \
VAAPI VDPAU XSLT DOCS
-OPTIONS_DEFAULT= LIBBLURAY CEC DVDCSS LCMS2 WEBSERVER \
+OPTIONS_DEFAULT= LIBBLURAY CEC LCMS2 WEBSERVER \
DVD UPNP VAAPI VDPAU XSLT WAYLAND X11 GL
OPTIONS_DEFAULT_amd64= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2
OPTIONS_DEFAULT_i386= SSE SSE2 SSE3
diff --git a/multimedia/kodi/pkg-message b/multimedia/kodi/pkg-message
new file mode 100644
index 000000000000..47e2beb4c994
--- /dev/null
+++ b/multimedia/kodi/pkg-message
@@ -0,0 +1,19 @@
+[
+{ type: install
+ message: <<EOM
+
+The default Kodi build, and hence the binary package, does not include
+libdvdcss, which cannot be packaged for legal reasons.
+
+If you want to enable playing encrypted DVDs, you must build from source:
+
+cd ${PORTSDIR}/multimedia/kodi
+make config
+
+[ In the configuration menu, enable the libdvdcss option ]
+
+make deinstall reinstall
+
+EOM
+}
+]