diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/charmtimetracker/Manifest | 1 | ||||
-rw-r--r-- | app-misc/charmtimetracker/charmtimetracker-1.12.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/charmtimetracker/Manifest b/app-misc/charmtimetracker/Manifest index 81180ea..0442665 100644 --- a/app-misc/charmtimetracker/Manifest +++ b/app-misc/charmtimetracker/Manifest @@ -1 +1,2 @@ DIST 1.11.4.tar.gz 809067 BLAKE2B 22ffa4edffaccf9e61cbe81d73ce4682d7532c9bf768f7c916dda33184e69dc58da584a5b1921415476d481d98d0886f0da3a63191bd712dc671ab16332fd807 SHA512 a6ed49d189e1f8405a77d69c37f0a294a45d5cd6082fae0969af51aa1b4c5189a553b149acfd7f3097ee8a6a406f795c71ebc8f09f3dd2fc72cfb09b1e86a874 +DIST 1.12.0.tar.gz 825231 BLAKE2B 30866de4254ef9fccbbde372ab4c532df518b82efe81b950dac80f633fd347eb95708b39161fe8d11b1a935f7cfb6dc10ceaacc896742210b4c01234f1689133 SHA512 15c54b613259518f2443b9941855c376d04128d0b875d9f33dac96ef102f8cdb31f33d64ee4b32637f3f94ee575291e6510a40032214ec9c56d5bedfb725d564 diff --git a/app-misc/charmtimetracker/charmtimetracker-1.12.0.ebuild b/app-misc/charmtimetracker/charmtimetracker-1.12.0.ebuild new file mode 100644 index 0000000..4fac214 --- /dev/null +++ b/app-misc/charmtimetracker/charmtimetracker-1.12.0.ebuild @@ -0,0 +1,49 @@ +# 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-util/qtkeychain-0.10.0 + 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 +} |