board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / qt5cinex / qt5cinex.mk
blobbfe14ce74e69b0515cd2de766e450e329567cee5
1 ################################################################################
3 # qt5cinex
5 ################################################################################
7 QT5CINEX_VERSION = 1.0
8 QT5CINEX_SITE = http://quitcoding.com/download
10 ifeq ($(BR2_PACKAGE_QT5CINEX_HD),y)
11 QT5CINEX_HD = "rpi_"
12 endif
14 QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
15 QT5CINEX_DEPENDENCIES = qt5base qt5declarative
17 QT5CINEX_LICENSE = CC-BY-3.0
18 QT5CINEX_LICENSE_FILES = README
20 define QT5CINEX_CONFIGURE_CMDS
21 cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake
22 endef
24 define QT5CINEX_BUILD_CMDS
25 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
26 endef
28 # In addition to the Cinematic Experience itself, we also install a
29 # wrapper shell script to /usr/bin: the Cinematic Experience binary
30 # wants its resource files to be available directly under a contents/
31 # sub-directory, which isn't very practical to install in /usr/bin/.
32 define QT5CINEX_INSTALL_TARGET_CMDS
33 $(INSTALL) -D -m 0755 $(@D)/Qt5_CinematicExperience \
34 $(TARGET_DIR)/usr/share/Qt5/CinematicExperience/Qt5_CinematicExperience
35 $(INSTALL) -D -m 0664 $(@D)/Qt5_CinematicExperience.qml \
36 $(TARGET_DIR)/usr/share/Qt5/CinematicExperience/Qt5_CinematicExperience.qml
37 cp -dpfr $(@D)/content $(TARGET_DIR)/usr/share/Qt5/CinematicExperience/content
38 $(INSTALL) -m 0755 -D package/qt5cinex/CinematicExperience-demo \
39 $(TARGET_DIR)/usr/bin/CinematicExperience-demo
40 endef
42 $(eval $(generic-package))