[Midnightbsd-cvs] mports [18156] trunk/audio/libsamplerate: cleanup
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Mar 15 11:39:13 EDT 2015
Revision: 18156
http://svnweb.midnightbsd.org/mports/?rev=18156
Author: laffer1
Date: 2015-03-15 11:39:12 -0400 (Sun, 15 Mar 2015)
Log Message:
-----------
cleanup
Modified Paths:
--------------
trunk/audio/libsamplerate/Makefile
trunk/audio/libsamplerate/pkg-plist
Added Paths:
-----------
trunk/audio/libsamplerate/files/
trunk/audio/libsamplerate/files/patch-src_samplerate.h
Modified: trunk/audio/libsamplerate/Makefile
===================================================================
--- trunk/audio/libsamplerate/Makefile 2015-03-15 15:29:40 UTC (rev 18155)
+++ trunk/audio/libsamplerate/Makefile 2015-03-15 15:39:12 UTC (rev 18156)
@@ -2,6 +2,7 @@
PORTNAME= libsamplerate
PORTVERSION= 0.1.8
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/SRC/
@@ -10,13 +11,10 @@
LICENSE= gpl2
-USES= pathfix pkgconfig
-USES= libtool
+USES= libtool pathfix pkgconfig
+USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --disable-gcc-pipe --program-prefix=''
-USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= CPU_CLIP DOCS EXAMPLES
CPU_CLIP_DESC= Allow machine-dependent clipping
@@ -38,21 +36,13 @@
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
-LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile
+LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile
.elif defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
-BUILD_DEPENDS += ${LOCALBASE}/lib/libsndfile.so:${PORTSDIR}/audio/libsndfile
+BUILD_DEPENDS += libsndfile>=0:${PORTSDIR}/audio/libsndfile
.else
CONFIGURE_ARGS+= --disable-sndfile
.endif
-post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
- @${REINPLACE_CMD} -e '/SUBDIRS =/s/doc //' ${WRKSRC}/Makefile.in
-.endif
-.if empty(PORT_OPTIONS:MEXAMPLES)
- @${REINPLACE_CMD} -e '/SUBDIRS =/s/examples //' ${WRKSRC}/Makefile.in
-.endif
-
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
check regression-test test: build
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \
Added: trunk/audio/libsamplerate/files/patch-src_samplerate.h
===================================================================
--- trunk/audio/libsamplerate/files/patch-src_samplerate.h (rev 0)
+++ trunk/audio/libsamplerate/files/patch-src_samplerate.h 2015-03-15 15:39:12 UTC (rev 18156)
@@ -0,0 +1,11 @@
+--- src/samplerate.h.orig 2013-11-23 23:36:11.000000000 +0100
++++ src/samplerate.h 2013-11-23 23:36:25.000000000 +0100
+@@ -174,7 +174,7 @@
+ SRC_SINC_MEDIUM_QUALITY = 1,
+ SRC_SINC_FASTEST = 2,
+ SRC_ZERO_ORDER_HOLD = 3,
+- SRC_LINEAR = 4,
++ SRC_LINEAR = 4
+ } ;
+
+ /*
Property changes on: trunk/audio/libsamplerate/files/patch-src_samplerate.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/audio/libsamplerate/pkg-plist
===================================================================
--- trunk/audio/libsamplerate/pkg-plist 2015-03-15 15:29:40 UTC (rev 18155)
+++ trunk/audio/libsamplerate/pkg-plist 2015-03-15 15:39:12 UTC (rev 18156)
@@ -1,9 +1,9 @@
%%PORTEXAMPLES%%bin/sndfile-resample
include/samplerate.h
lib/libsamplerate.a
-lib/libsamplerate.la
lib/libsamplerate.so
-lib/libsamplerate.so.1
+lib/libsamplerate.so.0
+lib/libsamplerate.so.0.1.8
libdata/pkgconfig/samplerate.pc
%%PORTDOCS%%%%DOCSDIR%%/SRC.css
%%PORTDOCS%%%%DOCSDIR%%/SRC.png
@@ -20,4 +20,3 @@
%%PORTDOCS%%%%DOCSDIR%%/lists.html
%%PORTDOCS%%%%DOCSDIR%%/quality.html
%%PORTDOCS%%%%DOCSDIR%%/win32.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
More information about the Midnightbsd-cvs
mailing list