mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
99cee129bc
Clean up plist PR: 196634 Submitted by: jdhore1@gmail.com (patch by maintainer)
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qmmp-plugin-pack
|
|
PORTVERSION= 0.8.3
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/
|
|
|
|
MAINTAINER= liangtai.s16@gmail.com
|
|
COMMENT= Additional plug-ins for QMMP
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libqmmpui.so:${PORTSDIR}/multimedia/qmmp
|
|
BUILD_DEPENDS= qmmp>=0.8.0:${PORTSDIR}/multimedia/qmmp
|
|
|
|
USES= cmake:outsource pkgconfig tar:bzip2
|
|
USE_QT4= corelib gui qmake_build rcc_build moc_build linguist_build
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
OPTIONS_MULTI= PLUGINS
|
|
OPTIONS_MULTI_PLUGINS= FFAP MPG123 QSUI
|
|
|
|
OPTIONS_DEFAULT= FFAP MPG123 QSUI
|
|
|
|
FFAP_DESC= Support APE sound file
|
|
FFAP_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
|
|
FFAP_CMAKE_ON= -DUSE_FFAP:BOOL=TRUE
|
|
FFAP_CMAKE_OFF= -DUSE_FFAP:BOOL=FALSE
|
|
OPTIONS_DEFINE_i386= FFAPASM
|
|
OPTIONS_DEFAULT_i386= FFAPASM
|
|
OPTIONS_DEFINE_amd64= FFAPASM
|
|
OPTIONS_DEFAULT_amd64= FFAPASM
|
|
FFAPASM_DESC= Optimize FFap decoder using devel/yasm
|
|
FFAPASM_BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
|
|
FFAPASM_CMAKE_ON= -DUSE_ASM:BOOL=TRUE
|
|
FFAPASM_CMAKE_OFF= -DUSE_ASM:BOOL=FALSE
|
|
|
|
MPG123_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123
|
|
MPG123_USE= QT4=uic_build
|
|
MPG123_CMAKE_ON= -DUSE_MPG123:BOOL=TRUE
|
|
MPG123_CMAKE_OFF= -DUSE_MPG123:BOOL=FALSE
|
|
|
|
QSUI_DESC= Simple UI based on standard widgets set
|
|
QSUI_USE= QT4=network,uic_build
|
|
QSUI_CMAKE_ON= -DUSE_QSUI:BOOL=TRUE
|
|
QSUI_CMAKE_OFF= -DUSE_QSUI:BOOL=FALSE
|
|
|
|
CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
pre-configure:
|
|
@${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt
|
|
|
|
.include <bsd.port.mk>
|