summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-05-12 21:04:11 -0400
committerSam James <sam@gentoo.org>2024-05-13 02:05:34 +0100
commit67c1593710b2cae3373d73c069163551d473126e (patch)
tree750e88f0aec92677d1330aaf62b7eb3850856caf /x11-plugins
parentx11-plugins/wmbiff: mark as LTO-unsafe (diff)
downloadgentoo-67c1593710b2cae3373d73c069163551d473126e.tar.gz
gentoo-67c1593710b2cae3373d73c069163551d473126e.tar.bz2
gentoo-67c1593710b2cae3373d73c069163551d473126e.zip
x11-plugins/wmbiff: update EAPI 7 -> 8
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmbiff/wmbiff-0.4.36-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-plugins/wmbiff/wmbiff-0.4.36-r1.ebuild b/x11-plugins/wmbiff/wmbiff-0.4.36-r1.ebuild
new file mode 100644
index 000000000000..b877701251c6
--- /dev/null
+++ b/x11-plugins/wmbiff/wmbiff-0.4.36-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit autotools flag-o-matic
+
+DESCRIPTION="WMBiff is a dock applet for WindowMaker which can monitor up to 5 mailboxes"
+HOMEPAGE="https://www.dockapps.net/wmbiff"
+SRC_URI="https://www.dockapps.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="crypt"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ crypt? (
+ >=dev-libs/libgcrypt-1.2.1:0
+ >=net-libs/gnutls-2.2.0
+ )"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+BDEPEND="virtual/pkgconfig"
+
+DOCS="ChangeLog FAQ NEWS README TODO wmbiff/sample.wmbiffrc"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.4.27-invalid-strncpy.patch
+ "${FILESDIR}"/${P}-ar.patch
+ )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/864855
+ # https://groups.google.com/g/wmaker-dev/c/Z9mU9x4qxs0
+ filter-lto
+
+ econf $(use_enable crypt crypto)
+}