From a8ade9727b82ec5695725bb6a365f41d2afa4c75 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sat, 18 Apr 2020 13:33:47 +1000 Subject: [PATCH] gst_plugins_base: fix requires --- .../gst_plugins_base-1.16.2.recipe | 51 ++++++++++--------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/media-libs/gst_plugins_base/gst_plugins_base-1.16.2.recipe b/media-libs/gst_plugins_base/gst_plugins_base-1.16.2.recipe index 32040b34c..2ef31248b 100644 --- a/media-libs/gst_plugins_base/gst_plugins_base-1.16.2.recipe +++ b/media-libs/gst_plugins_base/gst_plugins_base-1.16.2.recipe @@ -7,7 +7,7 @@ filters are included." HOMEPAGE="https://gstreamer.freedesktop.org/" COPYRIGHT="Erik Walthinsen" LICENSE="GNU LGPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$portVersion.tar.xz" CHECKSUM_SHA256="b13e73e2fe74a4166552f9577c3dcb24bed077021b9c7fa600d910ec6987816a" SOURCE_DIR="gst-plugins-base-$portVersion" @@ -15,22 +15,25 @@ SOURCE_DIR="gst-plugins-base-$portVersion" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" +libVersion="0.1602.0" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + PROVIDES=" gst_plugins_base$secondaryArchSuffix = $portVersion cmd:gst_device_monitor_1.0$secondaryArchSuffix = $portVersion cmd:gst_discoverer_1.0$secondaryArchSuffix = $portVersion cmd:gst_play_1.0$secondaryArchSuffix = $portVersion - lib:libgstallocators_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstapp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstaudio_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstfft_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstpbutils_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstriff_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstrtp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstrtsp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstsdp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgsttag_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - lib:libgstvideo_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 + lib:libgstallocators_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstapp_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstaudio_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstfft_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstpbutils_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstriff_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstrtp_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstrtsp_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstsdp_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgsttag_1.0$secondaryArchSuffix = $libVersionCompat + lib:libgstvideo_1.0$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix @@ -55,17 +58,17 @@ SUPPLEMENTS=" PROVIDES_devel=" gst_plugins_base${secondaryArchSuffix}_devel = $portVersion - devel:libgstallocators_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstapp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstaudio_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstfft_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstpbutils_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstriff_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstrtp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstrtsp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstsdp_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgsttag_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 - devel:libgstvideo_1.0$secondaryArchSuffix = 0.1602.0 compat >= 0 + devel:libgstallocators_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstapp_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstaudio_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstfft_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstpbutils_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstriff_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstrtp_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstrtsp_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstsdp_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgsttag_1.0$secondaryArchSuffix = $libVersionCompat + devel:libgstvideo_1.0$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" gst_plugins_base$secondaryArchSuffix == $portVersion base @@ -76,7 +79,7 @@ BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libfreetype$secondaryArchSuffix devel:libglib_2.0$secondaryArchSuffix - devel:libgstreamer_1.0$secondaryArchSuffix + devel:libgstreamer_1.0$secondaryArchSuffix >= $libVersion devel:libogg$secondaryArchSuffix devel:libopus$secondaryArchSuffix devel:liborc_0.4$secondaryArchSuffix