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 ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST
),y
)
15 QT5MULTIMEDIA_LICENSE
= GPLv2
+ or LGPLv3
, GPLv3 with exception
(tools
), GFDLv1.3
(docs
)
16 QT5MULTIMEDIA_LICENSE_FILES
= LICENSE.GPL2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
18 QT5MULTIMEDIA_LICENSE
= GPLv3 or LGPLv2.1 with exception or LGPLv3
, GFDLv1.3
(docs
)
19 QT5MULTIMEDIA_LICENSE_FILES
= LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
22 QT5MULTIMEDIA_LICENSE
= Commercial license
23 QT5MULTIMEDIA_REDISTRIBUTE
= NO
26 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE
),y
)
27 QT5MULTIMEDIA_DEPENDENCIES
+= gst1-plugins-base
30 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE
),y
)
31 QT5MULTIMEDIA_DEPENDENCIES
+= qt5declarative
34 define QT5MULTIMEDIA_CONFIGURE_CMDS
35 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
38 define QT5MULTIMEDIA_BUILD_CMDS
39 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
42 define QT5MULTIMEDIA_INSTALL_STAGING_CMDS
43 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
44 $(QT5_LA_PRL_FILES_FIXUP
)
47 ifeq ($(BR2_STATIC_LIBS
),)
48 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE
),y
)
49 define QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
50 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libqgsttools
*.so.
* $(TARGET_DIR
)/usr
/lib
54 define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
55 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5Multimedia
*.so.
* $(TARGET_DIR
)/usr
/lib
56 cp
-dpfr
$(STAGING_DIR
)/usr
/lib
/qt
/plugins
/* $(TARGET_DIR
)/usr
/lib
/qt
/plugins
57 $(QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
)
61 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK
),y
)
62 define QT5MULTIMEDIA_INSTALL_TARGET_QMLS
63 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/QtMultimedia
$(TARGET_DIR
)/usr
/qml
/
67 ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES
),y
)
68 define QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES
69 cp
-dpfr
$(STAGING_DIR
)/usr
/lib
/qt
/examples
/multimedia
* $(TARGET_DIR
)/usr
/lib
/qt
/examples
/
73 define QT5MULTIMEDIA_INSTALL_TARGET_CMDS
74 $(QT5MULTIMEDIA_INSTALL_TARGET_LIBS
)
75 $(QT5MULTIMEDIA_INSTALL_TARGET_QMLS
)
76 $(QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES
)
79 $(eval
$(generic-package
))