summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-06-03 15:29:16 +0200
committerJeroen Roovers <jer@gentoo.org>2018-06-03 15:32:57 +0200
commit48c0a26b40a5b2d8024aa519b05162688c159a64 (patch)
tree431823661722a15c39c510c12bd289453cc716bf /x11-misc/kapow
parentx11-terms/sakura: Remove 3.4.0 (diff)
downloadgentoo-48c0a26b40a5b2d8024aa519b05162688c159a64.tar.gz
gentoo-48c0a26b40a5b2d8024aa519b05162688c159a64.tar.bz2
gentoo-48c0a26b40a5b2d8024aa519b05162688c159a64.zip
x11-misc/kapow: Version 1.5.6.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'x11-misc/kapow')
-rw-r--r--x11-misc/kapow/Manifest1
-rw-r--r--x11-misc/kapow/kapow-1.5.6.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/x11-misc/kapow/Manifest b/x11-misc/kapow/Manifest
index cb2292d4916e..f21acf987fcc 100644
--- a/x11-misc/kapow/Manifest
+++ b/x11-misc/kapow/Manifest
@@ -1,2 +1,3 @@
DIST kapow-1.5.4-src.tar.bz2 722095 BLAKE2B be90609a3dd6a6b521c39ef0fb4a6a20ec193f816a994f944f5083888d4e883829b2249c3ff0e0df6f232f87e33f5abfbbd0b4b624a1165a75c3fe8ceb9cb21f SHA512 03683e7a4f904c4b6efdf47401d8a15ba979484d52d58e4dea52a890351ba9342ef5fe383876c5cb8138c6d578122936ca7e9ffda0fc5eb090e719eb751764eb
DIST kapow-1.5.5-src.tar.bz2 722262 BLAKE2B 5f1c66b38edded3f2ad1d76d97dab036264169176647a25dc618a6e4149b40f4d4ed368edbac7786440ef49fe77e896db084edd9c210cd278b92ba175d49c63d SHA512 d22f8c1de74333b31b49ec752118ce36624895f99073b4b3f57a78f32e331ed33365b5664a316604e573820d38f268f0ceb6531bbf60eca05aa4a09fe5436a20
+DIST kapow-1.5.6-src.tar.bz2 855057 BLAKE2B c0d5afefa4caf0f1be243e8e2e5dad80e52bab4dc856791d198d009a90c864aaafbe2eb624e114f6331c685b2bbc1664add045de9ed46699f865481461968423 SHA512 b0d1e1ed3cbe9a4a4e253399de4ec645f832a10633275b122729dd7653bbb40c7cd473251459fe1e0c35be314a02c704cac3fd25cb7ee498e282a58df6cf06a0
diff --git a/x11-misc/kapow/kapow-1.5.6.ebuild b/x11-misc/kapow/kapow-1.5.6.ebuild
new file mode 100644
index 000000000000..2dd79d2b2ec0
--- /dev/null
+++ b/x11-misc/kapow/kapow-1.5.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils qmake-utils
+
+DESCRIPTION="A punch clock program designed to easily keep track of your hours"
+HOMEPAGE="https://gottcode.org/kapow/"
+SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+K_LANGS="
+ ar bg cs da de el en es fr it lt nl no pl pt_BR pt ro ru sv tr uk
+"
+for K_LANG in ${K_LANGS}; do
+ IUSE+=" l10n_${K_LANG/_/-}"
+done
+DOCS=( ChangeLog README )
+
+src_prepare() {
+ default
+
+ count() { echo ${#}; }
+ local lang_count=$(count ${K_LANGS})
+ local locale_count=$(count translations/${PN}_*.ts)
+ [[ ${lang_count} = ${locale_count} ]] \
+ || die "Number of LANGS does not match number of locales"
+ unset count
+
+ local lang
+ for lang in ${K_LANGS}; do
+ if ! use l10n_${lang/_/-}; then
+ rm translations/${PN}_${lang}.* || die
+ fi
+ done
+}
+
+src_configure() {
+ eqmake5 kapow.pro PREFIX=/usr
+}
+
+src_install() {
+ export INSTALL_ROOT="${D}"
+ default
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}