summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-23 13:02:12 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-23 13:07:53 +0200
commitbb886480e5b17a808034602f7b0a90e29a749a52 (patch)
tree4e1be2405397fdbbb165703741379df5a7af0b2f /x11-misc/xbattbar/xbattbar-1.4.8.ebuild
parentx11-misc/fbpanel: Remove old (diff)
downloadgentoo-bb886480e5b17a808034602f7b0a90e29a749a52.tar.gz
gentoo-bb886480e5b17a808034602f7b0a90e29a749a52.tar.bz2
gentoo-bb886480e5b17a808034602f7b0a90e29a749a52.zip
x11-misc/xbattbar: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'x11-misc/xbattbar/xbattbar-1.4.8.ebuild')
-rw-r--r--x11-misc/xbattbar/xbattbar-1.4.8.ebuild51
1 files changed, 0 insertions, 51 deletions
diff --git a/x11-misc/xbattbar/xbattbar-1.4.8.ebuild b/x11-misc/xbattbar/xbattbar-1.4.8.ebuild
deleted file mode 100644
index 07f440b75dcb..000000000000
--- a/x11-misc/xbattbar/xbattbar-1.4.8.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs
-
-DESCRIPTION="Advanced Power Management battery status display for X"
-HOMEPAGE="https://packages.qa.debian.org/x/xbattbar.html"
-SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
- dev-lang/perl
- x11-libs/libX11
-"
-RDEPEND="
- ${DEPEND}
- ${PYTHON_DEPS}
- !ppc? ( >=sys-power/acpi-1.5 )
-" # ppc has APM
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.4.5.patch \
- "${FILESDIR}"/${PN}-1.4.8-const.patch
-
- sed -i \
- -e "s:usr/lib:usr/$(get_libdir):" \
- xbattbar.c || die
-
- tc-export PKG_CONFIG
-}
-
-src_compile() {
- use kernel_linux && append-flags -Dlinux
- emake \
- CC=$(tc-getCC) \
- LIBDIR="$(get_libdir)" \
- LDFLAGS="${LDFLAGS}"
- python_fix_shebang ${PN}-check-sys
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
- dodoc README
-}