aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-03-20 18:16:27 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-03-20 18:19:01 +0000
commit3e67856967e5e2d14cc809f36f70a3095567bed0 (patch)
tree8ad16ef6e0b22b5d273e17159b2ffff3c824524b
parent732dd71418be335fcf5b58d70fe8190aa66bb529 (diff)
downloadports-3e67856967e5e2d14cc809f36f70a3095567bed0.tar.gz
ports-3e67856967e5e2d14cc809f36f70a3095567bed0.zip
multimedia/gstreamer1: track bash-completion + elfutils dependencies
Error: /usr/local/lib/libgstreamer-1.0.so.0.2200.0 is linked to /usr/local/lib/libdw.so.1 from devel/elfutils but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libdw.so:devel/elfutils Error: Orphaned: libexec/gstreamer-%%VERSION%%/gst-completion-helper Error: Orphaned: share/bash-completion/completions/gst-inspect-%%VERSION%% Error: Orphaned: share/bash-completion/completions/gst-launch-%%VERSION%% Error: Orphaned: share/bash-completion/helpers/gst PR: 270361
-rw-r--r--multimedia/gstreamer1/Makefile12
-rw-r--r--multimedia/gstreamer1/pkg-plist4
2 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile
index 22c1091bba78..b8426896b278 100644
--- a/multimedia/gstreamer1/Makefile
+++ b/multimedia/gstreamer1/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gstreamer
PORTVERSION= 1.22.0
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer/
PKGNAMESUFFIX= 1
@@ -27,7 +28,8 @@ GST10_VERSION= 1.0
PORTSCOUT= limitw:1,even
OPTIONS_SUB= yes
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= BASH NLS
+OPTIONS_DEFAULT=BASH
OPTIONS_DEFINE_aarch64= LIBUNWIND
OPTIONS_DEFFAULT_aarch64= LIBUNWIND
@@ -36,12 +38,16 @@ OPTIONS_DEFAULT_amd64= LIBUNWIND
OPTIONS_DEFINE_i386= LIBUNWIND
OPTIONS_DEFFAULT_i386= LIBUNWIND
+BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion
+BASH_MESON_ENABLED= bash-completion
+
NLS_USES= gettext
NLS_MESON_ENABLED= nls
LIBUNWIND_DESC= Libunwind is optionally used by the leaks tracer
-LIBUNWIND_LIB_DEPENDS= libunwind.so:devel/libunwind
-LIBUNWIND_MESON_ENABLED= libunwind
+LIBUNWIND_LIB_DEPENDS= libdw.so:devel/elfutils \
+ libunwind.so:devel/libunwind
+LIBUNWIND_MESON_ENABLED= libdw libunwind
SHEBANG_FILES= gst/parse/get_flex_version.py \
scripts/extract-release-date-from-doap-file.py \
diff --git a/multimedia/gstreamer1/pkg-plist b/multimedia/gstreamer1/pkg-plist
index f47f5d8e091d..b2cb3ee89b7a 100644
--- a/multimedia/gstreamer1/pkg-plist
+++ b/multimedia/gstreamer1/pkg-plist
@@ -151,6 +151,7 @@ libdata/pkgconfig/gstreamer-base-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-check-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-controller-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-net-%%VERSION%%.pc
+%%BASH%%libexec/gstreamer-%%VERSION%%/gst-completion-helper
libexec/gstreamer-%%VERSION%%/gst-hotdoc-plugins-scanner
libexec/gstreamer-%%VERSION%%/gst-plugin-scanner
libexec/gstreamer-%%VERSION%%/gst-plugins-doc-cache-generator
@@ -160,6 +161,9 @@ man/man1/gst-launch-%%VERSION%%.1.gz
man/man1/gst-stats-%%VERSION%%.1.gz
man/man1/gst-typefind-%%VERSION%%.1.gz
share/aclocal/gst-element-check-%%VERSION%%.m4
+%%BASH%%share/bash-completion/completions/gst-inspect-%%VERSION%%
+%%BASH%%share/bash-completion/completions/gst-launch-%%VERSION%%
+%%BASH%%share/bash-completion/helpers/gst
share/gdb/auto-load/usr/local/lib/libgstreamer-%%VERSION%%.so.%%SOVERSION%%-gdb.py
%%DATADIR%%-%%VERSION%%/gdb/glib_gobject_helper.py
%%DATADIR%%-%%VERSION%%/gdb/gst_gdb.py