summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin <k2k@narod.ru>2021-02-07 21:48:41 +0300
committerCraig Andrews <candrews@gentoo.org>2021-02-18 09:43:20 -0500
commit10ed5a5e2345d3e0c7905bbba4298850bc148da0 (patch)
tree506f0fad1574890e6b94fa9580453daac6c7e2fb /media-tv
parentmedia-tv/kodi: minor readability improvement (diff)
downloadgentoo-10ed5a5e2345d3e0c7905bbba4298850bc148da0.tar.gz
gentoo-10ed5a5e2345d3e0c7905bbba4298850bc148da0.tar.bz2
gentoo-10ed5a5e2345d3e0c7905bbba4298850bc148da0.zip
media-tv/kodi: added BDEPEND and fixed RDEPEND
Moved build host dependencies to BDEPEND libjpeg-turbo and libpng must by in DEPEND and RDEPEND as they are used at build-time and run-time. 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.ebuild21
1 files changed, 14 insertions, 7 deletions
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index 28422623669d..9719533e3db5 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -60,7 +60,13 @@ REQUIRED_USE="
"
RESTRICT="!test? ( test )"
-COMMON_DEPEND="${PYTHON_DEPS}
+COMMON_DEPEND="
+ >=dev-libs/lzo-2.04
+ >=dev-libs/flatbuffers-1.11.0
+ >=media-libs/libjpeg-turbo-2.0.4:=
+ >=media-libs/libpng-1.6.26:0=
+"
+COMMON_TARGET_DEPEND="${PYTHON_DEPS}
airplay? (
>=app-pda/libplist-2.0.0
net-libs/shairplay
@@ -72,11 +78,9 @@ COMMON_DEPEND="${PYTHON_DEPS}
dbus? ( sys-apps/dbus )
dev-db/sqlite
dev-libs/crossguid
- >=dev-libs/flatbuffers-1.11.0
>=dev-libs/fribidi-1.0.5
cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] )
dev-libs/libpcre[cxx]
- >=dev-libs/lzo-2.04
>=dev-libs/spdlog-1.5.0:=
dev-libs/tinyxml[stl]
$(python_gen_cond_dep '
@@ -161,20 +165,23 @@ COMMON_DEPEND="${PYTHON_DEPS}
)
zeroconf? ( net-dns/avahi[dbus] )
"
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND}
lirc? ( app-misc/lirc )
power-control? ( || ( sys-apps/systemd sys-auth/elogind ) )
udisks? ( sys-fs/udisks:2 )
upower? ( sys-power/upower )
"
-DEPEND="${COMMON_DEPEND}
- dev-lang/swig
+DEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND}
dev-libs/rapidjson
+ test? ( >=dev-cpp/gtest-1.10.0 )
+"
+BDEPEND="${COMMON_DEPEND}
+ dev-lang/swig
dev-util/cmake
media-libs/giflib
+ >=dev-libs/flatbuffers-1.11.0
>=media-libs/libjpeg-turbo-2.0.4:=
>=media-libs/libpng-1.6.26:0=
- test? ( >=dev-cpp/gtest-1.10.0 )
virtual/pkgconfig
virtual/jre
"