blob: 04460994e0de4d8630f9ebd34a9eb1e969b58c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild,v 1.3 2005/09/27 13:13:07 metalgod Exp $
inherit eutils
IUSE="gnome"
S=${WORKDIR}/${PN}
DESCRIPTION="WindowMaker DockApp: Provides a popup menu of icons like in AfterStep, as a dockable application."
SRC_URI="http://www.fcoutant.freesurf.fr/download/${P}.tar.gz"
HOMEPAGE="http://www.fcoutant.freesurf.fr/wmmenu.html"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 x86"
DEPEND="virtual/x11
>=x11-libs/libdockapp-0.5.0-r1
gnome? ( media-libs/gdk-pixbuf )"
src_unpack()
{
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-support-libdockapp-0.5.0.patch
epatch ${FILESDIR}/${P}-Makefile.patch
}
src_compile()
{
GDKPIXBUF=""
if use gnome; then
GDKPIXBUF="GDKPIXBUF=1"
fi
emake ${GDKPIXBUF} EXTRACFLAGS="${CFLAGS}" || die "Compilation failed"
}
src_install ()
{
dobin wmmenu
doman wmmenu.1
dodoc COPYING README TODO example/apps example/defaults example/extract_icon_back
}
|