From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 0DB5B138335 for ; Thu, 19 Jul 2018 13:24:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27B54E0A10; Thu, 19 Jul 2018 13:24:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 EBF85E0A07 for ; Thu, 19 Jul 2018 13:24:51 +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 38798335CC7 for ; Thu, 19 Jul 2018 13:24:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F2C637D for ; Thu, 19 Jul 2018 13:24:47 +0000 (UTC) From: "Bernard Cafarelli" 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" Message-ID: <1532006681.c2bb5bfcfa192173470fd36824424c41e5d024bd.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmacpi/files/, x11-plugins/wmacpi/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild X-VCS-Directories: x11-plugins/wmacpi/ x11-plugins/wmacpi/files/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: c2bb5bfcfa192173470fd36824424c41e5d024bd X-VCS-Branch: master Date: Thu, 19 Jul 2018 13:24:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 55bb59b9-1523-4785-99ff-0e2acc74f6f2 X-Archives-Hash: d3d12b5a464a2f0aa578d9eb55901937 commit: c2bb5bfcfa192173470fd36824424c41e5d024bd Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun Jul 8 12:05:39 2018 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Thu Jul 19 13:24:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bb5bfc x11-plugins/wmacpi: EAPI7, improve ebuild x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch | 4 +-- x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild | 29 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch b/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch index d1ec4968906..2bf80a3190d 100644 --- a/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch +++ b/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch @@ -1,5 +1,5 @@ ---- Makefile.orig 2015-01-12 11:27:07.396319323 +0100 -+++ Makefile 2015-01-12 11:29:21.531298827 +0100 +--- a/Makefile 2015-01-12 11:27:07.396319323 +0100 ++++ b/Makefile 2015-01-12 11:29:21.531298827 +0100 @@ -13,8 +13,8 @@ #OPT = -pg -g diff --git a/x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild b/x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild new file mode 100644 index 00000000000..fbc57d04894 --- /dev/null +++ b/x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="DockApp ACPI status monitor for laptops" +HOMEPAGE="https://www.dockapps.net/wmacpi" +SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 -ppc -sparc ~x86" + +DEPEND=">=x11-libs/libdockapp-0.7:= + x11-libs/libX11" + +S=${WORKDIR}/dockapps + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-makefile.patch + + sed -e 's###' -i *.c || die +} + +src_compile() { + emake CC="$(tc-getCC)" +}