diff --git a/packaging/CPackDebUploadPPA.cmake b/packaging/CPackDebUploadPPA.cmake index 69af8e187a4..7808abd5201 100644 --- a/packaging/CPackDebUploadPPA.cmake +++ b/packaging/CPackDebUploadPPA.cmake @@ -88,10 +88,10 @@ endif() foreach(RELEASE ${CPACK_DEBIAN_DISTRIBUTION_RELEASES}) - if (RELEASE STREQUAL "bionic") - set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS_EXTRA "libmp4v2-dev,") + if (RELEASE STREQUAL "jammy") + set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS_EXTRA "libqt6shadertools6-dev,") else() - set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS_EXTRA "libavformat-dev,") + set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS_EXTRA "qt6-shadertools-dev,") endif() configure_file(${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}/packaging/debian/control.in diff --git a/packaging/debian/control.in b/packaging/debian/control.in index a2600ce2f10..b13e4232688 100644 --- a/packaging/debian/control.in +++ b/packaging/debian/control.in @@ -16,7 +16,6 @@ Build-Depends: debhelper (>= 11), qml6-module-qtquick-layouts, libqt6core5compat6-dev, libqt6opengl6-dev, - libqt6shadertools6-dev, libqt6sql6-sqlite, libqt6svg6-dev, cmake (>= 3.13), @@ -27,6 +26,7 @@ Build-Depends: debhelper (>= 11), libogg-dev, libsndfile1-dev, libasound2-dev, + libavformat-dev, libvorbis-dev, libfaad-dev, libportmidi-dev, diff --git a/tools/debian_buildenv.sh b/tools/debian_buildenv.sh index 95ef67967ec..992ffae2e75 100755 --- a/tools/debian_buildenv.sh +++ b/tools/debian_buildenv.sh @@ -12,14 +12,14 @@ case "$1" in setup) source /etc/lsb-release 2>/dev/null case "${DISTRIB_CODENAME}" in - bionic) # Ubuntu 18.04 LTS + focal|jammy|bullseye) # <= Ubuntu 22.04.5 LTS PACKAGES_EXTRA=( - libmp4v2-dev + libqt6shadertools6-dev ) ;; - *) # libmp4v2 was removed from Debian 10 & Ubuntu 20.04 due to lack of maintenance, so use FFMPEG instead + *) PACKAGES_EXTRA=( - libavformat-dev + qt6-shadertools-dev ) esac @@ -58,6 +58,7 @@ case "$1" in fonts-ubuntu \ g++ \ lcov \ + libavformat-dev \ libbenchmark-dev \ libchromaprint-dev \ libdistro-info-perl \ @@ -80,9 +81,7 @@ case "$1" in libportmidi-dev \ libprotobuf-dev \ libqt6core5compat6-dev\ - libqt6shadertools6-dev \ libqt6opengl6-dev \ - libqt6shadertools6-dev \ libqt6sql6-sqlite \ libqt6svg6-dev \ librubberband-dev \