commit:     246a12c9d088ceaf3d89d18752023a816cbe2e5a
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  5 12:52:38 2014 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Apr  5 12:52:38 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=246a12c9

[app-office/calligra] Check required disk space for build, bug #505374

Package-Manager: portage-2.2.10

---
 app-office/calligra/calligra-2.8.0.ebuild | 12 +++++++++++-
 app-office/calligra/calligra-9999.ebuild  | 12 +++++++++++-
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/app-office/calligra/calligra-2.8.0.ebuild 
b/app-office/calligra/calligra-2.8.0.ebuild
index a2a5c2f..c6f36c9 100644
--- a/app-office/calligra/calligra-2.8.0.ebuild
+++ b/app-office/calligra/calligra-2.8.0.ebuild
@@ -11,7 +11,8 @@ EAPI=5
 OPENGL_REQUIRED=optional
 KDE_HANDBOOK=optional
 KDE_LINGUAS_LIVE_OVERRIDE=true
-inherit kde4-base versionator
+CHECKREQS_DISK_BUILD="4G"
+inherit check-reqs kde4-base versionator
 
 DESCRIPTION="KDE Office Suite"
 HOMEPAGE="http://www.calligra.org/";
@@ -144,6 +145,15 @@ PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}"
 RESTRICT=test
 # bug 394273
 
+pkg_pretend() {
+       check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+       kde4-base_pkg_setup
+       check-reqs_pkg_setup
+}
+
 src_configure() {
        local cal_ft
 

diff --git a/app-office/calligra/calligra-9999.ebuild 
b/app-office/calligra/calligra-9999.ebuild
index a2a5c2f..c6f36c9 100644
--- a/app-office/calligra/calligra-9999.ebuild
+++ b/app-office/calligra/calligra-9999.ebuild
@@ -11,7 +11,8 @@ EAPI=5
 OPENGL_REQUIRED=optional
 KDE_HANDBOOK=optional
 KDE_LINGUAS_LIVE_OVERRIDE=true
-inherit kde4-base versionator
+CHECKREQS_DISK_BUILD="4G"
+inherit check-reqs kde4-base versionator
 
 DESCRIPTION="KDE Office Suite"
 HOMEPAGE="http://www.calligra.org/";
@@ -144,6 +145,15 @@ PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}"
 RESTRICT=test
 # bug 394273
 
+pkg_pretend() {
+       check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+       kde4-base_pkg_setup
+       check-reqs_pkg_setup
+}
+
 src_configure() {
        local cal_ft
 

Reply via email to