aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-02-01 18:55:26 +0800
committerdanfe <danfe@FreeBSD.org>2013-02-01 18:55:26 +0800
commit521011f6dd9265f467fa0d1c1ad8b5038273d685 (patch)
treeaa15b43ce0d1b11805ce6f0335fb21576b11706d
parent82b47e9652f9d74ca28929b115c1873d4d5ebab5 (diff)
downloadfreebsd-ports-gnome-521011f6dd9265f467fa0d1c1ad8b5038273d685.tar.gz
freebsd-ports-gnome-521011f6dd9265f467fa0d1c1ad8b5038273d685.tar.zst
freebsd-ports-gnome-521011f6dd9265f467fa0d1c1ad8b5038273d685.zip
Update to version 0.8.1a.
Submitted by: maintainer
-rw-r--r--audio/libmp3splt/Makefile29
-rw-r--r--audio/libmp3splt/distinfo4
-rw-r--r--audio/libmp3splt/files/patch-src-socket_manager.c11
3 files changed, 28 insertions, 16 deletions
diff --git a/audio/libmp3splt/Makefile b/audio/libmp3splt/Makefile
index 71e6f27a7d73..c8905e5b4cee 100644
--- a/audio/libmp3splt/Makefile
+++ b/audio/libmp3splt/Makefile
@@ -1,14 +1,13 @@
-# Created by: Anton Yuzhaninov <citrin@citrin.ru>
+# Created by: Anton Yuzhaninov <citrin@citrin.ru>
# $FreeBSD$
PORTNAME= libmp3splt
-PORTVERSION= 0.7.3
-PORTREVISION= 1
+DISTVERSION= 0.8.1a
CATEGORIES= audio
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
MAINTAINER= citrin@citrin.ru
-COMMENT= Library for mp3splt and mp3splt-gtk
+COMMENT= Library for splitting of various audio files
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -23,7 +22,9 @@ PCRE_DESC= PCRE support to set tags from input filename
OPTIONS_DEFAULT= MAD VORBIS ID3 PCRE NLS
-PLIST_DIRS= include/libmp3splt lib/libmp3splt
+PLUGIN_DIR= libmp3splt0
+
+PLIST_DIRS= include/libmp3splt lib/${PLUGIN_DIR}
PLIST_FILES= include/libmp3splt/mp3splt.h lib/libmp3splt.a \
lib/libmp3splt.la lib/libmp3splt.so lib/libmp3splt.so.0 \
share/aclocal/mp3splt.m4
@@ -32,10 +33,10 @@ PLIST_FILES= include/libmp3splt/mp3splt.h lib/libmp3splt.a \
.if ${PORT_OPTIONS:MMAD}
LIB_DEPENDS+= mad:${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
+PLIST_FILES+= lib/${PLUGIN_DIR}/libsplt_mp3.a \
+ lib/${PLUGIN_DIR}/libsplt_mp3.la \
+ lib/${PLUGIN_DIR}/libsplt_mp3.so \
+ lib/${PLUGIN_DIR}/libsplt_mp3.so.0
.else
CONFIGURE_ARGS+= --disable-mp3
.endif
@@ -43,10 +44,10 @@ CONFIGURE_ARGS+= --disable-mp3
.if ${PORT_OPTIONS:MVORBIS}
LIB_DEPENDS+= ogg:${PORTSDIR}/audio/libogg \
vorbis:${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
+PLIST_FILES+= lib/${PLUGIN_DIR}/libsplt_ogg.a \
+ lib/${PLUGIN_DIR}/libsplt_ogg.la \
+ lib/${PLUGIN_DIR}/libsplt_ogg.so \
+ lib/${PLUGIN_DIR}/libsplt_ogg.so.0
.else
CONFIGURE_ARGS+= --disable-ogg
.endif
@@ -67,7 +68,7 @@ CONFIGURE_ARGS+= --disable-id3tag
USE_GETTEXT= yes
LANGUAGES= de_DE cs es fr_FR hr
.for language in ${LANGUAGES}
-PLIST_FILES+= share/locale/${language}/LC_MESSAGES/libmp3splt.mo
+PLIST_FILES+= share/locale/${language}/LC_MESSAGES/libmp3splt0.mo
.endfor
PLIST_FILES+= "@dirrmtry share/locale/de_DE/LC_MESSAGES"
PLIST_FILES+= "@dirrmtry share/locale/de_DE"
diff --git a/audio/libmp3splt/distinfo b/audio/libmp3splt/distinfo
index ab7afa9633ea..1fdb3972e9ab 100644
--- a/audio/libmp3splt/distinfo
+++ b/audio/libmp3splt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libmp3splt-0.7.3.tar.gz) = 0b43d5a0407bc15db2c5922e3b41c92b8c0bc4e3cfdd5e238f8e8fecf0307163
-SIZE (libmp3splt-0.7.3.tar.gz) = 650741
+SHA256 (libmp3splt-0.8.1a.tar.gz) = a8010061050bae297a4d85bf9626fb8c0c4a9fec110f7eee4cf739d256c84034
+SIZE (libmp3splt-0.8.1a.tar.gz) = 635022
diff --git a/audio/libmp3splt/files/patch-src-socket_manager.c b/audio/libmp3splt/files/patch-src-socket_manager.c
new file mode 100644
index 000000000000..8fb505390abc
--- /dev/null
+++ b/audio/libmp3splt/files/patch-src-socket_manager.c
@@ -0,0 +1,11 @@
+--- src/socket_manager.c.orig 2013-01-31 20:18:07.000000000 +0400
++++ src/socket_manager.c 2013-01-31 20:20:31.000000000 +0400
+@@ -48,8 +48,6 @@
+
+ #ifdef __WIN32__
+ #include <malloc.h>
+-#else
+-#include <alloca.h>
+ #endif
+
+ #include <string.h>