# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit xdg-utils DESCRIPTION="ObConf is a tool for configuring the Openbox window manager" HOMEPAGE="http://openbox.org/wiki/ObConf:About" SRC_URI="http://openbox.org/dist/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-linux" IUSE="nls" RDEPEND="gnome-base/libglade:2.0 x11-libs/gtk+:2 x11-libs/startup-notification >=x11-wm/openbox-3.5.2" DEPEND="${RDEPEND} virtual/pkgconfig nls? ( sys-devel/gettext )" src_configure() { econf \ $(use_enable nls) } pkg_postinst() { xdg_desktop_database_update xdg_mimeinfo_database_update } pkg_postrm() { xdg_desktop_database_update xdg_mimeinfo_database_update }