pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics Add charls version 2.2.0 to pkgsrc



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52f60bc4795a
branches:  trunk
changeset: 446871:52f60bc4795a
user:      nros <nros%pkgsrc.org@localhost>
date:      Sun Feb 14 11:51:57 2021 +0000

description:
Add charls version 2.2.0 to pkgsrc

charls is a bsd licensed jpeg-ls library

diffstat:

 graphics/Makefile             |   3 ++-
 graphics/charls/DESCR         |   4 ++++
 graphics/charls/Makefile      |  25 +++++++++++++++++++++++++
 graphics/charls/PLIST         |  15 +++++++++++++++
 graphics/charls/buildlink3.mk |  12 ++++++++++++
 graphics/charls/distinfo      |   6 ++++++
 6 files changed, 64 insertions(+), 1 deletions(-)

diffs (99 lines):

diff -r a695b57ce468 -r 52f60bc4795a graphics/Makefile
--- a/graphics/Makefile Sun Feb 14 11:51:46 2021 +0000
+++ b/graphics/Makefile Sun Feb 14 11:51:57 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.924 2021/02/14 11:33:41 leot Exp $
+# $NetBSD: Makefile,v 1.925 2021/02/14 11:51:57 nros Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -72,6 +72,7 @@
 SUBDIR+=       camediaplay
 SUBDIR+=       camlimages
 SUBDIR+=       cdlabelgen
+SUBDIR+=       charls
 SUBDIR+=       cheese
 SUBDIR+=       cinepaint
 SUBDIR+=       circos
diff -r a695b57ce468 -r 52f60bc4795a graphics/charls/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/charls/DESCR     Sun Feb 14 11:51:57 2021 +0000
@@ -0,0 +1,4 @@
+CharLS is a C++ implementation of the JPEG-LS standard for lossless and
+near-lossless image compression and decompression.
+JPEG-LS is a low-complexity image compression standard that matches
+JPEG 2000 compression ratios.
diff -r a695b57ce468 -r 52f60bc4795a graphics/charls/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/charls/Makefile  Sun Feb 14 11:51:57 2021 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2021/02/14 11:51:57 nros Exp $
+
+GITHUB_PROJECT=        charls
+GITHUB_TAG=    2.2.0
+DISTNAME=      2.2.0
+PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=team-charls/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/team-charls/charls/
+COMMENT=       Jpeg-ls codec library
+LICENSE=       modified-bsd
+
+WRKSRC=                ${WRKDIR}/charls-2.2.0
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS:BOOL=ON
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
+
+PKGCONFIG_OVERRIDE=    src/charls-template.pc
+
+.include "../../mk/bsd.pkg.mk"
diff -r a695b57ce468 -r 52f60bc4795a graphics/charls/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/charls/PLIST     Sun Feb 14 11:51:57 2021 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/14 11:51:57 nros Exp $
+include/charls/annotations.h
+include/charls/api_abi.h
+include/charls/charls.h
+include/charls/charls_jpegls_decoder.h
+include/charls/charls_jpegls_encoder.h
+include/charls/jpegls_error.h
+include/charls/public_types.h
+include/charls/version.h
+lib/cmake/charls/charlsConfig-release.cmake
+lib/cmake/charls/charlsConfig.cmake
+lib/libcharls.so
+lib/libcharls.so.2
+lib/libcharls.so.${PKGVERSION}
+lib/pkgconfig/charls.pc
diff -r a695b57ce468 -r 52f60bc4795a graphics/charls/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/charls/buildlink3.mk     Sun Feb 14 11:51:57 2021 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/02/14 11:51:57 nros Exp $
+
+BUILDLINK_TREE+=       charls
+
+.if !defined(CHARLS_BUILDLINK3_MK)
+CHARLS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.charls+= charls>=2.2.0
+BUILDLINK_PKGSRCDIR.charls?=   ../../graphics/charls
+.endif # CHARLS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -charls
diff -r a695b57ce468 -r 52f60bc4795a graphics/charls/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/charls/distinfo  Sun Feb 14 11:51:57 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/14 11:51:57 nros Exp $
+
+SHA1 (charls/2.2.0.tar.gz) = 7824c230d5b8a1de33f1c9c2177b1640c26d74ef
+RMD160 (charls/2.2.0.tar.gz) = 2150d6ece8a61ed8cc62aaf665d4cd5a4ab47a2d
+SHA512 (charls/2.2.0.tar.gz) = 387293f89bc30b50a59de7d5af23d0047bcdba89bd48cdb81e0437adabbfc9e19e135749129334a9db5c3ae5ad0c75b489e6e6545ee0c8134fc432153413793e
+Size (charls/2.2.0.tar.gz) = 9827594 bytes



Home | Main Index | Thread Index | Old Index