1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Update to version 0.8.1a.

Submitted by:	maintainer
This commit is contained in:
Alexey Dokuchaev 2013-02-01 10:55:26 +00:00
parent 7dfbd66e8f
commit 3c82823874
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311367
3 changed files with 28 additions and 16 deletions

View File

@ -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"

View File

@ -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

View File

@ -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>