summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2017-06-04 16:57:31 -0400
committerRichard Freeman <rich0@gentoo.org>2017-06-04 16:58:05 -0400
commit61197107d3ce78752ecf9cb3d556e3d1c4c7b91a (patch)
tree7e54a4d3fd76803c6cd47e00a3c38d6bf7f89b9f /app-misc
parentwww-apps/mediawiki: Security bump to v1.27.3 (bug #614906) (diff)
downloadgentoo-61197107d3ce78752ecf9cb3d556e3d1c4c7b91a.tar.gz
gentoo-61197107d3ce78752ecf9cb3d556e3d1c4c7b91a.tar.bz2
gentoo-61197107d3ce78752ecf9cb3d556e3d1c4c7b91a.zip
app-misc/sleepyhead: Update to latest beta for qt5 support
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/sleepyhead/Manifest1
-rw-r--r--app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/sleepyhead/Manifest b/app-misc/sleepyhead/Manifest
index 59cc1efe8695..058d74feb0f7 100644
--- a/app-misc/sleepyhead/Manifest
+++ b/app-misc/sleepyhead/Manifest
@@ -1,2 +1,3 @@
DIST sleepyhead-0.9.2.2.tgz 1399077 SHA256 49bcc7cf2b8351026a1f30b44d71a8500b9c74c6f6ac1aeeb14ca3b039ee7123 SHA512 bb6219c8575b8723b2db063d9a40b164d1aa50223b63468457c85b18895aefc74835d55bcd1f7d0e48e942531bd77041a749e44d870189d9ba011ad85d13c7fa WHIRLPOOL 3e1955aa2d1ab96da8a4f091f15538ba2bd091d935a2b9acaa012c7aadf304e7dcf5cf0f3284e0ed4c29d11f39420f236144adcaec0646f0f4d879c375a822c8
DIST sleepyhead-0.9.3.tgz 1804053 SHA256 b807f12c3f767037dd2e5bfdeb1f353e425ad537509be4cf3918ec61cf2efea2 SHA512 e50476e9b64ce056d33a55798a86b26fef6db4e8c6058e4e6c5c547e15acb745ea5d79bf3978713583da943626b2395894ed8109fa30a55ca15fa53ff29a2ac9 WHIRLPOOL 5759d97c0309a5c9f312ae9fde85531bc718da4fffe375d6f08b06dd2f34877e935339fa56634f482a3bfc66877c0ad0f4577832f3f89a64ec24dc18b880b826
+DIST sleepyhead-1.0.0_beta2.tar.bz2 3404013 SHA256 db6152a47df69c5cf85a75171d64c2208a953d838ea5c974c2399e8d7cc94353 SHA512 147a853bd77e6277b70d5d70f9b82f46c3f6328283c30b38d77e698146519367c9fa02f8fb21c687237657ceb78d7bc9ee07e4e8ccdbe41652ddd8dc55049eca WHIRLPOOL f07f7dc916e93e213998daecdb469b838e10c642ce87bbdba415e89eccbdab3392b5cbd8414e391270ccd8687b2cdc1c7777ebc8e098ec8eac43ab5d6702a2cc
diff --git a/app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild b/app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild
new file mode 100644
index 000000000000..c9b052f2e449
--- /dev/null
+++ b/app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils qmake-utils
+DESCRIPTION="Software used to analyze data from CPAP machines"
+HOMEPAGE="https://sleepyhead.jedimark.net/"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="https://gitlab.com/sleepyhead/sleepyhead-code/repository/archive.tar.bz2?ref=1.0.0-beta-2 -> ${P}.tar.bz2"
+LICENSE="GPL-3"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+DEPEND="virtual/opengl
+ x11-libs/libX11
+ dev-qt/qtcore:5=
+ dev-qt/qtgui:5=
+ dev-qt/qtopengl:5=
+ dev-qt/qtwebkit:5=
+ dev-qt/qtserialport:5=
+ virtual/glu"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/sleepyhead-code-1.0.0-beta-2-6b1c125218475720e1bf7c920ed3d10140b0b7c2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_prepare() {
+ eapply_user
+ rm configure
+ cd "${S}/3rdparty/quazip/"
+# 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
+ cd "${S}"
+ eqmake5 SleepyHeadQT.pro
+}
+
+src_install() {
+ cd "${S}/sleepyhead"
+ dobin SleepyHead || die
+ dodoc ../README || die
+ dodoc docs/* || die
+}