summaryrefslogtreecommitdiff
path: root/x11-plugins/gkrellm-mailwatch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /x11-plugins/gkrellm-mailwatch
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'x11-plugins/gkrellm-mailwatch')
-rw-r--r--x11-plugins/gkrellm-mailwatch/Manifest2
-rw-r--r--x11-plugins/gkrellm-mailwatch/files/gkrellm-mailwatch-2.4.3-pkgconfig.patch16
-rw-r--r--x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r3.ebuild35
3 files changed, 53 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-mailwatch/Manifest b/x11-plugins/gkrellm-mailwatch/Manifest
index 96faca922db1..9220cc1a8899 100644
--- a/x11-plugins/gkrellm-mailwatch/Manifest
+++ b/x11-plugins/gkrellm-mailwatch/Manifest
@@ -2,6 +2,8 @@ AUX 2.4.3-0001-Respect-LDFLAGS.patch 998 BLAKE2B 63593a3e478b139e3aeaf640df80000
AUX 2.4.3-0002-Use-gkrellm_gkd_string_width.patch 914 BLAKE2B 1dd49adf69b55c360d16fe96c32d4a89305efb3c83589e53bc1938056ea6318c39b58674fad41fb251054ac4564011bc28a1d3e267c5f6edc285f67bf223328f SHA512 05e9b1387df691ceab91791f7e3903137a0bfd77fc69c1d23707aac274f61e0ffe647f5114e3992ec8c512a2cbd63ce10610fa9f5efc269914829ff36ddb83da
AUX 2.4.3-0003-Remove-a-few-more-GCC-warnings.patch 1227 BLAKE2B a3613b61b6b46a1b2b5540b607e28e8197edf618b49149d82e561cf5c9858de7c4b83d43397b1e9739dc9bce0b79b0234ea1b0f5de7f304d71d08f3c59f717cf SHA512 608088d86196397e8a43edabfae0bed2f44f0e6a0e8e6ff0607589365c53a0448a8a8207b53a9b7255b16a071cdc4c34a8c4abf3ffe1d1b603d0d4d29910dedb
AUX 2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch 761 BLAKE2B 0192c481f2e2a49fc5c0954e75d67c39ea70a4739edb48d1ec83739a3b7b58dab1241feb1c2495b17d228dd4a1139759d7cbadf11a659baf01b9c1ae868820c4 SHA512 48381a81041befe925bb50fc7026e9543671242e824b8ccaadd7614778258af1dfd819aa4c0bdeb856b822a23af8f265463da1eb11e4340e328e13c969d42808
+AUX gkrellm-mailwatch-2.4.3-pkgconfig.patch 473 BLAKE2B a60fef834ed6de590c86b26060f821a53ac28e30a45ca608dbc58c3ff9ae72681879ec5b05f662a9674cc6552ef063fa36cdeb4ac8c900c67da2e47791d6c6bd SHA512 ecd46a50da1595ce70f416f2874d9a4f8e85c7117f2fbb8e2e62154856623ed52c4dd05c405ae4df219f60c9287422aae5862fcb27888661680cd8ddfccf82d9
DIST gkrellm-mailwatch-2.4.3.tar.gz 27407 BLAKE2B 38c9559d2a36872e9c4203c7e6cef8cfaed7f41b944afa0e74091d09f3e812dcd8a59d58a426baa7d51f53bf6763b574aa383e1882b9e48755c880f4665b4dc4 SHA512 31ada9fa55a97a1c76e93f1130b5d84ce3c3db52608aaaeedcd8d482917c53e0c868ca2b61c58da966bdce7de74a88a6bdc5869c40b41e017014f34626df4bb9
EBUILD gkrellm-mailwatch-2.4.3-r2.ebuild 810 BLAKE2B d487dc5cb5d6ae3d15c33e23749860fd1116f6ff6e9060762a82c24edb86cc1145b9c7e123ffdc69c533d2b5627008736fd8e1beb70b657790fbb8ad8a6eb907 SHA512 55e2474b3bda53ae0f5fb83a3d3f141ad7051b6cc21ff70a266508794db03dce9b832fde91598bed5f6ca62353b220326453516c5b92b203d0f8b3ca7b88c308
+EBUILD gkrellm-mailwatch-2.4.3-r3.ebuild 879 BLAKE2B 70d7c860448389bc195a2caac76243c7c1d330050eefb8668aa399288e676edc3ab293f94d9443f57819ffa5d27df4dcb0508b3c50290c5fc72e406a600d40ba SHA512 45c8f35375b5e4955452213527810a3f7fffa8828981ad950df00680ae9c5954be574d3c0af52d50ae737d85adad978bfcf8815acd6a2f51e17e5a02aae5171f
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
diff --git a/x11-plugins/gkrellm-mailwatch/files/gkrellm-mailwatch-2.4.3-pkgconfig.patch b/x11-plugins/gkrellm-mailwatch/files/gkrellm-mailwatch-2.4.3-pkgconfig.patch
new file mode 100644
index 000000000000..5607d1eae69d
--- /dev/null
+++ b/x11-plugins/gkrellm-mailwatch/files/gkrellm-mailwatch-2.4.3-pkgconfig.patch
@@ -0,0 +1,16 @@
+Have Makefile respect user-configured pkg-config
+--- a/Makefile
++++ b/Makefile
+@@ -1,10 +1,10 @@
+ # Makefile for the GKrellM mailwatch plugin
+
+-GTK_CONFIG ?=pkg-config gtk+-2.0
++PKG_CONFIG ?= pkg-config
+ PLUGIN_DIR ?=/usr/local/lib/gkrellm2/plugins
+
+-GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+-GTK_LIB = `$(GTK_CONFIG) --libs`
++GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags)
++GTK_LIB = $(shell ${PKG_CONFIG} gtk+-2.0 --libs)
+
+ GKRELLM_INCLUDE= -I/usr/local/include
diff --git a/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r3.ebuild b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r3.ebuild
new file mode 100644
index 000000000000..54c18b282740
--- /dev/null
+++ b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gkrellm-plugin toolchain-funcs
+
+DESCRIPTION="A GKrellM2 plugin that shows the status of additional mail boxes"
+HOMEPAGE="http://gkrellm.luon.net/mailwatch.php"
+SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/2.4.3-0001-Respect-LDFLAGS.patch
+ "${FILESDIR}"/2.4.3-0002-Use-gkrellm_gkd_string_width.patch
+ "${FILESDIR}"/2.4.3-0003-Remove-a-few-more-GCC-warnings.patch
+ "${FILESDIR}"/2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch
+ "${FILESDIR}/${P}"-pkgconfig.patch
+)
+
+src_configure() {
+ tc-export CC PKG_CONFIG
+
+ PLUGIN_SO=( mailwatch$(get_modname) )
+
+ default
+}