diff --git a/graphics/simage/Makefile b/graphics/simage/Makefile index ad791090d75e..6116dc8f5670 100644 --- a/graphics/simage/Makefile +++ b/graphics/simage/Makefile @@ -1,32 +1,40 @@ PORTNAME= simage -PORTVERSION= 1.7.0 -PORTREVISION= 12 +DISTVERSION= 1.8.4 CATEGORIES= graphics -MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/ +MASTER_SITES= https://github.com/coin3d/${PORTNAME}/releases/download/v${DISTVERSION}/ +DISTNAME= ${PORTNAME}-${DISTVERSION}-src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= florianmarx@free.fr COMMENT= Library with image format loaders and front-ends -WWW= https://bitbucket.org/Coin3D/coin/wiki/Home +WWW= https://github.com/coin3d/simage/ -LICENSE= MIT unknown -LICENSE_COMB= dual -LICENSE_NAME_unknown= mpeg2enc -LICENSE_TEXT_unknown= ${FILESDIR}/LICENSE.mpeg2enc -LICENSE_PERMS_unknown= no-dist-sell no-pkg-sell +LICENSE= ISC MPEG2ENC +LICENSE_COMB= multi +LICENSE_NAME_ISC= ISC License +LICENSE_NAME_MPEG2ENC= mpeg2enc license +LICENSE_FILE_ISC= ${WRKSRC}/LICENSE +LICENSE_FILE_MPEG2ENC= ${WRKSRC}/LICENSE.mpeg2enc +LICENSE_PERMS_ISC= dist-mirror dist-sell pkg-mirror pkg-sell +LICENSE_PERMS_MPEG2ENC= no-dist-sell no-pkg-sell LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ - libjasper.so:graphics/jasper \ + libFLAC.so:audio/flac \ + libogg.so:audio/libogg \ + libopus.so:audio/opus \ + libzstd.so:archivers/zstd \ libgif.so:graphics/giflib \ - libpng.so:graphics/png + libpng.so:graphics/png \ + libtiff.so:graphics/tiff \ + libjasper.so:graphics/jasper -USES= jpeg libtool pathfix -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-mpeg2enc -INSTALL_TARGET= install-strip +USES= cmake jpeg localbase:ldflags USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CMAKE_ON= SIMAGE_MPEG2ENC_SUPPORT + +WRKSRC= ${WRKDIR}/${PORTNAME} + +PLIST_SUB= VERSION="${DISTVERSION}" .include diff --git a/graphics/simage/distinfo b/graphics/simage/distinfo index f837f282b9b2..009e90f1006a 100644 --- a/graphics/simage/distinfo +++ b/graphics/simage/distinfo @@ -1,2 +1,3 @@ -SHA256 (simage-1.7.0.tar.gz) = c9a0c43e45f825c46941789f5a8f6c3b61da5ac87e4088cb611ac0fead494def -SIZE (simage-1.7.0.tar.gz) = 752602 +TIMESTAMP = 1767287602 +SHA256 (simage-1.8.4-src.tar.gz) = b2bdc665cbe43036c29a479a0560a3c34697b25fad3a20ef49b240b1ac5f2956 +SIZE (simage-1.8.4-src.tar.gz) = 6798392 diff --git a/graphics/simage/files/LICENSE.mpeg2enc b/graphics/simage/files/LICENSE.mpeg2enc deleted file mode 100644 index 7185245dd9f8..000000000000 --- a/graphics/simage/files/LICENSE.mpeg2enc +++ /dev/null @@ -1,56 +0,0 @@ -Copyright (C) 1996, MPEG Software Simulation Group. All Rights Reserved. - - -Disclaimer of Warranty - -These software programs are available to the user without any license fee or -royalty on an "as is" basis. The MPEG Software Simulation Group disclaims -any and all warranties, whether express, implied, or statuary, including any -implied warranties or merchantability or of fitness for a particular -purpose. In no event shall the copyright-holder be liable for any -incidental, punitive, or consequential damages of any kind whatsoever -arising from the use of these programs. - -This disclaimer of warranty extends to the user of these programs and user's -customers, employees, agents, transferees, successors, and assigns. - -The MPEG Software Simulation Group does not represent or warrant that the -programs furnished hereunder are free of infringement of any third-party -patents. - -Commercial implementations of MPEG-1 and MPEG-2 video, including shareware, -are subject to royalty fees to patent holders. Many of these patents are -general enough such that they are unavoidable regardless of implementation -design. - -Please visit MPEGLA at http://www.mpegla.com/ for more information about -licensing. - -Copyright (C) 1996, MPEG Software Simulation Group. All Rights Reserved. - - -Disclaimer of Warranty - -These software programs are available to the user without any license fee or -royalty on an "as is" basis. The MPEG Software Simulation Group disclaims -any and all warranties, whether express, implied, or statuary, including any -implied warranties or merchantability or of fitness for a particular -purpose. In no event shall the copyright-holder be liable for any -incidental, punitive, or consequential damages of any kind whatsoever -arising from the use of these programs. - -This disclaimer of warranty extends to the user of these programs and user's -customers, employees, agents, transferees, successors, and assigns. - -The MPEG Software Simulation Group does not represent or warrant that the -programs furnished hereunder are free of infringement of any third-party -patents. - -Commercial implementations of MPEG-1 and MPEG-2 video, including shareware, -are subject to royalty fees to patent holders. Many of these patents are -general enough such that they are unavoidable regardless of implementation -design. - -Please visit MPEGLA at http://www.mpegla.com/ for more information about -licensing. - diff --git a/graphics/simage/files/patch-simage_png.c b/graphics/simage/files/patch-simage_png.c deleted file mode 100644 index b0dc15caad22..000000000000 --- a/graphics/simage/files/patch-simage_png.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/simage_png.c.orig 2010-02-26 16:47:31.000000000 +0100 -+++ src/simage_png.c 2012-05-05 07:44:14.000000000 +0200 -@@ -323,7 +323,7 @@ - /* Set error handling. REQUIRED if you aren't supplying your own - * error hadnling functions in the png_create_write_struct() call. - */ -- if (setjmp(png_ptr->jmpbuf)) { -+ if (setjmp(png_jmpbuf(png_ptr))) { - /* If we get here, we had a problem reading the file */ - fclose(fp); - png_destroy_write_struct(&png_ptr, (png_infopp)info_ptr); diff --git a/graphics/simage/pkg-plist b/graphics/simage/pkg-plist index 7f57ae146661..a937381bf0b9 100644 --- a/graphics/simage/pkg-plist +++ b/graphics/simage/pkg-plist @@ -1,8 +1,11 @@ bin/simage-config include/simage.h +lib/cmake/simage-%%VERSION%%/simage-config-version.cmake +lib/cmake/simage-%%VERSION%%/simage-config.cmake +lib/cmake/simage-%%VERSION%%/simage-export-release.cmake +lib/cmake/simage-%%VERSION%%/simage-export.cmake lib/libsimage.so lib/libsimage.so.20 -lib/libsimage.so.20.7.0 +lib/libsimage.so.20.8.4 libdata/pkgconfig/simage.pc share/Coin/conf/simage-default.cfg -share/aclocal/simage.m4