From 9da2545a243b8c618431675a83ea41a01e38058b Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Sun, 20 Nov 2016 18:54:45 +0800 Subject: xfce-extra/xfce4-battery-plugin: bump version and EAPI6 Package-Manager: portage-2.3.0 --- xfce-extra/xfce4-battery-plugin/Manifest | 2 +- .../xfce4-battery-plugin-1.0.99.ebuild | 37 ---------------- .../xfce4-battery-plugin-1.1.0.ebuild | 49 ++++++++++++++++++++++ 3 files changed, 50 insertions(+), 38 deletions(-) delete mode 100644 xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.0.99.ebuild create mode 100644 xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.0.ebuild (limited to 'xfce-extra') diff --git a/xfce-extra/xfce4-battery-plugin/Manifest b/xfce-extra/xfce4-battery-plugin/Manifest index 33b36af8199f..b463eeda1e66 100644 --- a/xfce-extra/xfce4-battery-plugin/Manifest +++ b/xfce-extra/xfce4-battery-plugin/Manifest @@ -1,2 +1,2 @@ DIST xfce4-battery-plugin-1.0.5.tar.bz2 403505 SHA256 f659b1af40ab72c93448affaa693ab551827a5600ce9b97a799b7c2419bdeb11 SHA512 f49f33178a771b952442f498cee2c722146c9982cb27453e6547a7c7838eaa0a22588a7d2a56f189f7e9e7b90ed7e5ac7a4e6cfee55dc5e43d32c5ef95b20062 WHIRLPOOL c23fff115afc9b5660ccf64332d71123d2e9161d9d79c5d66cc7aca12e5d904836b51e314053e0b571a044d70dbc64f0bb9592e79596fc9ee87f56376e120735 -DIST xfce4-battery-plugin-1.0.99.tar.bz2 415377 SHA256 d0cf48209b969510da82201b00f7c959105ff63b473fa4cd76e011c784626c41 SHA512 5c9de4d8f688f450f19bfe09ef410c7a8e3049e43ce613aa2dc250ea9097721e2839357e60d2926a4d2812ef7178d079ba7caa8c9899cfac9b78c018bbbf503d WHIRLPOOL 10643cfb4f0c5dd2c6e85fdc979c130a027b5fcf52224a15b957c733267479e8d33451e5e89ab5d1a4669fbcefd0ebc20d19735f180bc2f90f008514825e88b9 +DIST xfce4-battery-plugin-1.1.0.tar.bz2 398621 SHA256 8c9deec8d95da4cc39d6d9091433e5822b6bbe07d80117045dd4dd3480427ece SHA512 d3f5b6d3657abfba2c4c5cb3ab8ddc87f4862f24eb614cb91af48332b3082c3dce7f32eb2e3cb8a9d501ddb01c6259c4fbfbab8ed9c221633e47eb17c623cf09 WHIRLPOOL c331731410c67ef6a231726f9797871daed0f7a95bb2bc167ed09c35ed8184ce51cac359f924cfe43065a134fc4aeb85655bc27ed930cc131cb4ed64faed1ffc diff --git a/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.0.99.ebuild b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.0.99.ebuild deleted file mode 100644 index 06113d665eec..000000000000 --- a/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.0.99.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit linux-info xfconf - -DESCRIPTION="A battery monitor panel plugin for the Xfce desktop environment" -HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin" -SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" -IUSE="debug kernel_linux" - -RDEPEND=">=dev-libs/glib-2.24:2= - >=x11-libs/gtk+-3.14:3= - >=xfce-base/libxfce4ui-4.12:=[gtk3(+)] - >=xfce-base/libxfce4util-4.8:= - >=xfce-base/xfce4-panel-4.12:=" -DEPEND="${RDEPEND} - dev-util/intltool - virtual/pkgconfig" - -pkg_setup() { - XFCONF=( - $(xfconf_use_debug) - ) - - DOCS=( AUTHORS ChangeLog NEWS README ) - - if use kernel_linux; then - CONFIG_CHECK="~ACPI_BATTERY" - linux-info_pkg_setup - fi -} diff --git a/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.0.ebuild b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.0.ebuild new file mode 100644 index 000000000000..d407c3f455f7 --- /dev/null +++ b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit linux-info fdo-mime gnome2-utils + +DESCRIPTION="A battery monitor panel plugin for the Xfce desktop environment" +HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin" +SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" +IUSE="kernel_linux" + +RDEPEND=">=dev-libs/glib-2.24:2= + >=x11-libs/gtk+-3.14:3= + >=xfce-base/libxfce4ui-4.12:=[gtk3(+)] + >=xfce-base/libxfce4util-4.8:= + >=xfce-base/xfce4-panel-4.12:=" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~ACPI_BATTERY" + linux-info_pkg_setup + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad