summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-09-23 09:38:24 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-09-23 09:38:24 +0000
commit425580d811c2c3f1f2e5a3ce394d0c3c7117a224 (patch)
treebd715c23ebe395ca7c3fe799bb51e94131325684 /graphics
parent- Update kernel-headers to 2.6.32-754.22.1.el6. (diff)
- Switch to USES=localbase
- Pet portlint - Update WWW Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=512619
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libbpg/Makefile19
-rw-r--r--graphics/libbpg/pkg-descr2
2 files changed, 12 insertions, 9 deletions
diff --git a/graphics/libbpg/Makefile b/graphics/libbpg/Makefile
index 014b6f064422..37a66908840d 100644
--- a/graphics/libbpg/Makefile
+++ b/graphics/libbpg/Makefile
@@ -15,22 +15,25 @@ 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
diff --git a/graphics/libbpg/pkg-descr b/graphics/libbpg/pkg-descr
index c1ebe7d20a2d..c7e37ceed73d 100644
--- a/graphics/libbpg/pkg-descr
+++ b/graphics/libbpg/pkg-descr
@@ -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/