mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Additional plug-ins for Qt MultiMedia Player
- MPG123: provides MPEG v1/2 layer1/2/3 support with use of libmpg123 library - FFap: provides enhanced Monkey's Audio (APE) support (24-bit samples and embedded cue support) - Simple Ui: simple user interface based on standard widgets set WWW: http://qmmp.ylsoftware.com/ or http://code.google.com/p/qmmp/ PR: ports/169574 Submitted by: SimaMoto,RyoTa <liangtai.s4@gmail.com>
This commit is contained in:
parent
37f8bdac04
commit
f84f9c733d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300493
@ -277,6 +277,7 @@
|
||||
SUBDIR += pyjama
|
||||
SUBDIR += qdvdauthor
|
||||
SUBDIR += qmmp
|
||||
SUBDIR += qmmp-plugin-pack
|
||||
SUBDIR += qt-faststart
|
||||
SUBDIR += qt4-multimedia
|
||||
SUBDIR += qt4-phonon
|
||||
|
81
multimedia/qmmp-plugin-pack/Makefile
Normal file
81
multimedia/qmmp-plugin-pack/Makefile
Normal file
@ -0,0 +1,81 @@
|
||||
# New ports collection Makefile for: qmmp-plugin-pack
|
||||
# Date created: Fri Jul 01 02:59:13 JST 2012
|
||||
# Whom: SimaMoto,RyoTa <liangtai.s4@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= qmmp-plugin-pack
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/ \
|
||||
http://qmmp.googlecode.com/files/
|
||||
|
||||
MAINTAINER= liangtai.s4@gmail.com
|
||||
COMMENT= Additional plug-ins for QMMP
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= qmmpui:${PORTSDIR}/multimedia/qmmp
|
||||
BUILD_DEPENDS= qmmp>=0.6.0:${PORTSDIR}/multimedia/qmmp
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_CMAKE= yes
|
||||
USE_QT4= corelib gui qmake_build rcc_build moc_build linguist_build
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_MULTI= PLUGINS
|
||||
OPTIONS_MULTI_PLUGINS= FFAP MPG123 QSUI
|
||||
OPTIONS_DEFAULT= FFAP MPG123 QSUI
|
||||
FFAP_DESC= Support APE sound file
|
||||
MPG123_DESC= Support libmpg123 (MPEG v1/2 layer1/2/3)
|
||||
QSUI_DESC= Simple UI based on standard widgets set
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MQSUI}
|
||||
USE_QT4+= network
|
||||
PLIST_SUB+= QSUI=""
|
||||
PLUGIN_OPTIONS_CMAKE+= -DUSE_QSUI:BOOL=TRUE
|
||||
.else
|
||||
PLIST_SUB+= QSUI="@comment "
|
||||
PLUGIN_OPTIONS_CMAKE+= -DUSE_QSUI:BOOL=FALSE
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMPG123}
|
||||
PLIST_SUB+= MPG123=""
|
||||
LIB_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
|
||||
PLUGIN_OPTIONS_CMAKE+= -DUSE_MPG123:BOOL=TRUE
|
||||
.else
|
||||
PLIST_SUB+= MPG123="@comment "
|
||||
PLUGIN_OPTIONS_CMAKE+= -DUSE_MPG123:BOOL=FALSE
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MFFAP}
|
||||
PLIST_SUB+= FFAP=""
|
||||
. if ${ARCH} == i386 || ${ARCH} == x86_64
|
||||
BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm
|
||||
. endif
|
||||
LIB_DEPENDS+= tag:${PORTSDIR}/audio/taglib
|
||||
PLUGIN_OPTIONS_CMAKE+= -DUSE_FFAP:BOOL=TRUE
|
||||
.else
|
||||
PLIST_SUB+= FFAP="@comment "
|
||||
PLUGIN_OPTIONS_CMAKE+= -DUSE_FFAP:BOOL=FALSE
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MQSUI} || ${PORT_OPTIONS:MMPG123}
|
||||
USE_QT4+= uic_build
|
||||
.endif
|
||||
|
||||
CMAKE_ARGS+= ${PLUGIN_OPTIONS_CMAKE} \
|
||||
-DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include
|
||||
CMAKE_OUTSOURCE=yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
pre-configure:
|
||||
${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
multimedia/qmmp-plugin-pack/distinfo
Normal file
2
multimedia/qmmp-plugin-pack/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (qmmp-plugin-pack-0.6.0.tar.bz2) = 47fe88ef372e5407a33fdd6d0fdfdc78eab9a746aa5c570b2f489836576ae9e1
|
||||
SIZE (qmmp-plugin-pack-0.6.0.tar.bz2) = 268941
|
9
multimedia/qmmp-plugin-pack/pkg-descr
Normal file
9
multimedia/qmmp-plugin-pack/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Additional plug-ins for Qt MultiMedia Player
|
||||
|
||||
- MPG123: provides MPEG v1/2 layer1/2/3 support with use of
|
||||
libmpg123 library
|
||||
- FFap: provides enhanced Monkey's Audio (APE) support
|
||||
(24-bit samples and embedded cue support)
|
||||
- Simple Ui: simple user interface based on standard widgets set
|
||||
|
||||
WWW: http://qmmp.ylsoftware.com/ or http://code.google.com/p/qmmp/
|
6
multimedia/qmmp-plugin-pack/pkg-plist
Normal file
6
multimedia/qmmp-plugin-pack/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
%%FFAP%%lib/qmmp/Input/libffap.so
|
||||
%%MPG123%%lib/qmmp/Input/libmpg123.so
|
||||
%%QSUI%%lib/qmmp/Ui/libqsui.so
|
||||
@dirrmtry lib/qmmp/Input
|
||||
@dirrmtry lib/qmmp/Ui
|
||||
@dirrmtry lib/qmmp
|
Loading…
Reference in New Issue
Block a user