summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Morgan <david.morgan@kdab.com>2018-03-27 16:31:18 +0100
committerDavid Morgan <david.morgan@kdab.com>2018-03-27 16:37:29 +0100
commitbdade9615444f5596d4991fe1b4a04438ca7a5ff (patch)
tree11b1500e0cb175c1f25a7cbdce6a222a9ff027e8
downloadkdab-bdade9615444f5596d4991fe1b4a04438ca7a5ff.tar.bz2
kdab-bdade9615444f5596d4991fe1b4a04438ca7a5ff.tar.xz
kdab-bdade9615444f5596d4991fe1b4a04438ca7a5ff.zip
add charm time tracker
-rw-r--r--app-misc/charmtimetracker/Manifest1
-rw-r--r--app-misc/charmtimetracker/charmtimetracker-1.11.4.ebuild48
-rw-r--r--app-misc/charmtimetracker/metadata.xml11
-rw-r--r--metadata/layout.conf5
-rw-r--r--profiles/repo_name1
-rw-r--r--repositories.xml11
6 files changed, 77 insertions, 0 deletions
diff --git a/app-misc/charmtimetracker/Manifest b/app-misc/charmtimetracker/Manifest
new file mode 100644
index 0000000..81180ea
--- /dev/null
+++ b/app-misc/charmtimetracker/Manifest
@@ -0,0 +1 @@
+DIST 1.11.4.tar.gz 809067 BLAKE2B 22ffa4edffaccf9e61cbe81d73ce4682d7532c9bf768f7c916dda33184e69dc58da584a5b1921415476d481d98d0886f0da3a63191bd712dc671ab16332fd807 SHA512 a6ed49d189e1f8405a77d69c37f0a294a45d5cd6082fae0969af51aa1b4c5189a553b149acfd7f3097ee8a6a406f795c71ebc8f09f3dd2fc72cfb09b1e86a874
diff --git a/app-misc/charmtimetracker/charmtimetracker-1.11.4.ebuild b/app-misc/charmtimetracker/charmtimetracker-1.11.4.ebuild
new file mode 100644
index 0000000..1937eda
--- /dev/null
+++ b/app-misc/charmtimetracker/charmtimetracker-1.11.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+RESTRICT="mirror"
+
+DESCRIPTION="Charm - the Cross-Platform Time Tracker"
+HOMEPAGE="https://github.com/KDAB/Charm"
+SRC_URI="https://github.com/KDAB/Charm/archive/${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+qt5 dbus printsupport cisupport timesheettools +idledetection"
+REQUIRE_USE="qt5 idledetection? ( xcb )"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5
+ dev-qt/qttest:5
+ dev-qt/qtscript:5
+ dbus? ( dev-qt/qtdbus:5 )
+ printsupport? ( dev-qt/qtprintsupport:5 )"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/Charm-${PV}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCharm_VERSION=${PV}
+ -DCHARM_CI_SUPPORT="$(usex cisupport)"
+ -DCHARM_TIMESHEET_TOOLS="$(usex timesheettools)"
+ -DCHARM_IDLE_DETECTION="$(usex idledetection)"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+}
diff --git a/app-misc/charmtimetracker/metadata.xml b/app-misc/charmtimetracker/metadata.xml
new file mode 100644
index 0000000..c9dd0f8
--- /dev/null
+++ b/app-misc/charmtimetracker/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name='printsupport'>Enable support for printing timesheets</flag>
+ <flag name='timesheettools'>Enable timesheet tools</flag>
+ <flag name='cisupport'>Enable CI support</flag>
+ <flag name='idledetection'>Enable automatic idle detection</flag>
+ </use>
+ <longdescription>Charm Cross-platform time-tracker</longdescription>
+</pkgmetadata>
diff --git a/metadata/layout.conf b/metadata/layout.conf
new file mode 100644
index 0000000..a35e63d
--- /dev/null
+++ b/metadata/layout.conf
@@ -0,0 +1,5 @@
+masters = gentoo
+repo-name = kdab-overlay
+thin-manifests = true
+sign-commits = false
+sign-manifests = false
diff --git a/profiles/repo_name b/profiles/repo_name
new file mode 100644
index 0000000..eb05059
--- /dev/null
+++ b/profiles/repo_name
@@ -0,0 +1 @@
+kdab-overlay
diff --git a/repositories.xml b/repositories.xml
new file mode 100644
index 0000000..d502bf3
--- /dev/null
+++ b/repositories.xml
@@ -0,0 +1,11 @@
+<repositories encoding="unicode" version="1.1">
+ <repo priority="50" quality="experimental">
+ <name>kdab-overlay</name>
+ <description>A collection of KDAB tools</description>
+ <owner>
+ <email>david.morgan@kdab.com</email>
+ <name>Davee</name>
+ </owner>
+ <source type="git">git@github.com:KDAB/kdab-overlay.git</source>
+ </repo>
+</repositories>