You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
612 B
26 lines
612 B
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
MY_PV="${PV/rc/RC}"
|
|
|
|
USE_PHP="php5-6 php7-0 php7-1"
|
|
|
|
inherit php-ext-pecl-r3
|
|
|
|
KEYWORDS="amd64 x86"
|
|
|
|
DESCRIPTION="PHP wrapper for the ImageMagick library"
|
|
LICENSE="PHP-3.01"
|
|
SLOT="0"
|
|
IUSE="examples test"
|
|
|
|
# imagemagick[-openmp] is needed wrt bug 547922 and upstream
|
|
# https://github.com/mkoppanen/imagick#openmp
|
|
RDEPEND=">=media-gfx/imagemagick-6.2.4:=[-openmp]"
|
|
DEPEND="${RDEPEND}
|
|
test? ( >=media-gfx/imagemagick-6.2.4:=[jpeg,png,truetype] )"
|
|
|
|
PHP_EXT_ECONF_ARGS="--with-imagick=${EPREFIX}/usr"
|