summaryrefslogtreecommitdiff
path: root/x11-plugins/wmapm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmapm
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmapm')
-rw-r--r--x11-plugins/wmapm/Manifest5
-rw-r--r--x11-plugins/wmapm/metadata.xml15
-rw-r--r--x11-plugins/wmapm/wmapm-3.1-r1.ebuild39
3 files changed, 59 insertions, 0 deletions
diff --git a/x11-plugins/wmapm/Manifest b/x11-plugins/wmapm/Manifest
new file mode 100644
index 000000000000..c4b4e1f7edd3
--- /dev/null
+++ b/x11-plugins/wmapm/Manifest
@@ -0,0 +1,5 @@
+DIST wmapm-3.1.tar.gz 28321 SHA256 5ba382c2ba301e45faa1d53a3e2582afe37fe039bfd3a7080d8c3930f4608184 SHA512 478edf6b48d4c44017f5f2d50efc7e757b33b14d283dfa062dcf2084c9bffe1e7624651dfd22236a98ca9aa49306849cabd1a1fd09d1d3f709e715cf0fa2f84e WHIRLPOOL cb1781ac5e7d58286066a731141e4f1852301dea0730e22704038081d854fdfd01ba5627f0069fe06a8ba4ddc56fd544f77940ec7c7f508c12640c96c420a9f1
+EBUILD wmapm-3.1-r1.ebuild 837 SHA256 dea8c2371b4a62031c70041a8a66ac12902372fec89729a8da9098b737913bdf SHA512 fd59959217b2aa4ba26a13e431993b4de5194a386653ff48fd60c62a46336c00aa6654312d58ecc878986e490f03a7db3d50a3a57374a9e35ab947cb231bc003 WHIRLPOOL 10488accbfb15260c57ca90541a26002a4ad505a642d0de0133c0d6513057d447ab1428aa08d5f8f3430547987ebf5701338de98b4cfb43eae12b6a16c8b4d3c
+MISC ChangeLog 2884 SHA256 6aba46a34fb3603d058bd02c9546d148658eca8751690d217b42eef95e517d2e SHA512 d53e2070116467d7bebc64cd53c2c34b4f565bddc53fc85cb73ba72df662982b1fce3803dc88a84307e4b406e7bb5457eab6a39cf346d27c69b6095f417d512c WHIRLPOOL 3119e8a4d926c6425ac892090aeb73457a3bc79d963a97a0064c472747bd22cd613ab4b1c9ddd5c53197999a30c03aeebce7dc60749ed25f7488c6c768a93024
+MISC ChangeLog-2015 1972 SHA256 ea17d379470b91b50ef4b84ced804cbd14195483ad2b1722d8fd79f4ef64789f SHA512 82d12c23d76c35e66b710b8a2728a5b0c077205b421e615cd27aea6b560f1ba2e045b378f6ff14a9f51d2d27c7808bbd2ecf99d3a94440e65a8caa868125e2b5 WHIRLPOOL 4c3381c32656a527d5427cccf10b1a2af5fb57fe3753c7cecc9219cc9e8fbdd66efff44c592b63234446cb7a8a557a707bca063625c5a94bbc60dce83442a962
+MISC metadata.xml 586 SHA256 7d5a0f767ee4b031190042f0d39d90b829d5eaf48b25c1cb87e9605c5ad99a8b SHA512 e0ccbf5129fce75fcfb4ead8ab9d90403a12647541517f1ca62e75f029d63e0e50c805714189d411eaf146d559c011ce194c6f3e79904e14222496e9d3d4b0ad WHIRLPOOL 772a169e8db6360c54bad2d5ed72670f2bad5312bf4c1af60d61369f868deb152408a3042152e37799feb03f6766c79aac51a3c803d320b3d03265bc327a3f1b
diff --git a/x11-plugins/wmapm/metadata.xml b/x11-plugins/wmapm/metadata.xml
new file mode 100644
index 000000000000..bb28ac4d3b05
--- /dev/null
+++ b/x11-plugins/wmapm/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <longdescription>
+ wmapm is a small dock-app for WindowMaker that shows
+ continually-updated APM statistics. It's a must have for Laptop
+ users. Features include status of power supply, percentage of
+ battery remaining, battery charging, time left to battery depletion
+ and high/low/critical battery status.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-plugins/wmapm/wmapm-3.1-r1.ebuild b/x11-plugins/wmapm/wmapm-3.1-r1.ebuild
new file mode 100644
index 000000000000..71928663a0b1
--- /dev/null
+++ b/x11-plugins/wmapm/wmapm-3.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="WindowMaker DockApp: Battery/Power status monitor for laptops"
+SRC_URI="http://dockapps.windowmaker.org/download.php/id/25/${P}.tar.gz"
+HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/18"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_unpack()
+{
+ unpack ${A}
+ cd "${S}"
+
+ #Respect LDFLAGS, see bug #334747
+ sed -i 's/ -o wmapm/ ${LDFLAGS} -o wmapm/' "Makefile"
+}
+
+src_compile() {
+ emake COPTS="${CFLAGS}" || die "make failed"
+}
+
+src_install() {
+ dobin wmapm || die "dobin failed."
+ doman wmapm.1
+ dodoc ../{BUGS,CHANGES,HINTS,README,TODO}
+}