diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2009-03-27 21:56:23 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2009-03-27 21:56:23 +0800 |
commit | a9fcb4edd768f805f17286129cf9669f32af3370 (patch) | |
tree | 6b6e380378fc058df89366a65154a032e101b494 | |
parent | b29898c72e8f0126a02ba497af4f54d5766a0ea0 (diff) | |
download | freebsd-ports-gnome-a9fcb4edd768f805f17286129cf9669f32af3370.tar.gz freebsd-ports-gnome-a9fcb4edd768f805f17286129cf9669f32af3370.tar.zst freebsd-ports-gnome-a9fcb4edd768f805f17286129cf9669f32af3370.zip |
Add libmp3splt that is required for new version of audio/mp3splt port.
Submitted by: Anton Yuzhaninov <citrin at citrin.ru> via email
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/libmp3splt/Makefile | 65 | ||||
-rw-r--r-- | audio/libmp3splt/distinfo | 3 | ||||
-rw-r--r-- | audio/libmp3splt/pkg-descr | 12 |
4 files changed, 81 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index e24c6e805cd8..35dd01d300e1 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -362,6 +362,7 @@ SUBDIR += libmad SUBDIR += libmikmod SUBDIR += libmodplug + SUBDIR += libmp3splt SUBDIR += libmpcdec SUBDIR += libmpd SUBDIR += libmtp diff --git a/audio/libmp3splt/Makefile b/audio/libmp3splt/Makefile new file mode 100644 index 000000000000..3043125affd4 --- /dev/null +++ b/audio/libmp3splt/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: libmp3splt +# Date created: 2009-03-26 +# Whom: Anton Yuzhaninov <citrin@citrin.ru> +# +# $FreeBSD$ +# + +PORTNAME= libmp3splt +PORTVERSION= 0.5.4 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= mp3splt + +MAINTAINER= citrin@citrin.ru +COMMENT= Library for mp3splt and mp3splt-gtk + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libltdl + +OPTIONS= MP3 "mp3 support" on \ + ID3 "id3tag support for the mp3" on \ + VORBIS "ogg vorbis support" on + +PLIST_DIRS= include/libmp3splt lib/libmp3splt +PLIST_FILES= include/libmp3splt/mp3splt.h lib/libmp3splt.so.0 \ + lib/libmp3splt.so lib/libmp3splt.la lib/libmp3splt.a + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_MP3) && defined(WITHOUT_VORBIS) +IGNORE= select at least one plugin: mp3 or vorbis +.endif + +.if defined(WITHOUT_MP3) +CONFIGURE_ARGS+= --disable-mp3 +.else +LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad +PLIST_FILES+= lib/libmp3splt/libsplt_mp3.a \ + lib/libmp3splt/libsplt_mp3.la \ + lib/libmp3splt/libsplt_mp3.so \ + lib/libmp3splt/libsplt_mp3.so.0 +.endif + +.if defined(WITHOUT_ID3) +CONFIGURE_ARGS+= --disable-id3tag +.else +LIB_DEPENDS+= id3tag:${PORTSDIR}/audio/libid3tag +.endif + +.if defined(WITHOUT_VORBIS) +CONFIGURE_ARGS+= --disable-ogg +.else +LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg \ + vorbis.4:${PORTSDIR}/audio/libvorbis +PLIST_FILES+= lib/libmp3splt/libsplt_ogg.a \ + lib/libmp3splt/libsplt_ogg.la \ + lib/libmp3splt/libsplt_ogg.so \ + lib/libmp3splt/libsplt_ogg.so.0 +.endif + +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ + CFLAGS="${CFLAGS} -I${LOCALBASE}/include" + +.include <bsd.port.post.mk> diff --git a/audio/libmp3splt/distinfo b/audio/libmp3splt/distinfo new file mode 100644 index 000000000000..40c4c2dd3673 --- /dev/null +++ b/audio/libmp3splt/distinfo @@ -0,0 +1,3 @@ +MD5 (libmp3splt-0.5.4.tar.gz) = a65f63dc9c176dabff3c6c85c4c3bf2c +SHA256 (libmp3splt-0.5.4.tar.gz) = 3c454d5a49316f549bb21f3875a55c2ce37d2510d41f72136fa8cfe6fbaff9f6 +SIZE (libmp3splt-0.5.4.tar.gz) = 462620 diff --git a/audio/libmp3splt/pkg-descr b/audio/libmp3splt/pkg-descr new file mode 100644 index 000000000000..a53d1566f6ce --- /dev/null +++ b/audio/libmp3splt/pkg-descr @@ -0,0 +1,12 @@ +Mp3Splt-project is a utility to split mp3 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. You can extract tracks from Mp3Wrap or AlbumWrap files in +few seconds. For mp3 files, both ID3v1 & ID3v2 tags are supported. + +Mp3splt-project is split in 3 parts : libmp3splt, mp3splt and mp3splt-gtk. + +WWW: http://mp3splt.sourceforge.net/ |