aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdca
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-05-01 20:07:41 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-05-01 20:07:41 +0000
commitec270dcee197555021511e673812ec281c2a3a32 (patch)
tree83526f4ea3ccbabc5b141ba3c2eab9717b04a44c /multimedia/libdca
parent03a330d56321a935bc6e30a70ad5d1940b65a37c (diff)
downloadports-ec270dcee197555021511e673812ec281c2a3a32.tar.gz
ports-ec270dcee197555021511e673812ec281c2a3a32.zip
Notes
Diffstat (limited to 'multimedia/libdca')
-rw-r--r--multimedia/libdca/Makefile23
-rw-r--r--multimedia/libdca/distinfo6
-rw-r--r--multimedia/libdca/files/patch-libao-audio_out_oss.c24
-rw-r--r--multimedia/libdca/pkg-descr6
-rw-r--r--multimedia/libdca/pkg-plist9
5 files changed, 23 insertions, 45 deletions
diff --git a/multimedia/libdca/Makefile b/multimedia/libdca/Makefile
index fbaac4a2df07..40583f5c239d 100644
--- a/multimedia/libdca/Makefile
+++ b/multimedia/libdca/Makefile
@@ -5,26 +5,21 @@
# $FreeBSD$
#
-PORTNAME= libdts
-PORTVERSION= 0.0.2
-PORTREVISION= 2
+PORTNAME= libdca
+PORTVERSION= 0.0.5
CATEGORIES= multimedia
-MASTER_SITES= http://debian.unnet.nl/pub/videolan/libdts/${PORTVERSION}/ \
- http://download.videolan.org/pub/videolan/libdts/${PORTVERSION}/
+MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/
MAINTAINER= pav@FreeBSD.org
COMMENT= Free DTS Coherent Acoustics decoder
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --mandir=${PREFIX}/man
+USE_BZIP2= yes
USE_GNOME= pkgconfig gnomehack
+USE_LDCONFIG= yes
-MAN1= dtsdec.1 extract_dts.1
+MAN1= dcadec.1 extract_dca.1
+MLINKS= dcadec.1 dtsdec.1 extract_dca.1 extract_dts.1
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-post-patch:
- @${REINPLACE_CMD} -e 's|-ldts|-ldts_pic|' ${WRKSRC}/libdts/libdts.pc.in
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/libdca/distinfo b/multimedia/libdca/distinfo
index eb5c9fe7380a..e7b3c1d6f408 100644
--- a/multimedia/libdca/distinfo
+++ b/multimedia/libdca/distinfo
@@ -1,3 +1,3 @@
-MD5 (libdts-0.0.2.tar.gz) = a1c0dac95d7031498c2d19d7a3107469
-SHA256 (libdts-0.0.2.tar.gz) = ef552cedb9addd5c54a1d5adf49c2b5d6932606e7161443bd88a524a9a477595
-SIZE (libdts-0.0.2.tar.gz) = 295185
+MD5 (libdca-0.0.5.tar.bz2) = dab6b2795c66a82a6fcd4f8343343021
+SHA256 (libdca-0.0.5.tar.bz2) = dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642
+SIZE (libdca-0.0.5.tar.bz2) = 393291
diff --git a/multimedia/libdca/files/patch-libao-audio_out_oss.c b/multimedia/libdca/files/patch-libao-audio_out_oss.c
deleted file mode 100644
index b4141ec764c7..000000000000
--- a/multimedia/libdca/files/patch-libao-audio_out_oss.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- libao/audio_out_oss.c.orig Thu Feb 5 10:14:12 2004
-+++ libao/audio_out_oss.c Wed May 12 11:49:35 2004
-@@ -34,8 +34,9 @@
-
- #if defined(__OpenBSD__) || defined(__NetBSD__)
- #include <soundcard.h>
--#elif defined(__FreeBSD__)
--#include <machine/soundcard.h>
-+#else
-+#include <sys/soundcard.h>
-+#if defined(__FreeBSD__)
- #ifndef AFMT_S16_NE
- #include <machine/endian.h>
- #if BYTE_ORDER == LITTLE_ENDIAN
-@@ -44,8 +45,7 @@
- #define AFMT_S16_NE AFMT_S16_BE
- #endif
- #endif
--#else
--#include <sys/soundcard.h>
-+#endif
- #endif
-
- #if defined(__NetBSD__)
diff --git a/multimedia/libdca/pkg-descr b/multimedia/libdca/pkg-descr
index 38a135720c56..bf122c10a37e 100644
--- a/multimedia/libdca/pkg-descr
+++ b/multimedia/libdca/pkg-descr
@@ -1,5 +1,5 @@
-libdts is a free library for decoding DTS Coherent Acoustics streams.
+libdca is a free library for decoding DTS Coherent Acoustics streams.
-libdts is still in early development stage so don't expect too much from it.
+libdca is still in early development stage so don't expect too much from it.
-WWW: http://www.videolan.org/dtsdec.html
+WWW: http://www.videolan.org/developers/libdca.html
diff --git a/multimedia/libdca/pkg-plist b/multimedia/libdca/pkg-plist
index 05c846270a34..4be667e44cf4 100644
--- a/multimedia/libdca/pkg-plist
+++ b/multimedia/libdca/pkg-plist
@@ -1,6 +1,13 @@
+bin/dcadec
bin/dtsdec
+bin/extract_dca
bin/extract_dts
+include/dca.h
include/dts.h
+lib/libdca.a
+lib/libdca.la
+lib/libdca.so
+lib/libdca.so.0
lib/libdts.a
-lib/libdts_pic.a
+libdata/pkgconfig/libdca.pc
libdata/pkgconfig/libdts.pc