pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mp3splt-devel This is a development version of t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b50f8734887
branches:  trunk
changeset: 538351:3b50f8734887
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Wed Feb 06 09:31:06 2008 +0000

description:
This is a development version of the mp3splt package.  Aside from bug
fixes, the main feature enhancement is support of freedb2.org
searches.  There may be regressions from the stable version, and so
this was imported as a -devel package instead of an upgrade to
devel/mp3splt.  If it is confirmed that this does not exhibit
any regressions, we should consider replacing that package with this
one.


Additionally, use of the libmp3splt library allows for abstracting
the dependencies of libmp3splt (ogg/vorbis, mad) from the program
itself.

diffstat:

 audio/mp3splt-devel/DESCR            |  10 ++++++++++
 audio/mp3splt-devel/Makefile         |  36 ++++++++++++++++++++++++++++++++++++
 audio/mp3splt-devel/PLIST            |   4 ++++
 audio/mp3splt-devel/distinfo         |   7 +++++++
 audio/mp3splt-devel/patches/patch-aa |  20 ++++++++++++++++++++
 audio/mp3splt-devel/patches/patch-ab |  35 +++++++++++++++++++++++++++++++++++
 6 files changed, 112 insertions(+), 0 deletions(-)

diffs (136 lines):

diff -r 19112270a57c -r 3b50f8734887 audio/mp3splt-devel/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3splt-devel/DESCR Wed Feb 06 09:31:06 2008 +0000
@@ -0,0 +1,10 @@
+Mp3Splt is a command line utility to split mp3 (VBR supported) and
+ogg files selecting a begin and an end time position, without
+decoding. It's very useful to split large mp3/ogg to make smaller
+files or to split entire albums to obtain original tracks. If you
+want to split an album, you can select split points and filenames
+manually or you can get them automatically from CDDB (internet or
+a local file) or from .cue files. Supports also automatic silence
+split, that can be used also to adjust cddb/cue splitpoints.
+Otherwise if you have a file created either with Mp3Wrap or AlbumWrap
+you can extract tracks just in few seconds.
diff -r 19112270a57c -r 3b50f8734887 audio/mp3splt-devel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3splt-devel/Makefile      Wed Feb 06 09:31:06 2008 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/06 09:31:06 bjs Exp $
+#
+
+DISTNAME=              mp3splt-2.2_rc1
+PKGNAME=               ${DISTNAME:S/_//}
+CATEGORIES=            audio
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=mp3splt/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://mp3splt.sourceforge.net/
+COMMENT=               Command line utility to split MP3 (VBR supported) and OGG files
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+CONFLICTS+=            mp3splt-[0-9]*
+
+GNU_CONFIGURE=         yes
+USE_PKGLOCALEDIR=      yes
+USE_FEATURES=          getopt_long
+
+.include "../../mk/bsd.prefs.mk"
+###
+### This was done in configure, but best to do it here--the tests are
+### not robust.
+###
+.if ${OPSYS} == "Solaris"
+LIBS+=          -lsocket
+.endif
+
+post-install:
+       ${LN} -s ${DESTDIR}${PREFIX}/bin/mp3splt \
+               ${DESTDIR}${PREFIX}/bin/oggsplt
+
+.include "../../audio/libmp3splt/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 19112270a57c -r 3b50f8734887 audio/mp3splt-devel/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3splt-devel/PLIST Wed Feb 06 09:31:06 2008 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/06 09:31:06 bjs Exp $
+bin/mp3splt
+bin/oggsplt
+man/man1/mp3splt.1
diff -r 19112270a57c -r 3b50f8734887 audio/mp3splt-devel/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3splt-devel/distinfo      Wed Feb 06 09:31:06 2008 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/06 09:31:06 bjs Exp $
+
+SHA1 (mp3splt-2.2_rc1.tar.gz) = a9a3a88209a0bb5eb2c454567b63da5256e5b828
+RMD160 (mp3splt-2.2_rc1.tar.gz) = acb2e222d214f43f7e64bc378247eff0af69da6a
+Size (mp3splt-2.2_rc1.tar.gz) = 125632 bytes
+SHA1 (patch-aa) = 936252eebac04437f52c74796297cb6c3f61a24b
+SHA1 (patch-ab) = e43a6a98887ded24c27857f8389d0a015e4805e9
diff -r 19112270a57c -r 3b50f8734887 audio/mp3splt-devel/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3splt-devel/patches/patch-aa      Wed Feb 06 09:31:06 2008 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/02/06 09:31:06 bjs Exp $
+
+--- src/mp3splt.c.orig 2006-12-21 16:35:40.000000000 -0500
++++ src/mp3splt.c
+@@ -31,7 +31,14 @@
+ 
+ #include <libmp3splt/mp3splt.h>
+ 
+-#include "getopt.h"
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/config.h>
++#include <nbcomat/cdefs.h>
++#include <nbcompat/getopt.h>
++#else
++#include <getopt.h>
++#endif
++
+ 
+ //constants
+ //we include the "config.h" file from the config options
diff -r 19112270a57c -r 3b50f8734887 audio/mp3splt-devel/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3splt-devel/patches/patch-ab      Wed Feb 06 09:31:06 2008 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/02/06 09:31:06 bjs Exp $
+
+--- configure.orig     2006-12-21 16:36:28.000000000 -0500
++++ configure
+@@ -3260,30 +3260,9 @@ fi
+ { echo "$as_me:$LINENO: checking the host" >&5
+ echo $ECHO_N "checking the host... $ECHO_C" >&6; }
+ case $host in
+-      *linux*)
+-              HOST="Linux-based system"
+-              ;;
+-      *openbsd*)
+-              HOST="OpenBSD"
+-              ;;
+-      *netbsd*)
+-              HOST="NetBSD"
+-              ;;
+-      *freebsd*)
+-              HOST="FreeBSD"
+-              ;;
+-      *mingw*)
+-              HOST="Mingw"
+-              LIBS="libvorbisfile.a libmad.a libvorbis.a libogg.a libid3tag.a libz.a libmp3splt.a -lwsock32"
+-              ;;
+-      *solaris*)
+-              HOST="Solaris"
+-              LIBS="$LIBS -lsocket"
+-              ;;
+       *)
+               HOST="Other"
+                 LIBS="$LIBS"
+-#             LIBS="-lmad -logg -lvorbis -lvorbisfile -lm"
+               ;;
+ esac
+ { echo "$as_me:$LINENO: result: $HOST" >&5



Home | Main Index | Thread Index | Old Index