summaryrefslogtreecommitdiff
path: root/dev-libs/grantlee/grantlee-9999.ebuild
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-12-26 19:44:44 +1100
committerMichael Palimaka <kensington@gentoo.org>2014-12-26 19:44:44 +1100
commit9dcad82d145761bc4841075371386387758ebf34 (patch)
tree1b0d1374fa9c7cd7bfcd460d748fc961ddb333cd /dev-libs/grantlee/grantlee-9999.ebuild
parentc0fc5d1e5a077b980de6426955f9bd313271e1dd (diff)
downloadkde-9dcad82d145761bc4841075371386387758ebf34.tar.gz
kde-9dcad82d145761bc4841075371386387758ebf34.tar.bz2
kde-9dcad82d145761bc4841075371386387758ebf34.zip
[dev-libs/grantlee] Slot headers and require virtual X for tests.
Package-Manager: portage-2.2.15
Diffstat (limited to 'dev-libs/grantlee/grantlee-9999.ebuild')
-rw-r--r--dev-libs/grantlee/grantlee-9999.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/grantlee/grantlee-9999.ebuild b/dev-libs/grantlee/grantlee-9999.ebuild
index e3efb8b749b..c9cc332c132 100644
--- a/dev-libs/grantlee/grantlee-9999.ebuild
+++ b/dev-libs/grantlee/grantlee-9999.ebuild
@@ -4,14 +4,15 @@
EAPI=5
-inherit cmake-utils git-r3
+VIRTUALX_REQUIRED="test"
+inherit cmake-utils virtualx git-r3
DESCRIPTION="C++ string template engine based on the Django template system"
HOMEPAGE="http://www.gitorious.org/grantlee/pages/Home"
EGIT_REPO_URI=( "git://gitorious.org/grantlee/${PN}" )
LICENSE="LGPL-2.1"
-SLOT="0"
+SLOT="5"
KEYWORDS=""
IUSE="debug doc test"
@@ -29,6 +30,7 @@ DOCS=( AUTHORS CHANGELOG README )
PATCHES=(
"${FILESDIR}/${PN}-0.3.0-nonfatal-warnings.patch"
+ "${FILESDIR}/${PN}-slot.patch"
)
src_configure() {
@@ -45,6 +47,10 @@ src_compile() {
use doc && cmake-utils_src_compile docs
}
+src_test() {
+ VIRTUALX_COMMAND="cmake-utils_src_test" virtualmake
+}
+
src_install() {
use doc && HTML_DOCS=("${BUILD_DIR}/apidox/")