summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/twolame/DESCR12
-rw-r--r--audio/twolame/Makefile20
-rw-r--r--audio/twolame/PLIST27
-rw-r--r--audio/twolame/buildlink3.mk20
-rw-r--r--audio/twolame/distinfo5
5 files changed, 84 insertions, 0 deletions
diff --git a/audio/twolame/DESCR b/audio/twolame/DESCR
new file mode 100644
index 00000000000..9f11c6ad82d
--- /dev/null
+++ b/audio/twolame/DESCR
@@ -0,0 +1,12 @@
+TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
+tooLAME by Mike Cheng, which in turn is based upon the ISO dist10
+code and portions of LAME.
+
+Features added to TwoLAME:
+
+ * Fully thread-safe
+ * Static and shared library (libtwolame)
+ * API very similar to LAME's (for easy porting)
+ * Frontend supports wider range of input files (using libsndfile)
+ * automake/libtool/pkgconfig based build system
+ * C99 compliant
diff --git a/audio/twolame/Makefile b/audio/twolame/Makefile
new file mode 100644
index 00000000000..7c8403584b0
--- /dev/null
+++ b/audio/twolame/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/21 10:16:55 xtraeme Exp $
+#
+
+DISTNAME= twolame-0.3.7
+CATEGORIES= audio
+MASTER_SITES= http://www.ecs.soton.ac.uk/~njh/twolame/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.twolame.org/
+COMMENT= Optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME
+
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= twolame.pc.in
+
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/twolame/PLIST b/audio/twolame/PLIST
new file mode 100644
index 00000000000..1057eb1d162
--- /dev/null
+++ b/audio/twolame/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/21 10:16:55 xtraeme Exp $
+bin/twolame
+include/twolame.h
+lib/libtwolame.la
+lib/pkgconfig/twolame.pc
+man/man1/twolame.1
+share/doc/twolame/api.txt
+share/doc/twolame/html/api.html
+share/doc/twolame/html/authors.html
+share/doc/twolame/html/changelog.html
+share/doc/twolame/html/doxygen.css
+share/doc/twolame/html/doxygen.png
+share/doc/twolame/html/index.html
+share/doc/twolame/html/psycho.html
+share/doc/twolame/html/readme.html
+share/doc/twolame/html/todo.html
+share/doc/twolame/html/twolame-manpage.css
+share/doc/twolame/html/twolame-quirks.css
+share/doc/twolame/html/twolame.1.html
+share/doc/twolame/html/twolame.css
+share/doc/twolame/html/twolame_8h-source.html
+share/doc/twolame/html/twolame_8h.html
+share/doc/twolame/html/vbr.html
+share/doc/twolame/psycho.txt
+share/doc/twolame/vbr.txt
+@dirrm share/doc/twolame/html
+@dirrm share/doc/twolame
diff --git a/audio/twolame/buildlink3.mk b/audio/twolame/buildlink3.mk
new file mode 100644
index 00000000000..ceb14ec67c4
--- /dev/null
+++ b/audio/twolame/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/05/21 10:16:55 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TWOLAME_BUILDLINK3_MK:= ${TWOLAME_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= twolame
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntwolame}
+BUILDLINK_PACKAGES+= twolame
+
+.if ${TWOLAME_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.twolame+= twolame>=0.3.7
+BUILDLINK_PKGSRCDIR.twolame?= ../../audio/twolame
+.endif # TWOLAME_BUILDLINK3_MK
+
+.include "../../audio/libsndfile/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/twolame/distinfo b/audio/twolame/distinfo
new file mode 100644
index 00000000000..0035ca7cce2
--- /dev/null
+++ b/audio/twolame/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/05/21 10:16:55 xtraeme Exp $
+
+SHA1 (twolame-0.3.7.tar.gz) = 8f970592955cab5358f272c56ef4713fbb3405dd
+RMD160 (twolame-0.3.7.tar.gz) = 32ee504d9f37c4cd68f547972ae3273428a458a4
+Size (twolame-0.3.7.tar.gz) = 465187 bytes