public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/
Date: Thu, 18 Feb 2021 14:43:33 +0000 (UTC)	[thread overview]
Message-ID: <1613659407.086963758e0c6c2f7de801e92f28631780f9a326.candrews@gentoo> (raw)

commit:     086963758e0c6c2f7de801e92f28631780f9a326
Author:     Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru>
AuthorDate: Fri Feb 12 14:31:11 2021 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Feb 18 14:43:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08696375

media-tv/kodi: added 'eventclients' USE flag

Added 'evenclients' USE flag to enable installation of all available
kodi eventclients.
At the same time, always enabled 'ENABLE_EVENTCLIENTS' Kodi parameter
to use built-in mechanism for installation of 'kodi-send'.

Signed-off-by: Karlson2k (Evgeny Grin) <k2k <AT> narod.ru>
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 media-tv/kodi/kodi-9999.ebuild | 14 +++++++++++---
 media-tv/kodi/metadata.xml     |  1 +
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index 4aa22367119..520779de8d8 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -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 dav1d dbus gbm gles lcms libressl libusb lirc mariadb mysql nfs +optical power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf"
+IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus eventclients gbm gles lcms libressl libusb lirc mariadb mysql nfs +optical power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf"
 IUSE="${IUSE} cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_arm_neon"
 REQUIRED_USE="
 	${PYTHON_REQUIRED_USE}
@@ -264,6 +264,7 @@ src_configure() {
 		-DENABLE_CEC=$(usex cec)
 		-DENABLE_DBUS=$(usex dbus)
 		-DENABLE_DVDCSS=$(usex css)
+		-DENABLE_EVENTCLIENTS=ON # alway enable to have 'kodi-send' and filter extra staff in 'src_install()'
 		-DENABLE_INTERNAL_CROSSGUID=OFF
 		-DENABLE_INTERNAL_RapidJSON=OFF
 		-DENABLE_INTERNAL_FMT=OFF
@@ -343,6 +344,13 @@ src_install() {
 	dosym ../../../../fonts/roboto/Roboto-Thin.ttf \
 		usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf
 
-	python_domodule tools/EventClients/lib/python/xbmcclient.py
-	python_newscript "tools/EventClients/Clients/KodiSend/kodi-send.py" kodi-send
+	if use !eventclients ; then
+		rm -f "${ED}"/usr/bin/kodi-ps3remote || die
+		rm -f "${D}"$(python_get_sitedir)/kodi/ps3_remote.py || die
+		rm -rf "${D}"$(python_get_sitedir)/kodi/ps3 || die
+		rm -rf "${D}"$(python_get_sitedir)/kodi/bt || die
+		rm -rf "${ED}"/usr/share/doc/${PF}/kodi-eventclients-dev || die
+	fi
+
+	python_optimize "${ED}$(python_get_sitedir)"
 }

diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index 70ff3d27f88..b33526329c7 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -11,6 +11,7 @@
 		<flag name="bluetooth">Enable JSON-RPC over BT for remote control connected via bluetooth</flag>
 		<flag name="caps">Use <pkg>sys-libs/libcap</pkg> to bind to privileged ports as non-root</flag>
 		<flag name="cec">Enable support for HDMI-CEC devices via libcec</flag>
+		<flag name="eventclients">Install full set of Kodi python evenclients and evenclients examples</flag>
 		<flag name="gbm">Use the Graphics Buffer Manager for EGL on KMS.</flag>
 		<flag name="gles">Use simplified OpenGLES instead of full-scale OpenGL</flag>
 		<flag name="lirc">Enable support for IR remote controls using <pkg>app-misc/lirc</pkg></flag>


             reply	other threads:[~2021-02-18 14:43 UTC|newest]

Thread overview: 378+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18 14:43 Craig Andrews [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-17 16:00 [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/ Sam James
2024-09-15  4:32 Arthur Zamarin
2024-08-25 16:45 Sam James
2024-08-25 16:10 Sam James
2024-06-30 15:05 James Le Cuirot
2024-06-02  7:10 Sam James
2024-05-28 22:01 Sam James
2024-05-25  3:32 Sam James
2024-05-23 18:01 Matt Turner
2024-05-23 18:01 Matt Turner
2024-05-23 17:17 Matt Turner
2024-04-24 10:38 Sam James
2024-04-24 10:38 Sam James
2024-04-24 10:38 Sam James
2024-02-13 21:13 James Le Cuirot
2024-02-13 21:13 James Le Cuirot
2024-02-10 21:24 James Le Cuirot
2024-01-28 14:51 Sam James
2024-01-28 14:51 Sam James
2024-01-28 14:51 Sam James
2024-01-28 14:51 Sam James
2024-01-23 22:59 Jakov Smolić
2024-01-21  4:41 Sam James
2024-01-21  4:41 Sam James
2024-01-21  4:41 Sam James
2023-12-01 12:39 Miroslav Šulc
2023-10-06 18:00 Sam James
2023-10-03  6:17 Miroslav Šulc
2023-07-15  7:25 Sam James
2023-07-13  9:32 Sam James
2023-06-10 22:56 Andreas Sturmlechner
2023-05-31  7:51 Joonas Niilola
2023-05-14  9:17 Sam James
2023-05-03  5:22 Sam James
2023-04-17  1:25 Matt Turner
2023-03-13 20:51 Sam James
2023-01-28  3:58 Sam James
2023-01-12 20:57 Craig Andrews
2022-12-24 17:34 Craig Andrews
2022-11-15 18:03 Craig Andrews
2022-10-06 15:45 Craig Andrews
2022-10-06  6:54 Agostino Sarubbo
2022-10-05 21:17 Matt Turner
2022-10-05 19:18 Craig Andrews
2022-08-27 11:45 Yixun Lan
2022-07-10 23:52 Sam James
2022-06-20 11:05 Agostino Sarubbo
2022-06-16 17:01 Craig Andrews
2022-06-14 13:46 Craig Andrews
2022-06-09  7:34 Agostino Sarubbo
2022-03-03 17:14 Craig Andrews
2022-01-24 14:44 Craig Andrews
2021-12-17  1:13 Craig Andrews
2021-11-25  0:15 Sam James
2021-11-25  0:12 Sam James
2021-11-25  0:12 Sam James
2021-11-09 16:18 Jason A. Donenfeld
2021-10-31  0:19 Sam James
2021-10-25 13:12 Craig Andrews
2021-10-09 13:35 Craig Andrews
2021-10-08 16:28 Craig Andrews
2021-09-07 16:56 Sam James
2021-07-26  1:39 Sam James
2021-05-16 18:53 Sam James
2021-05-10 14:17 Craig Andrews
2021-05-08 19:48 Craig Andrews
2021-05-06 14:51 Craig Andrews
2021-05-06 14:51 Craig Andrews
2021-05-02 12:27 Mikle Kolyada
2021-04-29 14:48 Craig Andrews
2021-04-13  0:05 Craig Andrews
2021-04-12 18:01 Craig Andrews
2021-03-29 14:50 Sam James
2021-02-22 21:53 Craig Andrews
2021-02-19 15:20 Craig Andrews
2021-02-19 15:20 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-18 14:43 Craig Andrews
2021-02-04 22:01 Craig Andrews
2021-02-02 19:37 Craig Andrews
2021-02-01 20:37 Craig Andrews
2021-02-01 20:37 Craig Andrews
2021-02-01 20:37 Craig Andrews
2021-02-01 20:37 Craig Andrews
2021-02-01 20:37 Craig Andrews
2021-02-01 20:37 Craig Andrews
2021-02-01 20:37 Craig Andrews
2021-02-01 20:28 Craig Andrews
2021-02-01 16:10 Craig Andrews
2021-02-01 16:10 Craig Andrews
2021-02-01 16:10 Craig Andrews
2021-02-01 16:10 Craig Andrews
2021-02-01 16:10 Craig Andrews
2021-02-01 16:10 Craig Andrews
2021-02-01 16:10 Craig Andrews
2021-01-17  0:14 Craig Andrews
2021-01-13 16:19 Craig Andrews
2021-01-13 16:19 Craig Andrews
2020-12-07 14:50 Craig Andrews
2020-11-20 17:05 Craig Andrews
2020-11-20 17:05 Craig Andrews
2020-11-17 14:27 Craig Andrews
2020-11-16 15:34 Craig Andrews
2020-11-09 18:26 Craig Andrews
2020-11-09 18:26 Craig Andrews
2020-11-01  0:47 Craig Andrews
2020-11-01  0:47 Craig Andrews
2020-10-30 17:20 Craig Andrews
2020-10-30 16:10 Craig Andrews
2020-10-29 17:59 Craig Andrews
2020-10-27 21:59 Craig Andrews
2020-10-26 13:04 Craig Andrews
2020-10-05 22:52 Craig Andrews
2020-10-05 21:35 Craig Andrews
2020-10-05 21:35 Craig Andrews
2020-09-20 21:06 Craig Andrews
2020-09-20 21:06 Craig Andrews
2020-09-16 21:56 Craig Andrews
2020-09-16 21:56 Craig Andrews
2020-09-14 13:22 Craig Andrews
2020-09-14 13:22 Craig Andrews
2020-09-09 16:52 Craig Andrews
2020-09-09 16:52 Craig Andrews
2020-09-01 19:22 Craig Andrews
2020-09-01  3:12 Sam James
2020-09-01  3:08 Sam James
2020-08-30 20:23 Craig Andrews
2020-08-30 20:23 Craig Andrews
2020-08-25 13:38 Sam James
2020-08-16 20:49 Craig Andrews
2020-08-16 20:49 Craig Andrews
2020-08-06  1:25 Craig Andrews
2020-08-04 15:11 Sam James
2020-07-28 14:30 Craig Andrews
2020-07-22 17:24 Craig Andrews
2020-07-14 22:39 Sam James
2020-07-10  2:56 Craig Andrews
2020-07-10  2:56 Craig Andrews
2020-06-28 20:56 Thomas Deutschmann
2020-06-26 21:16 Mart Raudsepp
2020-06-26  6:52 Agostino Sarubbo
2020-06-23 18:44 Craig Andrews
2020-06-20 14:08 Thomas Deutschmann
2020-06-03 21:44 David Seifert
2020-06-01  1:17 Craig Andrews
2020-05-27 11:55 Agostino Sarubbo
2020-05-20 14:09 Craig Andrews
2020-05-18 16:11 Craig Andrews
2020-04-18 14:37 Craig Andrews
2020-04-16 16:21 Craig Andrews
2020-04-16 14:48 Craig Andrews
2020-03-04 15:12 Craig Andrews
2020-03-01 15:00 Craig Andrews
2020-03-01  4:02 Craig Andrews
2020-03-01  2:35 Craig Andrews
2020-02-24 14:22 Craig Andrews
2020-02-19 22:07 Craig Andrews
2020-02-19 15:06 Craig Andrews
2020-02-19 15:06 Craig Andrews
2020-02-12 16:21 Craig Andrews
2020-02-09 16:31 Michał Górny
2019-12-18 21:44 Craig Andrews
2019-12-18 21:42 Craig Andrews
2019-12-13 21:36 Craig Andrews
2019-12-13  4:15 Craig Andrews
2019-12-11  2:05 Craig Andrews
2019-12-03 14:27 Craig Andrews
2019-11-19 12:43 Craig Andrews
2019-11-18 20:15 Craig Andrews
2019-11-18 18:26 Craig Andrews
2019-10-29  0:15 Craig Andrews
2019-10-13 18:23 Craig Andrews
2019-10-07  1:01 Craig Andrews
2019-09-19 14:02 Craig Andrews
2019-09-11 14:05 Craig Andrews
2019-09-11 14:05 Craig Andrews
2019-09-05 15:14 Agostino Sarubbo
2019-09-05  7:16 Agostino Sarubbo
2019-09-03 17:53 Craig Andrews
2019-09-03 14:24 Craig Andrews
2019-09-02 20:42 Craig Andrews
2019-09-02 20:42 Craig Andrews
2019-08-18  6:34 Matt Turner
2019-08-14  0:27 Craig Andrews
2019-07-19 14:59 Craig Andrews
2019-06-30 19:14 Craig Andrews
2019-06-19 13:53 Craig Andrews
2019-06-19 13:53 Craig Andrews
2019-04-29 14:06 Craig Andrews
2019-04-24 23:11 Thomas Deutschmann
2019-04-22 13:38 Craig Andrews
2019-04-16 13:14 Craig Andrews
2019-03-24 10:22 Mikle Kolyada
2019-03-11 13:25 Craig Andrews
2019-02-21 16:16 Craig Andrews
2019-02-18 20:22 Craig Andrews
2019-02-17 15:34 Craig Andrews
2019-02-16 20:27 Craig Andrews
2019-02-11 15:12 Craig Andrews
2019-01-28 19:40 Craig Andrews
2019-01-12 18:07 Craig Andrews
2019-01-12  2:40 Craig Andrews
2018-12-29  2:02 Craig Andrews
2018-12-16 21:09 Craig Andrews
2018-12-16 21:09 Craig Andrews
2018-12-11 14:34 Craig Andrews
2018-12-08 22:53 Mikle Kolyada
2018-12-03 18:12 Craig Andrews
2018-11-27 14:44 Craig Andrews
2018-11-26 20:01 Craig Andrews
2018-11-21 20:11 Craig Andrews
2018-11-19 20:18 Craig Andrews
2018-11-19  3:23 Craig Andrews
2018-11-13  2:55 Craig Andrews
2018-11-08 17:46 Craig Andrews
2018-11-08 17:46 Craig Andrews
2018-11-06 21:22 Craig Andrews
2018-11-06 16:02 Craig Andrews
2018-11-05 19:15 Craig Andrews
2018-11-05 19:15 Craig Andrews
2018-11-04 20:41 Craig Andrews
2018-11-01 15:03 Craig Andrews
2018-10-14 20:43 Craig Andrews
2018-10-12 17:42 Craig Andrews
2018-10-12 17:42 Craig Andrews
2018-10-11 17:42 Craig Andrews
2018-10-09 20:50 Craig Andrews
2018-10-09 20:50 Craig Andrews
2018-10-08 19:37 Craig Andrews
2018-09-12 19:12 Craig Andrews
2018-08-23  2:18 Mikle Kolyada
2018-08-22 23:35 Craig Andrews
2018-08-15  0:01 Craig Andrews
2018-07-28  3:13 Craig Andrews
2018-07-28  3:13 Craig Andrews
2018-07-25 14:15 Craig Andrews
2018-07-06 15:03 Craig Andrews
2018-06-28 19:27 Craig Andrews
2018-06-20 13:53 Craig Andrews
2018-06-12 16:05 Craig Andrews
2018-06-12 16:05 Craig Andrews
2018-06-06 15:11 Craig Andrews
2018-06-04 14:56 Craig Andrews
2018-05-23 15:44 Craig Andrews
2018-04-25 18:20 Craig Andrews
2018-04-24 18:22 Craig Andrews
2018-04-23 19:15 Craig Andrews
2018-04-19 15:32 Craig Andrews
2018-03-27 14:14 Craig Andrews
2018-02-13 15:12 Craig Andrews
2018-01-31 17:50 Craig Andrews
2018-01-31 17:42 Craig Andrews
2018-01-19 11:06 Alexis Ballier
2018-01-13 12:47 Alexis Ballier
2018-01-08 14:17 Craig Andrews
2018-01-05 18:36 Craig Andrews
2017-12-18 22:31 Craig Andrews
2017-12-17  1:49 Craig Andrews
2017-12-16  5:46 Craig Andrews
2017-12-15 19:23 Craig Andrews
2017-12-15 18:35 Craig Andrews
2017-11-29 20:15 Craig Andrews
2017-11-27 15:51 Craig Andrews
2017-11-15 14:26 Craig Andrews
2017-11-15 14:02 Craig Andrews
2017-11-15 14:02 Craig Andrews
2017-10-27 13:37 Craig Andrews
2017-10-24 19:09 Craig Andrews
2017-10-16 14:11 Craig Andrews
2017-10-15 21:43 Thomas Deutschmann
2017-10-09 18:42 Craig Andrews
2017-09-19 14:40 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-09-16 18:50 Craig Andrews
2017-08-28  2:34 Craig Andrews
2017-08-22 20:15 Craig Andrews
2017-08-22 20:15 Craig Andrews
2017-08-22 20:15 Craig Andrews
2017-08-22 13:34 Craig Andrews
2017-08-13 11:11 David Seifert
2017-07-21 18:12 Amy Liffey
2017-07-15  9:57 Tobias Klausmann
2017-07-11 21:54 Michał Górny
2017-06-08 10:16 Agostino Sarubbo
2017-06-08  9:13 Patrice Clement
2017-05-31 18:01 Jory Pratt
2017-05-31  6:41 David Seifert
2017-05-31  6:41 David Seifert
2017-05-31  6:41 David Seifert
2017-05-26 14:05 Agostino Sarubbo
2017-05-25 10:44 Agostino Sarubbo
2017-05-24 16:06 Thomas Deutschmann
2017-04-24  9:12 David Seifert
2017-04-24  9:12 David Seifert
2017-04-24  9:12 David Seifert
2017-04-23 11:29 David Seifert
2017-04-01 10:21 David Seifert
2017-03-24 16:57 David Seifert
2017-03-24 16:57 David Seifert
2017-03-07 21:57 David Seifert
2017-02-25 15:00 Patrice Clement
2017-02-12  2:28 Michael Palimaka
2017-02-02 17:58 David Seifert
2017-01-30 21:46 David Seifert
2017-01-23 21:27 David Seifert
2017-01-18 23:48 Jory Pratt
2017-01-17 18:30 David Seifert
2017-01-16 10:15 Agostino Sarubbo
2017-01-15 13:36 David Seifert
2017-01-09 20:26 David Seifert
2017-01-09 20:15 David Seifert
2017-01-07  1:09 Aaron Bauman
2016-12-07  8:24 David Seifert
2016-11-26 11:07 David Seifert
2016-11-21 19:02 David Seifert
2016-11-17  7:35 David Seifert
2016-11-12 23:37 David Seifert
2016-11-06 18:45 David Seifert
2016-10-25 18:32 David Seifert
2016-10-02 12:37 Pacho Ramos
2016-10-02 12:37 Pacho Ramos
2016-06-01  4:36 Mike Frysinger
2016-03-02 17:41 Mike Frysinger
2016-03-02 17:41 Mike Frysinger
2016-03-02 17:41 Mike Frysinger
2016-03-02  3:58 Mike Frysinger
2016-02-24 16:08 Mike Frysinger
2016-02-24  4:28 Mike Frysinger
2016-02-23 19:33 Mike Frysinger
2016-02-23 19:33 Mike Frysinger
2016-02-23 19:33 Mike Frysinger
2016-01-22  8:20 Michael Palimaka
2015-11-11  9:54 Agostino Sarubbo
2015-11-10 11:45 Agostino Sarubbo
2015-11-08  3:29 Mike Frysinger
2015-11-08  3:29 Mike Frysinger
2015-10-05 13:19 Mike Frysinger
2015-09-19  6:24 Mike Frysinger
2015-09-19  1:44 Mike Frysinger
2015-09-19  0:23 Mike Frysinger
2015-09-11 14:47 Maxim Koltsov
2015-08-28 22:12 Mike Frysinger
2015-08-26  5:29 Mike Frysinger
2015-08-26  5:27 Mike Frysinger
2015-08-25 16:45 Mike Frysinger
2015-08-23 18:06 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613659407.086963758e0c6c2f7de801e92f28631780f9a326.candrews@gentoo \
    --to=candrews@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox