From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1556022-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 800F3158089
	for <garchives@archives.gentoo.org>; Tue, 19 Sep 2023 20:49:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1C8902BC06C;
	Tue, 19 Sep 2023 20:49:14 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 03E822BC06E
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 Sep 2023 20:49:14 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id BE0A4335CEC
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 Sep 2023 20:49:12 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CF92D11EC
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 Sep 2023 20:49:09 +0000 (UTC)
From: "Bernard Cafarelli" <voyageur@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, "Bernard Cafarelli" <voyageur@gentoo.org>
Message-ID: <1695155851.3b2b4a41daf956cb87f44ff7dbe75ed48b679990.voyageur@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmtz/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild
X-VCS-Directories: x11-plugins/wmtz/
X-VCS-Committer: voyageur
X-VCS-Committer-Name: Bernard Cafarelli
X-VCS-Revision: 3b2b4a41daf956cb87f44ff7dbe75ed48b679990
X-VCS-Branch: master
Date: Tue, 19 Sep 2023 20:49:09 +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: 4fddaef7-fb47-4220-8f13-7a97f2c6b569
X-Archives-Hash: a95d7fc6cdf288d9ab70974553e36028

commit:     3b2b4a41daf956cb87f44ff7dbe75ed48b679990
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Sep 18 17:08:33 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 20:37:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2b4a41

x11-plugins/wmtz: EAPI8 bump

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild | 41 +++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild b/x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild
new file mode 100644
index 000000000000..e1f37b53111b
--- /dev/null
+++ b/x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Dockapp that shows the time in multiple timezones"
+HOMEPAGE="https://www.dockapps.net/wmtz"
+# https://www.dockapps.net/download/${P}.tar.gz
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+S="${WORKDIR}/${P}/${PN}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND=">=x11-libs/libdockapp-0.7:=
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXpm"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+	#Honour Gentoo LDFLAGS, see bug #337890.
+	sed -e "s/\$(FLAGS) -o wmtz/\$(LDFLAGS) -o wmtz/" -i Makefile || die
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \
+		LIBDIR="-L/usr/$(get_libdir)"
+}
+
+src_install() {
+	dobin ${PN}
+	doman ${PN}.1
+	insinto /etc
+	doins wmtzrc
+	dodoc ../{BUGS,CHANGES,README}
+}