Lines 19-45
Link Here
|
19 |
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL |
19 |
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL |
20 |
LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL |
20 |
LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL |
21 |
|
21 |
|
|
|
22 |
OPTIONS_DEFINE= RCC |
23 |
|
24 |
RCC_DESC= Build with RusXMMS librcc patches (experimental) |
25 |
|
22 |
USE_CMAKE= yes |
26 |
USE_CMAKE= yes |
23 |
CMAKE_ARGS= -DWITH_ASF:BOOL=ON \ |
27 |
CMAKE_ARGS= -DWITH_ASF:BOOL=ON \ |
24 |
-DWITH_MP4:BOOL=ON |
28 |
-DWITH_MP4:BOOL=ON |
25 |
MAKE_JOBS_SAFE= yes |
29 |
MAKE_JOBS_SAFE= yes |
26 |
USE_LDCONFIG= yes |
30 |
USE_LDCONFIG= yes |
27 |
|
31 |
|
28 |
OPTIONS= RCC "Build with RusXMMS librcc patches (experimental)" off |
|
|
29 |
|
30 |
.include <bsd.port.options.mk> |
32 |
.include <bsd.port.options.mk> |
31 |
|
33 |
|
32 |
.if defined(WITH_RCC) |
34 |
.if ${PORT_OPTIONS:MRCC} |
33 |
PKGNAMESUFFIX= -rcc |
35 |
PKGNAMESUFFIX= -rcc |
34 |
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-rcc |
36 |
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-rcc |
35 |
LIB_DEPENDS+= rcc.2:${PORTSDIR}/devel/librcc |
37 |
LIB_DEPENDS+= rcc:${PORTSDIR}/devel/librcc |
36 |
PLIST_SUB+= RCC="" |
38 |
PLIST_SUB+= RCC="" |
37 |
.else |
39 |
.else |
38 |
PLIST_SUB+= RCC="@comment " |
40 |
PLIST_SUB+= RCC="@comment " |
39 |
.endif |
41 |
.endif |
40 |
|
42 |
|
41 |
post-patch: |
43 |
post-patch: |
42 |
.if defined(WITH_RCC) |
44 |
.if ${PORT_OPTIONS:MRCC} |
43 |
@${REINPLACE_CMD} -e 's|-ltag|-ltag -lrcc|g' \ |
45 |
@${REINPLACE_CMD} -e 's|-ltag|-ltag -lrcc|g' \ |
44 |
${WRKSRC}/taglib.pc.cmake ${WRKSRC}/taglib-config.cmake \ |
46 |
${WRKSRC}/taglib.pc.cmake ${WRKSRC}/taglib-config.cmake \ |
45 |
${WRKSRC}/bindings/c/taglib_c.pc.cmake |
47 |
${WRKSRC}/bindings/c/taglib_c.pc.cmake |