Lines 1-48
Link Here
|
1 |
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> |
1 |
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> |
2 |
|
2 |
|
3 |
PORTNAME= soundtouch |
3 |
PORTNAME= soundtouch |
4 |
DISTVERSION= 2.2 |
4 |
DISTVERSION= 2.3.1 |
5 |
CATEGORIES= audio |
5 |
CATEGORIES= audio |
6 |
|
6 |
|
7 |
MAINTAINER= crees@FreeBSD.org |
7 |
MAINTAINER= crees@FreeBSD.org |
8 |
COMMENT= Open-source audio processing library |
8 |
COMMENT= Open-source audio processing library |
9 |
|
9 |
|
10 |
LICENSE= LGPL21 |
10 |
LICENSE= LGPL21 |
|
|
11 |
LICENSE_FILE= ${WRKSRC}/COPYING.TXT |
12 |
|
13 |
USES= cmake |
11 |
|
14 |
|
12 |
USE_GITLAB= yes |
15 |
USE_GITLAB= yes |
13 |
GL_COMMIT= 762f56024b7ade81f6565903161dffec0ad4741e |
16 |
GL_COMMIT= e1f315f5358d9db5cee35a7a2886425489fcefe8 |
14 |
GNU_CONFIGURE= yes |
17 |
|
15 |
USE_LDCONFIG= yes |
18 |
USE_LDCONFIG= yes |
16 |
|
19 |
|
17 |
USES= autoreconf libtool pathfix |
20 |
CMAKE_ON= BUILD_SHARED_LIBS |
18 |
|
21 |
|
19 |
OPTIONS_DEFINE= INTEGER_SAMPLES DOCS OPENMP |
22 |
OPTIONS_DEFINE= INTEGER_SAMPLES DOCS |
20 |
OPTIONS_DEFAULT= ${MACHINE_CPU:Msoftfp:C/.+/INTEGER_SAMPLES/} |
23 |
OPTIONS_DEFAULT= ${MACHINE_CPU:Msoftfp:C/.+/INTEGER_SAMPLES/} |
21 |
OPTIONS_DEFINE_amd64= SSE |
24 |
|
22 |
OPTIONS_DEFINE_i386= SSE |
25 |
INTEGER_SAMPLES_DESC= Use integer sample format |
23 |
OPTIONS_DEFAULT_amd64= SSE |
26 |
INTEGER_SAMPLES_CMAKE_BOOL= INTEGER_SAMPLES |
24 |
OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MSSE} |
|
|
25 |
|
26 |
INTEGER_SAMPLES_DESC= Use integer sample format |
27 |
INTEGER_SAMPLES_CONFIGURE_ENABLE= integer-samples |
28 |
OPENMP_CONFIGURE_ENABLE=openmp |
29 |
OPENMP_USES= compiler:openmp |
30 |
SSE_CONFIGURE_ENABLE= x86-optimizations |
31 |
SSE_USES= compiler:c++11-lang |
32 |
|
33 |
post-patch: |
34 |
@${REINPLACE_CMD} -e \ |
35 |
'/^dist_doc_DATA/s|COPYING.TXT||' \ |
36 |
${WRKSRC}/Makefile.am |
37 |
@${REINPLACE_CMD} -e \ |
38 |
's|^INCLUDES|AM_CPPFLAGS| ; \ |
39 |
s|$$(prefix)/doc|$$(datadir)/doc|' \ |
40 |
${WRKSRC}/config/am_include.mk |
41 |
@${REINPLACE_CMD} -e \ |
42 |
's|-O[0-9]||;s|-fcheck-new||' \ |
43 |
${WRKSRC}/source/SoundTouch/Makefile.am |
44 |
|
45 |
post-install: |
46 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSoundTouch.so.1.0.0 |
47 |
|
27 |
|
48 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |