summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-12-18 06:06:19 +0100
committerJeroen Roovers <jer@gentoo.org>2015-12-18 06:09:23 +0100
commit80759d89c4b264998bceb36bda47352c94f37f3f (patch)
tree901faaa23a6e005535e039e450e3a182d22bb135 /x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild
parentsec-policy: Stabilize selinux policy 2.20141203-r10 (diff)
downloadgentoo-80759d89c4b264998bceb36bda47352c94f37f3f.tar.gz
gentoo-80759d89c4b264998bceb36bda47352c94f37f3f.tar.bz2
gentoo-80759d89c4b264998bceb36bda47352c94f37f3f.zip
x11-misc/openbox-menu: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild')
-rw-r--r--x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild b/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild
new file mode 100644
index 000000000000..1a4fc20dc2a7
--- /dev/null
+++ b/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Another dynamic menu generator for Openbox"
+HOMEPAGE="http://mimasgpc.free.fr/openbox-menu_en.html"
+SRC_URI="https://bitbucket.org/fabriceT/${PN}/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+icons svg"
+REQUIRED_USE="svg? ( icons )"
+
+COMMON_DEPEND="
+ dev-libs/glib:2
+ lxde-base/menu-cache
+ x11-libs/gtk+:2
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ icons? ( x11-wm/openbox[imlib,svg?] )
+ !icons? ( x11-wm/openbox )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.5.0-build.patch
+ epatch_user
+ tc-export CC PKG_CONFIG
+}
+
+src_compile() {
+ emake \
+ $(usex icons 'ICONS=1' 'ICONS=0') \
+ $(usex svg 'SVG_ICONS=1' 'SVG_ICONS=0')
+}