summaryrefslogtreecommitdiff
path: root/x11-plugins/wmacpimon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-02 17:13:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-02 17:13:10 +0100
commit0bff53119f08d677db6c1a991bd30741682a8a08 (patch)
tree6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /x11-plugins/wmacpimon
parent6c14fa2586d9e9c4427b5f727dc6c8ab77587cec (diff)
Revert "gentoo resync : 02.06.2018"
This reverts commit 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec.
Diffstat (limited to 'x11-plugins/wmacpimon')
-rw-r--r--x11-plugins/wmacpimon/Manifest6
-rw-r--r--x11-plugins/wmacpimon/files/Makefile.patch4
-rw-r--r--x11-plugins/wmacpimon/files/wmacpimon.c.patch4
-rw-r--r--x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild13
4 files changed, 14 insertions, 13 deletions
diff --git a/x11-plugins/wmacpimon/Manifest b/x11-plugins/wmacpimon/Manifest
index 4d2bf7cd9c4d..7cf33863d612 100644
--- a/x11-plugins/wmacpimon/Manifest
+++ b/x11-plugins/wmacpimon/Manifest
@@ -1,6 +1,6 @@
-AUX Makefile.patch 650 BLAKE2B 2dc6d65ff772b2a2594704acfcfac023183c1b5990075c9f72a884be2cc9bd6b0e60d43ac1303a6d0801841e16adedebf822ac3f3f18768bbeb83a83e80fcf4d SHA512 ebc248e97ef4147d5028b5de2b1a150186bd765d8853e3be37ea212c9aed42bcc650ea0f7c1708d02ea058db66cd3600fc871fc503eb6fb679f02f0261d7564f
-AUX wmacpimon.c.patch 972 BLAKE2B 70e600339f3a43ca190ba67201dbf9dc6f0b2c0eca8171b333058624dbcfda0280999106215e959fec84a77e0bdc593b17173c515391fa1455b6573e61c4a8f6 SHA512 cb9080de40ae41804c0b4f8d1c105c7eed758cd12be71fda85afc0eeebb67965e619a6ed95b09bcaef99f0a6bebb51fbb7764080fbe511f1fbb483d43e581650
+AUX Makefile.patch 650 BLAKE2B 6bd6bf5be53d188fda5b8daaf25e658cfa6b65aa00a5817f1a78f115c4e60f710eb195502d2a5061bc98573fa6e37059bdb870962c9ffe13044a97b0fb3634de SHA512 a6446fdfcd4d670f12dff0d35bfc0e94e663442b1cfabec29446b0d0a2652bcb8140263e30ac135b536262b657c836fab8c25599e5fc6c575e826d2535018d2a
+AUX wmacpimon.c.patch 968 BLAKE2B d94cd135917bfc682f002ee936b58822068d1167518ee4fb573fc44505523051cbfbc2783cd8526a901b93a461172f85be37773335c12254c97c38f3d348cf7d SHA512 ac719283af137e794430760919b300036e4bc9eb88011edf601fbfb5d4dcebfb5cad4115db26d1497e1a935b77ca0fd55df1077f12c5cc16e9996591967210f7
AUX wmacpimon.initscript 407 BLAKE2B f8a37c7f73febf9c1bc5403bf8f70ae95def8a2d411540ddda19d97bf07f4514ff13361a255dd52bf615e4243f3e9a32c38aa09d9b009068a5db01b259229c93 SHA512 cecadb137bc6acf2ef4c85afa75dd186c9217435c07384c8190a81e727509aa3715bf3b0e5c9851f0a54c6bb9d70c08339275aee30d110bd0cd3f37a9410f866
DIST wmacpimon-0.2.1.tar.gz 26498 BLAKE2B db1d308b24786a0db0fed5763ab5191f6ac2654c62d75996acaa93867cf7bc588da1f763b5483d64563b1e26b8d48063f143c28a61b61c4cbdb8de6c7ad58d1b SHA512 2b2d1da7608272969f0a2c98fae6398ebaa663a847acb79c795870cad85ca8d1317f5dfde6443634419c0c59b7457356bb8c195c1e7936f3cd8f3b251406084b
-EBUILD wmacpimon-0.2.1.ebuild 1031 BLAKE2B 193648338b13254fc1260724427754d16faf5add076dd0cecba27f78a2bf74b270a02ceb39585a4a2f7c57737212dcf698eabb57bec5ca2d6c794a4fcf0d4546 SHA512 0d30931801d86cdb961422bcda2c4c02de98885aeb4829a84e8b0f1b383e90fb0a1bdb5f39f90079ced9a8f74223f07191ed29ddc7f12ec95031e4c768eda904
+EBUILD wmacpimon-0.2.1.ebuild 1089 BLAKE2B 3ecf49c18e98b5c9dfe54bc6e6a8b7782fc5fb6270d6fed066e2318f56cd9c5ef0f7dc530bf64c1fe2d4f5e566a564974ceac610e3b3c8a1aa8c681742b0a973 SHA512 65c56718312e7488a1360b4db7a8ee4cc727df326155cbed0e95e10f3d0d0fa97cc6c7860bda0c31dec27664ca5037584a26d96a678ffa8e189c175a941712a9
MISC metadata.xml 571 BLAKE2B cd4ecf0c7fdd14001596376389736f3efb5ae152884a188d9dd4568ac62385635e2d331de2a445e8a22947c1f48dd417784d0fc3e2cbacfaad8ec79a19ff2546 SHA512 a749cc0ff0e2ac2aed7f2e06e5d389e7a98142468c971940343ee704eae69b9e9d440056cae76b33d69d330096fd1c216504ac0509b0c4a2bc1a4e98e4111959
diff --git a/x11-plugins/wmacpimon/files/Makefile.patch b/x11-plugins/wmacpimon/files/Makefile.patch
index 73646d10fa93..aab28fc89392 100644
--- a/x11-plugins/wmacpimon/files/Makefile.patch
+++ b/x11-plugins/wmacpimon/files/Makefile.patch
@@ -1,5 +1,5 @@
---- a/Makefile 2010-09-06 11:33:16.000000000 +0200
-+++ b/Makefile 2010-09-06 11:36:28.000000000 +0200
+--- Makefile 2010-09-06 11:33:16.000000000 +0200
++++ Makefile.new 2010-09-06 11:36:28.000000000 +0200
@@ -1,8 +1,5 @@
-OPT = -O3 -DACPI
-
diff --git a/x11-plugins/wmacpimon/files/wmacpimon.c.patch b/x11-plugins/wmacpimon/files/wmacpimon.c.patch
index adc03ce3fd0c..001c1d8c96be 100644
--- a/x11-plugins/wmacpimon/files/wmacpimon.c.patch
+++ b/x11-plugins/wmacpimon/files/wmacpimon.c.patch
@@ -1,5 +1,5 @@
---- a/wmacpimon.c 2004-07-08 14:16:22.184359328 +0200
-+++ b/wmacpimon.c 2004-07-08 14:15:59.677780848 +0200
+--- wmacpimon.c 2004-07-08 14:16:22.184359328 +0200
++++ wmacpimon.c 2004-07-08 14:15:59.677780848 +0200
@@ -314,7 +314,7 @@
acpinfo = calloc(1, sizeof(ACPInfo));
dockapp->blink = OFF;
diff --git a/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
index ffc03d2648bb..d902e3de4a33 100644
--- a/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
+++ b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=2
+inherit eutils
DESCRIPTION="DockApp monitors the temperature and Speedstep features in ACPI-based systems"
HOMEPAGE="http://www.vrlteam.org/wmacpimon/"
@@ -18,18 +19,18 @@ RDEPEND="x11-libs/libX11
DEPEND="${RDEPEND}
x11-base/xorg-proto"
-PATCHES=(
+src_prepare() {
# patch wmacpimon.c file to set default path for
# wmacpimon.prc to /var/tmp/
- "${FILESDIR}/wmacpimon.c.patch"
+ epatch "${FILESDIR}"/wmacpimon.c.patch
# fix LDFLAGS ordering. See bug #248618.
# fix LDFLAGS ordering again and other stuff. See bug #336091.
- "${FILESDIR}/Makefile.patch"
-)
+ epatch "${FILESDIR}"/Makefile.patch
+}
src_install() {
- dobin wmacpimond wmacpimon
+ dobin wmacpimond wmacpimon || die "dobin failed."
dodoc AUTHORS ChangeLog README
newinitd "${FILESDIR}"/wmacpimon.initscript wmacpimon
}