summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-02-07 13:59:33 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-02-07 13:59:33 +0000
commitc6e984c0ad26b10fd682cd2075ce1574a335645c (patch)
tree430f0f272cddec5a313e578611b451f0b6d34e13 /x11-misc/obconf
parentstable x86, security bug 280613 (diff)
downloadgentoo-2-c6e984c0ad26b10fd682cd2075ce1574a335645c.tar.gz
gentoo-2-c6e984c0ad26b10fd682cd2075ce1574a335645c.tar.bz2
gentoo-2-c6e984c0ad26b10fd682cd2075ce1574a335645c.zip
Ebuild fixes and cleanup thanks to yngwin and ssuominen
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/obconf')
-rw-r--r--x11-misc/obconf/obconf-9999.ebuild22
1 files changed, 16 insertions, 6 deletions
diff --git a/x11-misc/obconf/obconf-9999.ebuild b/x11-misc/obconf/obconf-9999.ebuild
index 7fcad0d32861..b70bbd815cea 100644
--- a/x11-misc/obconf/obconf-9999.ebuild
+++ b/x11-misc/obconf/obconf-9999.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/obconf-9999.ebuild,v 1.1 2010/02/05 15:37:39 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/obconf-9999.ebuild,v 1.2 2010/02/07 13:59:33 hwoarang Exp $
EAPI="2"
-inherit fdo-mime git
+WANT_AUTOMAKE="1.9"
+inherit autotools fdo-mime git
DESCRIPTION="ObConf is a tool for configuring the Openbox window manager."
HOMEPAGE="http://icculus.org/openbox/index.php/ObConf:About"
@@ -16,15 +17,19 @@ KEYWORDS=""
IUSE="nls"
RDEPEND=">=gnome-base/libglade-2
- >=x11-libs/gtk+-2
+ x11-libs/gtk+:2
x11-libs/startup-notification
- >=x11-wm/openbox-3.4.2
- nls? ( sys-devel/gettext )"
+ >=x11-wm/openbox-3.4.2"
DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
dev-util/pkgconfig"
+src_prepare() {
+ eautopoint
+ eautoreconf
+}
+
src_configure() {
- ./bootstrap || die "boostrap failed"
econf \
$(use_enable nls) \
|| die "econf failed"
@@ -38,3 +43,8 @@ pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}