[Midnightbsd-cvs] mports: mports/audio: remove liba52-devel
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Feb 28 12:35:51 EST 2008
Log Message:
-----------
remove liba52-devel
Modified Files:
--------------
mports/audio:
Makefile (r1.60 -> r1.61)
Removed Files:
-------------
mports/audio/liba52-devel:
Makefile
distinfo
pkg-descr
pkg-plist
mports/audio/liba52-devel/files:
Makefile
liba52-devel.la
patch-a52.h
patch-a52_internal.h
patch-imdct.c
patch-resample.c
-------------- next part --------------
--- audio/liba52-devel/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-[ from developer's site ]
-It is a free library for decoding ATSC A/52 streams, aka AC-3. The
-A/52 standard is used in a variety of applications, e.g., digital
-television and DVD. The main goals in liba52 development are:
-
-Portability - most of the code is written in C, and when we use
-platform-specific optimizations we always have a generic C routine
-to fall back on.
-
-Reuseability - we do not want liba52 to include any project-specific
-code, but it should still include enough features to be used by
-very diverse projects.
-
-Precision - We are trying to implement all of the A/52 standard,
-and to have a very precise output by doing all the calculations in
-floating point. We have a test suite that detects any deviation in
-the output when compared to previous versions. We do not have access
-to official A/52 test vectors though, so we have to use our judgement
-to ensure that such deviations are only introduced when we fix bugs!
-
-Speed - liba52 is really fast, on any modern PC it should take only
-a few percent of CPU time.
-
-WWW: http://www.mplayerhq.hu/
--- audio/liba52-devel/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-include/a52dec-devel/a52.h
-include/a52dec-devel/a52_internal.h
-include/a52dec-devel/a52_util.h
-include/a52dec-devel/mm_accel.h
-lib/liba52-devel.a
-lib/liba52-devel.la
-lib/liba52-devel.so
-lib/liba52-devel.so.%%LIB_VERSION%%
-lib/liba52-devel_p.a
- at dirrm include/a52dec-devel
--- audio/liba52-devel/Makefile
+++ /dev/null
@@ -1,97 +0,0 @@
-# New ports collection makefile for: liba52-devel
-# Date created: Mon Oct 17 02:22:44 UTC 2005
-# Whom: Mario Sergio Fujikawa Ferreira <lioux at FreeBSD.org>
-#
-# $MidnightBSD: mports/audio/liba52-devel/Makefile,v 1.2 2007/08/07 04:40:15 ctriv Exp $
-# $FreeBSD: ports/audio/liba52-devel/Makefile,v 1.20 2006/06/24 05:37:54 linimon Exp $
-#
-
-PORTNAME= liba52
-PORTVERSION= 0.7.4.${DISTFILE_DATE}
-CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= lioux
-PKGNAMESUFFIX= -devel
-DISTNAME= FFMpeg-${DISTFILE_DATE}
-
-MAINTAINER= ports at MidnightBSD.org
-COMMENT= A free library for decoding ATSC A/52 streams, aka AC-3
-
-OPTIONS= DJBFFT "Adds support for fast djbfft fft library" ON \
- OPTIMIZED_CFLAGS "Enable extra performance optimizations" OFF
-
-USE_BZIP2= yes
-MAKE_ARGS= LIB_VERSION="${LIB_VERSION}" PREFIX="${PREFIX}"
-USE_LDCONFIG= yes
-
-# We want DESTDIR=$FAKE_DESTDIR$PREFIX/ when it is all said and done.
-DESTDIRNAME= NOTUSED
-FAKE_MAKEARGS+= DESTDIR=${FAKE_DESTDIR}${PREFIX}/ ${MAKE_ARGS}
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/libavcodec/liba52
-
-LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
-PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
-
-DISTFILE_DATE= 2005112800
-LIB_VERSION= 0
-
-post-extract:
- @${CP} ${FILESDIR}/${MAKEFILE} ${BUILD_WRKSRC}
-
-post-configure:
- @${SED} -E \
- -e 's|/usr/local/|${PREFIX}/|' \
- -e 's|%%LIB_VERSION%%|${LIB_VERSION}|' \
- -e 's|%%DJBFFT%%|${DJBFFT_LIBRARY}|' \
- -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
- -e 's|%%PREFIX%%|${PREFIX}|' \
- ${FILESDIR}/liba52-devel.la > \
- ${WRKDIR}/liba52-devel.la
-
-pre-install:
- @${MKDIR} ${PREFIX}/include/a52dec-devel
-
-post-install:
- @${INSTALL_DATA} ${WRKDIR}/liba52-devel.la \
- ${PREFIX}/lib
-
-.include <bsd.port.pre.mk>
-
-###
-## specific ARCH information
-###
-.if ${ARCH} == "ia64"
-BROKEN= does not build on ia64
-.endif
-.if ${ARCH} == "i386" || ${ARCH} == "ia64"
-CFLAGS+= -DARCH_X86
-. if ${ARCH} == "ia64" || ${ARCH} == "amd64"
-CFLAGS+= -DARCH_X86_64
-. endif
-.endif
-## sse hardware vector support
-.if (defined(MACHINE_CPU) && ${MACHINE_CPU:Msse} == "sse")
-CFLAGS+= -DHAVE_SSE
-.endif
-
-###
-## library dependency
-###
-.if !defined(WITHOUT_DJBFFT) && !defined(PACKAGE_BUILDING)
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft
-RUN_DEPENDS+= ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft
-
-CFLAGS+= -DLIBA52_DJBFFT -I${LOCALBASE}/include
-
-DJBFFT_LIBRARY= -ldjbfft
-.endif
-
-###
-## optimizations
-###
-.ifdef(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+= -O3 -ffast-math
-.endif
-
-.include <bsd.port.post.mk>
--- audio/liba52-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (FFMpeg-2005112800.tar.bz2) = c3c960816c75f640a93662961ba7f15f
-SHA256 (FFMpeg-2005112800.tar.bz2) = 7754ca22c545a8ecf5f9bb47a7fed0cbf918718e415caf40eb12ee84ec1655e9
-SIZE (FFMpeg-2005112800.tar.bz2) = 1694390
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/audio/Makefile,v
retrieving revision 1.60
retrieving revision 1.61
diff -L audio/Makefile -L audio/Makefile -u -r1.60 -r1.61
--- audio/Makefile
+++ audio/Makefile
@@ -38,7 +38,6 @@
SUBDIR += ladspa
SUBDIR += lame
SUBDIR += liba52
- SUBDIR += liba52-devel
SUBDIR += libao
SUBDIR += libaudiofile
SUBDIR += libcdaudio
--- audio/liba52-devel/files/liba52-devel.la
+++ /dev/null
@@ -1,28 +0,0 @@
-# liba52-devel.la - a libtool library file
-# Generated by ltmain.sh - GNU libtool 1.3.5-freebsd-ports (1.385.2.206 2000/05/27 11:12:27)
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname=''
-
-# Names of this library.
-library_names='liba52-devel.so.%%LIB_VERSION%% liba52-devel.so'
-
-# The name of the static archive.
-old_library='liba52-devel.a'
-
-# Libraries that this one depends upon.
-dependency_libs=' -L%%LOCALBASE%%/lib %%DJBFFT%% -lm'
-
-# Version information for liba52-devel.
-current=0
-age=0
-revision=0
-
-# Is this an already installed library?
-installed=yes
-
-# Directory that this library needs to be installed in:
-libdir='%%PREFIX%%/lib'
--- audio/liba52-devel/files/patch-a52_internal.h
+++ /dev/null
@@ -1,33 +0,0 @@
---- a52_internal.h.orig Sun Dec 11 01:58:58 2005
-+++ a52_internal.h Sun Dec 11 02:47:04 2005
-@@ -21,6 +21,15 @@
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-+#ifndef __LIBA52__52_internal_h__
-+# define __LIBA52__52_internal_h__
-+
-+#include <inttypes.h>
-+
-+#ifndef NULL
-+# define NULL 0
-+#endif
-+
- typedef struct {
- uint8_t bai; /* fine SNR offset, fast gain */
- uint8_t deltbae; /* delta bit allocation exists */
-@@ -87,6 +96,8 @@
- int downmixed;
- };
-
-+typedef struct a52_state_s a52_state_t;
-+
- #define LEVEL_PLUS6DB 2.0
- #define LEVEL_PLUS3DB 1.4142135623730951
- #define LEVEL_3DB 0.7071067811865476
-@@ -160,3 +171,5 @@
- #define BIAS(x) (x)
-
- #endif
-+
-+#endif /* __LIBA52__52_internal_h__ */
--- audio/liba52-devel/files/patch-resample.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- resample.c.orig Mon Nov 3 16:06:32 2003
-+++ resample.c Sun Dec 11 03:27:20 2005
-@@ -6,7 +6,6 @@
-
- #include "a52.h"
- #include "mm_accel.h"
--#include "config.h"
- #include "../libpostproc/mangle.h"
-
- int (* a52_resample) (float * _f, int16_t * s16)=NULL;
-@@ -14,6 +13,7 @@
- #include "resample_c.c"
-
- #ifdef ARCH_X86
-+#include "../../libavutil/common.h"
- #include "resample_mmx.c"
- #endif
-
-@@ -24,7 +24,6 @@
- if(mm_accel&MM_ACCEL_X86_MMX){
- tmp=a52_resample_MMX(flags,chans);
- if(tmp){
-- if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "Using MMX optimized resampler\n");
- a52_resample=tmp;
- return tmp;
- }
-@@ -33,11 +32,9 @@
-
- tmp=a52_resample_C(flags,chans);
- if(tmp){
-- if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "No accelerated resampler found\n");
- a52_resample=tmp;
- return tmp;
- }
-
-- av_log(NULL, AV_LOG_ERROR, "Unimplemented resampler for mode 0x%X -> %d channels conversion - Contact MPlayer developers!\n", flags, chans);
- return NULL;
- }
--- audio/liba52-devel/files/patch-a52.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- a52.h.orig Sun Dec 11 01:57:32 2005
-+++ a52.h Sun Dec 11 02:42:30 2005
-@@ -24,11 +24,7 @@
- #ifndef A52_H
- #define A52_H
-
--#include "../avcodec.h"
--
--#undef malloc
--#undef free
--#undef realloc
-+#include <inttypes.h>
-
- #if defined(LIBA52_FIXED)
- typedef int32_t sample_t;
-@@ -41,7 +37,7 @@
- typedef float level_t;
- #endif
-
--typedef struct a52_state_s a52_state_t;
-+#include "a52_internal.h"
-
- #define A52_CHANNEL 0
- #define A52_MONO 1
--- audio/liba52-devel/files/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-# $FreeBSD: ports/audio/liba52-devel/files/Makefile,v 1.1 2005/12/12 18:47:49 lioux Exp $
-# $MidnightBSD: mports/audio/liba52-devel/files/Makefile,v 1.2 2007/08/07 04:40:16 ctriv Exp $
-
-LIB= a52-devel
-SHLIB_MAJOR= ${LIB_VERSION}
-SHLIB_MINOR= 0
-CFLAGS+= -I${.CURDIR}
-
-SRCS= bit_allocate.c bitstream.c crc.c downmix.c imdct.c parse.c \
- resample.c
-INCS= a52.h a52_internal.h a52_util.h mm_accel.h
-
-# idea taken from port security/libparanoia
-# hacks around <bsd.lib.mk>, which ignores PREFIX
-DESTDIR= ${PREFIX}/
-INCSDIR= include/a52dec-devel/
-LIBDIR= lib/
-
-.include <bsd.lib.mk>
--- audio/liba52-devel/files/patch-imdct.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- imdct.c.orig Sun Aug 24 10:57:20 2003
-+++ imdct.c Sun Dec 11 03:24:14 2005
-@@ -24,6 +24,12 @@
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-+#include <math.h>
-+
-+#ifdef LIBA52_DJBFFT
-+#include <djbfft/fftc4.h>
-+#endif
-+
- #include "a52.h"
- #include "a52_internal.h"
- #include "mm_accel.h"
More information about the Midnightbsd-cvs
mailing list