xfce-extra/xfce4-hdaps: new gtk+-3.x version.

New upstream version, new license, new dependencies, new EAPI, new
eclasses, etc. I'm no longer bothering to check for a "recent" 2.6
kernel. But overall, everything should work pretty much the same.

Closes: https://bugs.gentoo.org/698104
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2019-10-30 08:41:01 -04:00
parent 22f676ac09
commit 67bcbb21f4
2 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST xfce4-hdaps-0.0.9.tar.bz2 304851 BLAKE2B 1f1318bb27628eb1ff72a1642737271ab37e722a18a6c3c6d40c7a05f56e36813bc7a570d5bc51d169dfcc89467cb6173d61c2f0cc2c90a90a795ba63ef1e07d SHA512 7ee963dacd3e1096fb205fa78c05202925977a4fc88aaa96ba779dc08e32937602fdc83a27457386b2b89847487c5dcc75385f2763201b1613f30eee8124e740
DIST xfce4-hdaps-1.0.0.tar.xz 350888 BLAKE2B bc34321f42b0f51a10ef65429cdcf5e3d63f20914aa0c593c004c830932c8a63f194a25b602784527f5da0f74302142ccbcb3ecfc2a677b004b71e5bad4e5ee5 SHA512 0efdedbccfe578304e61cccb86936b4d62e9e3de6cb9c3cf7b288983b93bd8388e1b227565ebe354aadbd58fc493b67e5c3fea02bf9dbc1b37b5d2ec419a5d7b

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg-utils
DESCRIPTION="Show the status of the IBM Hard Drive Active Protection System"
HOMEPAGE="http://michael.orlitzky.com/code/xfce4-hdaps.xhtml"
SRC_URI="http://michael.orlitzky.com/code/releases/${P}.tar.xz"
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
BDEPEND="dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
DEPEND=">=x11-libs/gtk+-3.20:3
x11-libs/libX11
>=xfce-base/libxfce4ui-4.14
>=xfce-base/libxfce4util-4.14
>=xfce-base/xfce4-panel-4.14:="
RDEPEND="${DEPEND}
app-laptop/hdapsd
app-laptop/tp_smapi"
src_install() {
default
find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}