summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2018-12-10 15:30:14 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2018-12-11 14:07:10 +0100
commit6c2d079235ea1ae6b6451d940420f9f4440672eb (patch)
tree0b5988d2e0d6983a3b1695d6e4716be4e6b0d454 /gnome-extra
parentgnome-extra/gnome-packagekit: 3.24.0 → 3.30.0 (diff)
downloadgentoo-6c2d079235ea1ae6b6451d940420f9f4440672eb.tar.gz
gentoo-6c2d079235ea1ae6b6451d940420f9f4440672eb.tar.bz2
gentoo-6c2d079235ea1ae6b6451d940420f9f4440672eb.zip
gnome-extra/gnome-power-manager: 3.24.0 → 3.30.0
Switched to meson build system. Translation updates. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-power-manager/Manifest1
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/gnome-extra/gnome-power-manager/Manifest b/gnome-extra/gnome-power-manager/Manifest
index e330ef432ab..8a66b816276 100644
--- a/gnome-extra/gnome-power-manager/Manifest
+++ b/gnome-extra/gnome-power-manager/Manifest
@@ -1 +1,2 @@
DIST gnome-power-manager-3.24.0.tar.xz 554616 BLAKE2B f39ce93943426fe8e833b48b5e7e4a02645eb3ffd28aa9e3e8c515d159950409ae9904b2683419d0087b3ced8e30f1c42b4dd9c511100041952449aef0b18e0f SHA512 fbbac0f5176382ccd13497cd80792d10ca4bc39fa4cc0585543f5458ba0f256ffb66b7ebd82667e482ba33cf2b6f3ef6a64bf2f55ac224e1d9ab2e2b7491e4e0
+DIST gnome-power-manager-3.30.0.tar.xz 380820 BLAKE2B 9d39df24854f649ab3b40fcf454c7be73d93e3e99050b93ec5dfb86760e27055f856918e5fb7d7b53472a4062cf9b2039a519130bb5d887126a69326d9392737 SHA512 ed0e2a20bd8979fd9064cea9f4485da832eb44a2c727e39cde5ca9f9e2eb75a37e3d1b5a2181d9c666c19b1b300cbc62cd5f9e2c3f36ee4a4dfc3e1537a10329
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild
new file mode 100644
index 00000000000..7b4ff33b41c
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome.org gnome2-utils meson virtualx xdg
+
+DESCRIPTION="GNOME power management service"
+HOMEPAGE="https://projects.gnome.org/gnome-power-manager/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.45.8:2
+ >=x11-libs/gtk+-3.3.8:3
+ >=x11-libs/cairo-1
+ >=sys-power/upower-0.99:=
+"
+RDEPEND="${COMMON_DEPEND}
+ x11-themes/adwaita-icon-theme
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-sgml-dtd:4.1
+ app-text/docbook-sgml-utils
+ >=sys-devel/gettext-0.19.7
+ x11-base/xorg-proto
+ virtual/pkgconfig
+ test? ( sys-apps/dbus )
+"
+
+# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages
+# (files under ${S}/man).
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use test enable-tests)
+ )
+ meson_src_configure
+}
+
+src_test() {
+ virtx meson_src_test
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+ gnome2_icon_cache_update
+}