FreeBSD Bugzilla – Attachment 126719 Details for
Bug 170476
[PATCH] audio/cmus: update to 2.4.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cmus.diff
cmus.diff (text/x-patch; charset="ISO-8859-1"), 7.21 KB, created by
Jason E. Hale
on 2012-10-15 03:07:19 UTC
(
hide
)
Description:
cmus.diff
Filename:
MIME Type:
Creator:
Jason E. Hale
Created:
2012-10-15 03:07:19 UTC
Size:
7.21 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 305895) >+++ Makefile (working copy) >@@ -1,16 +1,10 @@ >-# New ports collection makefile for: cmus >-# Date created: 14 October 2005 >-# Whom: Adam Weinberger >-# >+# Created by: Adam Weinberger > # $FreeBSD$ >-# > > PORTNAME= cmus >-PORTVERSION= 2.4.2 >-PORTREVISION= 2 >+PORTVERSION= 2.4.3 > CATEGORIES= audio >-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >-MASTER_SITE_SUBDIR= ${PORTNAME} >+MASTER_SITES= SF/${PORTNAME} > DISTNAME= ${PORTNAME}-v${PORTVERSION} > > MAINTAINER= h.skuhra@gmail.com >@@ -20,29 +14,19 @@ > USE_GMAKE= yes > USE_ICONV= yes > USE_NCURSES= yes >+USE_PKGCONFIG= build > HAS_CONFIGURE= yes > CONFIGURE_ARGS+=prefix=${PREFIX} mandir=${MANPREFIX}/man \ > exampledir=${EXAMPLESDIR} \ >- CONFIG_ALSA=n >+ CONFIG_ALSA=n CONFIG_ROAR=n > >-OPTIONS= FLAC "FLAC (Free Lossless Audio Codec) support" Off \ >- MAD "MPEG Audio Decoder (libmad) support" On \ >- MODPLUG "libmodplug (mod, x3m, ...) support" Off \ >- MIKMOD "libmikmod (mod, x3m, ...) support" Off \ >- MUSEPACK "libmpcdec (Musepack .mpc) support" Off \ >- VORBIS "Ogg/Vorbis support" On \ >- TREMOR "Use Tremor as Ogg/Vorbis input plugin" Off \ >- MP4 "MPEG-4 AAC support" Off \ >- AAC "AAC support" Off \ >- WAVPACK "Wavpack support" Off \ >- FFMPEG "FFMPEG support" Off \ >- LIBAO "Libao cross-platform audio library" Off \ >- PULSEAUDIO "Pulseaudio support" Off \ >- ARTS "ARTS support" Off >+OPTIONS_DEFINE= AAC AO ARTS FFMPEG FLAC MAD MIKMOD MODPLUG MP4 \ >+ MUSEPACK PULSEAUDIO TREMOR VORBIS WAVPACK >+OPTIONS_DEFAULT=FLAC MAD VORBIS > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > >-.if defined(WITH_FLAC) >+.if ${PORT_OPTIONS:MFLAC} > LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac > CONFIGURE_ARGS+=CONFIG_FLAC=y > PLIST_SUB+= FLAC="" >@@ -51,7 +35,7 @@ > PLIST_SUB+= FLAC="@comment " > .endif > >-.if !defined(WITHOUT_MAD) >+.if ${PORT_OPTIONS:MMAD} > LIB_DEPENDS+= mad:${PORTSDIR}/audio/libmad > CONFIGURE_ARGS+=CONFIG_MAD=y > PLIST_SUB+= MAD="" >@@ -60,7 +44,7 @@ > PLIST_SUB+= MAD="@comment " > .endif > >-.if defined(WITH_MODPLUG) >+.if ${PORT_OPTIONS:MMODPLUG} > LIB_DEPENDS+= modplug:${PORTSDIR}/audio/libmodplug > CONFIGURE_ARGS+=CONFIG_MODPLUG=y > PLIST_SUB+= MODPLUG="" >@@ -69,7 +53,7 @@ > PLIST_SUB+= MODPLUG="@comment " > .endif > >-.if defined(WITH_MIKMOD) >+.if ${PORT_OPTIONS:MMIKMOD} > LIB_DEPENDS+= mikmod:${PORTSDIR}/audio/libmikmod > CONFIGURE_ARGS+=CONFIG_MIKMOD=y > PLIST_SUB+= MIKMOD="" >@@ -77,7 +61,7 @@ > PLIST_SUB+= MIKMOD="@comment " > .endif > >-.if defined(WITH_MUSEPACK) >+.if ${PORT_OPTIONS:MMUSEPACK} > LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/musepack > CONFIGURE_ARGS+=CONFIG_MPC=y > PLIST_SUB+= MPC="" >@@ -86,7 +70,7 @@ > PLIST_SUB+= MPC="@comment " > .endif > >-.if !defined(WITHOUT_VORBIS) || defined(WITH_TREMOR) >+.if ${PORT_OPTIONS:MVORBIS} || ${PORT_OPTIONS:MTREMOR} > LIB_DEPENDS+= vorbisfile:${PORTSDIR}/audio/libvorbis > CONFIGURE_ARGS+=CONFIG_VORBIS=y > PLIST_SUB+= VORBIS="" >@@ -95,12 +79,12 @@ > PLIST_SUB+= VORBIS="@comment " > .endif > >-.if defined(WITH_TREMOR) >+.if ${PORT_OPTIONS:MTREMOR} > LIB_DEPENDS+= vorbisidec:${PORTSDIR}/audio/libtremor > CONFIGURE_ARGS+=CONFIG_TREMOR=y > .endif > >-.if defined(WITH_MP4) >+.if ${PORT_OPTIONS:MMP4} > LIB_DEPENDS+= faad:${PORTSDIR}/audio/faad > LIB_DEPENDS+= mp4v2:${PORTSDIR}/multimedia/mp4v2 > CONFIGURE_ARGS+=CONFIG_MP4=y >@@ -110,7 +94,7 @@ > PLIST_SUB+= MP4="@comment " > .endif > >-.if defined(WITH_AAC) >+.if ${PORT_OPTIONS:MAAC} > LIB_DEPENDS+= faad:${PORTSDIR}/audio/faad > CONFIGURE_ARGS+=CONFIG_AAC=y > PLIST_SUB+= AAC="" >@@ -119,7 +103,7 @@ > PLIST_SUB+= AAC="@comment " > .endif > >-.if defined(WITH_WAVPACK) >+.if ${PORT_OPTIONS:MWAVPACK} > LIB_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack > CONFIGURE_ARGS+=CONFIG_WAVPACK=y > PLIST_SUB+= WAVPACK="" >@@ -128,8 +112,10 @@ > PLIST_SUB+= WAVPACK="@comment " > .endif > >-.if defined(WITH_FFMPEG) >-LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg >+.if ${PORT_OPTIONS:MFFMPEG} >+FFMPEG_SUFFIX= -011 >+BUILD_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>0.11:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX} >+RUN_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>0.11:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX} > CONFIGURE_ARGS+=CONFIG_FFMPEG=y > PLIST_SUB+= FFMPEG="" > .else >@@ -137,7 +123,7 @@ > PLIST_SUB+= FFMPEG="@comment " > .endif > >-.if defined(WITH_LIBAO) >+.if ${PORT_OPTIONS:MAO} > LIB_DEPENDS+= ao:${PORTSDIR}/audio/libao > CONFIGURE_ARGS+=CONFIG_AO=y > PLIST_SUB+= AO="" >@@ -146,7 +132,7 @@ > PLIST_SUB+= AO="@comment " > .endif > >-.if defined(WITH_PULSEAUDIO) >+.if ${PORT_OPTIONS:MPULSEAUDIO} > LIB_DEPENDS+= pulse:${PORTSDIR}/audio/pulseaudio > CONFIGURE_ARGS+=CONFIG_PULSE=y > PLIST_SUB+= PULSEAUDIO="" >@@ -155,7 +141,7 @@ > PLIST_SUB+= PULSEAUDIO="@comment " > .endif > >-.if defined(WITH_ARTS) >+.if ${PORT_OPTIONS:MARTS} > LIB_DEPENDS+= artsc:${PORTSDIR}/audio/arts > CONFIGURE_ARGS+=CONFIG_ARTS=y > PLIST_SUB+= ARTS="" >@@ -169,7 +155,9 @@ > > post-patch: > @${REINPLACE_CMD} -e 's,doc/cmus/examples,examples/cmus,g' \ >- ${WRKSRC}/Makefile ${WRKSRC}/Doc/cmus.txt >+ ${WRKSRC}/Doc/cmus.txt > @${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' ${WRKSRC}/Doc/cmus.txt >+ @${REINPLACE_CMD} -e 's,libavformat,libavformat${FFMPEG_SUFFIX},g' \ >+ ${WRKSRC}/configure > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> > >Property changes on: Makefile >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: distinfo >=================================================================== >--- distinfo (revision 305895) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (cmus-v2.4.2.tar.bz2) = 1f54d94574f0f7f9beca34908b16141f8eb89070728305d8906b8dc19cca0c31 >-SIZE (cmus-v2.4.2.tar.bz2) = 204285 >+SHA256 (cmus-v2.4.3.tar.bz2) = c8b853d6cc4de6cc628fe1cf48f5a841ab230d818bdbf39131b69d88844bcffe >+SIZE (cmus-v2.4.3.tar.bz2) = 204508 > >Property changes on: distinfo >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-Makefile >=================================================================== >--- files/patch-Makefile (revision 0) >+++ files/patch-Makefile (working copy) >@@ -0,0 +1,24 @@ >+--- ./Makefile.orig 2011-11-30 03:57:20.000000000 -0500 >++++ ./Makefile 2012-10-14 20:42:11.000000000 -0400 >+@@ -96,7 +96,7 @@ >+ $(wavpack-objs): CFLAGS += $(WAVPACK_CFLAGS) >+ $(mp4-objs): CFLAGS += $(MP4_CFLAGS) >+ $(aac-objs): CFLAGS += $(AAC_CFLAGS) >+-$(ffmpeg-objs): CFLAGS += $(FFMPEG_CFLAGS) >++$(ffmpeg-objs): CFLAGS := $(FFMPEG_CFLAGS) $(CFLAGS) >+ >+ flac.so: $(flac-objs) $(libcmus-y) >+ $(call cmd,ld_dl,$(FLAC_LIBS)) >+@@ -200,10 +200,10 @@ >+ $(call cmd,ttman) >+ >+ Doc/ttman.o: Doc/ttman.c >+- $(call cmd,hostcc,) >++ $(call cmd,cc,) >+ >+ Doc/ttman: Doc/ttman.o >+- $(call cmd,hostld,) >++ $(call cmd,ld,) >+ >+ quiet_cmd_ttman = MAN $@ >+ cmd_ttman = Doc/ttman $< $@ > >Property changes on: files/patch-Makefile >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 170476
:
126716
|
126717
|
126718
| 126719