summaryrefslogtreecommitdiff
path: root/sci-libs/libqhy/libqhy-1.5.0.ebuild
blob: 3bdbb057dbdd56a1f31cae728b01795729f451a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit cmake-utils eutils

MY_PN="indi"

DESCRIPTION="SDK and firmware for the QHY CCD cameras"
HOMEPAGE="http://indilib.org"
SRC_URI="https://github.com/${MY_PN}lib/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}lib-${PV}.tar.gz"

LICENSE="GPL-3 LGPL-2 qhyccd"
KEYWORDS="~amd64 ~x86 ~arm"

SLOT="0"

DEPEND="virtual/libusb:1
	media-libs/opencv"

RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/libqhy-1.5.0_fix_cmake_symlinks.patch" )

INDI_TARGET_DIRECTORY="${PN%%lib-driver-**}"

S="${WORKDIR}/${MY_PN}-${PV}/3rdparty/${INDI_TARGET_DIRECTORY}"