aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdts
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-12 11:06:46 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-12 11:06:46 +0000
commita7108b251bed71ceb45a48b1e0d19192af852c0d (patch)
tree015caedc0cc2c4b7ad6cea6c96f73a0ee48e40de /multimedia/libdts
parente258b7a507cf57f4ebca82315635b7488a3f73ff (diff)
downloadports-a7108b251bed71ceb45a48b1e0d19192af852c0d.tar.gz
ports-a7108b251bed71ceb45a48b1e0d19192af852c0d.zip
Notes
Diffstat (limited to 'multimedia/libdts')
-rw-r--r--multimedia/libdts/Makefile21
-rw-r--r--multimedia/libdts/distinfo2
-rw-r--r--multimedia/libdts/files/patch-libao-audio_out_oss.c24
-rw-r--r--multimedia/libdts/pkg-descr5
-rw-r--r--multimedia/libdts/pkg-plist6
5 files changed, 58 insertions, 0 deletions
diff --git a/multimedia/libdts/Makefile b/multimedia/libdts/Makefile
new file mode 100644
index 000000000000..f398b6d9485d
--- /dev/null
+++ b/multimedia/libdts/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: libdts
+# Date created: 12th May 2004
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdts
+PORTVERSION= 0.0.2
+CATEGORIES= multimedia
+MASTER_SITES= http://download.videolan.org/pub/videolan/libdts/${PORTVERSION}/
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Free DTS Coherent Acoustics decoder
+
+GNU_CONFIGURE= yes
+USE_GNOME= pkgconfig gnomehack
+
+MAN1= dtsdec.1 extract_dts.1
+
+.include <bsd.port.mk>
diff --git a/multimedia/libdts/distinfo b/multimedia/libdts/distinfo
new file mode 100644
index 000000000000..863a479b4ceb
--- /dev/null
+++ b/multimedia/libdts/distinfo
@@ -0,0 +1,2 @@
+MD5 (libdts-0.0.2.tar.gz) = a1c0dac95d7031498c2d19d7a3107469
+SIZE (libdts-0.0.2.tar.gz) = 295185
diff --git a/multimedia/libdts/files/patch-libao-audio_out_oss.c b/multimedia/libdts/files/patch-libao-audio_out_oss.c
new file mode 100644
index 000000000000..b4141ec764c7
--- /dev/null
+++ b/multimedia/libdts/files/patch-libao-audio_out_oss.c
@@ -0,0 +1,24 @@
+--- 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/libdts/pkg-descr b/multimedia/libdts/pkg-descr
new file mode 100644
index 000000000000..38a135720c56
--- /dev/null
+++ b/multimedia/libdts/pkg-descr
@@ -0,0 +1,5 @@
+libdts 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.
+
+WWW: http://www.videolan.org/dtsdec.html
diff --git a/multimedia/libdts/pkg-plist b/multimedia/libdts/pkg-plist
new file mode 100644
index 000000000000..05c846270a34
--- /dev/null
+++ b/multimedia/libdts/pkg-plist
@@ -0,0 +1,6 @@
+bin/dtsdec
+bin/extract_dts
+include/dts.h
+lib/libdts.a
+lib/libdts_pic.a
+libdata/pkgconfig/libdts.pc