strawberry: add glib-networking

(cherry picked from commit e060a9515343e5240e2f6a4ff8354ff2a0096b43)
This commit is contained in:
Artturin 2021-07-21 21:12:41 +03:00 committed by github-actions[bot]
parent 677b13b2c5
commit 1a9c8739fd

View File

@ -28,6 +28,7 @@
, qtx11extras , qtx11extras
, qttools , qttools
, withGstreamer ? true , withGstreamer ? true
, glib-networking
, gst_all_1 ? null , gst_all_1 ? null
, withVlc ? true , withVlc ? true
, libvlc ? null , libvlc ? null
@ -69,6 +70,7 @@ mkDerivation rec {
p11-kit p11-kit
] ]
++ lib.optionals withGstreamer (with gst_all_1; [ ++ lib.optionals withGstreamer (with gst_all_1; [
glib-networking
gstreamer gstreamer
gst-plugins-base gst-plugins-base
gst-plugins-good gst-plugins-good
@ -82,8 +84,11 @@ mkDerivation rec {
util-linux util-linux
]; ];
postInstall = '' postInstall = lib.optionalString withGstreamer ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0") qtWrapperArgs+=(
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
--prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules"
)
''; '';
meta = with lib; { meta = with lib; {