Index: head/audio/opusfile/Makefile =================================================================== --- head/audio/opusfile/Makefile (revision 547891) +++ head/audio/opusfile/Makefile (revision 547892) @@ -1,59 +1,50 @@ # $FreeBSD$ PORTNAME= opusfile -PORTVERSION= 0.10 +PORTVERSION= 0.12 CATEGORIES= audio -MASTER_SITES= http://downloads.xiph.org/releases/opus/ \ - MOZILLA/opus +MASTER_SITES= https://downloads.xiph.org/releases/opus/ MAINTAINER= liangtai.s16@gmail.com COMMENT= Opus playback library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libogg.so:audio/libogg \ libopus.so:audio/opus -USES= autoreconf gmake libtool pathfix pkgconfig ssl +USES= autoreconf libtool pathfix pkgconfig ssl USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes PATHFIX_MAKEFILEIN= Makefile.am PORTDOCS= AUTHORS README.md OPTIONS_DEFINE= DOXYGEN DOCS OPTIONS_DEFAULT= # empty DOXYGEN_CONFIGURE_ENABLE= doc DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen CONFIGURE_ARGS+= --disable-examples INSTALL_TARGET= install-strip .include .if ${SSL_DEFAULT} == base EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure.ac pre-patch: @${GREP} -l '@openssl@' ${WRKSRC}/opusurl.pc.in | \ ${XARGS} ${REINPLACE_CMD} -e 's| @openssl@||' .endif - -post-patch: - @${GREP} -l 'AC_SEARCH_LIBS(ftime' ${WRKSRC}/configure.ac | \ - ${XARGS} ${REINPLACE_CMD} -e '/ftime/d' - @${GREP} -L 'src/ftime.c' ${WRKSRC}/Makefile.am | \ - ${XARGS} ${REINPLACE_CMD} -e '/dist_doc_DATA/s/COPYING//' \ - -e '/libopusurl_la_SOURCES/s|= \(src/http\.c\)|= src/ftime.c \1|' - @${CP} ${FILESDIR}/ftime.c ${WRKSRC}/src/ post-install-DOXYGEN-on: @${RM} ${WRKDIR}/PLIST.doc ; \ ${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \ ${SED} 's|${STAGEDIR}${PREFIX}/||' \ >> ${WRKDIR}/PLIST.doc ; \ (cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST}) .include Index: head/audio/opusfile/distinfo =================================================================== --- head/audio/opusfile/distinfo (revision 547891) +++ head/audio/opusfile/distinfo (revision 547892) @@ -1,3 +1,3 @@ -TIMESTAMP = 1511825676 -SHA256 (opusfile-0.10.tar.gz) = 48e03526ba87ef9cf5f1c47b5ebe3aa195bd89b912a57060c36184a6cd19412f -SIZE (opusfile-0.10.tar.gz) = 467700 +TIMESTAMP = 1594653904 +SHA256 (opusfile-0.12.tar.gz) = 118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b +SIZE (opusfile-0.12.tar.gz) = 471354 Index: head/audio/opusfile/files/ftime.c =================================================================== --- head/audio/opusfile/files/ftime.c (revision 547891) +++ head/audio/opusfile/files/ftime.c (nonexistent) @@ -1,53 +0,0 @@ -/* - * Copyright (c) 1994 Christopher G. Demetriou - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Christopher G. Demetriou. - * 4. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef lint -static char rcsid[] = "$FreeBSD$"; -#endif /* not lint */ - -#include -#include -#include - -int -ftime(struct timeb *tbp) -{ - struct timezone tz; - struct timeval t; - - if (gettimeofday(&t, &tz) < 0) - return (-1); - tbp->millitm = t.tv_usec / 1000; - tbp->time = t.tv_sec; - tbp->timezone = tz.tz_minuteswest; - tbp->dstflag = tz.tz_dsttime; - - return (0); -} Property changes on: head/audio/opusfile/files/ftime.c ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/opusfile/pkg-descr =================================================================== --- head/audio/opusfile/pkg-descr (revision 547891) +++ head/audio/opusfile/pkg-descr (revision 547892) @@ -1,3 +1,3 @@ Library for decoding .opus files, including seeking support. -WWW: https://www.opus-codec.org/ +WWW: https://opus-codec.org/ Index: head/audio/opusfile/pkg-plist =================================================================== --- head/audio/opusfile/pkg-plist (revision 547891) +++ head/audio/opusfile/pkg-plist (revision 547892) @@ -1,12 +1,12 @@ include/opus/opusfile.h lib/libopusfile.a lib/libopusfile.so lib/libopusfile.so.0 -lib/libopusfile.so.0.4.3 +lib/libopusfile.so.0.4.5 lib/libopusurl.a lib/libopusurl.so lib/libopusurl.so.0 -lib/libopusurl.so.0.4.3 +lib/libopusurl.so.0.4.5 libdata/pkgconfig/opusfile.pc libdata/pkgconfig/opusurl.pc @comment Insert PLIST.doc here