svn commit: r374675 - in head/audio: libmp3splt libmp3splt/files mp3splt
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sat Dec 13 18:59:31 UTC 2014
Author: danilo
Date: Sat Dec 13 18:59:28 2014
New Revision: 374675
URL: https://svnweb.freebsd.org/changeset/ports/374675
QAT: https://qat.redports.org/buildarchive/r374675/
Log:
libmp3splt
- Update to 0.9.2
- Use INSTALL_TARGET as install-strip
while here
- Use options helpers
- Add a pkg-plist file
mp3splt
- Update to 2.6.2
while here
- Use options helpers
- Add a pkg-plist file
PR: 195923
Submitted by: Anton Yuzhaninov <citrin+pr at citrin.ru> (maintainer)
Added:
head/audio/libmp3splt/pkg-plist (contents, props changed)
head/audio/mp3splt/pkg-plist (contents, props changed)
Deleted:
head/audio/libmp3splt/files/patch-src-socket_manager.c
Modified:
head/audio/libmp3splt/Makefile
head/audio/libmp3splt/distinfo
head/audio/mp3splt/Makefile
head/audio/mp3splt/distinfo
Modified: head/audio/libmp3splt/Makefile
==============================================================================
--- head/audio/libmp3splt/Makefile Sat Dec 13 18:54:02 2014 (r374674)
+++ head/audio/libmp3splt/Makefile Sat Dec 13 18:59:28 2014 (r374675)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libmp3splt
-PORTVERSION= 0.8.2
-PORTREVISION= 3
+PORTVERSION= 0.9.2
CATEGORIES= audio
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
@@ -18,70 +17,36 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-cutter --disable-doxygen_doc
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
OPTIONS_MULTI= plugin
-OPTIONS_MULTI_plugin= MAD VORBIS
+OPTIONS_MULTI_plugin= MAD FLAC VORBIS
OPTIONS_DEFINE= ID3 PCRE NLS
+OPTIONS_SUB= yes
PCRE_DESC= PCRE support to set tags from input filename
-OPTIONS_DEFAULT= MAD VORBIS ID3 PCRE NLS
+OPTIONS_DEFAULT= MAD FLAC VORBIS ID3 PCRE NLS
-PLUGIN_DIR= libmp3splt0
+MAD_CONFIGURE_ENABLE= mp3
+MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
-PLIST_DIRS= include/libmp3splt lib/${PLUGIN_DIR}
-PLIST_FILES= include/libmp3splt/mp3splt.h include/libmp3splt/version.h lib/libmp3splt.a \
- lib/libmp3splt.so lib/libmp3splt.so.0 lib/libmp3splt.so.0.0.8 \
- libdata/pkgconfig/libmp3splt.pc
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMAD}
-LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad
-PLIST_FILES+= lib/${PLUGIN_DIR}/libsplt_mp3.a \
- lib/${PLUGIN_DIR}/libsplt_mp3.so \
- lib/${PLUGIN_DIR}/libsplt_mp3.so.0 \
- lib/${PLUGIN_DIR}/libsplt_mp3.so.0.0.0
-.else
-CONFIGURE_ARGS+= --disable-mp3
-.endif
-
-.if ${PORT_OPTIONS:MVORBIS}
-LIB_DEPENDS+= libogg.so:${PORTSDIR}/audio/libogg \
- libvorbis.so:${PORTSDIR}/audio/libvorbis
-PLIST_FILES+= lib/${PLUGIN_DIR}/libsplt_ogg.a \
- lib/${PLUGIN_DIR}/libsplt_ogg.so \
- lib/${PLUGIN_DIR}/libsplt_ogg.so.0 \
- lib/${PLUGIN_DIR}/libsplt_ogg.so.0.0.0
-.else
-CONFIGURE_ARGS+= --disable-ogg
-.endif
-
-.if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre
-.else
-CONFIGURE_ARGS+= --disable-pcre
-.endif
-
-.if ${PORT_OPTIONS:MID3}
-LIB_DEPENDS+= libid3tag.so:${PORTSDIR}/audio/libid3tag
-.else
-CONFIGURE_ARGS+= --disable-id3tag
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-LANGUAGES= de_DE cs es fr_FR hr
-.for language in ${LANGUAGES}
-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"
-.else
-CONFIGURE_ARGS+= --disable-nls
-.endif
+FLAC_CONFIGURE_ENABLE= flac
+FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+VORBIS_CONFIGURE_ENABLE=ogg
+VORBIS_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis
+
+PCRE_CONFIGURE_ENABLE= pcre
+PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
+
+MID3_LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag
+MID3_CONFIGURE_ENABLE= id3tag
+
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>
Modified: head/audio/libmp3splt/distinfo
==============================================================================
--- head/audio/libmp3splt/distinfo Sat Dec 13 18:54:02 2014 (r374674)
+++ head/audio/libmp3splt/distinfo Sat Dec 13 18:59:28 2014 (r374675)
@@ -1,2 +1,2 @@
-SHA256 (libmp3splt-0.8.2.tar.gz) = 7be4165da43b499a0a70084103ae5b0d9b3095c9d2fff1e673dcb10b9c232ade
-SIZE (libmp3splt-0.8.2.tar.gz) = 671071
+SHA256 (libmp3splt-0.9.2.tar.gz) = 30eed64fce58cb379b7cc6a0d8e545579cb99d0f0f31eb00b9acc8aaa1b035dc
+SIZE (libmp3splt-0.9.2.tar.gz) = 707598
Added: head/audio/libmp3splt/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/libmp3splt/pkg-plist Sat Dec 13 18:59:28 2014 (r374675)
@@ -0,0 +1,24 @@
+include/libmp3splt/mp3splt.h
+include/libmp3splt/version.h
+lib/libmp3splt.a
+lib/libmp3splt.so
+lib/libmp3splt.so.0
+lib/libmp3splt.so.0.0.9
+%%FLAC%%lib/libmp3splt0/libsplt_flac.a
+%%FLAC%%lib/libmp3splt0/libsplt_flac.so
+%%FLAC%%lib/libmp3splt0/libsplt_flac.so.0
+%%FLAC%%lib/libmp3splt0/libsplt_flac.so.0.0.0
+%%MAD%%lib/libmp3splt0/libsplt_mp3.a
+%%MAD%%lib/libmp3splt0/libsplt_mp3.so
+%%MAD%%lib/libmp3splt0/libsplt_mp3.so.0
+%%MAD%%lib/libmp3splt0/libsplt_mp3.so.0.0.0
+%%VORBIS%%lib/libmp3splt0/libsplt_ogg.a
+%%VORBIS%%lib/libmp3splt0/libsplt_ogg.so
+%%VORBIS%%lib/libmp3splt0/libsplt_ogg.so.0
+%%VORBIS%%lib/libmp3splt0/libsplt_ogg.so.0.0.0
+libdata/pkgconfig/libmp3splt.pc
+%%NLS%%share/locale/cs/LC_MESSAGES/libmp3splt0.mo
+%%NLS%%share/locale/de_DE/LC_MESSAGES/libmp3splt0.mo
+%%NLS%%share/locale/es/LC_MESSAGES/libmp3splt0.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/libmp3splt0.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/libmp3splt0.mo
Modified: head/audio/mp3splt/Makefile
==============================================================================
--- head/audio/mp3splt/Makefile Sat Dec 13 18:54:02 2014 (r374674)
+++ head/audio/mp3splt/Makefile Sat Dec 13 18:59:28 2014 (r374675)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mp3splt
-PORTVERSION= 2.5.2
+PORTVERSION= 2.6.2
CATEGORIES= audio
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
@@ -14,33 +14,19 @@ LICENSE= GPLv2
LIB_DEPENDS= libmp3splt.so:${PORTSDIR}/audio/libmp3splt \
libltdl.so:${PORTSDIR}/devel/libltdl
-USES= pkgconfig:build
+USES= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oggsplt_symlink
CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig
-CPPFLAGS+= -I${LOCALBASE}/include
+CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PLIST_FILES= bin/mp3splt bin/oggsplt \
- man/man1/mp3splt.1.gz \
- man/man1/oggsplt.1.gz
-
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-LANGUAGES= cs de_DE es fr_FR
-.for language in ${LANGUAGES}
-PLIST_FILES+= share/locale/${language}/LC_MESSAGES/mp3splt.mo
-.endfor
-PLIST_DIRSTRY+= share/locale/de_DE/LC_MESSAGES
-PLIST_DIRSTRY+= share/locale/de_DE
-.else
-CONFIGURE_ARGS+= --disable-nls
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>
Modified: head/audio/mp3splt/distinfo
==============================================================================
--- head/audio/mp3splt/distinfo Sat Dec 13 18:54:02 2014 (r374674)
+++ head/audio/mp3splt/distinfo Sat Dec 13 18:59:28 2014 (r374675)
@@ -1,2 +1,2 @@
-SHA256 (mp3splt-2.5.2.tar.gz) = df093e8950ba8f160898296f57e7c9134316b6e20d51b3e66d9c3b39f5fc2a44
-SIZE (mp3splt-2.5.2.tar.gz) = 250066
+SHA256 (mp3splt-2.6.2.tar.gz) = 3ec32b10ddd8bb11af987b8cd1c76382c48d265d0ffda53041d9aceb1f103baa
+SIZE (mp3splt-2.6.2.tar.gz) = 260901
Added: head/audio/mp3splt/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/mp3splt/pkg-plist Sat Dec 13 18:59:28 2014 (r374675)
@@ -0,0 +1,8 @@
+bin/mp3splt
+bin/oggsplt
+man/man1/mp3splt.1.gz
+man/man1/oggsplt.1.gz
+%%NLS%%share/locale/cs/LC_MESSAGES/mp3splt.mo
+%%NLS%%share/locale/de_DE/LC_MESSAGES/mp3splt.mo
+%%NLS%%share/locale/es/LC_MESSAGES/mp3splt.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/mp3splt.mo
More information about the svn-ports-head
mailing list