summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-07 20:09:49 +0000
committerMike Frysinger <vapier@gentoo.org>2015-03-07 20:09:49 +0000
commit3a8dffbb4bee444fc9a56e2696dc04ab47f77d5c (patch)
tree896ac7e3247bdece817e7c50b3232abea265d20e /media-libs/gd
parentFix broken doc installations, #542348 (diff)
downloadgentoo-2-3a8dffbb4bee444fc9a56e2696dc04ab47f77d5c.tar.gz
gentoo-2-3a8dffbb4bee444fc9a56e2696dc04ab47f77d5c.tar.bz2
gentoo-2-3a8dffbb4bee444fc9a56e2696dc04ab47f77d5c.zip
Add USE=webp to control the libvpx dep #541854 by Anthony Parsons.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'media-libs/gd')
-rw-r--r--media-libs/gd/ChangeLog5
-rw-r--r--media-libs/gd/gd-2.1.1.ebuild6
-rw-r--r--media-libs/gd/metadata.xml3
3 files changed, 11 insertions, 3 deletions
diff --git a/media-libs/gd/ChangeLog b/media-libs/gd/ChangeLog
index 717e372385c9..5ad1763449af 100644
--- a/media-libs/gd/ChangeLog
+++ b/media-libs/gd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/gd
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/ChangeLog,v 1.105 2015/02/28 22:27:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/ChangeLog,v 1.106 2015/03/07 20:09:49 vapier Exp $
+
+ 07 Mar 2015; Mike Frysinger <vapier@gentoo.org> gd-2.1.1.ebuild, metadata.xml:
+ Add USE=webp to control the libvpx dep #541854 by Anthony Parsons.
28 Feb 2015; Mike Frysinger <vapier@gentoo.org> +files/gd-2.1.1-headers.patch,
gd-2.1.1.ebuild:
diff --git a/media-libs/gd/gd-2.1.1.ebuild b/media-libs/gd/gd-2.1.1.ebuild
index 6752014359ae..5a7ea2696f18 100644
--- a/media-libs/gd/gd-2.1.1.ebuild
+++ b/media-libs/gd/gd-2.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.1.1.ebuild,v 1.2 2015/02/28 22:27:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.1.1.ebuild,v 1.3 2015/03/07 20:09:49 vapier Exp $
EAPI="5"
@@ -13,7 +13,7 @@ SRC_URI="https://bitbucket.org/libgd/gd-libgd/downloads/lib${P}.tar.xz"
LICENSE="gd IJG HPND BSD"
SLOT="2/3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="fontconfig jpeg png static-libs truetype xpm zlib"
+IUSE="fontconfig jpeg png static-libs truetype webp xpm zlib"
# fontconfig has prefixed font paths, details see bug #518970
REQUIRED_USE="prefix? ( fontconfig )"
@@ -22,6 +22,7 @@ RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] )
truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
+ webp? ( media-libs/libvpx[${MULTILIB_USEDEP}] )
xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
@@ -45,6 +46,7 @@ multilib_src_configure() {
$(use_with png) \
$(use_with truetype freetype) \
$(use_with jpeg) \
+ $(use_with webp vpx) \
$(use_with xpm) \
$(use_with zlib)
}
diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml
index addce1236910..96855a007ecb 100644
--- a/media-libs/gd/metadata.xml
+++ b/media-libs/gd/metadata.xml
@@ -27,4 +27,7 @@ and so forth.
<remote-id type="github">libgd/libgd</remote-id>
<bugs-to>https://github.com/libgd/libgd/issues</bugs-to>
</upstream>
+<use>
+ <flag name='webp'>Enable support for the webp format</flag>
+</use>
</pkgmetadata>