1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-10 02:45:11 +00:00

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
This commit is contained in:
Jason W. Bacon 2022-01-29 10:38:59 -06:00
parent 623f3ae564
commit 94753e8d69
2 changed files with 21 additions and 2 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= kodi
DISTVERSION= 19.3
PORTREVISION= 2
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

View File

@ -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
}
]