|
Lines 132-137
Link Here
|
| 132 |
SET(includedir "\${prefix}/include") |
131 |
SET(includedir "\${prefix}/include") |
| 133 |
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY) |
132 |
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY) |
| 134 |
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig) |
133 |
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig) |
|
|
134 |
# icon |
| 135 |
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat_icon_32.png |
| 136 |
${CMAKE_CURRENT_BINARY_DIR}/weechat.png COPYONLY) |
| 137 |
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.png DESTINATION |
| 138 |
${SHAREDIR}/icons/hicolor/32x32/apps) |
| 135 |
|
139 |
|
| 136 |
# packages |
140 |
# packages |
| 137 |
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client") |
141 |
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client") |
|
Lines 141-146
Link Here
|
| 141 |
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR}) |
145 |
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR}) |
| 142 |
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR}) |
146 |
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR}) |
| 143 |
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH}) |
147 |
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH}) |
|
|
148 |
SET(CPACK_BUNDLE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/weechat_icon_32.png") |
| 144 |
|
149 |
|
| 145 |
# binary package |
150 |
# binary package |
| 146 |
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2") |
151 |
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2") |