From f5cca23035aeea689912b53895de22eda7f81c77 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 27 Jul 2018 05:15:42 +0300 Subject: spectrum: build fix swiften: added latest release --- packages/net-im/spectrum/spectrum.exlib | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'packages/net-im/spectrum/spectrum.exlib') 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 +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 ) -- cgit v1.2.3