diff options
Diffstat (limited to 'app-misc/sleepyhead/sleepyhead-0.9.3.ebuild')
-rw-r--r-- | app-misc/sleepyhead/sleepyhead-0.9.3.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/sleepyhead/sleepyhead-0.9.3.ebuild b/app-misc/sleepyhead/sleepyhead-0.9.3.ebuild new file mode 100644 index 000000000000..6e71eca84d99 --- /dev/null +++ b/app-misc/sleepyhead/sleepyhead-0.9.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils qt4-r2 +DESCRIPTION="Software used to analyze data from CPAP machines" +HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page" + +# Point to any required sources; these will be automatically downloaded by +# Portage. +SRC_URI="https://github.com/rich0/rich0-sleepyhead/tarball/${PV} -> ${P}.tgz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="virtual/opengl + x11-libs/libX11 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtwebkit:4 + virtual/glu" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/rich0-rich0-sleepyhead-34e0b92" + +src_unpack() { + unpack ${A} + cd "${S}" +} + +src_prepare() { +# qt4_src_prepare + cd "{$S}" + epatch "${FILESDIR}/common_gui.patch" + +# sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \ +# quazip/zip.c quazip/zip.h quazip/zlib.h + eqmake4 SleepyHeadQT.pro +} + +src_install() { + cd "{$S}" + dobin SleepyHead || die + dodoc README || die + dodoc docs/* || die +} |