diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2019-03-27 13:39:19 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2019-03-27 13:39:19 +0300 |
commit | 251b4003390a403b21fe5a0fcbca092b57b75f6a (patch) | |
tree | f9abf19159a6915bc5ed5a189636ee0be7f926b6 /packages/net-im/spectrum/spectrum.exlib | |
parent | 3a3cfaf4d5dc77892436ebc160f8c978ea2cdfbd (diff) |
spectrum: build fix, cleanup, update
Diffstat (limited to 'packages/net-im/spectrum/spectrum.exlib')
-rw-r--r-- | packages/net-im/spectrum/spectrum.exlib | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/packages/net-im/spectrum/spectrum.exlib b/packages/net-im/spectrum/spectrum.exlib index 65841c3..09b1be6 100644 --- a/packages/net-im/spectrum/spectrum.exlib +++ b/packages/net-im/spectrum/spectrum.exlib @@ -13,7 +13,6 @@ fi require github [ user=hanzz project=libtransport ] require cmake [ api=2 ] - LICENCES="GPL-2" SLOT="0" @@ -60,11 +59,7 @@ DEPENDENCIES+=" " if ! ever is_scm; then - if ever at_least 2.0.7; then - DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/6d220b0a083b3adf7fd4ae65ca011b29488493b7.diff - ) - fi + CMAKE_SOURCE="${WORKBASE}/spectrum2-${PV}" fi CMAKE_SRC_CONFIGURE_TESTS=( '-DENABLE_TESTS=ON -DENABLE_TESTS=OFF' ) @@ -89,9 +84,8 @@ if ever at_least 2.0.8; then # replace complicated broken module by simple pkg-config search # https://github.com/SpectrumIM/spectrum2/issues/300 - - edo rm "${WORKBASE}/${PNV}"/cmake_modules/Findjsoncpp.cmake - edo cp "${FILES}"/Findjsoncpp.cmake "${WORKBASE}/${PNV}"/cmake_modules/Findjsoncpp.cmake + edo rm "${CMAKE_SOURCE}"/cmake_modules/Findjsoncpp.cmake + edo cp "${FILES}"/Findjsoncpp.cmake "${CMAKE_SOURCE}"/cmake_modules/Findjsoncpp.cmake } fi |