summaryrefslogtreecommitdiff
path: root/sci-astronomy/qastrocam-g2/qastrocam-g2-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/qastrocam-g2/qastrocam-g2-9999.ebuild')
-rw-r--r--sci-astronomy/qastrocam-g2/qastrocam-g2-9999.ebuild30
1 files changed, 18 insertions, 12 deletions
diff --git a/sci-astronomy/qastrocam-g2/qastrocam-g2-9999.ebuild b/sci-astronomy/qastrocam-g2/qastrocam-g2-9999.ebuild
index a13f91e..9d9b157 100644
--- a/sci-astronomy/qastrocam-g2/qastrocam-g2-9999.ebuild
+++ b/sci-astronomy/qastrocam-g2/qastrocam-g2-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="5"
+EAPI=5
inherit subversion cmake-utils eutils
@@ -13,20 +13,26 @@ ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/svn/trunk"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="ffmpeg fits jpeg usb sdl"
-
-DEPEND="dev-qt/qtcore \
- dev-qt/qtgui \
- usb? ( virtual/libusb ) \
- fits? ( sci-libs/cfitsio ) \
- jpeg? ( virtual/jpeg ) \
- ffmpeg? ( virtual/ffmpeg ) \
- sdl? ( media-libs/libsdl )"
+KEYWORDS=""
+
+IUSE="ffmpeg fits jpeg usb sdl qhy"
+
+DEPEND="dev-qt/qtcore
+ dev-qt/qtgui
+ qhy? (
+ || ( >=sci-libs/libqhy-9999 <sci-libs/indi-driver-qhy-9999 )
+ usb? ( virtual/libusb )
+ )
+ fits? ( sci-libs/cfitsio )
+ jpeg? ( virtual/jpeg )
+ ffmpeg? ( virtual/ffmpeg )
+ sdl? ( media-libs/libsdl )
+"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/qastrocam-g2-9999-do_no_install_qhy_driver.patch" )
+
src_unpack() {
subversion_src_unpack
} \ No newline at end of file