• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/qtuio/qtuio.mk
Thomas PetazzoniThomas Petazzoni committed abed1cec06c04 Dec 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# qtuio
4
#
5
################################################################################
6
​
7
QTUIO_VERSION = abe4973ff60654aad9df7037c4ca15c45f811d24
8
QTUIO_SITE = $(call github,x29a,qTUIO,$(QTUIO_VERSION))
9
QTUIO_INSTALL_STAGING = YES
10
QTUIO_DEPENDENCIES = qt
11
​
12
QTUIO_LICENSE = GPLv3+
13
QTUIO_LICENSE_FILES = COPYING
14
​
15
# The pong example needs QtOpenGL support, which might become available
16
# some time in the future. Then add pong to the list of examples.
17
QTUIO_EXAMPLES = dials fingerpaint knobs pinchzoom
18
​
19
ifeq ($(BR2_QTUIO_EXAMPLES),y)
20
define QTUIO_CONFIGURE_EXAMPLES
21
    for example in $(QTUIO_EXAMPLES) ; do \
22
        (cd $(@D)/examples/$${example} && $(TARGET_MAKE_ENV) $(QT_QMAKE)) || exit 1; \
23
    done
24
endef
25
endif
26
​
27
define QTUIO_CONFIGURE_CMDS
28
    cd $(@D)/src && $(TARGET_MAKE_ENV) $(QT_QMAKE)
29
    $(QTUIO_CONFIGURE_EXAMPLES)
30
endef
31
​
32
ifeq ($(BR2_QTUIO_EXAMPLES),y)
33
define QTUIO_BUILD_EXAMPLES
34
    for example in $(QTUIO_EXAMPLES) ; do \
35
        $(MAKE) -C $(@D)/examples/$${example} || exit 1; \
36
    done
37
endef
38
endif
39
​
40
define QTUIO_BUILD_CMDS
41
    $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src
42
    $(QTUIO_BUILD_EXAMPLES)
43
endef
44
​
45
# Unfortunately, there is no working "install" target available
46
ifeq ($(BR2_QTUIO_EXAMPLES),y)
47
define QTUIO_INSTALL_EXAMPLES
48
    for example in $(QTUIO_EXAMPLES) ; do \
49
        $(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example} || exit 1 ; \
50
    done
51
endef
52
endif
53
​
54
ifeq ($(BR2_PACKAGE_QT_STATIC),y)
55
QTUIO_LIBRARY = libqTUIO.a
56
else
57
QTUIO_LIBRARY = libqTUIO.so*
58
define QTUIO_INSTALL_TARGET_LIBRARY
59
    cp -dpf $(@D)/lib/$(QTUIO_LIBRARY) $(TARGET_DIR)/usr/lib
60
endef
61
endif
62
​
63
define QTUIO_INSTALL_TARGET_CMDS
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.