mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
gst1-plugins-base: fix build with no module
gst1-plugins-base might be required only for its libraries, not modules. However, InstallDev tries to copy them unconditionally, failing when no modules are selected/compiled. Fixes #13973 Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
This commit is contained in:
committed by
Hannu Nyman
parent
2fa91f4c9f
commit
56eb4078e5
@@ -182,11 +182,14 @@ define Build/InstallDev
|
|||||||
./usr/lib/libgst*-$(GST_VERSION).so* \
|
./usr/lib/libgst*-$(GST_VERSION).so* \
|
||||||
$(1)/usr/lib/ \
|
$(1)/usr/lib/ \
|
||||||
)
|
)
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
|
if [ -d $(PKG_INSTALL_DIR)/usr/lib/gstreamer-$(GST_VERSION)/ ]; then \
|
||||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION); \
|
||||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst*.so \
|
( cd $(PKG_INSTALL_DIR); $(FIND) \
|
||||||
$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
./usr/lib/gstreamer-$(GST_VERSION)/ -name libgst*.so -print0 | \
|
||||||
)
|
xargs --null --no-run-if-empty $(CP) \
|
||||||
|
--target-directory=$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||||
|
) \
|
||||||
|
fi
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||||
./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
|
./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
|
||||||
|
|||||||
Reference in New Issue
Block a user