1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

multimedia/kodi: add "Little CMS 2.x support" option

and disable autodetection for all options that not set by port Makefile.

PR:		232497
Submitted by:	Ivan Rozhuk <rozhuk.im@gmail.com>
Approved by:	mickael.maillot@gmail.com (maintainer timeout)
This commit is contained in:
Eugene Grosbein 2018-11-06 16:45:30 +00:00
parent c8126c2010
commit 65575183bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484304

View File

@ -2,7 +2,7 @@
PORTNAME= kodi
DISTVERSION= 17.6
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= multimedia java
MAINTAINER= mickael.maillot@gmail.com
@ -10,6 +10,8 @@ COMMENT= Award winning media center application
LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
BUILD_DEPENDS= enca:converters/enca \
gawk:lang/gawk \
gperf:devel/gperf \
@ -59,14 +61,14 @@ LIB_DEPENDS= libass.so:multimedia/libass \
libyajl.so:devel/yajl
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
USES= autoreconf:build compiler:c++11-lib gettext gmake iconv jpeg \
libtool pkgconfig python:-2.7 ssl
KODI_ARCH_i386= x86
KODI_ARCH_amd64=x86_64
KODI_ARCH_armv6=armv6
KODI_ARCH_armv7=armv7
USES= autoreconf:build compiler:c++11-lib gettext gmake iconv jpeg \
libtool pkgconfig python:-2.7 ssl
GNU_CONFIGURE= yes
USE_JAVA= yes
USE_GNOME= libxml2
@ -93,7 +95,7 @@ PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}}
OPTIONS_SUB= yes
OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC DOCS \
LIBBLURAY LIRC MYSQL NFS NONFREE PULSEAUDIO RTMP \
LCMS2 LIBBLURAY LIRC MYSQL NFS NONFREE PULSEAUDIO RTMP \
SFTP SNDIO SMB VAAPI VDPAU WEBSERVER
OPTIONS_SINGLE= RPI
OPTIONS_SINGLE_RPI= RPI1 RPI2
@ -129,6 +131,9 @@ CEC_BUILD_DEPENDS= libcec>=3.1.0:multimedia/libcec
CEC_LIB_DEPENDS= libcec.so:multimedia/libcec
CEC_CONFIGURE_ENABLE= libcec
LCMS2_LIB_DEPENDS= liblcms2.so.2:graphics/lcms2
LCMS2_CONFIGURE_ENABLE= lcms2
LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray
LIBBLURAY_CONFIGURE_ENABLE= libbluray
@ -173,7 +178,14 @@ SFTP_BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:security/libssh
SFTP_RUN_DEPENDS= ${LOCALBASE}/lib/libssh.so:security/libssh
SFTP_CONFIGURE_ENABLE= ssh
CONFIGURE_ARGS+= --disable-debug --disable-alsa --disable-texturepacker
CONFIGURE_ARGS+= --disable-debug --enable-gl --disable-gles \
--disable-openmax --disable-tegra \
--disable-profiling --enable-x11 --disable-alsa \
--enable-dbus --enable-upnp --disable-mid \
--disable-mdnsembedded --enable-libxslt \
--disable-texturepacker --disable-libusb \
--disable-libbluetooth --disable-libcap \
--disable-gtest --disable-libav-compat
.include <bsd.port.pre.mk>