From a0c2785aa2b784a46097cc9f483b9c9dc62cea18 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Mon, 1 Feb 2021 10:59:15 -0500 Subject: media-tv/kodi: Add power-control USE flag Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Evgeny Grin Signed-off-by: Craig Andrews --- media-tv/kodi/kodi-9999.ebuild | 6 ++++-- media-tv/kodi/metadata.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'media-tv') diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 66f919ae8d5d..843cafa26244 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -10,7 +10,7 @@ LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3" FFMPEG_VERSION="4.3.1" CODENAME="Matrix" FFMPEG_KODI_VERSION="Beta1" -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz -> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz @@ -39,7 +39,7 @@ SLOT="0" # use flag is called libusb so that it doesn't fool people in thinking that # it is _required_ for USB support. Otherwise they'll disable udev and # that's going to be worse. -IUSE="airplay alsa bluetooth bluray caps cec +css dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl pulseaudio raspberry-pi samba systemd +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" +IUSE="airplay alsa bluetooth bluray caps cec +css dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba systemd +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} || ( gles opengl ) @@ -49,6 +49,7 @@ REQUIRED_USE=" udev? ( !libusb ) udisks? ( dbus ) upower? ( dbus ) + power-control? ( dbus ) " RESTRICT="!test? ( test )" @@ -147,6 +148,7 @@ COMMON_DEPEND="${PYTHON_DEPS} " RDEPEND="${COMMON_DEPEND} lirc? ( app-misc/lirc ) + power-control? ( || ( sys-apps/systemd sys-auth/elogind ) ) udisks? ( sys-fs/udisks:2 ) upower? ( sys-power/upower ) " diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml index 1fa46eccbfd6..f84adbed50be 100644 --- a/media-tv/kodi/metadata.xml +++ b/media-tv/kodi/metadata.xml @@ -15,6 +15,7 @@ Add MariaDB support Enable NFS client support Enable optical (CD/DVD drive) support + Enable control of shutdown, reboot, suspend, and hibernate Enable support for the Raspberry Pi Use system ffmpeg instead of the bundled one Use virtual/libusb for usb device hotplug support. This flag should only be enabled if you're running a non-Linux kernel or you don't want to use sys-fs/udev. -- cgit v1.2.3-65-gdbad