summaryrefslogtreecommitdiff
path: root/x11-plugins/wmpower
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
commit24fd814c326e282c4321965c31f341dad77e270d (patch)
tree033d63b33c21a3209964ab56005bb9bdd523630d /x11-plugins/wmpower
parent129160ec854dca4c3fedb5bcfbcb56930371da0f (diff)
gentoo resync : 08.01.2021
Diffstat (limited to 'x11-plugins/wmpower')
-rw-r--r--x11-plugins/wmpower/Manifest3
-rw-r--r--x11-plugins/wmpower/files/wmpower-0.4.3-ar.patch11
-rw-r--r--x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild13
3 files changed, 24 insertions, 3 deletions
diff --git a/x11-plugins/wmpower/Manifest b/x11-plugins/wmpower/Manifest
index 39781d872d62..ece4208f0768 100644
--- a/x11-plugins/wmpower/Manifest
+++ b/x11-plugins/wmpower/Manifest
@@ -1,4 +1,5 @@
+AUX wmpower-0.4.3-ar.patch 363 BLAKE2B 1eb991dda7994852d17eb2f5d7a899d498ad16008b737a597f1f8468f4922a25db714e03cfc6dbaf64a8190ee0418260599778664dcf8aeefbd8fb4ec7d23895 SHA512 8cb08a6010ba6a028671d0090ddb8fc4ce2b8825a96ca3227c2ce54c53bb40dc6c7dd0fd0854250bb7f8ccc77f115ac2c00e8ee89f6ba76919c608375b97fb3b
AUX wmpower-0.4.3-gcc-10.patch 5515 BLAKE2B 2f7e9a9cca7672886a08b29ef5d933cb1ace2e578ba9755cdeb6b79d7fda20c943f1a5a0ce7403e2d16f31fdbd5a5cb2f32c7b5ae3b5ffed6dc90defd73bd641 SHA512 ec04484c756a265518bb4bc9c16bbe23b6ca8fcff89c5f770e01f055c8dad10fd4394490c288c967a237ba0691b2f207b50ddbc1f52aab054b82ac821691ecca
DIST wmpower-0.4.3.tar.bz2 99178 BLAKE2B 191c562d0b3a2d738d826030323b17db049868bef988ac49250af3e0c32b0c531bb1d819526de609fae3da8bd74b2bc78d724c58999f5fae5e6655e0c1aaa5a1 SHA512 90d96949472497e39760f76b33f4363751863d3f824b1cb22ab9ff333f496b1f329db5fda1a2353c871f87b9f9f09781c410b51907cf13c617cdd3af2c2c84e9
-EBUILD wmpower-0.4.3-r1.ebuild 716 BLAKE2B 4efc9b9a9bfd4c51cd7b1e99b9ce3337930a3ad9598f76ab63085660e016858d760ecfe238f58ce9cf7800baafebc43170962ac6c7fb405f1b1bc1837dbde73f SHA512 a24db08ee48b20b87c4c309fb29f3fb2309442cc1dc401a532ebaf0723dfe4be3b22871ea47e7d0c99ddc33fe8506cb0ee8d56c4514892cac9609f7164bb4a27
+EBUILD wmpower-0.4.3-r1.ebuild 806 BLAKE2B 0fa03a915f98cc0c782f5098d50141ce1bece048b6fb4a387805009f354f99d2a7eb3d76ca9fcfd11ce69c81bac8105fe4458a1e9f7b670adb9b541fa69734f4 SHA512 a10f980a356209f1e3ad7472607432ccdc87b8a5ca043dcc53b2945adb8607f6afdb460d268643f41941bcca71e1f1ba93a7e8f4836a164644f38e571c841b1e
MISC metadata.xml 684 BLAKE2B 3d50ae0a0c2d8c358b709fd5a2c0b86906aa1cddeeeed3f9f62a31d3aa56d533331d0254d1b74df833f0ab80a745b59c67ddad74875ba9677cdfc40a43945275 SHA512 56eff68c510d855dcfb617977cf9d837741441d1a8ec40e9c984c306b104c573f880d126dc61a8016b80351e6a77f9564e50288a3392e26dd32bf0fe2525403e
diff --git a/x11-plugins/wmpower/files/wmpower-0.4.3-ar.patch b/x11-plugins/wmpower/files/wmpower-0.4.3-ar.patch
new file mode 100644
index 000000000000..b59fcf6bbe38
--- /dev/null
+++ b/x11-plugins/wmpower/files/wmpower-0.4.3-ar.patch
@@ -0,0 +1,11 @@
+diff -Naur wmpower-0.4.3.orig/configure.in wmpower-0.4.3/configure.in
+--- wmpower-0.4.3.orig/configure.in 2008-11-25 11:05:58.000000000 +0100
++++ wmpower-0.4.3/configure.in 2021-01-03 00:30:15.977692665 +0100
+@@ -3,6 +3,7 @@
+ AC_CONFIG_SRCDIR(src/wmpower.c)
+ AM_INIT_AUTOMAKE([1.7 check-news dist-bzip2])
+
++AM_PROG_AR
+ AC_GNU_SOURCE
+ AC_PROG_INSTALL
+ AC_PROG_CC
diff --git a/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild b/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild
index 0f828dab5809..977f02854a32 100644
--- a/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild
+++ b/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit autotools
DESCRIPTION="a dockapp to get/set power management status for laptops (APM, ACPI
and CPUfreq)"
@@ -18,10 +19,18 @@ RDEPEND="x11-libs/libX11
DEPEND="${RDEPEND}
x11-base/xorg-proto"
-PATCHES=( "${FILESDIR}"/${P}-gcc-10.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc-10.patch
+ "${FILESDIR}"/${P}-ar.patch
+ )
DOCS=( AUTHORS BUGS ChangeLog LEGGIMI NEWS README README.compal THANKS TODO )
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
# override wmpower self-calculated cflags
econf MY_CFLAGS="${CFLAGS}"