mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Update to 2.2.0
- Add option for new wavpack plugin PR: ports/114992 Submitted by: Herbert J. Skuhra <h.skuhra@gmail.com> Approved by: Simon Olofsson <simon@olofsson.de> (maintainer)
This commit is contained in:
parent
4fdc5322c6
commit
796b5ef2df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196648
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= cmus
|
||||
PORTVERSION= 2.1.0
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 2.2.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://onion.dynserv.net/~timo/files/ \
|
||||
http://mirror.greaterscope.net/cmus/
|
||||
@ -16,11 +15,11 @@ MAINTAINER= simon@olofsson.de
|
||||
COMMENT= Console-based music player with really cool features
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GCC= 3.2+
|
||||
USE_GMAKE= yes
|
||||
USE_ICONV= yes
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=prefix=${TARGETDIR} mandir=${MANPREFIX}/man
|
||||
CONFIGURE_ARGS+=prefix=${TARGETDIR} mandir=${MANPREFIX}/man \
|
||||
exampledir=${EXAMPLESDIR}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
@ -33,13 +32,14 @@ OPTIONS= FLAC "FLAC (Free Lossless Audio Codec) support" Off \
|
||||
TREMOR "Use Tremor as Ogg/Vorbis input plugin" Off \
|
||||
MP4 "MPEG-4 AAC support" Off \
|
||||
AAC "AAC support" Off \
|
||||
WAVPACK "Wavpack support" Off \
|
||||
LIBAO "Libao cross-platform audio library" Off \
|
||||
ARTS "ARTS support" Off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
|
||||
LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses
|
||||
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FLAC)
|
||||
@ -119,6 +119,15 @@ CONFIGURE_ARGS+=CONFIG_AAC=n
|
||||
PLIST_SUB+= AAC="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_WAVPACK)
|
||||
LIB_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack
|
||||
CONFIGURE_ARGS+=CONFIG_WAVPACK=y
|
||||
PLIST_SUB+= WAVPACK=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=CONFIG_WAVPACK=n
|
||||
PLIST_SUB+= WAVPACK="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LIBAO)
|
||||
LIB_DEPENDS+= ao:${PORTSDIR}/audio/libao
|
||||
CONFIGURE_ARGS+=CONFIG_AO=y
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (cmus-2.1.0.tar.bz2) = 11ca53a05442ee073b6e790e957b1433
|
||||
SHA256 (cmus-2.1.0.tar.bz2) = fe47e258918526b9e1b2cd7081d73654af8c326f0f3b0fabe450b805b78423c0
|
||||
SIZE (cmus-2.1.0.tar.bz2) = 146956
|
||||
MD5 (cmus-2.2.0.tar.bz2) = 7a9895ecfc10cd16577c73051436962f
|
||||
SHA256 (cmus-2.2.0.tar.bz2) = f18ffafc7161a383ddc79b34cc16a5a38f675454c49799dac5d172bf22d12005
|
||||
SIZE (cmus-2.2.0.tar.bz2) = 155448
|
||||
|
@ -9,6 +9,7 @@ lib/cmus/ip/wav.so
|
||||
%%VORBIS%%lib/cmus/ip/vorbis.so
|
||||
%%MP4%%lib/cmus/ip/mp4.so
|
||||
%%AAC%%lib/cmus/ip/aac.so
|
||||
%%WAVPACK%%lib/cmus/ip/wavpack.so
|
||||
lib/cmus/op/oss.so
|
||||
%%AO%%lib/cmus/op/ao.so
|
||||
%%ARTS%%lib/cmus/op/arts.so
|
||||
@ -16,6 +17,7 @@ lib/cmus/op/oss.so
|
||||
%%DATADIR%%/default.theme
|
||||
%%DATADIR%%/gray-88.theme
|
||||
%%DATADIR%%/green-mono-88.theme
|
||||
%%DATADIR%%/green.theme
|
||||
%%DATADIR%%/rc
|
||||
%%DATADIR%%/xterm-white.theme
|
||||
%%EXAMPLESDIR%%/cmus-status-display
|
||||
|
Loading…
Reference in New Issue
Block a user