Create install files with soversion. Add the SOVERSION to the name of the created install files for libqtav and libqtavwidgets.

Gbp-Pq: Name 0001-Create-install-files-with-soversion.patch
This commit is contained in:
Steve M. Robbins 2016-12-28 17:03:12 -06:00 committed by Lu zhiping
parent 190e506057
commit 777cb77763
2 changed files with 3 additions and 3 deletions

View File

@ -625,7 +625,7 @@ icon.path = /usr/share/icons/hicolor/scalable/apps
INSTALLS += icon INSTALLS += icon
#debian #debian
DEB_INSTALL_LIST = .$$[QT_INSTALL_LIBS]/libQt*AV.so.* DEB_INSTALL_LIST = .$$[QT_INSTALL_LIBS]/libQt*AV.so.*
libqtav.target = libqtav.install libqtav.target = libqtav1.install
libqtav.commands = echo \"$$join(DEB_INSTALL_LIST, \\n)\" >$$PROJECTROOT/debian/$${libqtav.target} libqtav.commands = echo \"$$join(DEB_INSTALL_LIST, \\n)\" >$$PROJECTROOT/debian/$${libqtav.target}
QMAKE_EXTRA_TARGETS += libqtav QMAKE_EXTRA_TARGETS += libqtav
target.depends *= $${libqtav.target} target.depends *= $${libqtav.target}

View File

@ -107,7 +107,7 @@ config_x11 {
LIBS *= -lX11 LIBS *= -lX11
} }
# QtAV/private/* may be used by developers to extend QtAV features without changing QtAV library # QtAV/private/* may be used by developers to extend QtAV features without changing QtAV library
# headers not in QtAV/ and it's subdirs are used only by QtAV internally # headers not in QtAV/ and its subdirs are used only by QtAV internally
HEADERS *= \ HEADERS *= \
$$SDK_HEADERS \ $$SDK_HEADERS \
$$SDK_PRIVATE_HEADERS $$SDK_PRIVATE_HEADERS
@ -143,7 +143,7 @@ mac {
unix:!android:!mac { unix:!android:!mac {
#debian #debian
DEB_INSTALL_LIST = .$$[QT_INSTALL_LIBS]/libQt*AVWidgets.so.* DEB_INSTALL_LIST = .$$[QT_INSTALL_LIBS]/libQt*AVWidgets.so.*
libqtavwidgets.target = libqtavwidgets.install libqtavwidgets.target = libqtavwidgets1.install
libqtavwidgets.commands = echo \"$$join(DEB_INSTALL_LIST, \\n)\" >$$PROJECTROOT/debian/$${libqtavwidgets.target} libqtavwidgets.commands = echo \"$$join(DEB_INSTALL_LIST, \\n)\" >$$PROJECTROOT/debian/$${libqtavwidgets.target}
QMAKE_EXTRA_TARGETS += libqtavwidgets QMAKE_EXTRA_TARGETS += libqtavwidgets
target.depends *= $${libqtavwidgets.target} target.depends *= $${libqtavwidgets.target}