diff options
author | Sam James <sam@gentoo.org> | 2025-01-04 19:20:36 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2025-01-04 21:32:27 +0000 |
commit | 24a553bfcba8788ee1003476836b6085c50b7a1b (patch) | |
tree | 024b599ed5f0d6a241f725a45c9310924ca4635d /eclass | |
parent | gstreamer-meson.eclass: cleanup TODOs for old/new versions (diff) | |
download | gentoo-24a553bfcba8788ee1003476836b6085c50b7a1b.tar.gz gentoo-24a553bfcba8788ee1003476836b6085c50b7a1b.tar.bz2 gentoo-24a553bfcba8788ee1003476836b6085c50b7a1b.zip |
gstreamer-meson.eclass: add GLIB_VERSION per gst major version
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gstreamer-meson.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass index 7d6b5d6b3249..15b0a6390a42 100644 --- a/eclass/gstreamer-meson.eclass +++ b/eclass/gstreamer-meson.eclass @@ -199,8 +199,14 @@ S="${WORKDIR}/${GST_ORG_MODULE}-${PV}" LICENSE="GPL-2" SLOT="1.0" +if ver_test ${GST_ORG_PVP} -ge 1.24 ; then + GLIB_VERSION=2.64.0 +else + GLIB_VERSION=2.62.0 +fi + RDEPEND=" - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=dev-libs/glib-${GLIB_VERSION}:2[${MULTILIB_USEDEP}] " BDEPEND=" virtual/pkgconfig |