Hello,

On Fri, 07 Dec 2018, Alexander Puchmayr wrote:
>I tried to compile kstars with useflag indi, but the provided version in 
>portage is too old:
>
>[build.log from kstars]
>1.7.1 is required
>1.7.1 is required
>
>I have no idea why it pretends to find indi-1.5.0, when 1.6 is installed :-(

Could be some cmake thingy ;)

>Version 1.6 is currently the only version in portage, which renders
>the useflag "indi" for kstars useless, as the resulting kstars binary
>does not support indi.
>
>https://indilib.org/download/gentoo.html shows a way to add an overlay, but 
>the repo proposed does not exist anymore.
>
>Where do I find a ebuild for installing at least indilib-1.7.1?

Just updated the one in the tree in my local overlay, see attached
indilib-1.7.5.ebuild.

Oh, and I updated sci-astronomy/kstars to 2.9.8 there too, see also
attached inside a tarball with patches... Oh, a note on that, I've
added the knewstuff IUSE as I like to disable that generally, but as
it's a '+'ed, you should be fine. Not sure what the qtdatavis3d
feature does that I've added, I'm new to the program. ;) Hope I didn't
bork the Manifest while editing/packing/editing/packing... ;)

Any Questions?

HTH,
-dnh

-- 
> (Diva's Law of Software: quality is inversely proportional to price.)
Stevo's Addendum to Diva's Law of Software: But try explaining that to the PHB
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PN="${PN/lib/}"
CMAKE_MAKEFILE_GENERATOR=emake

inherit cmake-utils udev

DESCRIPTION="INDI Astronomical Control Protocol library"
HOMEPAGE="http://www.indilib.org/";
SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}/${MY_PN}_${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"

RDEPEND="
        net-misc/curl
        sci-libs/cfitsio:=
        sci-libs/gsl:=
        sci-libs/libnova
        sys-libs/zlib:=
        virtual/jpeg:0
        virtual/libusb:0
        ogg? (
                media-libs/libogg
                media-libs/libtheora
        )
"
DEPEND="${RDEPEND}
        sys-kernel/linux-headers
        test? ( >=dev-cpp/gtest-1.8.0 )
"

DOCS=( AUTHORS ChangeLog COPYRIGHT README )

S=${WORKDIR}/${MY_PN}-${PV}/libindi

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)
        )

        cmake-utils_src_configure ${S}/libindi
}

src_test() {
        BUILD_DIR="${BUILD_DIR}"/test cmake-utils_src_test
}

Attachment: kstars.tar.gz
Description: sci-astronomy/kstars.tar.gz

Reply via email to