summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Vasilevski <yvasilev@gentoo.org>2010-04-26 15:17:37 +0000
committerYuri Vasilevski <yvasilev@gentoo.org>2010-04-26 15:17:37 +0000
commit20bf7e19b23b4e3437f720b5f4736b04ee36006f (patch)
treed226a4f52be24819eaf251b41075ef10fe2445de /x11-libs
parentSimplify ebuild. (diff)
downloadgentoo-2-20bf7e19b23b4e3437f720b5f4736b04ee36006f.tar.gz
gentoo-2-20bf7e19b23b4e3437f720b5f4736b04ee36006f.tar.bz2
gentoo-2-20bf7e19b23b4e3437f720b5f4736b04ee36006f.zip
Fixed installation of ChangeLog file (Bug #316497), fixed dependencies, added conditional dependency to dev-libs/check (needed for running tests).
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libmatchbox/ChangeLog6
-rw-r--r--x11-libs/libmatchbox/libmatchbox-1.9.ebuild14
2 files changed, 14 insertions, 6 deletions
diff --git a/x11-libs/libmatchbox/ChangeLog b/x11-libs/libmatchbox/ChangeLog
index cfb26a1369ca..4d2b626f0c35 100644
--- a/x11-libs/libmatchbox/ChangeLog
+++ b/x11-libs/libmatchbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/libmatchbox
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libmatchbox/ChangeLog,v 1.13 2010/03/09 14:57:48 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libmatchbox/ChangeLog,v 1.14 2010/04/26 15:17:37 yvasilev Exp $
+
+ 26 Apr 2010; Yuri Vasilevski <yvasilev@gentoo.org> libmatchbox-1.9.ebuild:
+ Fixed installation of ChangeLog file (Bug #316497), fixed dependencies,
+ added conditional dependency to dev-libs/check (needed for running tests).
09 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
libmatchbox-1.9.ebuild, +files/libmatchbox-1.9-libpng14.patch:
diff --git a/x11-libs/libmatchbox/libmatchbox-1.9.ebuild b/x11-libs/libmatchbox/libmatchbox-1.9.ebuild
index f6d40dc9f739..fc8ea62c8f0d 100644
--- a/x11-libs/libmatchbox/libmatchbox-1.9.ebuild
+++ b/x11-libs/libmatchbox/libmatchbox-1.9.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libmatchbox/libmatchbox-1.9.ebuild,v 1.8 2010/03/09 14:57:48 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libmatchbox/libmatchbox-1.9.ebuild,v 1.9 2010/04/26 15:17:37 yvasilev Exp $
-inherit eutils libtool
+inherit eutils
DESCRIPTION="The Matchbox Library."
HOMEPAGE="http://matchbox-project.org/"
@@ -11,7 +11,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~x86"
-IUSE="debug doc jpeg pango png truetype X xsettings"
+IUSE="debug doc jpeg pango png test truetype X xsettings"
RDEPEND="x11-libs/libXext
truetype? ( x11-libs/libXft )
@@ -20,7 +20,9 @@ RDEPEND="x11-libs/libXext
png? ( media-libs/libpng )
xsettings? ( x11-libs/libxsettings-client )"
-DEPEND="doc? ( app-doc/doxygen )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ test? ( dev-libs/check )"
pkg_setup() {
# Bug #138135
@@ -36,6 +38,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd "${S}"
+
epatch "${FILESDIR}"/${P}-libpng14.patch
elibtoolize
}
@@ -49,6 +52,7 @@ src_compile() {
$(use_enable png) \
$(use_enable xsettings) \
$(use_with X x) \
+ $(use_enable test unit-tests) \
|| die "Configuration failed"
emake || die "Compilation failed"
@@ -57,6 +61,6 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install || die "Installation failed"
- dodoc AUTHORS Changelog INSTALL NEWS README
+ dodoc AUTHORS ChangeLog INSTALL NEWS README
use doc && dohtml doc/html/*
}