summaryrefslogtreecommitdiff
path: root/audio/libmp3splt
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-02-06 09:26:36 +0000
committerbjs <bjs@pkgsrc.org>2008-02-06 09:26:36 +0000
commite8c651f5e0ff28c576d552ebd27a2bc6b4f65966 (patch)
treed20b035d74624cb1ad889d6cc5e419ac0a5f0533 /audio/libmp3splt
parent0d85d192dab7c720302a79e3dab3984710f0b054 (diff)
downloadpkgsrc-e8c651f5e0ff28c576d552ebd27a2bc6b4f65966.tar.gz
This library provides functions for splitting/manipulation of MP3 and
OGG/Vorbis files. It is provided mainly for use with mp3splt, as this allows the mp3splt package not to explicitly depend on any of this library's dependencies. Of course, other programs are free to use it!
Diffstat (limited to 'audio/libmp3splt')
-rw-r--r--audio/libmp3splt/DESCR5
-rw-r--r--audio/libmp3splt/Makefile23
-rw-r--r--audio/libmp3splt/PLIST5
-rw-r--r--audio/libmp3splt/buildlink3.mk29
-rw-r--r--audio/libmp3splt/distinfo5
5 files changed, 67 insertions, 0 deletions
diff --git a/audio/libmp3splt/DESCR b/audio/libmp3splt/DESCR
new file mode 100644
index 00000000000..79fdce6270a
--- /dev/null
+++ b/audio/libmp3splt/DESCR
@@ -0,0 +1,5 @@
+This library provides functions for splitting/manipulation of MP3 and
+OGG/Vorbis files. It is provided mainly for use with mp3splt, as this
+allows the mp3splt package not to explicitly depend on any of this
+library's dependencies. Of course, other programs are free to
+use it!
diff --git a/audio/libmp3splt/Makefile b/audio/libmp3splt/Makefile
new file mode 100644
index 00000000000..99b1d6dc6b2
--- /dev/null
+++ b/audio/libmp3splt/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/06 09:26:36 bjs Exp $
+#
+
+DISTNAME= libmp3splt-0.4_rc1
+PKGNAME= ${DISTNAME:S/_//}
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3splt/}
+
+MAINTAINER= bjs@NetBSD.org
+HOMEPAGE= http://mp3splt.sourceforge.net/
+COMMENT= Utility library for MP3 splitting/manipulation
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libmp3splt/PLIST b/audio/libmp3splt/PLIST
new file mode 100644
index 00000000000..9fe01af3d23
--- /dev/null
+++ b/audio/libmp3splt/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/06 09:26:36 bjs Exp $
+include/libmp3splt/mp3splt.h
+include/libmp3splt/mp3splt_types.h
+lib/libmp3splt.la
+@dirrm include/libmp3splt
diff --git a/audio/libmp3splt/buildlink3.mk b/audio/libmp3splt/buildlink3.mk
new file mode 100644
index 00000000000..239a0b48f93
--- /dev/null
+++ b/audio/libmp3splt/buildlink3.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/06 09:26:36 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMP3SPLT_BUILDLINK3_MK:= ${LIBMP3SPLT_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libmp3splt
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmp3splt}
+BUILDLINK_PACKAGES+= libmp3splt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmp3splt
+
+.if ${LIBMP3SPLT_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libmp3splt+= libmp3splt>=0.4rc1
+BUILDLINK_PKGSRCDIR.libmp3splt?= ../../audio/libmp3splt
+.endif # LIBMP3SPLT_BUILDLINK3_MK
+###
+### XXX libmad and libvorbis are needed only for headers.
+###
+BUILDLINK_DEPMETHOD.libmad?= build
+.include "../../audio/libmad/buildlink3.mk"
+
+BUILDLINK_DEPMETHOD.libvorbis?= build
+.include "../../audio/libvorbis/buildlink3.mk"
+
+.include "../../multimedia/libogg/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libmp3splt/distinfo b/audio/libmp3splt/distinfo
new file mode 100644
index 00000000000..954a5628236
--- /dev/null
+++ b/audio/libmp3splt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/06 09:26:36 bjs Exp $
+
+SHA1 (libmp3splt-0.4_rc1.tar.gz) = 6f09ea0d95346c842953d8dabaf6809af20259f8
+RMD160 (libmp3splt-0.4_rc1.tar.gz) = 91c83c48cf571463a86f9267db61c052c3ea4e78
+Size (libmp3splt-0.4_rc1.tar.gz) = 406967 bytes