summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/tremor/DESCR5
-rw-r--r--audio/tremor/Makefile26
-rw-r--r--audio/tremor/PLIST12
-rw-r--r--audio/tremor/buildlink2.mk19
-rw-r--r--audio/tremor/distinfo5
-rw-r--r--audio/tremor/patches/patch-ab13
6 files changed, 80 insertions, 0 deletions
diff --git a/audio/tremor/DESCR b/audio/tremor/DESCR
new file mode 100644
index 00000000000..6c6ffa6d53a
--- /dev/null
+++ b/audio/tremor/DESCR
@@ -0,0 +1,5 @@
+Tremor is an fixed point implementation of ogg vorbis, as such it is nearly
+compatible with libvorbis, it does have some minor differences.
+
+I would recommend anyone wishing to use this package reads the documentation,
+which currently is not installed.
diff --git a/audio/tremor/Makefile b/audio/tremor/Makefile
new file mode 100644
index 00000000000..8c4f867d48a
--- /dev/null
+++ b/audio/tremor/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/24 09:33:00 chris Exp $
+
+DISTNAME= tremor_snapshot_020923
+PKGNAME= tremor-1.2.0
+WRKSRC= ${WRKDIR}/Tremor
+CATEGORIES= devel audio
+MASTER_SITES= http://www.xiph.org/ogg/vorbis/download/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= chris@netbsd.org
+HOMEPAGE= http://www.xiph.org/ogg/vorbis/
+COMMENT= Fixed point decoding library for the Ogg Vorbis audio encoding format
+
+BUILD_DEPENDS= autoconf>=2.13:../../devel/autoconf
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+PLIST_SUBST+= DISTNAME=${DISTNAME}
+
+pre-configure:
+ cd ${WRKSRC} && ${SH} ./autogen.sh
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/tremor/PLIST b/audio/tremor/PLIST
new file mode 100644
index 00000000000..38c0cfc8222
--- /dev/null
+++ b/audio/tremor/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/24 09:33:00 chris Exp $
+include/tremor/ivorbiscodec.h
+include/tremor/ivorbisfile.h
+include/tremor/ogg.h
+include/tremor/os_types.h
+include/tremor/config_types.h
+lib/libvorbisidec.a
+lib/libvorbisidec.la
+lib/libvorbisidec.so
+lib/libvorbisidec.so.1
+lib/libvorbisidec.so.1.2
+@dirrm include/tremor
diff --git a/audio/tremor/buildlink2.mk b/audio/tremor/buildlink2.mk
new file mode 100644
index 00000000000..307a2f21e2d
--- /dev/null
+++ b/audio/tremor/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/09/24 09:32:59 chris Exp $
+
+.if !defined(TREMOR_BUILDLINK2_MK)
+TREMOR_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= tremor
+BUILDLINK_DEPENDS.tremor?= tremor>=1.2.0
+BUILDLINK_PKGSRCDIR.tremor?= ../../audio/tremor
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.tremor=tremor
+BUILDLINK_PREFIX.tremor_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.tremor= include/tremor/*
+BUILDLINK_FILES.tremor+= lib/libvorbisidec.*
+
+BUILDLINK_TARGETS+= tremor-buildlink
+
+tremor-buildlink: _BUILDLINK_USE
+
+.endif # TREMOR_BUILDLINK2_MK
diff --git a/audio/tremor/distinfo b/audio/tremor/distinfo
new file mode 100644
index 00000000000..e1b04dfbc75
--- /dev/null
+++ b/audio/tremor/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/09/24 09:33:00 chris Exp $
+
+SHA1 (tremor_snapshot_020923.tgz) = 868f74b1782b0d03a4dfe4d7cb1268fc55379b48
+Size (tremor_snapshot_020923.tgz) = 141357 bytes
+SHA1 (patch-ab) = 5bf2c77a1a27e73264efa758615dcb1ec54ee522
diff --git a/audio/tremor/patches/patch-ab b/audio/tremor/patches/patch-ab
new file mode 100644
index 00000000000..679bec2ffe4
--- /dev/null
+++ b/audio/tremor/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/09/24 09:33:00 chris Exp $
+
+--- misc.h.orig Sat Sep 14 21:08:19 2002
++++ misc.h Sat Sep 14 21:08:30 2002
+@@ -30,7 +30,7 @@
+ #ifndef _V_WIDE_MATH
+ #define _V_WIDE_MATH
+
+-#include <endian.h>
++#include <sys/endian.h>
+
+ #if BYTE_ORDER==LITTLE_ENDIAN
+ union magic {