summaryrefslogtreecommitdiff
path: root/sci-libs/libqhy/libqhy-1.3.0.ebuild
blob: 5948e8fcd49ebf7ccee94f5fb010dfcdfa47c17d (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
29
30
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit cmake-utils eutils

MY_PN="indi"
MY_PV="${PV/.0/}"

DESCRIPTION="SDK and firmware for the QHY CCD cameras"
HOMEPAGE="http://indilib.org"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${MY_PV}.zip"

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.3.0_fix_cmake_symlinks.patch" )

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

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