From 1c12604d577a87818809d53db7d9ee7a0f538f67 Mon Sep 17 00:00:00 2001 From: Cong Date: Sat, 24 Oct 2015 00:16:37 +1100 Subject: [PATCH] Fix linux sdl package names (#169) --- .travis.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 65aae2453..f2b31de54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ before_install: - sudo apt-get update -qq install: - - sudo apt-get install -qq libsdl-image2-dev libsdl-mixer2-dev rpm + - sudo apt-get install -qq libsdl2-image-dev libsdl2-mixer-dev rpm - if [ "$CC" = "gcc" ]; then sudo apt-get install -qq gcc-4.8; fi before_script: diff --git a/CMakeLists.txt b/CMakeLists.txt index f2935bf5b..f84a624b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -253,7 +253,7 @@ else() # debian specific set(CPACK_DEBIAN_PACKAGE_MAINTAINER "C-Dogs SDL Team") set(CPACK_DEBIAN_PACKAGE_SECTION Games) - set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, libsdl-image2, libsdl-mixer2") + set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, libsdl2-image, libsdl2-mixer") # fedora/suse specific set(CPACK_RPM_PACKAGE_LICENSE "GPL2")