From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 21 21:50:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFFF8BF for ; Wed, 21 Nov 2012 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B51318FC1D for ; Wed, 21 Nov 2012 21:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qALLo1l9036949 for ; Wed, 21 Nov 2012 21:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qALLo15G036948; Wed, 21 Nov 2012 21:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 21 Nov 2012 21:50:01 GMT Resent-Message-Id: <201211212150.qALLo15G036948@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Petrik Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67683F28 for ; Wed, 21 Nov 2012 21:44:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 36E078FC0C for ; Wed, 21 Nov 2012 21:44:17 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qALLiHTs013338 for ; Wed, 21 Nov 2012 21:44:17 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qALLiHcb013337; Wed, 21 Nov 2012 21:44:17 GMT (envelope-from nobody) Message-Id: <201211212144.qALLiHcb013337@red.freebsd.org> Date: Wed, 21 Nov 2012 21:44:17 GMT From: Chris Petrik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173777: [PATCH] audio/akode optionsng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 21:50:02 -0000 >Number: 173777 >Category: ports >Synopsis: [PATCH] audio/akode optionsng >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 21:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Chris Petrik >Release: >Organization: na >Environment: >Description: OptionsNg changes >How-To-Repeat: >Fix: Patch attached with submission follows: Index: akode/Makefile =================================================================== --- akode/Makefile (revision 305743) +++ akode/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: mpeglib_artsplug -# Date created: July 09 2004 -# Whom: Michael Nottebrock -# +# Created by: Michael Nottebrock # $FreeBSD$ -# PORTNAME= akode PORTVERSION= 2.0.2 @@ -17,19 +13,19 @@ MAINTAINER= swhetzel@gmail.com COMMENT= Default KDE audio backend + LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= kdemultimedia-3.[1-3]* -OPTIONS= FFMPEG "FFMPEG decoder plugin" off \ - JACK "Jack output plugin" off \ - MPC "Monkey's Audio decoder plugin" on \ - MPEG "MPEG Audio (including mp3) plugin" on \ - OSS "OSS output plugin" on \ - RESAMPLER "Resampler processing plugin" on \ - XIPH "FLAC/Speex/Vorbis decoder plugin" on +OPTIONS_DEFINE= FFMPEG JACK MPC MPEG OSS RESAMPLER XIPH +OPTIONS_DEFAULT= MPC MPEG OSS RESAMPLER XIP +MPC_DESC= Monkey's Audio decoder plugin +RESAMPLER_DESC= Resampler processing plugin +XIPH_DESC= FLAC/Speex/Vorbis decoder plugin + USE_AUTOTOOLS= libltdl libtool USE_BZIP2= yes USE_GCC= any @@ -41,33 +37,33 @@ --with-extra-libs=${LOCALBASE}/lib \ --with-extra-includes=${LOCALBASE}/include -.include +.include -.if defined(WITH_FFMPEG) +.if ${PORT_OPTIONS:MFFMPEG} RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_ffmpeg_decoder.so:${PORTSDIR}/audio/akode-plugins-ffmpeg .endif -.if defined(WITH_JACK) +.if ${PORT_OPTIONS:MJACK} RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_jack_sink.so:${PORTSDIR}/audio/akode-plugins-jack .endif -.if !defined(WITHOUT_MPC) +.if ${PORT_OPTIONS:MMPC} RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_mpc_decoder.so:${PORTSDIR}/audio/akode-plugins-mpc .endif -.if !defined(WITHOUT_MPEG) +.if ${PORT_OPTIONS:MMPEG} RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_mpeg_decoder.so:${PORTSDIR}/audio/akode-plugins-mpeg .endif -.if !defined(WITHOUT_OSS) +.if ${PORT_OPTIONS:MOSS} RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_oss_sink.so:${PORTSDIR}/audio/akode-plugins-oss .endif -.if !defined(WITHOUT_RESAMPLER) +.if ${PORT_OPTIONS:MRESAMPLER} RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_src_resampler.so:${PORTSDIR}/audio/akode-plugins-resampler .endif -.if !defined(WITHOUT_XIPH) +.if ${PORT_OPTIONS:MXIPH} RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_xiph_decoder.so:${PORTSDIR}/audio/akode-plugins-xiph .endif @@ -78,4 +74,4 @@ $$(all_libraries) ${PTHREAD_LIBS}|g' \ ${WRKSRC}/akode/akodeplay/Makefile.in -.include +.include >Release-Note: >Audit-Trail: >Unformatted: