summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-28 00:20:30 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-28 00:20:30 +0000
commitcdd79f506f63da334176864c7fbacec8ccc6d311 (patch)
treeca162975cdeb7479a7907dcdf1488b540eff7c50 /x11-wm/awesome
parentinitial import wrt #445006 (diff)
downloadgentoo-2-cdd79f506f63da334176864c7fbacec8ccc6d311.tar.gz
gentoo-2-cdd79f506f63da334176864c7fbacec8ccc6d311.tar.bz2
gentoo-2-cdd79f506f63da334176864c7fbacec8ccc6d311.zip
Upstream added a new dep, lgi, that was underdocumented. Also block building luadocs unless you have lua-5.2 per upstream emails on awesome ML.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'x11-wm/awesome')
-rw-r--r--x11-wm/awesome/ChangeLog9
-rw-r--r--x11-wm/awesome/awesome-3.5_rc1-r1.ebuild (renamed from x11-wm/awesome/awesome-3.5_rc1.ebuild)21
2 files changed, 16 insertions, 14 deletions
diff --git a/x11-wm/awesome/ChangeLog b/x11-wm/awesome/ChangeLog
index 367ba969911a..2618c3f02053 100644
--- a/x11-wm/awesome/ChangeLog
+++ b/x11-wm/awesome/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-wm/awesome
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.139 2012/11/24 21:28:03 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.140 2012/11/28 00:20:30 robbat2 Exp $
+
+*awesome-3.5_rc1-r1 (28 Nov 2012)
+
+ 28 Nov 2012; Robin H. Johnson <robbat2@gentoo.org> +awesome-3.5_rc1-r1.ebuild,
+ -awesome-3.5_rc1.ebuild:
+ Upstream added a new dep, lgi, that was underdocumented. Also block building
+ luadocs unless you have lua-5.2 per upstream emails on awesome ML.
*awesome-3.5_rc1 (24 Nov 2012)
diff --git a/x11-wm/awesome/awesome-3.5_rc1.ebuild b/x11-wm/awesome/awesome-3.5_rc1-r1.ebuild
index 48a448153e52..7ec19938a719 100644
--- a/x11-wm/awesome/awesome-3.5_rc1.ebuild
+++ b/x11-wm/awesome/awesome-3.5_rc1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-3.5_rc1.ebuild,v 1.1 2012/11/24 21:28:03 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-3.5_rc1-r1.ebuild,v 1.1 2012/11/28 00:20:30 robbat2 Exp $
EAPI="3"
CMAKE_MIN_VERSION="2.8"
@@ -28,7 +28,8 @@ COMMON_DEPEND=">=dev-lang/lua-5.1
>=x11-libs/startup-notification-0.10_p20110426
>=x11-libs/xcb-util-0.3.8
dbus? ( >=sys-apps/dbus-1 )
- elibc_FreeBSD? ( dev-libs/libexecinfo )"
+ elibc_FreeBSD? ( dev-libs/libexecinfo )
+ >=dev-lua/lgi-0.6.1"
# graphicsmagick's 'convert -channel' has no Alpha support, bug #352282
DEPEND="${COMMON_DEPEND}
@@ -81,14 +82,6 @@ src_prepare() {
# bug #408025
epatch "${FILESDIR}/${PN}-3.5_rc1-convert-path.patch"
-
- # Fix luadoc build
- epatch "${FILESDIR}/${PN}-3.5_rc1-luadoc-fix-patch"
-
- # Fix name of luadoc binary
- sed -i \
- -e '/^a_find_program/{ /LDOC_EXECUTABLE/{ s/ldoc.lua/luadoc/; } }' \
- "${S}"/awesomeConfig.cmake || die
}
src_configure() {
@@ -96,8 +89,11 @@ src_configure() {
-DPREFIX="${EPREFIX}"/usr
-DSYSCONFDIR="${EPREFIX}"/etc
$(cmake-utils_use_with dbus DBUS)
- $(cmake-utils_use doc GENERATE_LUADOC)
)
+
+ # The lua docs now officially require ldoc.lua and NOT luadoc
+ # As the modules documentation has been updated to the Lua 5.2 style
+ has_version >=dev-lang/lua-5.2 && mycmakeargs+="$(cmake-utils_use doc GENERATE_LUADOC)"
cmake-utils_src_configure
}
@@ -120,9 +116,8 @@ src_install() {
mv html doxygen
dohtml -r doxygen || die
)
- mv "${ED}"/usr/share/doc/${PN}/doc/html "${ED}"/usr/share/doc/${PF}/html/luadoc || die
fi
- rm -rf "${ED}"/usr/share/doc/${PN} || die
+ rm -rf "${ED}"/usr/share/doc/${PN} || die "Cleanup of dupe docs failed"
exeinto /etc/X11/Sessions
newexe "${FILESDIR}"/${PN}-session ${PN} || die