svn commit: r512619 - head/graphics/libbpg
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Sep 23 09:38:25 UTC 2019
Author: amdmi3
Date: Mon Sep 23 09:38:24 2019
New Revision: 512619
URL: https://svnweb.freebsd.org/changeset/ports/512619
Log:
- Switch to USES=localbase
- Pet portlint
- Update WWW
Approved by: portmgr blanket
Modified:
head/graphics/libbpg/Makefile
head/graphics/libbpg/pkg-descr
Modified: head/graphics/libbpg/Makefile
==============================================================================
--- head/graphics/libbpg/Makefile Mon Sep 23 09:17:37 2019 (r512618)
+++ head/graphics/libbpg/Makefile Mon Sep 23 09:38:24 2019 (r512619)
@@ -15,21 +15,24 @@ LICENSE_COMB= multi
LIB_DEPENDS= libpng.so:graphics/png
+USES= compiler:c++11-lib gmake jpeg localbase:ldflags
+USE_LDCONFIG= yes
+
+CFLAGS+= -fPIC
+MAKE_ARGS+= X265_LIBS=${X265_LIBS}
+
OPTIONS_DEFINE= SDL JCTVC X265
OPTIONS_DEFAULT=SDL X265
OPTIONS_SUB= yes
-USE_LDCONFIG= yes
+JCTVC_DESC= Enable JCTVC (best quality but slow) for the encoder
+JCTVCHI_DESC= Use bit depths > 12 with JCTVC (experimental)
+
+SDL_USES= sdl
SDL_USE= SDL=image
+
X265_LIB_DEPENDS= libx265.so:multimedia/x265
X265_VARS= x265_libs=${PREFIX}/lib/libx265.so
-
-JCTVC_DESC= Enable JCTVC (best quality but slow) for the encoder
-JCTVCHI_DESC= Use bit depths > 12 with JCTVC (experimental)
-USES= compiler:c++11-lib gmake jpeg
-CFLAGS+= -fPIC -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-MAKE_ARGS+= X265_LIBS=${X265_LIBS}
do-configure-JCTVC-off:
${REINPLACE_CMD} -e 's/^USE_JCTVC=y$$/#USE_JCTVC=/' ${WRKSRC}/Makefile
Modified: head/graphics/libbpg/pkg-descr
==============================================================================
--- head/graphics/libbpg/pkg-descr Mon Sep 23 09:17:37 2019 (r512618)
+++ head/graphics/libbpg/pkg-descr Mon Sep 23 09:38:24 2019 (r512619)
@@ -14,4 +14,4 @@ main advantages are:
- Various metadata (such as EXIF, ICC profile, XMP) can be included.
- Animation support.
-WWW: http://bellard.org/bpg/
+WWW: https://bellard.org/bpg/
More information about the svn-ports-all
mailing list