diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-07-30 03:28:15 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-07-31 06:19:42 +0100 |
commit | 53ca3167e6bbb60dbb577b95bb58f20a3c5683d4 (patch) | |
tree | 189ef08aed2e6ea531d950243bede37ff759898c /eclass/gstreamer-meson.eclass | |
parent | sys-apps/hotplug2stdout: update EAPI 5 -> 7 (diff) | |
download | gentoo-53ca3167e6bbb60dbb577b95bb58f20a3c5683d4.tar.gz gentoo-53ca3167e6bbb60dbb577b95bb58f20a3c5683d4.tar.bz2 gentoo-53ca3167e6bbb60dbb577b95bb58f20a3c5683d4.zip |
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>
Diffstat (limited to 'eclass/gstreamer-meson.eclass')
-rw-r--r-- | eclass/gstreamer-meson.eclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass index 03ec98c17b95..e2c21a0010df 100644 --- a/eclass/gstreamer-meson.eclass +++ b/eclass/gstreamer-meson.eclass @@ -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 |