1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils toolchain-funcs
7 DESCRIPTION="Another dynamic menu generator for Openbox"
8 HOMEPAGE="http://fabrice.thiroux.free.fr/openbox-menu_en.html"
9 SRC_URI="https://bitbucket.org/fabriceT/${PN}/downloads/${P}.tar.bz2"
15 REQUIRED_USE="svg? ( icons )"
24 icons? ( x11-wm/openbox[imlib,svg?] )
25 !icons? ( x11-wm/openbox )
33 epatch "${FILESDIR}"/${PN}-0.5.0-build.patch
35 tc-export CC PKG_CONFIG
40 $(usex icons 'ICONS=1' 'ICONS=0') \
41 $(usex svg 'SVG_ICONS=1' 'SVG_ICONS=0')