mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-18 17:15:51 +01:00
Cleanup old versions
This commit is contained in:
@@ -1,100 +0,0 @@
|
||||
# ChangeLog for x11-plugins/wmpower
|
||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpower/ChangeLog,v 1.27 2007/02/21 23:48:06 jokey Exp $
|
||||
|
||||
21 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
|
||||
Redigest for Manifest2
|
||||
|
||||
08 Feb 2006; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.4.1.ebuild:
|
||||
Wiped out older release.
|
||||
|
||||
07 Feb 2006; Simon Stelling <blubb@gentoo.org> wmpower-0.4.2.ebuild:
|
||||
stable on amd64.
|
||||
|
||||
31 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org> wmpower-0.4.1.ebuild,
|
||||
wmpower-0.4.2.ebuild:
|
||||
Fixed DEPEND for modular X.
|
||||
|
||||
07 Nov 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.4.2.ebuild,
|
||||
wmpower-0.4.1.ebuild:
|
||||
Removed COPYING from dodoc.
|
||||
|
||||
19 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> wmpower-0.4.2.ebuild:
|
||||
Stable on ppc.
|
||||
|
||||
19 Aug 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.4.2.ebuild:
|
||||
Stable for x86.
|
||||
|
||||
*wmpower-0.4.2 (22 Jul 2005)
|
||||
|
||||
22 Jul 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.4.2.ebuild:
|
||||
Version bump.
|
||||
|
||||
23 May 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.3.1.ebuild:
|
||||
Wiped out older version.
|
||||
|
||||
01 May 2005; Michael Hanselmann <hansmi@gentoo.org> wmpower-0.4.1.ebuild:
|
||||
Stable on ppc.
|
||||
|
||||
20 Apr 2005; Simon Stelling <blubb@gentoo.org> wmpower-0.4.1.ebuild:
|
||||
stable on amd64
|
||||
|
||||
07 Mar 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.4.1.ebuild:
|
||||
Stable for x86.
|
||||
wmpower-0.4.0.ebuild:
|
||||
Removed older version.
|
||||
|
||||
*wmpower-0.4.1 (25 Feb 2005)
|
||||
|
||||
25 Feb 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.4.1.ebuild:
|
||||
Version bump.
|
||||
|
||||
*wmpower-0.4.0 (23 Feb 2005)
|
||||
|
||||
23 Feb 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.4.0.ebuild:
|
||||
Version bump. Added ~ppc keyword as I got positive feedback on CVS version.
|
||||
|
||||
25 Jan 2005; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.3.1.ebuild:
|
||||
Update Copyright headers
|
||||
|
||||
13 Nov 2004; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.3.1.ebuild:
|
||||
Remove no longer needed eutils inheritance...
|
||||
|
||||
12 Nov 2004; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.3.0.ebuild:
|
||||
Remove older ebuild...
|
||||
|
||||
19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> wmpower-0.3.1.ebuild:
|
||||
Stable on amd64.
|
||||
|
||||
30 Jun 2004; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.3.1.ebuild:
|
||||
Stable on x86.
|
||||
wmpower-0.1.2.ebuild, wmpower-0.1.3.ebuild:
|
||||
Wipe out old versions.
|
||||
|
||||
*wmpower-0.3.1 (22 Jun 2004)
|
||||
|
||||
22 Jun 2004; Michele Noberasco <s4t4n@gentoo.org> wmpower-0.3.1.ebuild:
|
||||
Version Bump. Closes #45076.
|
||||
The cflags.patch is no longer needed as the problem was fixed upstream.
|
||||
wmpower-0.1.3.ebuild, wmpower-0.1.2.ebuild:
|
||||
Fix the Copyright headers to make repoman happy
|
||||
|
||||
*wmpower-0.3.0 (22 Oct 2003)
|
||||
|
||||
22 Oct 2003; Markus Nigbur <pyrania@gentoo.org> wmpower-0.3.0.ebuild:
|
||||
Version Bump. Thanks to Michele Noberasco (#31738).
|
||||
|
||||
12 Jun 2003; Seemant Kulleen <seemant@gentoo.org> wmpower-0.1.2.ebuild,
|
||||
wmpower-0.1.3.ebuild:
|
||||
xpm is provided by xfree
|
||||
|
||||
*wmpower-0.1.3 (06 Jun 2003)
|
||||
|
||||
06 Jun 2003; robh <robh@gentoo.org> wmpower-0.1.3.ebuild:
|
||||
version bump, noted by Noberasco Michele, closes #22250
|
||||
|
||||
*wmpower-0.1.2 (03 Jun 2003)
|
||||
|
||||
03 Jun 2003; Brad Cowan <bcowan@gentoo.org> wmpower-0.1.2.ebuild:
|
||||
Initial import. Thanks to Noberasco Michele bug #17963.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
AUX wmacpi_acpi_detect.patch 437 BLAKE2B b3974141aa5f5f8e0aa8237ffaaa4a77a8240ac043a5f7af3fa75bc7a94d8dfb5677ceb74b3bcfb649bc6780bb00680aa30d1c5c83e7833f4d17869ab0088e61 SHA512 dfae5d4b355c468788a8b46059beff8c6d61b376bdcfb7df5f6069a753e76e110e34461fd0a0876bffb8f43a6e82eec89ad02803a54806734d9d0e1bcaac6cec
|
||||
AUX wmpower_command.patch 6766 BLAKE2B 3ef2b598b2404b4c61ad62af75f1f512107771d7f2d9924417f653336ac2b96d14f9a93d4229086c6484ef72f4e0b481ac4afacfe9af1fd8002070fe3bb4b302 SHA512 9a25646e552da23bb07260e6da57bbbd00f736bfd15078ce0f79ad8f30288817130b83cc96bdcbe8940897afcc0ad21e782f29d133a831c426b0746e374efa2c
|
||||
DIST wmpower-0.4.2.tar.bz2 96403 BLAKE2B 185a0ea15e43990e049b546562b857e1455601d3e5df4d715de35d6731b6678db27f841bec98610d10a2e0ac141ce9f8f0c88adba0965f231a39c94fa5082271 SHA512 764fd1af7207bde8932b47a07b50426209f64c6526860cb80989815aa9effcd22dae63994ec63611989bfb070d95f948da74f749244af454a045293a5c96f850
|
||||
DIST wmpower-0.4.3.tar.bz2 99178 BLAKE2B 191c562d0b3a2d738d826030323b17db049868bef988ac49250af3e0c32b0c531bb1d819526de609fae3da8bd74b2bc78d724c58999f5fae5e6655e0c1aaa5a1 SHA512 90d96949472497e39760f76b33f4363751863d3f824b1cb22ab9ff333f496b1f329db5fda1a2353c871f87b9f9f09781c410b51907cf13c617cdd3af2c2c84e9
|
||||
EBUILD wmpower-0.4.2-r10.ebuild 1048 BLAKE2B 546ec703098cae77f7b33d1bd5380922e8dde33474b42013d414178a4c5e3ebab0753aeb7f2e26d13e9e5d9c9447f8dbab7bccbfcc9be3e4edc9f6f4e0f2ae3b SHA512 5280f6312bc7a1425dfedd1fdd5af8f31d9b24f91c8ee7c2ea6b7faa2a11ac9aa45a45671cce159031823ed78a6bee62a3331c7af25c8f8773412c907bf6e273
|
||||
EBUILD wmpower-0.4.3-r10.ebuild 1063 BLAKE2B 48fb7549bd38fc07775e9021f68d91754089f4cc7874d98fcdd48c32fddafa55c33d3135097de7e80136d6fb9c4499e0e0b4846c3e8f1f1d9572cb0d2fea33a4 SHA512 ae6072cc6a62653102a709d20fbf114c8e5f3a3ed97fca01172ca3defcb487ed4e7ef7456015b0bef06184492db52025fb088b07b04793e1be33336ea4d1af5a
|
||||
MISC ChangeLog 3265 BLAKE2B cc5e84237c260637ceee2bf793ac9e056d3d497f9ab789b837e744f87b6098335be7b22d10babce0d33d4f5775ae8336125c97df7d2290456766bf7aaf61e0ae SHA512 0fa7127235ec5d580d67ae8aea8648a1a0c251c275772477761c4a9e3bc4504f362997230fe97861f5ed689a5184133e0c7613ace17408074ec9761d731f73e8
|
||||
MISC metadata.xml 519 BLAKE2B 5cd7fc4dc9f2cda133b606595f97d5ec3062a76ac2c4f969f1205e101e5f27f58bb792635bfd8b31062389f6370c627e4d2a047d9912fd5fc375da69c18a0dd3 SHA512 0534d53e1bb4cf9c885b0d33675d2782b2add7f16abe3a25d2a9301969d79c45e0f53c838aa74fcaddeb221ee800549a926ebd9010745deac4a516fa20ee38ff
|
||||
@@ -1,3 +0,0 @@
|
||||
MD5 b16d8125b852fc680fee23538429a049 wmpower-0.4.2.tar.bz2 96403
|
||||
RMD160 962b6590ef1a8056d8fa421ede7cd1399c883847 wmpower-0.4.2.tar.bz2 96403
|
||||
SHA256 cfef1b38dca32259742b36be2ba9c0dcde88d035e31ae8af84c2e33108dee426 wmpower-0.4.2.tar.bz2 96403
|
||||
@@ -1,12 +0,0 @@
|
||||
--- wmpower-0.4.3_orig/src/power_management/acpi/libacpi.c 2005-09-06 12:09:10.000000000 +0200
|
||||
+++ wmpower-0.4.3/src/power_management/acpi/libacpi.c 2010-12-24 14:31:01.000000000 +0100
|
||||
@@ -77,9 +77,6 @@
|
||||
struct dirent *batt;
|
||||
char *name;
|
||||
|
||||
- /* do proc entries for acpi exist? */
|
||||
- if (access("/proc/acpi/info", R_OK) != 0) return 0;
|
||||
-
|
||||
/* now enumerate batteries */
|
||||
batt_count = 0;
|
||||
battdir = opendir ("/proc/acpi/battery");
|
||||
@@ -1,137 +0,0 @@
|
||||
--- wmpower-0.4.2/src/wmpower.c 2005-07-15 18:43:35.000000000 +0200
|
||||
+++ wmpower-0.4.2r10/src/wmpower.c 2007-07-05 13:08:06.000000000 +0200
|
||||
@@ -54,14 +54,15 @@
|
||||
void ShowBatteryPercentage(int percentage);
|
||||
void ShowBatteryLed(int present, int percentage, int ac_on_line);
|
||||
|
||||
-int no_meddling = 0; /* Should we stop managing power status? */
|
||||
+int no_meddling = 1; /* Should we stop managing power status? */
|
||||
int no_full_battery = 0; /* Should we always use max power when plugged? */
|
||||
|
||||
int CriticalLevel = 10; /* Battery critical level */
|
||||
-int LowLevel = 40; /* Battery low level */
|
||||
+int LowLevel = 50; /* Battery low level */
|
||||
|
||||
#define CMDLINELEN 512
|
||||
-int WarnTime = 2; /* When to execute the warn command */
|
||||
+int CriticalPercent = 10; /* Battery low percent, when execute warn command */
|
||||
+int WarnTime = 8; /* When to execute the warn command */
|
||||
char WarnCommand[CMDLINELEN] = ""; /* The warn command to execute */
|
||||
|
||||
float BlinkRate = 3.00; /* blinks per second */
|
||||
@@ -98,7 +99,13 @@
|
||||
|
||||
BlinkRate = (BlinkRate >= 0.0) ? BlinkRate : -1.0 * BlinkRate;
|
||||
waittime = 0; /* /proc polling interval */
|
||||
-
|
||||
+
|
||||
+ /* det default */
|
||||
+ set_noflushd_use(0);
|
||||
+ set_lin_seti_use(0);
|
||||
+ set_toshiba_hardware_use(0);
|
||||
+ set_cpufreq_use(0);
|
||||
+
|
||||
fprintf(stderr, "\nWelcome to wmpower version %s...\n", VERSION);
|
||||
|
||||
cpufreq_online_governor = NULL;
|
||||
@@ -164,13 +171,15 @@
|
||||
set_pm_features();
|
||||
}
|
||||
|
||||
- /* Execute the warning command, if needed */
|
||||
- if (WarnCommand && *WarnCommand && !power_status.ac_on_line && !warned
|
||||
- && power_status.battery_time <= WarnTime)
|
||||
- {
|
||||
+ /* Execute the warning command, if needed
|
||||
+ * But, look at percentage usage instead of remaining time.
|
||||
+ */
|
||||
+ if (WarnCommand && *WarnCommand && !power_status.ac_on_line && !warned){
|
||||
+ if(power_status.battery_percentage <= CriticalPercent && power_status.battery_time <= WarnTime || power_status.battery_percentage == 1){
|
||||
warned = 1;
|
||||
sprintf(Command, "%s &", WarnCommand);
|
||||
system(Command);
|
||||
+ }
|
||||
}
|
||||
if (power_status.ac_on_line)
|
||||
warned = 0;
|
||||
@@ -352,7 +361,7 @@
|
||||
copyXPMArea ((temp % 10) * 6 + 4, 69, 6, 7, 39, 50);
|
||||
}
|
||||
|
||||
- /* Plot the ° Symbol */
|
||||
+ /* Plot the � Symbol */
|
||||
copyXPMArea (135, 60, 6, 7, 45, 50);
|
||||
|
||||
/* Plot the C Symbol */
|
||||
@@ -449,30 +458,33 @@
|
||||
printf("\nkernels, plus special support for Toshiba and Compal hardware.");
|
||||
printf("\n\nUsage: wmpower [options]\n");
|
||||
printf("\n\nOptions:\n");
|
||||
- printf("\t-no-meddling\t\tDon't manage power status, just show info.\n");
|
||||
+ printf("\t-meddling\t\tmanage power status, just show info.\n");
|
||||
printf("\t-no-full-battery\tDon't wait for 100%% battery before going back\n");
|
||||
printf("\t\t\t\tto full power.\n");
|
||||
- printf("\t-no-cpufreq\t\tDon't scale CPU frequency according to power status.\n");
|
||||
- printf("\t-no-noflushd\t\tDisable use of \"noflushd\" daemon:\n");
|
||||
+ printf("\t-cpufreq\t\tScale CPU frequency according to power status.\n");
|
||||
+ printf("\t-noflushd\t\tEnable use of \"noflushd\" daemon:\n");
|
||||
printf("\t\t\t\tnoflushd is a tool for managing spin-down\n");
|
||||
printf("\t\t\t\tof hard disks after a certain amount of time\n");
|
||||
printf("\t\t\t\tsee <http://noflushd.sourceforge.net> for details.\n");
|
||||
- printf("\t-no-lin-seti\t\tDon't manage \"lin-seti\" daemon:\n");
|
||||
+ printf("\t-lin-seti\t\tManage \"lin-seti\" daemon:\n");
|
||||
printf("\t\t\t\t\"lin-seti\" is a Seti@Home cache manager that can\n");
|
||||
printf("\t\t\t\twork as a daemon. For details go to\n");
|
||||
printf("\t\t\t\t<http://sourceforge.net/projects/lin-seti/>.\n");
|
||||
- printf("\t-no-toshiba\t\tDisable direct access to toshiba hardware,\n");
|
||||
+ printf("\t-toshiba\t\tEnable direct access to toshiba hardware,\n");
|
||||
printf("\t\t\t\tuse only generic ACPI/APM calls instead.\n");
|
||||
printf("\t\t\t\tThis is recommended on newer toshibas.\n");
|
||||
printf("\t-battery <num>\t\tMonitor your nth battery instead of first one.\n");
|
||||
printf("\t-display <display>\tUse alternate display.\n");
|
||||
printf("\t-geometry <geometry>\twmpower window geometry.\n");
|
||||
printf("\t-l\t\t\tUse a low-color pixmap.\n");
|
||||
- printf("\t-L <LowLevel>\t\tDefine level at which yellow LED turns on.\n");
|
||||
- printf("\t-C <CriticalLevel>\tDefine level at which red LED turns on.\n");
|
||||
+ printf("\t-L <LowLevel>\t\tDefine battery level at which yellow LED turns on (50%).\n");
|
||||
+ printf("\t-C <CriticalLevel>\tDefine battery level at which red LED turns on (10%).\n");
|
||||
printf("\t-B <Volume>\t\tBeep at Critical Level (-100%% to 100%%).\n");
|
||||
+ printf("\t-P <percent>\t\tWarn command to run when remaining battery percentage is achieved (30%).\n");
|
||||
+ printf("\t-W <minutes>\t\tMinutes of remaining time when to run warn command (8min).\n");
|
||||
+ printf("\t\t\t\tComand will be executed only, when remaining time and percentage of\n");
|
||||
+ printf("\t\t\t\tbattery borders are crossed.\n");
|
||||
printf("\t-w <command>\t\tWarn command to run when remaining time is low.\n");
|
||||
- printf("\t-W <minutes>\t\tMinutes of remaining time when to run warn command.\n");
|
||||
printf("\t-u <seconds>\t\tSet wmpower polling interval.\n");
|
||||
printf("\t-g <governor>\t\tUse this CPUFreq scaling governor while running on battery power.\n");
|
||||
printf("\t-G <governor>\t\tUse this CPUFreq scaling governor while running on AC power.\n");
|
||||
@@ -536,6 +548,11 @@
|
||||
if (argc == i+1) message();
|
||||
LowLevel = atoi (argv[++i]);
|
||||
break;
|
||||
+ case 'P':
|
||||
+ if (cmdline[2] != '\0') message();
|
||||
+ if (argc == i+1) message();
|
||||
+ CriticalPercent = atoi (argv[++i]);
|
||||
+ break;
|
||||
case 'l':
|
||||
if (cmdline[2] != '\0') message();
|
||||
UseLowColorPixmap = 1;
|
||||
@@ -569,12 +586,12 @@
|
||||
open_syslog_on_stderr();
|
||||
break;
|
||||
case 'n':
|
||||
- if (!strcmp(cmdline, "-no-meddling")) {no_meddling = 1; break;}
|
||||
+ if (!strcmp(cmdline, "-meddling")) {no_meddling = 0; break;}
|
||||
if (!strcmp(cmdline, "-no-full-battery")) {no_full_battery = 1; break;}
|
||||
- if (!strcmp(cmdline, "-no-noflushd")) {set_noflushd_use(0); break;}
|
||||
- if (!strcmp(cmdline, "-no-lin-seti")) {set_lin_seti_use(0); break;}
|
||||
- if (!strcmp(cmdline, "-no-toshiba")) {set_toshiba_hardware_use(0); break;}
|
||||
- if (!strcmp(cmdline, "-no-cpufreq")) {set_cpufreq_use(0); break;}
|
||||
+ if (!strcmp(cmdline, "-noflushd")) {set_noflushd_use(1); break;}
|
||||
+ if (!strcmp(cmdline, "-lin-seti")) {set_lin_seti_use(1); break;}
|
||||
+ if (!strcmp(cmdline, "-toshiba")) {set_toshiba_hardware_use(1); break;}
|
||||
+ if (!strcmp(cmdline, "-cpufreq")) {set_cpufreq_use(1); break;}
|
||||
default:
|
||||
message();
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>desktop-dock</herd>
|
||||
<longdescription>
|
||||
wmpower is a Window Maker dock application
|
||||
allowing the user to graphically see (and set) the power management status of his laptop.
|
||||
It works with both APM and ACPI enabled kernels, has special support for Toshiba, Compal
|
||||
and Dell hardware, and allows you to dinamically set the frequency of your CPU(s) via CPUfreq.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpower/wmpower-0.4.2.ebuild,v 1.6 2006/02/07 21:14:22 blubb Exp $
|
||||
|
||||
IUSE=""
|
||||
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a dockapp to get/set power management status for laptops (APM, ACPI
|
||||
and CPUfreq)"
|
||||
HOMEPAGE="http://wmpower.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/wmpower/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
RDEPEND="|| ( (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXpm )
|
||||
virtual/x11 )"
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( (
|
||||
x11-proto/xproto
|
||||
x11-proto/xextproto )
|
||||
virtual/x11 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}/wmpower_command.patch"
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
# override wmpower self-calculated cflags
|
||||
econf MY_CFLAGS="${CFLAGS}" || die "Configuration failed"
|
||||
emake prefix="/usr/" || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
einstall || die "Installation failed"
|
||||
dodoc AUTHORS BUGS ChangeLog LEGGIMI NEWS README README.compal THANKS TODO
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpower/wmpower-0.4.3.ebuild,v 1.1 2008/11/25 10:57:57 s4t4n Exp $
|
||||
|
||||
inherit eutils
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="a dockapp to get/set power management status for laptops (APM, ACPI
|
||||
and CPUfreq)"
|
||||
HOMEPAGE="http://wmpower.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/wmpower/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXpm"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-proto/xproto
|
||||
x11-proto/xextproto"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}/wmacpi_acpi_detect.patch"
|
||||
}
|
||||
|
||||
pkg_setup(){
|
||||
append-ldflags $(no-as-needed)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf MY_CFLAGS="${CFLAGS}" || die "Configuration failed"
|
||||
# override wmpower self-calculated cflags
|
||||
emake prefix="/usr/" || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die "Installation failed"
|
||||
dodoc AUTHORS BUGS ChangeLog LEGGIMI NEWS README README.compal THANKS TODO
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a dockapp for monitoring cpu/gpu temperature"
|
||||
HOMEPAGE="https://github.com/gryf/wmtemp"
|
||||
SRC_URI="https://github.com/gryf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="x11-libs/libXext
|
||||
x11-libs/libXpm
|
||||
x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make -C ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}/${PN}
|
||||
dodoc README.rst wmtemp_sample
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a dockapp for monitoring cpu/gpu temperature"
|
||||
HOMEPAGE="https://github.com/gryf/wmtemp"
|
||||
SRC_URI="https://github.com/gryf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="x11-libs/libXext
|
||||
x11-libs/libXpm
|
||||
x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make -C ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}/${PN}
|
||||
dodoc README.rst wmtemp_sample
|
||||
}
|
||||
Reference in New Issue
Block a user