Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Heidelberg <markus.heidelberg@web.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 7/7] qtopia4: add Phonon support
Date: Wed, 19 Nov 2008 02:53:18 +0100	[thread overview]
Message-ID: <200811190253.18927.markus.heidelberg@web.de> (raw)
In-Reply-To: <200811190244.44817.markus.heidelberg@web.de>

Phonon is the multimedia API from KDE 4 which has been integrated into
Qt 4.4. For playback under Linux the GStreamer multimedia framework is
used.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 package/qtopia4/Config.in  |    9 +++++++++
 package/qtopia4/qtopia4.mk |   16 ++++++++++++++++
 2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/package/qtopia4/Config.in b/package/qtopia4/Config.in
index fb156af..e0eda92 100644
--- a/package/qtopia4/Config.in
+++ b/package/qtopia4/Config.in
@@ -234,6 +234,15 @@ config BR2_PACKAGE_QTOPIA4_XMLPATTERNS
 	  Build QtXmlPatterns module.
 	  If unsure, say n
 
+config BR2_PACKAGE_QTOPIA4_PHONON
+	bool "Phonon Module"
+	select BR2_PACKAGE_GSTREAMER
+	select BR2_PACKAGE_GST_PLUGINS_BASE
+	help
+	  Build the Phonon module. Support for different audio/video
+	  formats can be configured at the GStreamer package.
+	  If unsure, say n.
+
 config BR2_PACKAGE_QTOPIA4_SVG
 	bool "SVG Module"
 	help
diff --git a/package/qtopia4/qtopia4.mk b/package/qtopia4/qtopia4.mk
index ef40528..dc3d183 100644
--- a/package/qtopia4/qtopia4.mk
+++ b/package/qtopia4/qtopia4.mk
@@ -262,6 +262,13 @@ else
 QTOPIA4_CONFIGURE+= -no-xmlpatterns
 endif
 
+ifeq ($(BR2_PACKAGE_QTOPIA4_PHONON),y)
+QTOPIA4_CONFIGURE+= -phonon
+QTOPIA4_DEP_LIBS+=gstreamer gst-plugins-base
+else
+QTOPIA4_CONFIGURE+= -no-phonon
+endif
+
 ifeq ($(BR2_PACKAGE_QTOPIA4_SVG),y)
 QTOPIA4_CONFIGURE+= -svg
 else
@@ -363,6 +370,10 @@ $(TARGET_DIR)/usr/lib/libQtCore.so.4: $(STAGING_DIR)/usr/lib/libQtCore.la
 ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y)
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt*.so.* $(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libQt*.so.*
+ifeq ($(BR2_PACKAGE_QTOPIA4_PHONON),y)
+	cp -dpf $(STAGING_DIR)/usr/lib/libphonon.so.* $(TARGET_DIR)/usr/lib/
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libphonon.so.*
+endif
 endif
 	# Install image plugins if they are built
 	if [ -d $(STAGING_DIR)/usr/plugins/imageformats ]; then \
@@ -370,6 +381,11 @@ endif
 		cp -dpfr $(STAGING_DIR)/usr/plugins/imageformats $(TARGET_DIR)/usr/plugins/; \
 		$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/plugins/imageformats/*; \
 	fi
+ifeq ($(BR2_PACKAGE_QTOPIA4_PHONON),y)
+	mkdir -p $(TARGET_DIR)/usr/plugins
+	cp -dpfr $(STAGING_DIR)/usr/plugins/phonon_backend $(TARGET_DIR)/usr/plugins/
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/plugins/phonon_backend/*
+endif
 ifneq ($(BR2_PACKAGE_QTOPIA4_SQL_MODULE),y)
 	# Remove Sql libraries, not needed
 	-rm $(TARGET_DIR)/usr/lib/libQtSql*
-- 
1.6.0.4.762.g0567f

  parent reply	other threads:[~2008-11-19  1:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19  1:44 [Buildroot] [PATCH 0/7] add Phonon support to qtopia4 Markus Heidelberg
2008-11-19  1:49 ` [Buildroot] [PATCH 1/7] package: add liboil package Markus Heidelberg
2008-11-25  7:27   ` [Buildroot] [PATCH 1/7 v2] " Markus Heidelberg
2008-12-02 22:51     ` Thomas Petazzoni
2008-12-03  6:15       ` Hans-Christian Egtvedt
2008-12-03  9:06   ` [Buildroot] [PATCH 1/7] " Thomas Petazzoni
2008-11-19  1:50 ` [Buildroot] [PATCH 2/7] package/multimedia: add libtheora package Markus Heidelberg
2008-11-19  1:50 ` [Buildroot] [PATCH 3/7] package/multimedia: add gstreamer package Markus Heidelberg
2008-11-19  1:51 ` [Buildroot] [PATCH 4/7] package/multimedia: add gst-plugins-base package Markus Heidelberg
2008-11-19  1:52 ` [Buildroot] [PATCH 5/7] package/multimedia: add gst-plugins-good package Markus Heidelberg
2008-11-19  1:52 ` [Buildroot] [PATCH 6/7] package/multimedia: add gst-plugins-ugly package Markus Heidelberg
2008-11-19  1:53 ` Markus Heidelberg [this message]
2008-11-25  7:25 ` [Buildroot] [PATCH 0/7] add Phonon support to qtopia4 Markus Heidelberg
2008-11-25  7:27   ` Hans-Christian Egtvedt
2008-11-25  7:33     ` Markus Heidelberg
2008-12-08 18:03       ` Hans-Christian Egtvedt
2008-12-08 22:00         ` Markus Heidelberg
2008-12-09  6:02           ` Hans-Christian Egtvedt
2008-12-09 10:34             ` Markus Heidelberg
2008-12-09 10:45               ` Hans-Christian Egtvedt
2008-12-09 13:34                 ` Thiago A. Corrêa
2008-12-09 13:58                   ` Hans-Christian Egtvedt

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=200811190253.18927.markus.heidelberg@web.de \
    --to=markus.heidelberg@web.de \
    --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