FreeBSD Bugzilla – Attachment 234828 Details for
Bug 264798
graphics/webp: Conditionalize image converters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
IMGCONV option
webp.patch (text/plain), 2.08 KB, created by
Adam Weinberger
on 2022-06-20 22:02:26 UTC
(
hide
)
Description:
IMGCONV option
Filename:
MIME Type:
Creator:
Adam Weinberger
Created:
2022-06-20 22:02:26 UTC
Size:
2.08 KB
patch
obsolete
>diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile >index a887c0052c48..0a420dbfc027 100644 >--- a/graphics/webp/Makefile >+++ b/graphics/webp/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= webp > PORTVERSION= 1.2.2 >+PORTREVISION= 1 > CATEGORIES= graphics > MASTER_SITES= http://downloads.webmproject.org/releases/webp/ \ > https://storage.googleapis.com/downloads.webmproject.org/releases/webp/ >@@ -13,10 +14,6 @@ COMMENT= Google WebP image format conversion tool > LICENSE= BSD3CLAUSE > LICENSE_FILE= ${WRKSRC}/COPYING > >-LIB_DEPENDS= libgif.so:graphics/giflib \ >- libpng.so:graphics/png \ >- libtiff.so:graphics/tiff >- > USES= compiler:c11 jpeg libtool localbase > > CONFIGURE_ARGS= --enable-libwebpdecoder \ >@@ -29,9 +26,19 @@ USE_LDCONFIG= yes > > PORTSCOUT= limit:^[0-9\.]*$$ > >-OPTIONS_DEFINE= X11 >+OPTIONS_DEFINE= IMGCONV X11 >+OPTIONS_DEFAULT=IMGCONV > OPTIONS_SUB= yes > >+IMGCONV_DESC= Install converters to/from WebP >+IMGCONV_LIB_DEPENDS= libgif.so:graphics/giflib \ >+ libpng.so:graphics/png \ >+ libtiff.so:graphics/tiff >+IMGCONV_CONFIGURE_ON= build_cwebp=yes build_dwebp=yes \ >+ build_gif2webp=yes build_img2webp=yes >+IMGCONV_CONFIGURE_OFF= build_cwebp=no build_dwebp=no \ >+ build_gif2webp=no build_img2webp=no >+ > X11_CONFIGURE_OFF= build_vwebp=no > X11_CONFIGURE_ON= build_vwebp=yes > X11_USE= GL=glut >diff --git a/graphics/webp/pkg-plist b/graphics/webp/pkg-plist >index 170c94eec91c..bec926770a21 100644 >--- a/graphics/webp/pkg-plist >+++ b/graphics/webp/pkg-plist >@@ -1,7 +1,7 @@ >-bin/cwebp >-bin/dwebp >-bin/gif2webp >-bin/img2webp >+%%IMGCONV%%bin/cwebp >+%%IMGCONV%%bin/dwebp >+%%IMGCONV%%bin/gif2webp >+%%IMGCONV%%bin/img2webp > %%X11%%bin/vwebp > bin/webpinfo > bin/webpmux >@@ -31,10 +31,10 @@ libdata/pkgconfig/libwebp.pc > libdata/pkgconfig/libwebpdecoder.pc > libdata/pkgconfig/libwebpdemux.pc > libdata/pkgconfig/libwebpmux.pc >-man/man1/cwebp.1.gz >-man/man1/dwebp.1.gz >-man/man1/gif2webp.1.gz >-man/man1/img2webp.1.gz >+%%IMGCONV%%man/man1/cwebp.1.gz >+%%IMGCONV%%man/man1/dwebp.1.gz >+%%IMGCONV%%man/man1/gif2webp.1.gz >+%%IMGCONV%%man/man1/img2webp.1.gz > %%X11%%man/man1/vwebp.1.gz > man/man1/webpinfo.1.gz > man/man1/webpmux.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264798
: 234828