summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-10-18 21:52:25 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-10-18 21:52:25 +0000
commit3a3ab39087f7cae0e6485cbf23293e5798dbae40 (patch)
treed383e3c1bd6d67593b7d74115cb326a60abb7092 /x11-misc/obconf
parentDrop to ~arch so we can get rid of poppler-0.14; probably this is not one of ... (diff)
downloadgentoo-2-3a3ab39087f7cae0e6485cbf23293e5798dbae40.tar.gz
gentoo-2-3a3ab39087f7cae0e6485cbf23293e5798dbae40.tar.bz2
gentoo-2-3a3ab39087f7cae0e6485cbf23293e5798dbae40.zip
new snapshot
(Portage version: 2.2.0_alpha68/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/obconf')
-rw-r--r--x11-misc/obconf/ChangeLog8
-rw-r--r--x11-misc/obconf/obconf-2.0.3_p20111019.ebuild58
2 files changed, 65 insertions, 1 deletions
diff --git a/x11-misc/obconf/ChangeLog b/x11-misc/obconf/ChangeLog
index 5204481bd893..3b28634a3797 100644
--- a/x11-misc/obconf/ChangeLog
+++ b/x11-misc/obconf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/obconf
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/ChangeLog,v 1.90 2011/10/18 20:57:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/ChangeLog,v 1.91 2011/10/18 21:52:25 hwoarang Exp $
+
+*obconf-2.0.3_p20111019 (18 Oct 2011)
+
+ 18 Oct 2011; Markos Chandras <hwoarang@gentoo.org>
+ +obconf-2.0.3_p20111019.ebuild:
+ new snapshot
18 Oct 2011; Jeroen Roovers <jer@gentoo.org>
obconf-2.0.3_p20110314-r1.ebuild:
diff --git a/x11-misc/obconf/obconf-2.0.3_p20111019.ebuild b/x11-misc/obconf/obconf-2.0.3_p20111019.ebuild
new file mode 100644
index 000000000000..37c988c8c6be
--- /dev/null
+++ b/x11-misc/obconf/obconf-2.0.3_p20111019.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/obconf-2.0.3_p20111019.ebuild,v 1.1 2011/10/18 21:52:25 hwoarang Exp $
+
+EAPI=2
+inherit autotools fdo-mime eutils
+
+DESCRIPTION="ObConf is a tool for configuring the Openbox window manager."
+HOMEPAGE="http://icculus.org/openbox/index.php/ObConf:About"
+SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="lxde nls"
+
+RDEPEND="gnome-base/libglade:2.0
+ x11-libs/gtk+:2
+ x11-libs/startup-notification
+ >=x11-wm/openbox-3.5.0_pre20111019"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}
+
+src_prepare() {
+ # need --config-file switch when used on LXDE environment
+ if use lxde; then
+ sed -i -e "/^Exec/s:obconf.*$:obconf-lxde:" ${PN}.desktop || die
+ fi
+ eautopoint
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ # add wrapper for lxde environment. Bug #369555
+ if use lxde; then
+ dobin "${FILESDIR}"/${PN}-lxde || die
+ fi
+ dodoc AUTHORS CHANGELOG README || die "dodoc failed"
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}