diff options
Diffstat (limited to 'x11-plugins/wmmon+smp')
-rw-r--r-- | x11-plugins/wmmon+smp/Manifest | 3 | ||||
-rw-r--r-- | x11-plugins/wmmon+smp/files/wmmon+smp-1.0-list.patch | 8 | ||||
-rw-r--r-- | x11-plugins/wmmon+smp/wmmon+smp-1.0-r3.ebuild | 42 |
3 files changed, 48 insertions, 5 deletions
diff --git a/x11-plugins/wmmon+smp/Manifest b/x11-plugins/wmmon+smp/Manifest index 91fe18b6ff1e..93ae6810de48 100644 --- a/x11-plugins/wmmon+smp/Manifest +++ b/x11-plugins/wmmon+smp/Manifest @@ -1,4 +1,5 @@ -AUX wmmon+smp-1.0-list.patch 2918 BLAKE2B 393e76edcefa54d814229cc2d8d21556d7437580c1a226d454470175de6ad1e9a688555aabdc60aaa328d578b4d04b300e64ae431efe9d7680400118d52116d5 SHA512 2a6da4a9b676ea51bbcc400b3255f3c10240db13fd6da46921f6c91d5529ecf50120e195b815e58a1b0a8bad81a944e8da3cba261a69579f36165f35ad23f144 +AUX wmmon+smp-1.0-list.patch 2916 BLAKE2B 112b15af9d697dff61fd9273526f88330b14a4882d2ed0346df318ffcf0eb53d2778a924fbcae9bb392375545dd4a2103283f129068a499e5bfc44c7186104af SHA512 6b0032f8c518f77cf7d221bf06900209018dca35a75998cb80bac636a8cd8a19f6aee3628acf75780bdfcd09aec454dd1a7e4670627524812040d829a6b0d7fd DIST wmmon+smp.tar.gz 15807 BLAKE2B e58ad4a1a6f9deb33e031f20674cd6ad4d0a558e84906a470a2b2802df1736dfac4f6a9ae0bfc5f36192684f59374d5cd1d5186ef505f9b4da26082d31f9c728 SHA512 9565815c30642a3d12a23960bf6123eafa9379d24a69b2a75794757e89a3b056669fc47a898a5e756871a74502dcab8b76abe5508f2c5474a1fbfc8bdd4e6a94 EBUILD wmmon+smp-1.0-r2.ebuild 846 BLAKE2B 80dd4f0534ff34e484807e4cf55dba234d5a209593a14899643ab88e77833cf14ee116a7c5e247f37e6300d83c9fcf7fe7e2662c3946e76c8bf30fa4df2a41d4 SHA512 27f649a6d4fd987eb4a042649e3fda50194836ad3740ec78a02bfb6267f3c25b051543ecac7e4a713f5f6eec537025315b0c76b0d520228298b891488047666d +EBUILD wmmon+smp-1.0-r3.ebuild 846 BLAKE2B ee1b313d6879a99e8540c6f46d48a9dbbb85d366cd430387d06eb73540a3d1dd779b8e3d78eb414471155638e568b9c053d1b2f0c1a3e2cbc1ed280fb7a2fc24 SHA512 e83203b3b7f086696fbd9fa3b173314828a60d2e254de3fea4d9b24a896bf9250b59e3692bde0f17385914c4aea2a1f0771ce479030417b77d391448aae3e7eb MISC metadata.xml 533 BLAKE2B e0e0d04cd468503f8219f1fb6b0c30eb7272344f23e8477670372f3d5d347dc9e3558326bb90cfe79ec245f591cc28d5c20520f76f250a58f279a003385cbb90 SHA512 9ea486d5d5b12a67fb8b25ab2be9c67420f8f7903a00ebf414f3f85441b543775085c2c85cfb2c5eda28e264e9ac0878bdb670e7eb9646644bae0b803f90d67e diff --git a/x11-plugins/wmmon+smp/files/wmmon+smp-1.0-list.patch b/x11-plugins/wmmon+smp/files/wmmon+smp-1.0-list.patch index 1b1ac317669e..19756d5edf21 100644 --- a/x11-plugins/wmmon+smp/files/wmmon+smp-1.0-list.patch +++ b/x11-plugins/wmmon+smp/files/wmmon+smp-1.0-list.patch @@ -1,6 +1,6 @@ diff -Naur wmgeneral.orig/list.c wmgeneral/list.c ---- wmgeneral.orig/list.c 2016-01-04 13:28:36.583339716 +0100 -+++ wmgeneral/list.c 2016-01-04 13:28:48.694343645 +0100 +--- a/wmgeneral/list.c 2016-01-04 13:28:36.583339716 +0100 ++++ b/wmgeneral/list.c 2016-01-04 13:28:48.694343645 +0100 @@ -38,7 +38,7 @@ /* Return a cons cell produced from (head . tail) @@ -83,8 +83,8 @@ diff -Naur wmgeneral.orig/list.c wmgeneral/list.c { while(list) diff -Naur wmgeneral.orig/list.h wmgeneral/list.h ---- wmgeneral.orig/list.h 2016-01-04 13:28:36.583339716 +0100 -+++ wmgeneral/list.h 2016-01-04 13:28:39.471340654 +0100 +--- a/wmgeneral/list.h 2016-01-04 13:28:36.583339716 +0100 ++++ b/wmgeneral/list.h 2016-01-04 13:28:39.471340654 +0100 @@ -29,31 +29,25 @@ #ifndef __LIST_H_ #define __LIST_H_ diff --git a/x11-plugins/wmmon+smp/wmmon+smp-1.0-r3.ebuild b/x11-plugins/wmmon+smp/wmmon+smp-1.0-r3.ebuild new file mode 100644 index 000000000000..34299e08f1d1 --- /dev/null +++ b/x11-plugins/wmmon+smp/wmmon+smp-1.0-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Dockapp CPU monitor resembling Xosview, support for smp" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop/" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/wmmon+smp.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +S="${WORKDIR}/wmmon.app/wmmon" + +PATCHES=( "${FILESDIR}"/${P}-list.patch ) + +src_prepare() { + tc-export CC + # Respect LDFLAGS, see bug #335047 + sed \ + -e 's/cc -o/${CC} ${LDFLAGS} -o/' \ + -e 's/cc -c/${CC} ${CFLAGS} -c/' \ + -i Makefile || die + + cd "${WORKDIR}"/wmmon.app || die + default +} + +src_install () { + newbin wmmon wmmon+smp + dodoc ../README +} |