Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= qmmp-plugin-pack |
3 |
PORTNAME= qmmp-plugin-pack |
4 |
PORTVERSION= 1.0.2 |
4 |
PORTVERSION= 1.0.3 |
5 |
CATEGORIES= multimedia |
5 |
CATEGORIES= multimedia |
6 |
MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/ \ |
6 |
MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/ \ |
7 |
SF/qmmp-dev/${PORTNAME}/ |
7 |
SF/qmmp-dev/${PORTNAME}/ |
Lines 18-24
Link Here
|
18 |
BUILD_DEPENDS= qmmp-qt5>=1.0.0:multimedia/qmmp-qt5 |
18 |
BUILD_DEPENDS= qmmp-qt5>=1.0.0:multimedia/qmmp-qt5 |
19 |
|
19 |
|
20 |
USES= cmake:outsource pkgconfig tar:bzip2 |
20 |
USES= cmake:outsource pkgconfig tar:bzip2 |
21 |
USE_QT5= core gui qmake_build buildtools_build linguisttools_build |
21 |
USE_QT5= core gui buildtools_build linguisttools_build qmake_build |
22 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
23 |
|
23 |
|
24 |
OPTIONS_SUB= yes |
24 |
OPTIONS_SUB= yes |
Lines 25-31
Link Here
|
25 |
|
25 |
|
26 |
OPTIONS_MULTI= PLUGINS |
26 |
OPTIONS_MULTI= PLUGINS |
27 |
OPTIONS_MULTI_PLUGINS= FFAP MPG123 XMP |
27 |
OPTIONS_MULTI_PLUGINS= FFAP MPG123 XMP |
28 |
|
|
|
29 |
OPTIONS_DEFAULT= FFAP MPG123 XMP |
28 |
OPTIONS_DEFAULT= FFAP MPG123 XMP |
30 |
|
29 |
|
31 |
FFAP_DESC= Support APE sound file |
30 |
FFAP_DESC= Support APE sound file |
Lines 41-47
Link Here
|
41 |
FFAPASM_CMAKE_ON= -DUSE_ASM:BOOL=TRUE |
40 |
FFAPASM_CMAKE_ON= -DUSE_ASM:BOOL=TRUE |
42 |
FFAPASM_CMAKE_OFF= -DUSE_ASM:BOOL=FALSE |
41 |
FFAPASM_CMAKE_OFF= -DUSE_ASM:BOOL=FALSE |
43 |
|
42 |
|
44 |
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 |
43 |
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 \ |
|
|
44 |
libtag.so:audio/taglib |
45 |
MPG123_CMAKE_ON= -DUSE_MPG123:BOOL=TRUE |
45 |
MPG123_CMAKE_ON= -DUSE_MPG123:BOOL=TRUE |
46 |
MPG123_CMAKE_OFF= -DUSE_MPG123:BOOL=FALSE |
46 |
MPG123_CMAKE_OFF= -DUSE_MPG123:BOOL=FALSE |
47 |
|
47 |
|
Lines 50-55
Link Here
|
50 |
XMP_CMAKE_ON= -DUSE_XMP:BOOL=TRUE |
50 |
XMP_CMAKE_ON= -DUSE_XMP:BOOL=TRUE |
51 |
XMP_CMAKE_OFF= -DUSE_XMP:BOOL=FALSE |
51 |
XMP_CMAKE_OFF= -DUSE_XMP:BOOL=FALSE |
52 |
|
52 |
|
|
|
53 |
# Downgrade TagLib, otherwise MPG123 and FFAP options don't work! |
54 |
post-patch: |
55 |
@${GREP} -l 'TAGLIB taglib>=1\.10\.0' \ |
56 |
${WRKSRC}/src/Input/CMakeLists.txt | ${XARGS} \ |
57 |
${REINPLACE_CMD} -e '/TAGLIB/s|1\.10\.0|1.9|' |
58 |
|
53 |
pre-configure: |
59 |
pre-configure: |
54 |
@${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt |
60 |
@${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt |
55 |
|
61 |
|