diff options
Diffstat (limited to 'sysutils/k3b/Makefile')
-rw-r--r-- | sysutils/k3b/Makefile | 74 |
1 files changed, 62 insertions, 12 deletions
diff --git a/sysutils/k3b/Makefile b/sysutils/k3b/Makefile index 12c7c0aaf834..fc3d71c253b5 100644 --- a/sysutils/k3b/Makefile +++ b/sysutils/k3b/Makefile @@ -6,8 +6,7 @@ # PORTNAME= k3b -PORTVERSION= 0.11.24 -PORTREVISION= 1 +PORTVERSION= 0.12.2 CATEGORIES= sysutils multimedia kde MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,27 +16,30 @@ COMMENT= A CD/DVD recording GUI for KDE RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \ cdrdao:${PORTSDIR}/sysutils/cdrdao -LIB_DEPENDS= mad:${PORTSDIR}/audio/libmad \ - id3:${PORTSDIR}/audio/id3lib \ - vorbis:${PORTSDIR}/audio/libvorbis \ - FLAC:${PORTSDIR}/audio/flac +LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \ + dvdcss:${PORTSDIR}/multimedia/libdvdcss \ + samplerate:${PORTSDIR}/audio/libsamplerate USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-k3bsetup=no +CONFIGURE_ARGS= --with-k3bsetup=no --without-resmgr --without-hal USE_GMAKE= yes USE_INC_LIBTOOL_VER=15 INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 USE_KDELIBS_VER= 3 -USE_REINPLACE= yes + +OPTIONS= SNDFILE "Add audio/libsndfile decoder (for wav files)" On \ + FLAC "Add audio/flac decoder" On \ + LAME "Add audio/lame encoder (for mp3 files)" On \ + FFMPEG "Add multimedia/ffmpeg decoder (for wma files)" Off \ + MUSICBRAINZ "Use audio/libmusicbrainz music meta database" Off \ + MPC "Add audio/libmpcdec decoder (for musepack file)" Off pre-configure: - ${REINPLACE_CMD} "s,-O2 ,,g" ${WRKSRC}/configure -.for i in config.h.in Makefile.in - ${TOUCH} ${WRKSRC}/${i} -.endfor + ${RM} ${WRKSRC}/admin/cvs.sh + ${TOUCH} ${WRKSRC}/admin/cvs.sh post-install: @${CAT} ${PKGMESSAGE} @@ -52,4 +54,52 @@ showinfo: PKGMESSAGE= ${PKGDIR}/pkg-message5 .endif +.if defined(WITH_SNDFILE) +PLIST_SUB+= SNDFILE="" +LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile +.else +PLIST_SUB+= SNDFILE="@comment " +CONFIGURE_ARGS+= --without-sndfile +.endif + +.if defined(WITH_FLAC) +PLIST_SUB+= FLAC="" +LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac +.else +PLIST_SUB+= FLAC="@comment " +CONFIGURE_ARGS+= --without-flac +.endif + +.if defined(WITH_LAME) +PLIST_SUB+= LAME="" +LIB_DEPENDS+= mp3lame:${PORTSDIR}/audio/lame +.else +PLIST_SUB+= LAME="@comment " +CONFIGURE_ARGS+= --without-lame +.endif + +.if defined(WITH_FFMPEG) +PLIST_SUB+= FFMPEG="" +LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg +.else +PLIST_SUB+= FFMPEG="@comment " +CONFIGURE_ARGS+= --without-ffmpeg +.endif + +.if defined(WITH_MUSICBRAINZ) +PLIST_SUB+= MUSICBRAINZ="" +LIB_DEPENDS+= musicbrainz:${PORTSDIR}/audio/libmusicbrainz +.else +PLIST_SUB+= MUSICBRAINZ="@comment " +CONFIGURE_ARGS+= --without-musicbrainz +.endif + +.if defined(WITH_MPC) +PLIST_SUB+= MPC="" +LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/libmpcdec +.else +PLIST_SUB+= MPC="@comment " +CONFIGURE_ARGS+= --without-musepack +.endif + .include <bsd.port.post.mk> |