1 ################################################################################
5 ################################################################################
7 QT5MULTIMEDIA_VERSION
= $(QT5_VERSION
)
8 QT5MULTIMEDIA_SITE
= $(QT5_SITE
)
9 QT5MULTIMEDIA_SOURCE
= qtmultimedia-opensource-src-
$(QT5MULTIMEDIA_VERSION
).
tar.xz
10 QT5MULTIMEDIA_DEPENDENCIES
= qt5base
11 QT5MULTIMEDIA_INSTALL_STAGING
= YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
),y
)
14 QT5MULTIMEDIA_LICENSE
= GPLv3 or LGPLv2.1 with exception or LGPLv3
, GFDLv1.3
(docs
)
15 QT5MULTIMEDIA_LICENSE_FILES
= LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
17 QT5MULTIMEDIA_LICENSE
= Commercial license
18 QT5MULTIMEDIA_REDISTRIBUTE
= NO
21 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE
),y
)
22 QT5MULTIMEDIA_DEPENDENCIES
+= gst1-plugins-base
25 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE
),y
)
26 QT5MULTIMEDIA_DEPENDENCIES
+= qt5declarative
29 define QT5MULTIMEDIA_CONFIGURE_CMDS
30 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
33 define QT5MULTIMEDIA_BUILD_CMDS
34 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
37 define QT5MULTIMEDIA_INSTALL_STAGING_CMDS
38 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
39 $(QT5_LA_PRL_FILES_FIXUP
)
42 ifeq ($(BR2_STATIC_LIBS
),)
43 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE
),y
)
44 define QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
45 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libqgsttools
*.so.
* $(TARGET_DIR
)/usr
/lib
49 define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
50 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5Multimedia
*.so.
* $(TARGET_DIR
)/usr
/lib
51 cp
-dpfr
$(STAGING_DIR
)/usr
/lib
/qt
/plugins
/* $(TARGET_DIR
)/usr
/lib
/qt
/plugins
52 $(QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
)
56 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK
),y
)
57 define QT5MULTIMEDIA_INSTALL_TARGET_QMLS
58 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/QtMultimedia
$(TARGET_DIR
)/usr
/qml
/
62 define QT5MULTIMEDIA_INSTALL_TARGET_CMDS
63 $(QT5MULTIMEDIA_INSTALL_TARGET_LIBS
)
64 $(QT5MULTIMEDIA_INSTALL_TARGET_QMLS
)
67 $(eval
$(generic-package
))