From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1104616-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03148138334 for <garchives@archives.gentoo.org>; Thu, 8 Aug 2019 07:00:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BCB7E0815; Thu, 8 Aug 2019 07:00:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16092E0815 for <gentoo-commits@lists.gentoo.org>; Thu, 8 Aug 2019 07:00:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 950963495F9 for <gentoo-commits@lists.gentoo.org>; Thu, 8 Aug 2019 07:00:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4014C73C for <gentoo-commits@lists.gentoo.org>; Thu, 8 Aug 2019 07:00:50 +0000 (UTC) From: "Jeroen Roovers" <jer@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" <jer@gentoo.org> Message-ID: <1565247648.c0dfe8fc53b8bb6532631420abf41fb9f6dbe6db.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/kapow/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/kapow/Manifest x11-misc/kapow/kapow-1.5.9.ebuild X-VCS-Directories: x11-misc/kapow/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: c0dfe8fc53b8bb6532631420abf41fb9f6dbe6db X-VCS-Branch: master Date: Thu, 8 Aug 2019 07:00:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33e4b693-51dd-4146-83ab-8eea744df1c7 X-Archives-Hash: e3a7c5b6367fe5dee1338540a13584ea commit: c0dfe8fc53b8bb6532631420abf41fb9f6dbe6db Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Thu Aug 8 06:59:58 2019 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Thu Aug 8 07:00:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0dfe8fc x11-misc/kapow: Version 1.5.9 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> x11-misc/kapow/Manifest | 1 + x11-misc/kapow/kapow-1.5.9.ebuild | 67 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/x11-misc/kapow/Manifest b/x11-misc/kapow/Manifest index 4faa7ea9d55..82ae41c2a6a 100644 --- a/x11-misc/kapow/Manifest +++ b/x11-misc/kapow/Manifest @@ -1,2 +1,3 @@ DIST kapow-1.5.7-src.tar.bz2 855284 BLAKE2B a153b8e6356850d66f3743d91b2be685c9c51d2f257fe37b89d95fc3fa640babcd53470de0a7097174b87c2ae2cbef530e09e58d53b024fb893959354d1ca4b1 SHA512 05244e3c76350af7e7e3c35d70eba30580221fcfe73d652944d8dda40d5d630b037440a4ca296773b404bb7555b3c4aaba988bc51593456150eb9b2f69d1d2bf DIST kapow-1.5.8-src.tar.bz2 834178 BLAKE2B dc24e2d47e3e8286336e4de509e2486f0b6f6c912e5be532e36035e6fbff09a0f0453108b061aff2aa7bab45e1c782b63ee94f6183d17b0b50e04c24611b2e7c SHA512 168e9581b360a905e24d8dc4d01af58823789f4ea6fe533744c14d9c6830720e640923859c2726c51aa9ef9064038a2bb920960c74ca858e3fdc6b0ff17cf861 +DIST kapow-1.5.9-src.tar.bz2 834677 BLAKE2B ed02b76e8c764ccf7f9fb752322dad61113c82348bc4e75af2858136369423a02114b312637460cfa1127fa0389f50ea951aed5e69b3e90d276aa10ea7e52be2 SHA512 a026b2254835b4eb2d211bb8b56d68e6f07c07beb79e2b019d2ce108b6197e812222b5964f889fe31b856a0081107f3fca314684883b3eb3f778f6fe7cceb0b6 diff --git a/x11-misc/kapow/kapow-1.5.9.ebuild b/x11-misc/kapow/kapow-1.5.9.ebuild new file mode 100644 index 00000000000..82f1e977744 --- /dev/null +++ b/x11-misc/kapow/kapow-1.5.9.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit qmake-utils xdg-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() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}