diff --git a/debian/control b/debian/control index 5c000384f..91c8e0fcb 100644 --- a/debian/control +++ b/debian/control @@ -1,3 +1,4 @@ + Source: qtav Section: libs Priority: extra @@ -55,13 +56,24 @@ Description: QtAV library . This package contains the QtAV library. +Package: libqtavwidgets +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, libqtav, libqt5opengl5 +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: QtAV Widgets module + QtAV is a multimedia playback library based on Qt and FFmpeg. + It can help you to write a player with less effort than ever before. + . + This package contains a set of widgets to play media. + Package: qtav-dev Architecture: any Multi-Arch: same Section: libdevel -Depends: ${misc:Depends}, libqtav, libqt5opengl5-dev +Depends: ${misc:Depends}, libqtav, libqtavwidgets, libqt5opengl5-dev Description: QtAV development files - QtAV is a multimedia playback library based on Qt and FFmpeg. + QtAV is a multimedia playback framework based on Qt and FFmpeg. It can help you to write a player with less effort than ever before. . This package contains the header development files for building some @@ -96,7 +108,7 @@ Package: qtav-players Section: video Architecture: any Pre-Depends: ${misc:Pre-Depends} -Depends: ${misc:Depends}, ${shlibs:Depends}, libqtav, qml-module-qtav, libqt5svg5 +Depends: ${misc:Depends}, ${shlibs:Depends}, libqtav, libqtavwidgets, qml-module-qtav, libqt5svg5 Multi-Arch: same Description: QtAV/QML players QtAV is a multimedia playback framework based on Qt and FFmpeg. diff --git a/widgets/libQtAVWidgets.pro b/widgets/libQtAVWidgets.pro index fd53c367b..2c4fa015f 100644 --- a/widgets/libQtAVWidgets.pro +++ b/widgets/libQtAVWidgets.pro @@ -143,23 +143,16 @@ QMAKE_EXTRA_TARGETS += libqtavwidgets target.depends *= $${libqtavwidgets.target} DEB_INSTALL_LIST = $$join(SDK_HEADERS, \\n.$$[QT_INSTALL_HEADERS]/, .$$[QT_INSTALL_HEADERS]/) -DEB_INSTALL_LIST += .$$[QT_INSTALL_LIBS]/libQt*AV.prl .$$[QT_INSTALL_LIBS]/libQt*AV.so -DEB_INSTALL_LIST += .$$[QT_INSTALL_BINS]/../mkspecs/features/av.prf .$$[QT_INSTALL_BINS]/../mkspecs/modules/qt_lib_av.pri -qtavwidgets_dev.target = qtavwidgets-dev.install -qtavwidgets_dev.commands = echo \"$$join(DEB_INSTALL_LIST, \\n)\" >$$PROJECTROOT/debian/$${qtavwidgets_dev.target} +DEB_INSTALL_LIST += .$$[QT_INSTALL_LIBS]/libQt*AVWidgets.prl .$$[QT_INSTALL_LIBS]/libQt*AVWidgets.so +DEB_INSTALL_LIST += .$$[QT_INSTALL_BINS]/../mkspecs/features/avwidgets.prf .$$[QT_INSTALL_BINS]/../mkspecs/modules/qt_lib_avwidgets.pri +qtavwidgets_dev.target = qtav-dev.install #like qtmultimedia5-dev, contains widgets headers +qtavwidgets_dev.commands = echo \"$$join(DEB_INSTALL_LIST, \\n)\" >>$$PROJECTROOT/debian/$${qtavwidgets_dev.target} QMAKE_EXTRA_TARGETS += qtavwidgets_dev target.depends *= $${qtavwidgets_dev.target} -DEB_INSTALL_LIST = $$join(SDK_PRIVATE_HEADERS, \\n.$$[QT_INSTALL_HEADERS]/QtAV/*/, .$$[QT_INSTALL_HEADERS]/QtAV/*/) -DEB_INSTALL_LIST += .$$[QT_INSTALL_BINS]/../mkspecs/modules/qt_lib_av_private.pri -qtavwidgets_private_dev.target = qtavwidgets-private-dev.install -qtavwidgets_private_dev.commands = echo \"$$join(DEB_INSTALL_LIST, \\n)\" >$$PROJECTROOT/debian/$${qtavwidgets_private_dev.target} -QMAKE_EXTRA_TARGETS += qtavwidgets_private_dev -target.depends *= $${qtavwidgets_private_dev.target} - greaterThan(QT_MAJOR_VERSION, 4):lessThan(QT_MINOR_VERSION, 4) { - qtavwidgets_dev_links.target = qtavwidgets-dev.links - qtavwidgets_dev_links.commands = echo \"$$[QT_INSTALL_LIBS]/libQtAVWidgets.so $$[QT_INSTALL_LIBS]/libQt$${QT_MAJOR_VERSION}AVWidgets.so\" >$$PROJECTROOT/debian/$${qtavwidgets_dev_links.target} + qtavwidgets_dev_links.target = qtav-dev.links #like qtmultimedia5-dev, contains widgets .so + qtavwidgets_dev_links.commands = echo \"$$[QT_INSTALL_LIBS]/libQtAVWidgets.so $$[QT_INSTALL_LIBS]/libQt$${QT_MAJOR_VERSION}AVWidgets.so\" >>$$PROJECTROOT/debian/$${qtavwidgets_dev_links.target} QMAKE_EXTRA_TARGETS *= qtavwidgets_dev_links target.depends *= $${qtavwidgets_dev_links.target} } #Qt<5.4