mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-laptop/batti: Drop old
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 gnome2-utils eutils
|
||||
|
||||
DESCRIPTION="A upower based battery monitor for the system tray, similar to batterymon"
|
||||
HOMEPAGE="https://code.google.com/p/batti-gtk/"
|
||||
SRC_URI="https://batti-gtk.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="libnotify"
|
||||
|
||||
RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
|| ( sys-power/upower sys-power/upower-pm-utils )
|
||||
x11-themes/gnome-icon-theme
|
||||
libnotify? ( x11-libs/libnotify )"
|
||||
DEPEND=""
|
||||
|
||||
DOCS=( AUTHORS ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
has_version ">=sys-power/upower-0.99" && epatch "${FILESDIR}/${P}-upower-0.99.patch"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user