Skip to content

Commit

Permalink
Drop special case for Bionic not using ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jan 14, 2025
1 parent a807be6 commit 3cd854b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
6 changes: 0 additions & 6 deletions packaging/CPackDebUploadPPA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ endif()

foreach(RELEASE ${CPACK_DEBIAN_DISTRIBUTION_RELEASES})

if (RELEASE STREQUAL "bionic")
set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS_EXTRA "libmp4v2-dev,")
else()
set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS_EXTRA "libavformat-dev,")
endif()

configure_file(${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}/packaging/debian/control.in
${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}/debian/control
@ONLY)
Expand Down
1 change: 1 addition & 0 deletions packaging/debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Build-Depends: debhelper (>= 11),
libogg-dev,
libsndfile1-dev,
libasound2-dev,
libavformat-dev,
libvorbis-dev,
libfaad-dev,
libportmidi-dev,
Expand Down
14 changes: 1 addition & 13 deletions tools/debian_buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ case "$1" in
;;

setup)
source /etc/lsb-release 2>/dev/null
case "${DISTRIB_CODENAME}" in
bionic) # Ubuntu 18.04 LTS
PACKAGES_EXTRA=(
libmp4v2-dev
)
;;
*) # libmp4v2 was removed from Debian 10 & Ubuntu 20.04 due to lack of maintenance, so use FFMPEG instead
PACKAGES_EXTRA=(
libavformat-dev
)
esac

sudo apt-get update

# If jackd2 is installed as per dpkg database, install libjack-jackd2-dev.
Expand Down Expand Up @@ -58,6 +45,7 @@ case "$1" in
fonts-ubuntu \
g++ \
lcov \
libavformat-dev \
libbenchmark-dev \
libchromaprint-dev \
libdistro-info-perl \
Expand Down

0 comments on commit 3cd854b

Please sign in to comment.