diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index d673f8e2704b..6ca9d8b923fc 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -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