summaryrefslogtreecommitdiff
path: root/sci-libs/libqhy/libqhy-1.7.4.ebuild
blob: d0d22f009f86f2dcd9ec7a3629b981f62da64071 (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
# 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}"

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

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