summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-02-14 09:42:00 +0200
committerDavid Seifert <soap@gentoo.org>2017-02-14 20:41:52 +0100
commit120d32ec3008792f13ece7fd668e6c0449a4acd0 (patch)
tree61e5af36dfd9e842217c8f60ae62100399266004
parent9d73e5c24cbc1c5a4f285f022d4483117d975c2a (diff)
downloadgentoo-120d32ec3008792f13ece7fd668e6c0449a4acd0.tar.gz
gentoo-120d32ec3008792f13ece7fd668e6c0449a4acd0.tar.xz
x11-misc/bbacpi: EAPI bump 5 -> 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3967
-rw-r--r--x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild (renamed from x11-misc/bbacpi/bbacpi-0.1.5-r2.ebuild)29
1 files changed, 18 insertions, 11 deletions
diff --git a/x11-misc/bbacpi/bbacpi-0.1.5-r2.ebuild b/x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild
index 626f304f5eb..70e4e5f387a 100644
--- a/x11-misc/bbacpi/bbacpi-0.1.5-r2.ebuild
+++ b/x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-inherit autotools eutils
+EAPI=6
+
+inherit autotools
DESCRIPTION="ACPI monitor for X11"
HOMEPAGE="http://bbacpi.sourceforge.net"
@@ -18,18 +19,24 @@ DEPEND="
sys-power/acpi
sys-power/acpid
x11-libs/libX11
- x11-misc/xdialog
-"
+ x11-misc/xdialog"
RDEPEND="
${DEPEND}
- media-fonts/font-adobe-100dpi
-"
+ media-fonts/font-adobe-100dpi"
-DOCS=( AUTHORS ChangeLog README )
+DOCS=( AUTHORS ChangeLog NEWS README data/README.bbacpi )
+PATCHES=(
+ "${FILESDIR}"/${P}-noextraquals.diff
+ "${FILESDIR}"/${P}-overflows.diff
+)
src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-noextraquals.diff \
- "${FILESDIR}"/${P}-overflows.diff
+ default
+ mv configure.{in,ac} || die
eautoreconf
}
+
+src_install() {
+ default
+ rm "${ED%/}"/usr/share/bbtools/README.bbacpi || die
+}