pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libdca libdca: updated to 0.0.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ac315600a9d
branches:  trunk
changeset: 308458:8ac315600a9d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 23 17:45:23 2018 +0000

description:
libdca: updated to 0.0.6

libdca-0.0.6:
New release with mostly build system bugfixes.

diffstat:

 audio/libdca/Makefile                   |  31 ++++++++++++-------------------
 audio/libdca/distinfo                   |  14 +++++++-------
 audio/libdca/patches/patch-ab           |  15 ---------------
 audio/libdca/patches/patch-configure    |  15 +++++++++++++++
 audio/libdca/patches/patch-dtsdec       |  15 ---------------
 audio/libdca/patches/patch-src_dcadec.c |  25 +++++++++++++++++++++++++
 6 files changed, 59 insertions(+), 56 deletions(-)

diffs (152 lines):

diff -r 82fcde9ab17d -r 8ac315600a9d audio/libdca/Makefile
--- a/audio/libdca/Makefile     Wed May 23 17:26:46 2018 +0000
+++ b/audio/libdca/Makefile     Wed May 23 17:45:23 2018 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2015/01/27 00:36:22 jperkin Exp $
-#
+# $NetBSD: Makefile,v 1.13 2018/05/23 17:45:23 adam Exp $
 
-DISTNAME=      libdca-0.0.5
+DISTNAME=      libdca-0.0.6
 CATEGORIES=    audio
-MASTER_SITES=  http://download.videolan.org/pub/videolan/libdca/0.0.5/
+MASTER_SITES=  http://download.videolan.org/pub/videolan/libdca/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    shattered%NetBSD.org@localhost
@@ -11,21 +10,15 @@
 COMMENT=       DTS Coherent Acoustics decoder
 LICENSE=       gnu-gpl-v2
 
-RESTRICTED=    Unresolved patent issue
-NO_BIN_ON_CDROM=${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_CDROM=${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
+USE_LANGUAGES=         c99
+USE_LIBTOOL=           yes
+USE_TOOLS+=            pkg-config
+GNU_CONFIGURE=         yes
 
-GNU_CONFIGURE= yes
-USE_TOOLS+=    pkg-config
-USE_LIBTOOL=   yes
-
-.include "../../mk/compiler.mk"
-
-# Avoid clang bugs resulting in "duplicate symbol ___sputc".
-.if !empty(PKGSRC_COMPILER:Mclang) && ${OPSYS} == "Darwin"
-CFLAGS+=       -std=gnu89
-.endif
+RESTRICTED=            Unresolved patent issue
+NO_BIN_ON_CDROM=       ${RESTRICTED}
+NO_BIN_ON_FTP=         ${RESTRICTED}
+NO_SRC_ON_CDROM=       ${RESTRICTED}
+NO_SRC_ON_FTP=         ${RESTRICTED}
 
 .include "../../mk/bsd.pkg.mk"
diff -r 82fcde9ab17d -r 8ac315600a9d audio/libdca/distinfo
--- a/audio/libdca/distinfo     Wed May 23 17:26:46 2018 +0000
+++ b/audio/libdca/distinfo     Wed May 23 17:45:23 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2017/03/23 17:06:46 joerg Exp $
+$NetBSD: distinfo,v 1.6 2018/05/23 17:45:23 adam Exp $
 
-SHA1 (libdca-0.0.5.tar.bz2) = 3fa5188eaaa2fc83fb9c4196f6695a23cb17f3bc
-RMD160 (libdca-0.0.5.tar.bz2) = 979ef56b7484e6542db035d03258f5fba63b9302
-SHA512 (libdca-0.0.5.tar.bz2) = d9f0ed34efeb3f27af8424fcb3e6df56744c6735854a65b5709c02b42b4513b9c4618dcc19eb44293afa051bd95616651bda5fc3b49dfabe975d0babfb1bc287
-Size (libdca-0.0.5.tar.bz2) = 393291 bytes
-SHA1 (patch-ab) = 7c736fec06ec3ed15bf7c2a4bb5d096469cfce8b
-SHA1 (patch-dtsdec) = 536268aa4009a3a0816ae2442e1be0f81233b0d1
+SHA1 (libdca-0.0.6.tar.bz2) = d292ddb7b4d60c90274f9f0398fa61df0df9442c
+RMD160 (libdca-0.0.6.tar.bz2) = 9857d7b0379266d9400f271d6f8d788cfb2227ee
+SHA512 (libdca-0.0.6.tar.bz2) = d264128019e7fd295a35691636311f81960c17802dbbc67764c4e00b2fdf12ebc69b057a4947b57551a130e5cfd1fef3fe3558c7067216ea04a0b6bbb881b4f1
+Size (libdca-0.0.6.tar.bz2) = 454121 bytes
+SHA1 (patch-configure) = 334d86745a5ef3c6077b0c2f65198632181d35d5
+SHA1 (patch-src_dcadec.c) = c60d59d5ed66c3525cbb1d92e02c3553b8a361b3
diff -r 82fcde9ab17d -r 8ac315600a9d audio/libdca/patches/patch-ab
--- a/audio/libdca/patches/patch-ab     Wed May 23 17:26:46 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2010/11/24 22:27:06 shattered Exp $
-
---- libao/audio_out_wav.c.orig 2007-04-10 12:07:05.000000000 +0000
-+++ libao/audio_out_wav.c
-@@ -163,8 +163,8 @@ static int wav_play (ao_instance_t * _in
-     union
-     {
-         float floats[256 * 6];
--        int16_t words[0];
--        int32_t dwords[0];
-+        int16_t words[1];
-+        int32_t dwords[1];
-     } ordered_samples;
-     int chans, size;
-     uint32_t speaker_flags;
diff -r 82fcde9ab17d -r 8ac315600a9d audio/libdca/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdca/patches/patch-configure      Wed May 23 17:45:23 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2018/05/23 17:45:23 adam Exp $
+
+Do not override compiler flags.
+
+--- configure.orig     2018-05-23 17:05:51.000000000 +0000
++++ configure
+@@ -4685,7 +4685,7 @@ fi
+ 
+ 
+ 
+-if test x"$GCC" = x"yes"; then
++if false; then
+ 
+ 
+             TRY_CFLAGS="$OPT_CFLAGS -Wall"
diff -r 82fcde9ab17d -r 8ac315600a9d audio/libdca/patches/patch-dtsdec
--- a/audio/libdca/patches/patch-dtsdec Wed May 23 17:26:46 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-dtsdec,v 1.2 2008/09/07 13:54:43 wiz Exp $
-
---- src/dcadec.c.orig  Mon Feb 23 23:30:49 2004
-+++ src/dcadec.c       Fri Jun  8 21:09:29 2007
-@@ -65,7 +65,9 @@
- {
-     sigint = 1;
-     signal (sig, SIG_DFL);
--    return (RETSIGTYPE)0;
-+    /* No return statement, since we cannot know whether the return
-+     * type is "void" or "int".
-+     */
- }
- 
- static void print_fps (int final)
diff -r 82fcde9ab17d -r 8ac315600a9d audio/libdca/patches/patch-src_dcadec.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdca/patches/patch-src_dcadec.c   Wed May 23 17:45:23 2018 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_dcadec.c,v 1.1 2018/05/23 17:45:23 adam Exp $
+
+No return statement, since we cannot know whether the return
+type is "void" or "int".
+
+Do not print debug info.
+
+--- src/dcadec.c.orig  2018-05-15 13:26:38.000000000 +0000
++++ src/dcadec.c
+@@ -66,7 +66,6 @@ static RETSIGTYPE signal_handler (int si
+ {
+     sigint = 1;
+     signal (sig, SIG_DFL);
+-    return (RETSIGTYPE)0;
+ }
+ 
+ static void print_fps (int final)
+@@ -273,7 +272,6 @@ static void dca_decode_data (uint8_t * s
+               length = dca_syncinfo (state, buf, &flags, &sample_rate,
+                                        &bit_rate, &frame_length);
+               if (!length) {
+-                  fprintf (stderr, "skip\n");
+                   for (bufptr = buf; bufptr < buf + HEADER_SIZE-1; bufptr++)
+                       bufptr[0] = bufptr[1];
+                   continue;



Home | Main Index | Thread Index | Old Index