From nobody Tue Jun 21 21:00:38 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 80BA68663F6; Tue, 21 Jun 2022 21:00:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LSJnf5yWkz3DBq; Tue, 21 Jun 2022 21:00:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655845239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bNJmHEKZ8Qo9fnBMA6teskrrzEVn0F/fjZlEMRCwaoI=; b=Rf96N7q2IFY/zKCI6Fj69ZNkpIjeq/uEg378UP1Xt4ozH5qtHjWoDy8vcPPEpPXkcVf1Xw Ir7+1js4IqBNLNtQvj4IC9FuzZhtUwISShliek0+xRcuizSB1wkGgaH3SIEUnrfPn5ovbZ Fe43LWhVdYHZV8mMMEIIW6lDmnFYe3dfpk25viv6EphK1tNWO6Nw4yRNjDaDcYmWDA2+PN fZ4ia+Dv0WgDnJJeITgy4t000LhvrZmfOA1o3WmQ3Rim3qW/2ujBnoI64oOzOEP5XLBx7l zZUR5hlMnShixK5KCUritrSiOd4uqxqvacyXvzJL6NJsORF1QiMv74AChUmeaQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5C03019117; Tue, 21 Jun 2022 21:00:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25LL0ckR024548; Tue, 21 Jun 2022 21:00:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LL0cV4024547; Tue, 21 Jun 2022 21:00:38 GMT (envelope-from git) Date: Tue, 21 Jun 2022 21:00:38 GMT Message-Id: <202206212100.25LL0cV4024547@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 81d2af56be29 - main - graphics/webp: Add IMGCONV option List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 81d2af56be29daa64a3d29c79b76136a25f33394 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655845239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bNJmHEKZ8Qo9fnBMA6teskrrzEVn0F/fjZlEMRCwaoI=; b=vf9lmcwGALtWf4M3Lrde37YL97UrRwNUorlhic+y+sWa3Wi4eFvuR6jnALZmR+PU0lO+89 b0daz6qQ6XF9uQrovojZSgoupr6//Jd7+gPDGSNL0DyVS2Ov8LWPmemgnKb+qTmu9l5tK0 tRahDSBQBlbg6Gvz2fzY3zTMa3mutwRIZU/Qa5acULIQ8qsNUgFDEqF9tKO0ud+sMNSGak W/z90R1lkJOi8Y1BUE6YgJPTXaabJTx+00TDIxyQhspo74yO+b13OHAw7w/4DvPmoNVuNE 4FY2FITIcTmdwKr4o0lqg+KVeEj5nzMNqSRj1vda/NI3RVbLwbESMy//yVrPZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655845239; a=rsa-sha256; cv=none; b=hivjycNtXxBDZDYJbrmph4OTS7q1Q+8muI8F2xaOV88sBZnZQiyosaJwQdPHIP98qrb9qw udJvE68Xc3ezdXB+0sEnxkCTXOIe3UygWft7jxLvyQhu8p6PjQj8HyD7V0ohxluI6ByicA iFS/Zy4lAirmTJ0/wyapJunoHxiefCikzNGjrTaMCwS5C3aeg5kh9H+n4CwsOUpr8yILKN bvtOQXx50FHip1aNk33iQUpXbpJrKtxqYC5s8OZGM/U+5iQqHwNXyW95GFwNTHGA07R2mm TGi2bJUWpoOjYxiKlHo0DNCILHPjnY80HRIHyxDmiwBhkAiSYDJlLrBDynncHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=81d2af56be29daa64a3d29c79b76136a25f33394 commit 81d2af56be29daa64a3d29c79b76136a25f33394 Author: Po-Chuan Hsieh AuthorDate: 2022-06-21 20:58:56 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-21 20:58:56 +0000 graphics/webp: Add IMGCONV option PR: 264798 Submitted by: adamw --- graphics/webp/Makefile | 13 ++++++++----- graphics/webp/pkg-plist | 16 ++++++++-------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile index a887c0052c48..9353471148c9 100644 --- a/graphics/webp/Makefile +++ b/graphics/webp/Makefile @@ -13,10 +13,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 +25,16 @@ 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_CONFIGURE_OFF= build_cwebp=no build_dwebp=no build_gif2webp=no build_img2webp=no +IMGCONV_CONFIGURE_ON= build_cwebp=yes build_dwebp=yes build_gif2webp=yes build_img2webp=yes +IMGCONV_LIB_DEPENDS= libgif.so:graphics/giflib \ + libpng.so:graphics/png \ + libtiff.so:graphics/tiff 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