From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xbatt/files/, x11-misc/xbatt/
Date: Mon, 26 Feb 2018 18:42:18 +0000 (UTC) [thread overview]
Message-ID: <1519670522.5a72fa99c24aac8a895e809e6e24c758a18e6277.jer@gentoo> (raw)
commit: 5a72fa99c24aac8a895e809e6e24c758a18e6277
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 18:42:02 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 18:42:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a72fa99
x11-misc/xbatt: EAPI=6 (bug #648876).
Package-Manager: Portage-2.3.24, Repoman-2.3.6
x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch | 4 +--
x11-misc/xbatt/xbatt-1.3_rc1.ebuild | 40 +++++++++++++-----------
2 files changed, 23 insertions(+), 21 deletions(-)
diff --git a/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
index d86e42ef3fc..5e135d5c313 100644
--- a/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
+++ b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
@@ -1,7 +1,7 @@
Fix implicit functions declarations
---- xbatt.c
-+++ xbatt.c
+--- a/xbatt.c
++++ b/xbatt.c
@@ -47,6 +47,9 @@
#include <time.h>
#include <sys/file.h>
diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
index a3d3a1f562f..f291714e25c 100644
--- a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
+++ b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-
-inherit versionator eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs versionator
MY_PV=${PV/_rc/pr}
DESCRIPTION="Notebook battery indicator for X"
@@ -13,32 +12,35 @@ SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${PN}-${MY_PV}.tar.gz"
LICENSE="xbatt"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND="x11-libs/libX11
+RDEPEND="
+ x11-libs/libX11
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXaw
x11-libs/libXext
x11-libs/libxkbfile
- x11-libs/libXpm"
-DEPEND="${RDEPEND}
+ x11-libs/libXpm
+"
+DEPEND="
+ ${RDEPEND}
x11-proto/xextproto
- x11-misc/imake"
-
+ x11-misc/imake
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.1-implicits.patch
+)
S="${WORKDIR}"/${PN}-$(get_version_component_range 1-2)
-src_prepare(){
- epatch "${FILESDIR}"/${PN}-1.2.1-implicits.patch
-}
-
src_compile() {
xmkmf || die
- emake xbatt CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
- EXTRA_LDOPTIONS="${LDFLAGS}" || die
+ emake \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" \
+ xbatt
}
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc README* || die
+ emake DESTDIR="${D}" install
+ dodoc README*
}
next reply other threads:[~2018-02-26 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-26 18:42 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-09-30 11:02 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xbatt/files/, x11-misc/xbatt/ Ionen Wolkens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1519670522.5a72fa99c24aac8a895e809e6e24c758a18e6277.jer@gentoo \
--to=jer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox