mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/xbattbar: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST xbattbar_1.4.8.orig.tar.gz 16254 BLAKE2B 3e2215bcee10f140a078266e128ae17185e5900090b057e845f966098c69371ab5115d3cdc620a87e27e2dd223a83ab33e5fef55119cdbac68491c0e88e63585 SHA512 1ec535ba997da4aa08b225b61b22eb87d74fc15c522d30f5361e1f56db6fd774f4230a95afdb7f1170144c0939724a80118c7289ea50d027a76649fa20164191
|
||||
DIST xbattbar_1.4.9.orig.tar.gz 19105 BLAKE2B e33631f02266150fc494312c0a78cba145813e3f19ffa4a8fd46ce3adde3e50cb820617e5118a9bb6935fb7be26840e6a9525bf95e2f2fbf585e4e2542d35228 SHA512 e6d0efe0a97b2cb7d0c8a992b7a68a26155dfb625649a5fc8abc4bc37b2c286224185b57d6b2d3671f571690d278970976da5380c1d1bbcd9212e2001f9c40b8
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user