diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-27 05:15:42 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-27 05:15:42 +0300 |
commit | f5cca23035aeea689912b53895de22eda7f81c77 (patch) | |
tree | 4bf74267811f44f42640e957e67a2696065eb932 /packages/net-im/spectrum/spectrum.exlib | |
parent | d66064198726b71c0323d7f525ce3654a4c1425e (diff) |
spectrum: build fix
swiften: added latest release
Diffstat (limited to 'packages/net-im/spectrum/spectrum.exlib')
-rw-r--r-- | packages/net-im/spectrum/spectrum.exlib | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/packages/net-im/spectrum/spectrum.exlib b/packages/net-im/spectrum/spectrum.exlib index 38f2177..2fb8aac 100644 --- a/packages/net-im/spectrum/spectrum.exlib +++ b/packages/net-im/spectrum/spectrum.exlib @@ -1,6 +1,13 @@ # Distributed under the terms of the GNU General Public License v2 # Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> +if ! ever at_least 2.0.7; then + SCM_EXTERNAL_REFS=" + msvc-deps/curl:curl + " + SCM_SECONDARY_REPOSITORIES="curl" + SCM_curl_REPOSITORY="https://github.com/curl/curl.git" +fi require github [ user=hanzz project=libtransport force_git_clone=true ] require cmake [ api=2 ] @@ -25,15 +32,16 @@ MYOPTIONS=" ( providers: libressl openssl ) [[ number-selected = exactly-one ]] " -DEPENDENCIES=" + +DEPENDENCIES+=" build: - dev-libs/jsoncpp sys-devel/gettext build+run: - net-im/swiften + dev-libs/jsoncpp dev-libs/popt dev-libs/libev dev-libs/log4cxx + net-im/swiften doc? ( app-doc/doxygen ) frotz? ( dev-libs/protobuf ) irc? ( @@ -53,6 +61,12 @@ DEPENDENCIES=" dev-cpp/cppunit " +if ! ever is_scm; then + DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}"/6d220b0a083b3adf7fd4ae65ca011b29488493b7.diff + ) +fi + CMAKE_SRC_CONFIGURE_OPTION_ENABLES=( 'doc DOCS' @@ -61,7 +75,7 @@ CMAKE_SRC_CONFIGURE_OPTION_ENABLES=( MYSQL 'postgres PQXX' 'smstools SMSTOOLS3' - SQLITE + 'sqlite SQLITE3' TWITTER ) |