summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-08-11 08:55:35 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-08-11 08:55:35 +0000
commitd9cd87a20021856b7e4d72821b65d694766d5c3c (patch)
tree67dbacc69cf488112e54217f9d4f2fb2844bfd72 /media-libs
parentRevbump to add prefix support. Warn about issues with slapd on prefix. Review... (diff)
downloadgentoo-2-d9cd87a20021856b7e4d72821b65d694766d5c3c.tar.gz
gentoo-2-d9cd87a20021856b7e4d72821b65d694766d5c3c.tar.bz2
gentoo-2-d9cd87a20021856b7e4d72821b65d694766d5c3c.zip
Update to eapi4. Add switch for static libs. Punt .la files.
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/silgraphite/ChangeLog6
-rw-r--r--media-libs/silgraphite/silgraphite-2.3.1.ebuild16
2 files changed, 14 insertions, 8 deletions
diff --git a/media-libs/silgraphite/ChangeLog b/media-libs/silgraphite/ChangeLog
index ef883c81be47..d4d22764a480 100644
--- a/media-libs/silgraphite/ChangeLog
+++ b/media-libs/silgraphite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/silgraphite
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/silgraphite/ChangeLog,v 1.18 2011/08/09 21:39:07 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/silgraphite/ChangeLog,v 1.19 2011/08/11 08:55:35 scarabeus Exp $
+
+ 11 Aug 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ silgraphite-2.3.1.ebuild:
+ Update to eapi4. Add switch for static libs. Punt .la files.
09 Aug 2011; Markos Chandras <hwoarang@gentoo.org> silgraphite-2.3.1.ebuild:
Stable on amd64 wrt bug #355085
diff --git a/media-libs/silgraphite/silgraphite-2.3.1.ebuild b/media-libs/silgraphite/silgraphite-2.3.1.ebuild
index 6fb2def9c0c7..8954f846bb11 100644
--- a/media-libs/silgraphite/silgraphite-2.3.1.ebuild
+++ b/media-libs/silgraphite/silgraphite-2.3.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/silgraphite/silgraphite-2.3.1.ebuild,v 1.18 2011/08/09 21:39:07 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/silgraphite/silgraphite-2.3.1.ebuild,v 1.19 2011/08/11 08:55:35 scarabeus Exp $
-EAPI="2"
+EAPI=4
inherit eutils
@@ -13,11 +13,12 @@ SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
LICENSE="|| ( CPL-0.5 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="pango truetype xft"
+IUSE="pango static-libs truetype xft"
-RDEPEND="xft? ( x11-libs/libXft )
+RDEPEND="
+ pango? ( x11-libs/pango media-libs/fontconfig )
truetype? ( media-libs/freetype:2 )
- pango? ( x11-libs/pango media-libs/fontconfig )"
+ xft? ( x11-libs/libXft )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
@@ -27,12 +28,13 @@ src_prepare() {
src_configure() {
econf \
+ $(use_enable static-libs static) \
$(use_with xft) \
$(use_with truetype freetype) \
$(use_with pango pangographite)
}
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc README
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} +
}