mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-30 12:16:00 +00:00
Recommend, but don't depend on libcodec-extra
for debian-based
distros.
This commit is contained in:
parent
e0763f3730
commit
076bcbf2ff
@ -343,8 +343,10 @@ if (GENERATE_DEB MATCHES "1")
|
||||
|
||||
if (${ENABLE_FFMPEG} MATCHES "false")
|
||||
set(DEPENDENCIES "${DEPENDENCIES}, libflac8, libfaad2")
|
||||
set(RECOMMENDS "")
|
||||
else()
|
||||
set(DEPENDENCIES "${DEPENDENCIES}, libavcodec-extra, libavutil${DEB_AVUTIL_VERSION}, libavformat${DEB_AVFORMAT_VERSION}, libswresample${DEB_SWRESAMPLE_VERSION}")
|
||||
set(DEPENDENCIES "${DEPENDENCIES}, libavutil${DEB_AVUTIL_VERSION}, libavformat${DEB_AVFORMAT_VERSION}, libswresample${DEB_SWRESAMPLE_VERSION}")
|
||||
set(RECOMMENDS "libavcodec-extra")
|
||||
endif()
|
||||
|
||||
if (${ENABLE_BUNDLED_TAGLIB} MATCHES "false")
|
||||
@ -357,6 +359,7 @@ if (GENERATE_DEB MATCHES "1")
|
||||
set(CPACK_PACKAGE_VERSION_MINOR "${musikcube_VERSION_MINOR}")
|
||||
set(CPACK_PACKAGE_VERSION_PATCH "${musikcube_VERSION_PATCH}")
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS ${DEPENDENCIES})
|
||||
set(CPACK_DEBIAN_PACKAGE_RECOMMENDS ${RECOMMENDS})
|
||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "casey langen")
|
||||
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE ${DEB_ARCHITECTURE})
|
||||
set(CPACK_PACKAGE_FILE_NAME "musikcube_${musikcube_VERSION}_${DEB_PLATFORM}_${DEB_DISTRO}_${DEB_ARCHITECTURE}")
|
||||
|
Loading…
Reference in New Issue
Block a user