From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37F20138336 for ; Wed, 4 Dec 2019 00:44:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21A3AE083E; Wed, 4 Dec 2019 00:44:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06EC9E083E for ; Wed, 4 Dec 2019 00:44:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E982E34D78A for ; Wed, 4 Dec 2019 00:44:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C98AC8CD for ; Wed, 4 Dec 2019 00:44:21 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1575420236.7cc890ee2a395c54d5b4fe50779514911f81319a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/indilib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/indilib/indilib-1.8.2-r1.ebuild sci-libs/indilib/metadata.xml X-VCS-Directories: sci-libs/indilib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7cc890ee2a395c54d5b4fe50779514911f81319a X-VCS-Branch: master Date: Wed, 4 Dec 2019 00:44:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49e0292b-150b-4747-9d5a-3ad90d28b565 X-Archives-Hash: ee5dce44f98a7c393e56427248ecd264 commit: 7cc890ee2a395c54d5b4fe50779514911f81319a Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Dec 4 00:37:46 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Dec 4 00:43:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cc890ee sci-libs/indilib: Fix RDEPENDs, add USE websocket Reported-by: Toralf Förster gentoo.org> Closes: https://bugs.gentoo.org/700876 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/indilib/indilib-1.8.2-r1.ebuild | 56 ++++++++++++++++++++++++++++++++ sci-libs/indilib/metadata.xml | 3 ++ 2 files changed, 59 insertions(+) diff --git a/sci-libs/indilib/indilib-1.8.2-r1.ebuild b/sci-libs/indilib/indilib-1.8.2-r1.ebuild new file mode 100644 index 00000000000..7e6d637a007 --- /dev/null +++ b/sci-libs/indilib/indilib-1.8.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils udev + +DESCRIPTION="INDI Astronomical Control Protocol library" +HOMEPAGE="https://www.indilib.org/" +SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="ogg test websocket" + +RDEPEND=" + net-misc/curl + sci-libs/cfitsio:= + sci-libs/fftw:3.0= + sci-libs/gsl:= + sci-libs/libnova:= + sys-libs/zlib + virtual/jpeg:0 + virtual/libusb:0 + ogg? ( + media-libs/libogg + media-libs/libtheora + ) + websocket? ( dev-libs/boost:= ) +" +DEPEND="${RDEPEND} + kernel_linux? ( sys-kernel/linux-headers ) + test? ( >=dev-cpp/gtest-1.8.0 ) + websocket? ( dev-cpp/websocketpp ) +" + +RESTRICT="!test? ( test )" + +S="${WORKDIR}/${P/lib/}" + +src_configure() { + local mycmakeargs=( + -DINDI_BUILD_QT5_CLIENT=OFF + -DINDI_BUILD_UNITTESTS=$(usex test) + -DUDEVRULES_INSTALL_DIR="$(get_udevdir)" + $(cmake-utils_use_find_package ogg OggTheora) + -DINDI_BUILD_WEBSOCKET=$(usex websocket) + ) + + cmake-utils_src_configure +} + +src_test() { + BUILD_DIR="${BUILD_DIR}"/test cmake-utils_src_test +} diff --git a/sci-libs/indilib/metadata.xml b/sci-libs/indilib/metadata.xml index f0a7e60d23e..5d5d0f3c56e 100644 --- a/sci-libs/indilib/metadata.xml +++ b/sci-libs/indilib/metadata.xml @@ -9,4 +9,7 @@ indilib/indi indi + + Enable support for WebSocket protocol +