From: Hans Bulfone <hans@nil.at>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] qt5multimedia: depend on gst-plugins-base if selected, install libqgsttools
Date: Tue, 6 Aug 2013 01:36:43 +0200 [thread overview]
Message-ID: <mailman.0.1375747702.3404.buildroot@busybox.net> (raw)
qt5multimedia can use gstreamer, so make sure they are compiled in the
right order. If gstreamer is used libqgsttools is required at run time.
Signed-off-by: Hans Bulfone <hans@nil.at>
---
package/qt5/qt5multimedia/qt5multimedia.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/qt5/qt5multimedia/qt5multimedia.mk b/package/qt5/qt5multimedia/qt5multimedia.mk
index 8f62274..ec3d5e0 100644
--- a/package/qt5/qt5multimedia/qt5multimedia.mk
+++ b/package/qt5/qt5multimedia/qt5multimedia.mk
@@ -21,6 +21,10 @@ QT5MULTIMEDIA_LICENSE = Commercial license
QT5MULTIMEDIA_REDISTRIBUTE = NO
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
+QT5MULTIMEDIA_DEPENDENCIES += gst-plugins-base
+endif
+
define QT5MULTIMEDIA_CONFIGURE_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/qmake)
endef
@@ -37,6 +41,7 @@ endef
ifeq ($(BR2_PREFER_STATIC_LIB),)
define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Multimedia*.so.* $(TARGET_DIR)/usr/lib
+ -cp -dpf $(STAGING_DIR)/usr/lib/libqgsttools*.so.* $(TARGET_DIR)/usr/lib
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins
endef
endif
--
1.7.10.4
reply other threads:[~2013-08-05 23:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mailman.0.1375747702.3404.buildroot@busybox.net \
--to=hans@nil.at \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox