gstreamer-meson.eclass: Replace ${GST_MIN_PV} with $(ver_cut 1-2)

Our previous version bound was too low.

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/21831
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Haelwenn (lanodan) Monnier
2021-07-31 06:19:42 +01:00
committed by Sam James
parent 26b20e9c12
commit 53ca3167e6
+2 -6
View File
@@ -175,12 +175,8 @@ DESCRIPTION="${BUILD_GST_PLUGINS} plugin for gstreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
SRC_URI="https://gstreamer.freedesktop.org/src/${GST_ORG_MODULE}/${GST_ORG_MODULE}-${PV}.tar.${GST_TARBALL_SUFFIX}"
S="${WORKDIR}/${GST_ORG_MODULE}-${PV}"
LICENSE="GPL-2"
case ${GST_ORG_PVP} in
1.*) SLOT="1.0"; GST_MIN_PV="1.2.4-r1" ;;
*) die "Unkown gstreamer release."
esac
SLOT="1.0"
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
@@ -194,7 +190,7 @@ BDEPEND="
if [[ "${PN}" != "gstreamer" ]]; then
RDEPEND="
${RDEPEND}
>=media-libs/gstreamer-${GST_MIN_PV}:${SLOT}[${MULTILIB_USEDEP}]
>=media-libs/gstreamer-$(ver_cut 1-2):${SLOT}[${MULTILIB_USEDEP}]
"
fi