Lines 3-9
Link Here
|
3 |
PORTNAME= libheif |
3 |
PORTNAME= libheif |
4 |
DISTVERSIONPREFIX= v |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 1.6.2 |
5 |
DISTVERSION= 1.6.2 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
8 |
|
8 |
|
9 |
MAINTAINER= freebsd@sebastiansteinmetz.ch |
9 |
MAINTAINER= freebsd@sebastiansteinmetz.ch |
Lines 19-24
Link Here
|
19 |
GH_ACCOUNT= strukturag |
19 |
GH_ACCOUNT= strukturag |
20 |
GH_PROJECT= libheif |
20 |
GH_PROJECT= libheif |
21 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
|
|
22 |
CONFIGURE_ARGS= --disable-go |
22 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
23 |
SHEBANG_GLOB= *.sh |
24 |
SHEBANG_GLOB= *.sh |
24 |
INSTALL_TARGET= install-strip |
25 |
INSTALL_TARGET= install-strip |
Lines 31-37
Link Here
|
31 |
LIBDE265_DESC= Use libde265 (support for HEVC decoding) |
32 |
LIBDE265_DESC= Use libde265 (support for HEVC decoding) |
32 |
X265_DESC= Use x265 (support for HEVC encoding) |
33 |
X265_DESC= Use x265 (support for HEVC encoding) |
33 |
|
34 |
|
|
|
35 |
JPEG_USES= jpeg |
36 |
LIBDE265_LIB_DEPENDS= libde265.so:multimedia/libde265 |
37 |
PNG_LIB_DEPENDS= libpng.so:graphics/png |
34 |
THREADS_CONFIGURE_OFF= --disable-multithreading |
38 |
THREADS_CONFIGURE_OFF= --disable-multithreading |
|
|
39 |
X265_LIB_DEPENDS= libx265.so:multimedia/x265 |
35 |
|
40 |
|
36 |
.include <bsd.port.options.mk> |
41 |
.include <bsd.port.options.mk> |
37 |
|
42 |
|
Lines 40-62
Link Here
|
40 |
LICENSE_COMB= multi |
45 |
LICENSE_COMB= multi |
41 |
LICENSE_FILE_GPLv3+ = ${WRKSRC}/examples/COPYING |
46 |
LICENSE_FILE_GPLv3+ = ${WRKSRC}/examples/COPYING |
42 |
USES+= shared-mime-info |
47 |
USES+= shared-mime-info |
43 |
CONFIGURE_ARGS+= --disable-go |
|
|
44 |
.endif |
48 |
.endif |
45 |
|
49 |
|
46 |
.if ${PORT_OPTIONS:MJPEG} |
50 |
post-patch-JPEG-off: |
47 |
USES+= jpeg |
51 |
@${REINPLACE_CMD} -e '/AC_CHECK_/ s|jpeg|ignore&|g' ${WRKSRC}/configure.ac |
48 |
.endif |
|
|
49 |
|
52 |
|
50 |
.if ${PORT_OPTIONS:MLIBDE265} |
53 |
post-patch-LIBDE265-off: |
51 |
LIB_DEPENDS+= libde265.so:multimedia/libde265 |
54 |
@${REINPLACE_CMD} -e '/PKG_CHECK_MODULES/ s|libde265|ignore&|g' ${WRKSRC}/configure.ac |
52 |
.endif |
|
|
53 |
|
55 |
|
54 |
.if ${PORT_OPTIONS:MPNG} |
56 |
post-patch-PNG-off: |
55 |
LIB_DEPENDS+= libpng.so:graphics/png |
57 |
@${REINPLACE_CMD} -e '/PKG_CHECK_MODULES/ s|png|ignore&|g' ${WRKSRC}/configure.ac |
56 |
.endif |
|
|
57 |
|
58 |
|
58 |
.if ${PORT_OPTIONS:MX265} |
59 |
post-patch-X265-off: |
59 |
LIB_DEPENDS+= libx265.so:multimedia/x265 |
60 |
@${REINPLACE_CMD} -e '/PKG_CHECK_MODULES/ s|x265|ignore&|g' ${WRKSRC}/configure.ac |
60 |
.endif |
|
|
61 |
|
61 |
|
62 |
.include <bsd.port.mk> |
62 |
.include <bsd.port.mk> |