summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/awesome/ChangeLog7
-rw-r--r--x11-wm/awesome/awesome-3.0_rc5.ebuild88
2 files changed, 94 insertions, 1 deletions
diff --git a/x11-wm/awesome/ChangeLog b/x11-wm/awesome/ChangeLog
index fa284725df77..76cd0af364ae 100644
--- a/x11-wm/awesome/ChangeLog
+++ b/x11-wm/awesome/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-wm/awesome
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.34 2008/08/25 16:48:09 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.35 2008/08/29 16:26:16 matsuu Exp $
+
+*awesome-3.0_rc5 (29 Aug 2008)
+
+ 29 Aug 2008; MATSUU Takuto <matsuu@gentoo.org> +awesome-3.0_rc5.ebuild:
+ Version bumped.
25 Aug 2008; MATSUU Takuto <matsuu@gentoo.org> awesome-3.0_rc4.ebuild:
Fixed dependency, bug #235592.
diff --git a/x11-wm/awesome/awesome-3.0_rc5.ebuild b/x11-wm/awesome/awesome-3.0_rc5.ebuild
new file mode 100644
index 000000000000..63bc09bd315c
--- /dev/null
+++ b/x11-wm/awesome/awesome-3.0_rc5.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-3.0_rc5.ebuild,v 1.1 2008/08/29 16:26:16 matsuu Exp $
+
+EAPI=1
+
+inherit cmake-utils eutils
+
+MY_P="${P/_rc/-rc}"
+DESCRIPTION="A dynamic floating and tiling window manager"
+HOMEPAGE="http://awesome.naquadah.org/"
+SRC_URI="http://awesome.naquadah.org/download/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
+IUSE="dbus doc +imlib"
+
+RDEPEND=">=dev-lang/lua-5.1
+ >=dev-libs/glib-2
+ dev-libs/libev
+ dev-util/gperf
+ sys-libs/ncurses
+ x11-libs/cairo
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.1
+ x11-libs/pango
+ >=x11-libs/xcb-util-0.2.1
+ dbus? ( >=sys-apps/dbus-1 )
+ imlib? ( media-libs/imlib2 )
+ !imlib? ( >=x11-libs/gtk+-2.2 )"
+
+DEPEND="${RDEPEND}
+ app-text/asciidoc
+ app-text/xmlto
+ >=dev-util/cmake-2.6
+ dev-util/pkgconfig
+ x11-proto/xcb-proto
+ doc? (
+ app-doc/doxygen
+ dev-util/luadoc
+ media-gfx/graphviz
+ )"
+
+RDEPEND="${RDEPEND}
+ app-shells/bash"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="AUTHORS BUGS README"
+
+pkg_setup() {
+ if ! built_with_use --missing false x11-libs/cairo xcb; then
+ eerror "This package you need the useflag xcb enabled on x11-libs/cairo."
+ eerror "Please emerge x11-libs/cairo again with the xcb useflag"
+ eerror "enabled."
+ die "Missing xcb useflag on x11-libs/cairo."
+ fi
+}
+
+src_compile() {
+ local myargs="all"
+
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with imlib IMLIB2)
+ $(cmake-utils_use_with dbus DBUS)"
+
+ if use doc ; then
+ mycmakeargs="${mycmakeargs} -DGENERATE_LUADOC=ON"
+ myargs="${myargs} doc"
+ else
+ mycmakeargs="${mycmakeargs} -DGENERATE_LUADOC=OFF"
+ fi
+ cmake-utils_src_compile ${myargs}
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use doc ; then
+ dohtml -r "${WORKDIR}"/${PN}_build/doc/html/* || die
+ mv "${D}"/usr/share/doc/${PN}/luadoc "${D}"/usr/share/doc/${PF}/html/luadoc || die
+ fi
+ rm -rf "${D}"/usr/share/doc/${PN} || die
+
+ exeinto /etc/X11/Sessions
+ newexe "${FILESDIR}"/${PN}-session ${PN} || die
+}