summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2019-11-25 22:08:16 +0100
committerJoonas Niilola <juippis@gentoo.org>2019-12-04 16:48:05 +0200
commitc8465c0cdbb984d198397dda6d2d29c49aae6c8a (patch)
tree601a18cc595c5b3c666bd0acc9a2d75b144ccc67 /media-tv/v4l-dvb-saa716x
parentwww-client/opera: Version 65.0.3467.62 (diff)
downloadgentoo-c8465c0cdbb984d198397dda6d2d29c49aae6c8a.tar.gz
gentoo-c8465c0cdbb984d198397dda6d2d29c49aae6c8a.tar.bz2
gentoo-c8465c0cdbb984d198397dda6d2d29c49aae6c8a.zip
media-tv/v4l-dvb-saa716x: fix bugs
make missing kernel configurations in CONFIG_CHECK fatal adapt BUILD_PARAMS for kernel 5.1 and up no version bump for current ebuild Closes: https://bugs.gentoo.org/690372 Closes: https://bugs.gentoo.org/696292 Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-tv/v4l-dvb-saa716x')
-rw-r--r--media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r2.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r2.ebuild b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r2.ebuild
index 66babc6091c0..4688975810c6 100644
--- a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r2.ebuild
+++ b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018 Gentoo Authors
+# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,12 +26,13 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/powARman-v4l-dvb-saa716x-${HG_REVISION}"
BUILD_TARGETS="modules"
-MODULE_NAMES="saa716x_ff(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
- saa716x_core(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
- saa716x_budget(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
- saa716x_hybrid(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)"
+MODULE_NAMES="
+ saa716x_ff(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
+ saa716x_core(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
+ saa716x_budget(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
+ saa716x_hybrid(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)"
-CONFIG_CHECK="~DVB_CORE ~DVB_STV6110x ~DVB_STV090x"
+CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x"
src_prepare() {
default
@@ -52,9 +53,9 @@ src_prepare() {
}
src_compile() {
- BUILD_PARAMS="SUBDIRS=${S}/linux/drivers/media/common/saa716x \
- CONFIG_SAA716X_CORE=m CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m \
- CONFIG_DVB_SAA716X_HYBRID=m"
- addpredict "${EROOT%/}"/usr/src/linux/
+ kernel_is le 5 0 && BUILD_PARAMS="SUBDIRS" || BUILD_PARAMS="M"
+ BUILD_PARAMS+="=${S}/linux/drivers/media/common/saa716x CONFIG_SAA716X_CORE=m \
+ CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m CONFIG_DVB_SAA716X_HYBRID=m"
+ addpredict "${EROOT}"/usr/src/linux/
linux-mod_src_compile
}