All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qtuio: new package
@ 2012-09-22  6:59 Stephan Hoffmann
  2012-10-21 19:47 ` Peter Korsgaard
  2012-10-25  6:56 ` Thomas Petazzoni
  0 siblings, 2 replies; 9+ messages in thread
From: Stephan Hoffmann @ 2012-09-22  6:59 UTC (permalink / raw)
  To: buildroot

Implementation of an interface connecting TUIO messages and QT events

https://github.com/x29a/qTUIO

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 build-tested with a minimal internal toolchain for ARM.
---
 package/Config.in       |    6 ++++
 package/qtuio/Config.in |   18 ++++++++++++
 package/qtuio/qtuio.mk  |   70 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+), 0 deletions(-)
 create mode 100644 package/qtuio/Config.in
 create mode 100644 package/qtuio/qtuio.mk

diff --git a/package/Config.in b/package/Config.in
index 58dd5e8..a659a5f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -133,6 +133,12 @@ source "package/sdl_gfx/Config.in"
 comment "other GUIs"
 source "package/efl/Config.in"
 source "package/qt/Config.in"
+
+if BR2_PACKAGE_QT
+comment "QT libraries and helper libraries"
+source "package/qtuio/Config.in"
+endif
+
 source "package/x11r7/Config.in"
 
 comment "X libraries and helper libraries"
diff --git a/package/qtuio/Config.in b/package/qtuio/Config.in
new file mode 100644
index 0000000..19499fd
--- /dev/null
+++ b/package/qtuio/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_QTUIO
+	bool "qtuio"
+	depends on BR2_PACKAGE_QT_GUI_MODULE
+	help
+	  Implementation of an interface connecting TUIO messages
+	  and QT events
+
+	  https://github.com/x29a/qTUIO
+
+config BR2_QTUIO_EXAMPLES
+	bool "qtuio examples"
+	depends on BR2_PACKAGE_QTUIO
+	help
+	  Build and install qtuio examples
+
+comment "qtuio depends on QT gui module"
+	depends on !BR2_PACKAGE_QT_GUI_MODULE
+
diff --git a/package/qtuio/qtuio.mk b/package/qtuio/qtuio.mk
new file mode 100644
index 0000000..c7231f5
--- /dev/null
+++ b/package/qtuio/qtuio.mk
@@ -0,0 +1,70 @@
+#############################################################
+#
+# qTUIO
+#
+#############################################################
+QTUIO_VERSION = abe4973ff6
+QTUIO_SITE = git://github.com/x29a/qTUIO.git
+QTUIO_INSTALL_STAGING = YES
+QTUIO_DEPENDENCIES = qt
+
+QTUIO_LICENSE = GPLv3+
+QTUIO_LICENSE_FILES = COPYING
+
+# The pong example needs QtOpenGL support, which might become available
+# some time in the future. Then add pong to the list of examples.
+QTUIO_EXAMPLES = dials fingerpaint knobs pinchzoom
+
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_CONFIGURE_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		(cd $(@D)/examples/$${example} && $(QT_QMAKE)) ; \
+	done
+endef
+endif
+
+define QTUIO_CONFIGURE_CMDS
+	cd $(@D)/src && $(QT_QMAKE)
+	$(QTUIO_CONFIGURE_EXAMPLES)
+endef
+
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_BUILD_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(MAKE) -C $(@D)/examples/$${example}) ; \
+	done
+endef
+endif
+
+define QTUIO_BUILD_CMDS
+	$(MAKE) -C $(@D)/src
+	$(QTUIO_BUILD_EXAMPLES)
+endef
+
+# Unfortunately, there is no working "install" target available
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_INSTALL_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example}) ; \
+	done
+endef
+endif
+
+define QTUIO_INSTALL_TARGET_CMDS
+	cp -dpf $(@D)/lib/libqTUIO.so* $(TARGET_DIR)/usr/lib
+	$(QTUIO_INSTALL_EXAMPLES)
+endef
+
+define QTUIO_INSTALL_STAGING_CMDS
+	cp -dpf $(@D)/lib/libqTUIO.so* $(STAGING_DIR)/usr/lib
+endef
+
+define QTUIO_CLEAN_CMDS
+	$(MAKE) -C $(@D)/src clean
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(MAKE) -C $(@D)/examples/$${example} clean) ; \
+	done
+endef
+
+
+$(eval $(generic-package))
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
  2012-09-22  6:59 [Buildroot] [PATCH] qtuio: new package Stephan Hoffmann
@ 2012-10-21 19:47 ` Peter Korsgaard
  2012-10-25  6:56 ` Thomas Petazzoni
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Korsgaard @ 2012-10-21 19:47 UTC (permalink / raw)
  To: buildroot

>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:

 Stephan> Implementation of an interface connecting TUIO messages and QT events
 Stephan> https://github.com/x29a/qTUIO

 Stephan> Signed-off-by: Stephan Hoffmann <sho@relinux.de>
 Stephan> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 Stephan> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 Stephan>  build-tested with a minimal internal toolchain for ARM.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
  2012-09-22  6:59 [Buildroot] [PATCH] qtuio: new package Stephan Hoffmann
  2012-10-21 19:47 ` Peter Korsgaard
@ 2012-10-25  6:56 ` Thomas Petazzoni
  2012-10-25  7:09   ` Samuel Martin
  1 sibling, 1 reply; 9+ messages in thread
From: Thomas Petazzoni @ 2012-10-25  6:56 UTC (permalink / raw)
  To: buildroot

Dear Stephan Hoffmann,

On Sat, 22 Sep 2012 08:59:49 +0200, Stephan Hoffmann wrote:
> Implementation of an interface connecting TUIO messages and QT events
> 
> https://github.com/x29a/qTUIO
> 
> Signed-off-by: Stephan Hoffmann <sho@relinux.de>
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>  build-tested with a minimal internal toolchain for ARM.
> ---
>  package/Config.in       |    6 ++++
>  package/qtuio/Config.in |   18 ++++++++++++
>  package/qtuio/qtuio.mk  |   70 +++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 94 insertions(+), 0 deletions(-)
>  create mode 100644 package/qtuio/Config.in
>  create mode 100644 package/qtuio/qtuio.mk

Looks like it breaks the build in certain configurations:
http://autobuild.buildroot.net/results/c4a12fe6b8e7eb8c31ee2fd48893480bd098a008/build-end.log

It seems like a debug version of the library, named libqTUIO_d.so, has
been generated, which prevents the install rules from working.

Could you have a look into this? Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
  2012-10-25  6:56 ` Thomas Petazzoni
@ 2012-10-25  7:09   ` Samuel Martin
  2012-10-25  7:28     ` Stephan Hoffmann
  0 siblings, 1 reply; 9+ messages in thread
From: Samuel Martin @ 2012-10-25  7:09 UTC (permalink / raw)
  To: buildroot

Hi Thomas, Stephan, all,

2012/10/25 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
> Dear Stephan Hoffmann,
>
> On Sat, 22 Sep 2012 08:59:49 +0200, Stephan Hoffmann wrote:
>> Implementation of an interface connecting TUIO messages and QT events
>>
>> https://github.com/x29a/qTUIO
>>
>> Signed-off-by: Stephan Hoffmann <sho@relinux.de>
>> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>>  build-tested with a minimal internal toolchain for ARM.
>> ---
>>  package/Config.in       |    6 ++++
>>  package/qtuio/Config.in |   18 ++++++++++++
>>  package/qtuio/qtuio.mk  |   70 +++++++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 94 insertions(+), 0 deletions(-)
>>  create mode 100644 package/qtuio/Config.in
>>  create mode 100644 package/qtuio/qtuio.mk
>
> Looks like it breaks the build in certain configurations:
> http://autobuild.buildroot.net/results/c4a12fe6b8e7eb8c31ee2fd48893480bd098a008/build-end.log
>
> It seems like a debug version of the library, named libqTUIO_d.so, has
> been generated, which prevents the install rules from working.
I've a fix for this one:
https://github.com/tSed/buildroot/commit/b6297fd555f3288e0c3a1b3831706876aed3518c

I'll post it later on the ml.


Regards,

-- 
Sam

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
  2012-10-25  7:09   ` Samuel Martin
@ 2012-10-25  7:28     ` Stephan Hoffmann
  0 siblings, 0 replies; 9+ messages in thread
From: Stephan Hoffmann @ 2012-10-25  7:28 UTC (permalink / raw)
  To: buildroot

Am 25.10.2012 09:09, schrieb Samuel Martin:
>> Looks like it breaks the build in certain configurations:
>> http://autobuild.buildroot.net/results/c4a12fe6b8e7eb8c31ee2fd48893480bd098a008/build-end.log
>>
>> It seems like a debug version of the library, named libqTUIO_d.so, has
>> been generated, which prevents the install rules from working.
> I've a fix for this one:
> https://github.com/tSed/buildroot/commit/b6297fd555f3288e0c3a1b3831706876aed3518c
>
> I'll post it later on the ml.
>
Thank you, Samuel. I just wanted to start to investigate.

Kind regards

Stephan

-- 
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de     sho at reLinux.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
  2012-09-11 21:38 ` Arnout Vandecappelle
@ 2012-09-12  7:13   ` Arnout Vandecappelle
  0 siblings, 0 replies; 9+ messages in thread
From: Arnout Vandecappelle @ 2012-09-12  7:13 UTC (permalink / raw)
  To: buildroot

On 09/11/12 23:38, Arnout Vandecappelle wrote:
>> +comment "QT libraries and helper libraries"
>> +source "package/qtuio/Config.in"
>> +
>
>   Put this before x11r7.

  Actually, I'd also prefer this (both comment and source lines) to
be wrapped in a "if BR2_PACKAGE_QT".

  Regards,
  Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
  2012-08-30 12:08 Stephan Hoffmann
@ 2012-09-11 21:38 ` Arnout Vandecappelle
  2012-09-12  7:13   ` Arnout Vandecappelle
  0 siblings, 1 reply; 9+ messages in thread
From: Arnout Vandecappelle @ 2012-09-11 21:38 UTC (permalink / raw)
  To: buildroot

On 08/30/12 14:08, Stephan Hoffmann wrote:
> Implementation of an interface connecting TUIO messages and QT events
>
> https://github.com/x29a/qTUIO
>
> Signed-off-by: Stephan Hoffmann<sho@relinux.de>

  Minor comments below, but regardless:

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
  build-tested with a minimal internal toolchain for ARM.

> ---
> Included fixes suggested by Thomas Petazzoni
> Removed dependency from mtdev2tuio
> Install library to staging
>
>   package/Config.in       |    3 ++
>   package/qtuio/Config.in |   18 ++++++++++++
>   package/qtuio/qtuio.mk  |   70 +++++++++++++++++++++++++++++++++++++++++++++++
>   3 files changed, 91 insertions(+), 0 deletions(-)
>   create mode 100644 package/qtuio/Config.in
>   create mode 100644 package/qtuio/qtuio.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index e129522..94430b0 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -134,6 +134,9 @@ source "package/efl/Config.in"
>   source "package/qt/Config.in"
>   source "package/x11r7/Config.in"
>
> +comment "QT libraries and helper libraries"
> +source "package/qtuio/Config.in"
> +

  Put this before x11r7.

>   comment "X libraries and helper libraries"
>   source "package/liberation/Config.in"
>   source "package/libsexy/Config.in"
[snip]
> +# Unfortunatelly, there is no working "install" target available
                 ^ one l: Unfortunately


[snip]

  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
@ 2012-08-30 12:08 Stephan Hoffmann
  2012-09-11 21:38 ` Arnout Vandecappelle
  0 siblings, 1 reply; 9+ messages in thread
From: Stephan Hoffmann @ 2012-08-30 12:08 UTC (permalink / raw)
  To: buildroot

Implementation of an interface connecting TUIO messages and QT events

https://github.com/x29a/qTUIO

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
Included fixes suggested by Thomas Petazzoni
Removed dependency from mtdev2tuio
Install library to staging

 package/Config.in       |    3 ++
 package/qtuio/Config.in |   18 ++++++++++++
 package/qtuio/qtuio.mk  |   70 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+), 0 deletions(-)
 create mode 100644 package/qtuio/Config.in
 create mode 100644 package/qtuio/qtuio.mk

diff --git a/package/Config.in b/package/Config.in
index e129522..94430b0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -134,6 +134,9 @@ source "package/efl/Config.in"
 source "package/qt/Config.in"
 source "package/x11r7/Config.in"
 
+comment "QT libraries and helper libraries"
+source "package/qtuio/Config.in"
+
 comment "X libraries and helper libraries"
 source "package/liberation/Config.in"
 source "package/libsexy/Config.in"
diff --git a/package/qtuio/Config.in b/package/qtuio/Config.in
new file mode 100644
index 0000000..19499fd
--- /dev/null
+++ b/package/qtuio/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_QTUIO
+	bool "qtuio"
+	depends on BR2_PACKAGE_QT_GUI_MODULE
+	help
+	  Implementation of an interface connecting TUIO messages
+	  and QT events
+
+	  https://github.com/x29a/qTUIO
+
+config BR2_QTUIO_EXAMPLES
+	bool "qtuio examples"
+	depends on BR2_PACKAGE_QTUIO
+	help
+	  Build and install qtuio examples
+
+comment "qtuio depends on QT gui module"
+	depends on !BR2_PACKAGE_QT_GUI_MODULE
+
diff --git a/package/qtuio/qtuio.mk b/package/qtuio/qtuio.mk
new file mode 100644
index 0000000..5451052
--- /dev/null
+++ b/package/qtuio/qtuio.mk
@@ -0,0 +1,70 @@
+#############################################################
+#
+# qTUIO
+#
+#############################################################
+QTUIO_VERSION = abe4973ff6
+QTUIO_SITE = git://github.com/x29a/qTUIO.git
+QTUIO_INSTALL_STAGING = YES
+QTUIO_DEPENDENCIES = qt
+
+QTUIO_LICENSE = GPLv3+
+QTUIO_LICENSE_FILES = COPYING
+
+# The pong example needs QtOpenGL support, which might become available
+# some time in the future. Then add pong to the list of examples.
+QTUIO_EXAMPLES = dials fingerpaint knobs pinchzoom
+
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_CONFIGURE_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		(cd $(@D)/examples/$${example} && $(QT_QMAKE)) ; \
+	done
+endef
+endif
+
+define QTUIO_CONFIGURE_CMDS
+	cd $(@D)/src && $(QT_QMAKE)
+	$(QTUIO_CONFIGURE_EXAMPLES)
+endef
+
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_BUILD_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(MAKE) -C $(@D)/examples/$${example}) ; \
+	done
+endef
+endif
+
+define QTUIO_BUILD_CMDS
+	$(MAKE) -C $(@D)/src
+	$(QTUIO_BUILD_EXAMPLES)
+endef
+
+# Unfortunatelly, there is no working "install" target available
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_INSTALL_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example}) ; \
+	done
+endef
+endif
+
+define QTUIO_INSTALL_TARGET_CMDS
+	cp -dpf $(@D)/lib/libqTUIO.so* $(TARGET_DIR)/usr/lib
+	$(QTUIO_INSTALL_EXAMPLES)
+endef
+
+define QTUIO_INSTALL_STAGING_CMDS
+	cp -dpf $(@D)/lib/libqTUIO.so* $(STAGING_DIR)/usr/lib
+endef
+
+define QTUIO_CLEAN_CMDS
+	$(MAKE) -C $(@D)/src clean
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(MAKE) -C $(@D)/examples/$${example} clean) ; \
+	done
+endef
+
+
+$(eval $(generic-package))
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] qtuio: new package
@ 2012-08-30  9:59 Stephan Hoffmann
  0 siblings, 0 replies; 9+ messages in thread
From: Stephan Hoffmann @ 2012-08-30  9:59 UTC (permalink / raw)
  To: buildroot

Implementation of an interface connecting TUIO messages and QT events

https://github.com/x29a/qTUIO

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
Included fixes suggested by Thomas Petazzoni
Removed dependency from mtdev2tuio
Install library to staging

 package/Config.in       |    3 ++
 package/qtuio/Config.in |   18 ++++++++++++
 package/qtuio/qtuio.mk  |   70 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+), 0 deletions(-)
 create mode 100644 package/qtuio/Config.in
 create mode 100644 package/qtuio/qtuio.mk

diff --git a/package/Config.in b/package/Config.in
index e129522..94430b0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -134,6 +134,9 @@ source "package/efl/Config.in"
 source "package/qt/Config.in"
 source "package/x11r7/Config.in"
 
+comment "QT libraries and helper libraries"
+source "package/qtuio/Config.in"
+
 comment "X libraries and helper libraries"
 source "package/liberation/Config.in"
 source "package/libsexy/Config.in"
diff --git a/package/qtuio/Config.in b/package/qtuio/Config.in
new file mode 100644
index 0000000..19499fd
--- /dev/null
+++ b/package/qtuio/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_QTUIO
+	bool "qtuio"
+	depends on BR2_PACKAGE_QT_GUI_MODULE
+	help
+	  Implementation of an interface connecting TUIO messages
+	  and QT events
+
+	  https://github.com/x29a/qTUIO
+
+config BR2_QTUIO_EXAMPLES
+	bool "qtuio examples"
+	depends on BR2_PACKAGE_QTUIO
+	help
+	  Build and install qtuio examples
+
+comment "qtuio depends on QT gui module"
+	depends on !BR2_PACKAGE_QT_GUI_MODULE
+
diff --git a/package/qtuio/qtuio.mk b/package/qtuio/qtuio.mk
new file mode 100644
index 0000000..5451052
--- /dev/null
+++ b/package/qtuio/qtuio.mk
@@ -0,0 +1,70 @@
+#############################################################
+#
+# qTUIO
+#
+#############################################################
+QTUIO_VERSION = abe4973ff6
+QTUIO_SITE = git://github.com/x29a/qTUIO.git
+QTUIO_INSTALL_STAGING = YES
+QTUIO_DEPENDENCIES = qt
+
+QTUIO_LICENSE = GPLv3+
+QTUIO_LICENSE_FILES = COPYING
+
+# The pong example needs QtOpenGL support, which might become available
+# some time in the future. Then add pong to the list of examples.
+QTUIO_EXAMPLES = dials fingerpaint knobs pinchzoom
+
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_CONFIGURE_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		(cd $(@D)/examples/$${example} && $(QT_QMAKE)) ; \
+	done
+endef
+endif
+
+define QTUIO_CONFIGURE_CMDS
+	cd $(@D)/src && $(QT_QMAKE)
+	$(QTUIO_CONFIGURE_EXAMPLES)
+endef
+
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_BUILD_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(MAKE) -C $(@D)/examples/$${example}) ; \
+	done
+endef
+endif
+
+define QTUIO_BUILD_CMDS
+	$(MAKE) -C $(@D)/src
+	$(QTUIO_BUILD_EXAMPLES)
+endef
+
+# Unfortunatelly, there is no working "install" target available
+ifeq ($(BR2_QTUIO_EXAMPLES),y)
+define QTUIO_INSTALL_EXAMPLES
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example}) ; \
+	done
+endef
+endif
+
+define QTUIO_INSTALL_TARGET_CMDS
+	cp -dpf $(@D)/lib/libqTUIO.so* $(TARGET_DIR)/usr/lib
+	$(QTUIO_INSTALL_EXAMPLES)
+endef
+
+define QTUIO_INSTALL_STAGING_CMDS
+	cp -dpf $(@D)/lib/libqTUIO.so* $(STAGING_DIR)/usr/lib
+endef
+
+define QTUIO_CLEAN_CMDS
+	$(MAKE) -C $(@D)/src clean
+	for example in $(QTUIO_EXAMPLES) ; do \
+		($(MAKE) -C $(@D)/examples/$${example} clean) ; \
+	done
+endef
+
+
+$(eval $(generic-package))
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-10-25  7:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-22  6:59 [Buildroot] [PATCH] qtuio: new package Stephan Hoffmann
2012-10-21 19:47 ` Peter Korsgaard
2012-10-25  6:56 ` Thomas Petazzoni
2012-10-25  7:09   ` Samuel Martin
2012-10-25  7:28     ` Stephan Hoffmann
  -- strict thread matches above, loose matches on Subject: below --
2012-08-30 12:08 Stephan Hoffmann
2012-09-11 21:38 ` Arnout Vandecappelle
2012-09-12  7:13   ` Arnout Vandecappelle
2012-08-30  9:59 Stephan Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.