summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-07-09 09:23:02 +0200
committerPacho Ramos <pacho@gentoo.org>2016-07-09 12:07:47 +0200
commite1fe9a343adb48405e867a59c038cd2c5b5152a7 (patch)
tree43bcd15966ffbba8b3359a02807e2048d224cf0a /eclass
parentmedia-libs/gstreamer: Version bump (diff)
downloadgentoo-e1fe9a343adb48405e867a59c038cd2c5b5152a7.tar.gz
gentoo-e1fe9a343adb48405e867a59c038cd2c5b5152a7.tar.bz2
gentoo-e1fe9a343adb48405e867a59c038cd2c5b5152a7.zip
eclass/gstreamer.eclass: support eapi6
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gstreamer.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/gstreamer.eclass b/eclass/gstreamer.eclass
index 84c865c6b450..02aad1603beb 100644
--- a/eclass/gstreamer.eclass
+++ b/eclass/gstreamer.eclass
@@ -26,7 +26,7 @@
inherit eutils multilib multilib-minimal toolchain-funcs versionator xdg-utils
case "${EAPI:-0}" in
- 5)
+ 5|6)
;;
0|1|2|3|4)
die "EAPI=\"${EAPI:-0}\" is not supported anymore"
@@ -268,7 +268,11 @@ gstreamer_multilib_src_install_all() {
for plugin_dir in ${GST_PLUGINS_BUILD_DIR} ; do
local dir=$(gstreamer_get_plugin_dir ${plugin_dir})
- [[ -e ${dir}/README ]] && dodoc "${dir}"/README
+ if has ${EAPI:-0} 5; then
+ [[ -e ${dir}/README ]] && dodoc "${dir}"/README
+ else
+ einstalldocs
+ fi
done
prune_libtool_files --modules