Opened 8 days ago

Last modified 8 days ago

#70722 assigned enhancement

Build PHP >= 8.1 with AVIF support

Reported by: ohader (Oliver Hader) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: php, php-gd

Description

Since PHP v8.1 AVIF is supported (e.g. see https://php.watch/versions/8.1/gd-avif)

By configuring PHP >= 8.1 with the flag --with-avif, the functionality would be available.

I guess(!) it's enough to add it here in the Portfile: https://github.com/macports/macports-ports/blob/master/lang/php/Portfile#L1114-L1120

Change History (2)

comment:1 Changed 8 days ago by jmroot (Joshua Root)

Keywords: php avif removed
Milestone: MacPorts Future
Owner: set to ryandesign
Status: newassigned
Type: defectenhancement

comment:2 Changed 8 days ago by ryandesign (Ryan Carsten Schmidt)

I'm reluctant to allow any port to depend on libavif due to its colossal pandoc dependency. I removed libavif support from the gd2 port last month for that reason. See #70546, #70723.

Note: See TracTickets for help on using tickets.