From c574e9846e0011007725557db7a9f42ce46b3bd8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 4 Jun 2016 13:11:18 -0400 Subject: [PATCH] dev-lang/php: new revision of the 7.x series to fix our webp support. In the 5.x series, libvpx was used to provide webp support to the gd library. It was pulled in with USE=vpx. In php-7.x, however, libvpx has been replaced with libwebp. The old USE=vpx flag no longer worked, so it has been replaced with USE=webp and eveything updated to use that for php-7.x. Package-Manager: portage-2.2.28 --- dev-lang/php/metadata.xml | 3 ++- dev-lang/php/{php-7.0.7.ebuild => php-7.0.7-r1.ebuild} | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) rename dev-lang/php/{php-7.0.7.ebuild => php-7.0.7-r1.ebuild} (99%) diff --git a/dev-lang/php/metadata.xml b/dev-lang/php/metadata.xml index d28192d6011d..66ecbe7d4a77 100644 --- a/dev-lang/php/metadata.xml +++ b/dev-lang/php/metadata.xml @@ -25,7 +25,8 @@ Enable XMLReader support Enable XMLWriter support Enable the XSL extension - Enable webp suppoprt for GD + Enable webp support for GD in php-5.x + Enable webp support for GD in php-7.x Enable ZIP file support diff --git a/dev-lang/php/php-7.0.7.ebuild b/dev-lang/php/php-7.0.7-r1.ebuild similarity index 99% rename from dev-lang/php/php-7.0.7.ebuild rename to dev-lang/php/php-7.0.7-r1.ebuild index 92b65071532e..a4bf49a82743 100644 --- a/dev-lang/php/php-7.0.7.ebuild +++ b/dev-lang/php/php-7.0.7-r1.ebuild @@ -72,7 +72,7 @@ IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm readline recode selinux +session sharedmem +simplexml snmp soap sockets spell sqlite ssl - sysvipc systemd tidy +tokenizer truetype unicode vpx wddx + sysvipc systemd tidy +tokenizer truetype unicode wddx webp +xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib" DEPEND=" @@ -143,8 +143,8 @@ DEPEND="${DEPEND} virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib ) ) unicode? ( dev-libs/oniguruma ) - vpx? ( media-libs/libvpx ) wddx? ( >=dev-libs/libxml2-2.6.8 ) + webp? ( media-libs/libwebp ) xml? ( >=dev-libs/libxml2-2.6.8 ) xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) xmlreader? ( >=dev-libs/libxml2-2.6.8 ) @@ -166,7 +166,7 @@ php="=${CATEGORY}/${PF}" REQUIRED_USE=" cli? ( ^^ ( readline libedit ) ) truetype? ( gd ) - vpx? ( gd ) + webp? ( gd ) cjk? ( gd ) exif? ( gd ) @@ -421,8 +421,8 @@ src_configure() { $(use_with gd png-dir "${EPREFIX}/usr") $(use_with xpm xpm-dir "${EPREFIX}/usr") ) - if use vpx; then - our_conf+=( --with-vpx-dir="${EPREFIX}/usr" ) + if use webp; then + our_conf+=( --with-webp-dir="${EPREFIX}/usr" ) fi # enable gd last, so configure can pick up the previous settings our_conf+=( $(use_with gd gd) ) -- 2.26.2