git: 6564fb037602 - main - graphics/libheif: Install example binaries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Jul 2022 14:47:39 UTC
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=6564fb037602976d7127bf70b0c640d87067dd4b commit 6564fb037602976d7127bf70b0c640d87067dd4b Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-04 13:35:09 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-04 14:46:31 +0000 graphics/libheif: Install example binaries The example binaries are very useful to end users. For example, heif-convert is a popular tool to convert HEIF to JPG. PR: 245387 Reported by: Marián Černý <majo-bugs.freebsd.org@cerny.sk> Approved by: portmgr blanket (maintainer timeout) --- graphics/libheif/Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile index 698f013b99d6..605c27c72008 100644 --- a/graphics/libheif/Makefile +++ b/graphics/libheif/Makefile @@ -2,7 +2,7 @@ PORTNAME= libheif DISTVERSIONPREFIX= v DISTVERSION= 1.12.0-62 DISTVERSIONSUFFIX= -g0082fea -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= makc@FreeBSD.org @@ -17,12 +17,10 @@ CPE_VENDOR= struktur USE_GNOME= gdkpixbuf2 glib20 USE_LDCONFIG= yes -CMAKE_OFF= WITH_EXAMPLES - USE_GITHUB= yes GH_ACCOUNT= strukturag -OPTIONS_DEFINE= AOM DAV1D LIBDE265 RAV1E X265 +OPTIONS_DEFINE= AOM DAV1D EXAMPLES LIBDE265 RAV1E X265 OPTIONS_DEFAULT= AOM DAV1D LIBDE265 X265 OPTIONS_SUB= yes @@ -38,6 +36,19 @@ AOM_CMAKE_BOOL= WITH_AOM DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= WITH_DAV1D +EXAMPLES_LIB_DEPENDS= libpng16.so:graphics/png +EXAMPLES_USES= jpeg +EXAMPLES_CMAKE_ON= -DWITH_EXAMPLES:bool=ON +EXAMPLES_CMAKE_OFF= -DWITH_EXAMPLES:bool=OFF +EXAMPLES_PLIST_FILES= bin/heif-convert \ + bin/heif-enc \ + bin/heif-info \ + bin/heif-thumbnailer \ + share/man/man1/heif-convert.1.gz \ + share/man/man1/heif-enc.1.gz \ + share/man/man1/heif-info.1.gz \ + share/man/man1/heif-thumbnailer.1.gz + LIBDE265_LIB_DEPENDS= libde265.so:multimedia/libde265 LIBDE265_CMAKE_BOOL= WITH_LIBDE265