diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-09-18 18:43:23 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2023-09-19 22:37:29 +0200 |
commit | 696b0af1b2088ed42de9207402d75e8d06016c6e (patch) | |
tree | 37204d56f69ea097200e0e90d9635698432798f1 /x11-plugins | |
parent | x11-plugins/wmcpuload: EAPI8 bump (diff) | |
download | gentoo-696b0af1b2088ed42de9207402d75e8d06016c6e.tar.gz gentoo-696b0af1b2088ed42de9207402d75e8d06016c6e.tar.bz2 gentoo-696b0af1b2088ed42de9207402d75e8d06016c6e.zip |
x11-plugins/wmdrawer: EAPI8 bump
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmdrawer/wmdrawer-0.10.5-r4.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/x11-plugins/wmdrawer/wmdrawer-0.10.5-r4.ebuild b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r4.ebuild new file mode 100644 index 000000000000..4bd77c220fb1 --- /dev/null +++ b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Dockapp which provides a drawer (retractable button bar) to launch applications" +HOMEPAGE="http://people.easter-eggs.org/~valos/wmdrawer/" +SRC_URI="http://people.easter-eggs.org/~valos/wmdrawer/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="x11-libs/gdk-pixbuf-xlib + >=x11-libs/gdk-pixbuf-2.42.0:2 + x11-libs/gtk+:2" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( README TODO AUTHORS ChangeLog wmdrawerrc.example ) +PATCHES=( "${FILESDIR}"/${P}-gtk+-2.patch ) + +src_prepare() { + default + + gunzip doc/wmdrawer.1x.gz || die + + # Honour Gentoo CFLAGS + sed -i -e "s|-O3|${CFLAGS}|" Makefile || die + # Fix LDFLAGS ordering per bug #248640 + sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $(OBJS)/$(CC) -o $@ $(OBJS) $(LDFLAGS)/' Makefile || die + # Do not auto-strip binaries + sed -i -e 's/ strip $@//' Makefile || die + # Honour Gentoo LDFLAGS + sed -i -e 's/$(CC) -o/$(CC) $(GENTOO_LDFLAGS) -o/' Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" GENTOO_LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin wmdrawer + doman doc/wmdrawer.1x + einstalldocs +} |