diff options
author | Craig Andrews <candrews@gentoo.org> | 2021-02-01 10:59:15 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2021-02-01 11:07:11 -0500 |
commit | a0c2785aa2b784a46097cc9f483b9c9dc62cea18 (patch) | |
tree | 6afba18e028adca569932be04094673a9bd75fe3 /media-tv | |
parent | net-libs/quiche: 0.7.0 version bump (diff) | |
download | gentoo-a0c2785aa2b784a46097cc9f483b9c9dc62cea18.tar.gz gentoo-a0c2785aa2b784a46097cc9f483b9c9dc62cea18.tar.bz2 gentoo-a0c2785aa2b784a46097cc9f483b9c9dc62cea18.zip |
media-tv/kodi: Add power-control USE flag
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Evgeny Grin <k2k@narod.ru>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/kodi/kodi-9999.ebuild | 6 | ||||
-rw-r--r-- | media-tv/kodi/metadata.xml | 1 |
2 files changed, 5 insertions, 2 deletions
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 @@ <flag name="mariadb">Add MariaDB support</flag> <flag name="nfs">Enable NFS client support</flag> <flag name="dvd">Enable optical (CD/DVD drive) support</flag> + <flag name="power-control">Enable control of shutdown, reboot, suspend, and hibernate</flag> <flag name="raspberry-pi">Enable support for the Raspberry Pi</flag> <flag name="system-ffmpeg">Use system ffmpeg instead of the bundled one</flag> <flag name="libusb">Use <pkg>virtual/libusb</pkg> 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 <pkg>sys-fs/udev</pkg>.</flag> |