From a320e1c544ab9364f9c7b8c5221b2fe6d1761f77 Mon Sep 17 00:00:00 2001 From: Bryan Tan Date: Wed, 17 Jun 2020 16:50:34 -0700 Subject: [PATCH] Fix DEB libzip dependency for Ubuntu >= 19.04 For some reason, Ubuntu decided to rename libzip4 to libzip5, but it is still libzip4 in Debian. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7203fca1..f7c4c6cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -346,7 +346,7 @@ set (CPACK_DEBIAN_PACKAGE_HOMEPAGE ${PACKAGE_URL}) set (CPACK_DEBIAN_PACKAGE_MAINTAINER "Andreas Butti ") set (CPACK_DEBIAN_PACKAGE_SECTION "graphics") set (CPACK_DEBIAN_PACKAGE_DEPENDS - "libglib2.0-0 (>= 2.32), libgtk-3-0 (>= 3.18), libpoppler-glib8 (>= 0.41.0), libxml2 (>= 2.0.0), libportaudiocpp0 (>= 12), libsndfile1 (>= 1.0.25), liblua5.3-0, libzip4 (>= 1.0.1), zlib1g") + "libglib2.0-0 (>= 2.32), libgtk-3-0 (>= 3.18), libpoppler-glib8 (>= 0.41.0), libxml2 (>= 2.0.0), libportaudiocpp0 (>= 12), libsndfile1 (>= 1.0.25), liblua5.3-0, libzip4 (>= 1.0.1) | libzip5, zlib1g") set (CPACK_DEBIAN_PACKAGE_SUGGESTS "texlive-base, texlive-latex-extra") # Latex tool # Use debian's arch scheme; we only care about x86/amd64 for now but feel free to add more if (${PACKAGE_ARCH} STREQUAL "x86_64")