Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 620694
Collapse All | Expand All

(-)a/app-misc/sleepyhead/files/sleepyhead-0.9.3-qt5.patch (+13 lines)
Line 0 Link Here
1
Fix build with Qt 5.
2
3
--- a/SleepyHeadQT.pro
4
+++ b/SleepyHeadQT.pro
5
@@ -4,7 +4,7 @@
6
 #
7
 #-------------------------------------------------
8
 
9
-QT += core gui opengl network xml
10
+QT += core gui opengl printsupport network xml
11
 
12
 greaterThan(QT_MAJOR_VERSION,4): QT += widgets webkitwidgets
13
 lessThan(QT_MAJOR_VERSION,5): QT += webkit
(-)a/app-misc/sleepyhead/sleepyhead-0.9.3-r1.ebuild (-1 / +47 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2017 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=6
5
6
inherit qmake-utils
7
8
DESCRIPTION="Software used to analyze data from CPAP machines"
9
HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page"
10
SRC_URI="https://github.com/rich0/rich0-sleepyhead/tarball/${PV} -> ${P}.tgz"
11
12
LICENSE="GPL-2"
13
SLOT="0"
14
KEYWORDS="~amd64"
15
IUSE=""
16
17
DEPEND="
18
	dev-qt/qtcore:5
19
	dev-qt/qtgui:5
20
	dev-qt/qtnetwork:5
21
	dev-qt/qtopengl:5
22
	dev-qt/qtprintsupport:5
23
	dev-qt/qtwebkit:5
24
	dev-qt/qtwidgets:5
25
	dev-qt/qtxml:5
26
	sys-libs/zlib
27
	virtual/opengl
28
	virtual/glu
29
"
30
RDEPEND="${DEPEND}"
31
32
S="${WORKDIR}/rich0-rich0-sleepyhead-34e0b92"
33
34
PATCHES=(
35
	"${FILESDIR}/common_gui.patch"
36
	"${FILESDIR}/${P}-qt5.patch"
37
)
38
39
src_configure() {
40
	eqmake5 SleepyHeadQT.pro
41
}
42
43
src_install() {
44
	dobin SleepyHead
45
	dodoc README
46
	dodoc docs/*
47
}

Return to bug 620694