Commit MetaInfo

Revision3c8a652e4bd1132b35e0ae213731007588abb566 (tree)
Time2021-01-14 09:18:09
Authorhalcon74 <halcon@tuta...>
Commiterhalcon74

Log Message

update pm-utils related files; new ebuild pm-utils-1.4.4

Change Summary

Incremental Difference

diff -r 4d966e72e1fb -r 3c8a652e4bd1 profiles/package.unmask
--- a/profiles/package.unmask Mon Jan 11 19:28:10 2021 +0300
+++ b/profiles/package.unmask Thu Jan 14 03:18:09 2021 +0300
@@ -1,3 +1,1 @@
1-=app-misc/worker-4.6.1
2-sys-power/pm-quirks
31 sys-power/pm-utils
diff -r 4d966e72e1fb -r 3c8a652e4bd1 sys-power/pm-utils/Manifest
--- a/sys-power/pm-utils/Manifest Mon Jan 11 19:28:10 2021 +0300
+++ b/sys-power/pm-utils/Manifest Thu Jan 14 03:18:09 2021 +0300
@@ -1,2 +1,4 @@
1-EBUILD pm-utils-9999.ebuild 1559 BLAKE2B 5ae69ebb11616e9e186de1d0f76f22bf9c263a5da8c6d6a9165e9ab7287662e97c31f218952cc85f155d43701f792b6cabe5488e59e180b9a013bfec6fa62599 SHA512 551b1cb809558cf656c285030af1ca3446ea64959681acb20beaef74d84db55c6fee1d38d052afa1ee03f371d24c34a687384c045704d01e7589a20bd3ed25d4
2-MISC metadata.xml 331 BLAKE2B a3744956bb0807049410ac77cf54dd1c29ff5b94e082353782d2f8cb2cbfe512fd532d73d447999eabb0d596614a432d886f359ffd414304421874bd27f8ddcb SHA512 115f18be95a0f2ee3370bd0281a56743655657a4d8e3c464c07910e084f29d01c18dec12c00dab0bf579b7c194f59b170bb0a188ceaedc318ebd2a6c7ff3df1b
1+DIST pm-utils-1.4.4.tar.gz 85013 BLAKE2B 9a5b084170487e6966f80884c41679cccd24e520d8fca9f4d188038186af868e1fb1cfc821f3597aebe96754071e1fcd76c29578971f101a93c76d71b26df81a SHA512 8c263285193b25159954dcb1f9f79bc16aa4d3c015e91524115ce25b2cb603aaf08a25be1e3caf8483a2de330211f4caa54ccc2193efe33dc916ccc0f2243920
2+EBUILD pm-utils-1.4.4.ebuild 1699 BLAKE2B 96b98b1a21e233e79cc9dd961b04a96da8d0ee4b5e77ec330904c72a304c15d2f230734461f37e4c656a992bcac26de491fd3cc8f7efe2e5de34edb2ef874621 SHA512 8a3e8e07a33ab384d08610880246547623d6193a8dcce1662ad2f78656c996e0d2b47d137ee54f7c5b612b13942369d63f876703a46e44d9805c5acb87e04046
3+EBUILD pm-utils-9999.ebuild 1584 BLAKE2B 6d09274ef56d212fe89890df47c26fdca0d3f65aef081a2774e2472059288fdcc204a93eb1c653e4f852eae7d4b929ca9990c56a1540aa9d2d8a0282f9825d78 SHA512 0ca318000962dede6c246302d3a6951ddeb08b56cdc2b8c3cfa78a8ddb9d8f4d21c02b69c98c608ddd921ba88d4da341bfaf9ccd4dc8671fae0986645014f6c5
4+MISC metadata.xml 246 BLAKE2B 4cc894ef4bf75e3b5b88adf2109d7c1bc1e17d507dd3a4f55f74c7dfe1ab156d3dd093c0e314647042892409cd9eeba02537637a3dda95ea1bd4354b42d628f6 SHA512 5eca0c402f0cec86a606dd92269877c57dec0babee20278476f4cb1139391bfef323922cacf64844496f85ed15af867dd865790650c932aeae27f75245941d06
diff -r 4d966e72e1fb -r 3c8a652e4bd1 sys-power/pm-utils/metadata.xml
--- a/sys-power/pm-utils/metadata.xml Mon Jan 11 19:28:10 2021 +0300
+++ b/sys-power/pm-utils/metadata.xml Thu Jan 14 03:18:09 2021 +0300
@@ -5,7 +5,4 @@
55 <email>halcon@tuta.io</email>
66 <name>Alexey Mishustin</name>
77 </maintainer>
8- <use>
9- <flag name="ntp">Install support for <pkg>net-misc/ntp</pkg></flag>
10- </use>
118 </pkgmetadata>
diff -r 4d966e72e1fb -r 3c8a652e4bd1 sys-power/pm-utils/pm-utils-1.4.4.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys-power/pm-utils/pm-utils-1.4.4.ebuild Thu Jan 14 03:18:09 2021 +0300
@@ -0,0 +1,78 @@
1+# Copyright 1999-2021 Gentoo Authors
2+# Distributed under the terms of the GNU General Public License v2
3+
4+EAPI=7
5+inherit autotools eutils
6+
7+DESCRIPTION="Suspend and hibernation utilities"
8+HOMEPAGE="https://pm-utils.freedesktop.org/"
9+SRC_URI="https://github.com/halcon74/pm-utils/archive/${P}.tar.gz"
10+
11+LICENSE="GPL-2"
12+SLOT="0"
13+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
14+IUSE="debug +logrotate video_cards_intel video_cards_radeon"
15+
16+RESTRICT="mirror"
17+
18+vbetool="!video_cards_intel? ( sys-apps/vbetool )"
19+RDEPEND="!<app-laptop/laptop-mode-tools-1.55-r1
20+ !sys-power/pm-quirks
21+ !sys-power/powermgmt-base[-pm-utils(+)]
22+ sys-apps/dbus
23+ >=sys-apps/util-linux-2.13
24+ amd64? ( ${vbetool} )
25+ x86? ( ${vbetool} )
26+ logrotate? ( app-admin/logrotate )
27+ video_cards_radeon? ( app-laptop/radeontool )"
28+DEPEND="${RDEPEND}"
29+
30+DOCS="AUTHORS ChangeLog NEWS pm/HOWTO* README* TODO"
31+
32+src_unpack() {
33+ default
34+ mv ${WORKDIR}/pm-utils-${P} ${WORKDIR}/${P}
35+}
36+
37+src_prepare() {
38+ default
39+
40+ eautoreconf
41+
42+ local ignore="01grub"
43+ use debug && echo 'PM_DEBUG="true"' > "${T}"/gentoo
44+ echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${T}"/gentoo
45+}
46+
47+src_configure() {
48+ econf
49+}
50+
51+src_compile() {
52+ default
53+
54+ make ChangeLog
55+}
56+
57+src_install() {
58+ default
59+
60+ doman man/*.{1,8}
61+
62+ insinto /etc/pm/config.d
63+ doins "${T}"/gentoo
64+
65+ if use logrotate ; then
66+ mv debian/${PN}.logrotate debian/${PN}
67+ insinto /etc/logrotate.d
68+ doins debian/${PN} #408091
69+ fi
70+
71+ rm -rf "${ED}"/etc/video-quirks
72+
73+ # Remove hooks which are not stable enough yet (rm -f from debian/rules)
74+ rm -f "${ED}"/usr/$(get_libdir)/${PN}/power.d/harddrive
75+
76+ # Change to executable (chmod +x from debian/rules)
77+ fperms +x /usr/$(get_libdir)/${PN}/defaults
78+}
diff -r 4d966e72e1fb -r 3c8a652e4bd1 sys-power/pm-utils/pm-utils-9999.ebuild
--- a/sys-power/pm-utils/pm-utils-9999.ebuild Mon Jan 11 19:28:10 2021 +0300
+++ b/sys-power/pm-utils/pm-utils-9999.ebuild Thu Jan 14 03:18:09 2021 +0300
@@ -60,11 +60,13 @@
6060 doins "${T}"/gentoo
6161
6262 if use logrotate ; then
63- mv logrotate/${PN}.logrotate logrotate/${PN}
63+ mv debian/${PN}.logrotate debian/${PN}
6464 insinto /etc/logrotate.d
65- doins logrotate/${PN} #408091
65+ doins debian/${PN} #408091
6666 fi
6767
68+ rm -rf "${ED}"/etc/video-quirks
69+
6870 # Remove hooks which are not stable enough yet (rm -f from debian/rules)
6971 rm -f "${ED}"/usr/$(get_libdir)/${PN}/power.d/harddrive
7072
Show on old repository browser