Skip to content
Permalink
Browse files

Update package config to work with Subprojects

  • Loading branch information
Raphael Dumusc
Raphael Dumusc committed Dec 14, 2017
1 parent ba5259d commit 3962d389ca389fe2c879ed3ea51a8229f079d50a
Showing with 19 additions and 11 deletions.
  1. +18 −10 CMake/CPackConfig.cmake
  2. +1 −1 CMake/common
@@ -1,21 +1,29 @@
# Copyright (c) 2010 Daniel Pfeifer <daniel@pfeifer-mail.de>
# 2010-2012 Stefan Eilemann <eile@eyescale.ch>
# 2017 Raphael Dumusc <raphael.dumusc@epfl.ch>

#info: http://www.itk.org/Wiki/CMake:Component_Install_With_CPack

set(CPACK_PACKAGE_VENDOR "www.eyescale.ch")
set(CPACK_PACKAGE_VENDOR "Eyescale")
set(CPACK_PACKAGE_DESCRIPTION_FILE ${PROJECT_SOURCE_DIR}/doc/Changelog.md)
set(CPACK_RESOURCE_FILE_README ${CPACK_PACKAGE_DESCRIPTION_FILE})

set(EQ_IB_PACKAGES "librdmacm-dev, libibverbs-dev, librdmacm-dev")
set(CPACK_DEBIAN_BUILD_DEPENDS bison flex libboost-system-dev
libboost-filesystem-dev libboost-date-time-dev libboost-regex-dev libboost-serialization-dev
libboost-program-options-dev libx11-dev libgl1-mesa-dev libglewmx1.6-dev
libspnav0 librdmacm-dev libibverbs-dev librdmacm-dev
${COLLAGE_DEB_DEV_DEPENDENCY} ${HWSD_DEB_DEV_DEPENDENCY}
${GLSTATS_DEB_DEV_DEPENDENCY} ${LUNCHBOX_DEB_DEV_DEPENDENCY}
${VMMLIB_DEB_DEPENDENCIES})
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libstdc++6, libboost-system-dev, libboost-date-time-dev, libboost-regex-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-serialization-dev, libx11-dev, libgl1-mesa-dev, libglewmx1.6-dev, libspnav-dev, ${EQ_IB_PACKAGES}, ${COLLAGE_DEB_DEV_DEPENDENCY}, ${HWSD_DEB_DEPENDENCIES}, ${GLSTATS_DEB_DEV_DEPENDENCY}, ${LUNCHBOX_DEB_DEV_DEPENDENCY}, ${VMMLIB_DEB_DEPENDENCIES}")
set(EQUALIZER_PACKAGE_DEB_DEPENDS ${EQUALIZER_DEB_DEPENDS})
list(REMOVE_ITEM EQUALIZER_PACKAGE_DEB_DEPENDS bison flex)
add_deb_depends(Collage libstdc++6 libboost-system-dev libboost-date-time-dev
libboost-regex-dev libboost-serialization-dev libboost-thread-dev
librdmacm-dev libibverbs-dev librdmacm-dev libudt-dev)
add_deb_depends(Deflect PACKAGE_NAME desktopstreamer qtbase5-dev libturbojpeg)
add_deb_depends(GLStats libstdc++6 libgl1-mesa-glx)
add_deb_depends(hwsd libstdc++6 libgl1-mesa-glx libboost-program-options-dev
libboost-regex-dev libboost-system-dev qtbase5-dev)
add_deb_depends(Lunchbox libboost-filesystem-dev libboost-regex-dev
libboost-serialization-dev libboost-system-dev libhwloc-dev)
add_deb_depends(Pression libboost-program-options-dev)
add_deb_depends(Servus libavahi-client-dev avahi-daemon)
add_deb_depends(vmmlib libstdc++6)

set(CPACK_DEBIAN_BUILD_DEPENDS ${EQUALIZER_DEB_DEPENDS})

set(CPACK_MACPORTS_CATEGORY graphics)
set(CPACK_MACPORTS_DEPENDS boost hwsd GLStats Collage Lunchbox VMMLIB)

0 comments on commit 3962d38

Please sign in to comment.
You can’t perform that action at this time.