package/qt5cinex: convert to qmake infrastructure

Keep custom install logic because qt5cinex has no built-in install
target.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Andreas Naumann 2020-02-17 22:23:38 +01:00 committed by Thomas Petazzoni
parent 8440ef6ad2
commit a4fb0177a0

View File

@ -12,19 +12,11 @@ QT5CINEX_HD = rpi_
endif
QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
QT5CINEX_DEPENDENCIES = qt5base qt5declarative
QT5CINEX_DEPENDENCIES = qt5declarative
QT5CINEX_LICENSE = CC-BY-3.0
QT5CINEX_LICENSE_FILES = README
define QT5CINEX_CONFIGURE_CMDS
cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake
endef
define QT5CINEX_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
# In addition to the Cinematic Experience itself, we also install a
# wrapper shell script to /usr/bin: the Cinematic Experience binary
# wants its resource files to be available directly under a contents/
@ -39,4 +31,4 @@ define QT5CINEX_INSTALL_TARGET_CMDS
$(TARGET_DIR)/usr/bin/CinematicExperience-demo
endef
$(eval $(generic-package))
$(eval $(qmake-package))