From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 21 22:00:25 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 EBF5933A for ; Wed, 21 Nov 2012 22:00:24 +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 C11448FC1D for ; Wed, 21 Nov 2012 22:00:24 +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 qALM02K6037597 for ; Wed, 21 Nov 2012 22:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qALM02Pi037596; Wed, 21 Nov 2012 22:00:02 GMT (envelope-from gnats) Resent-Date: Wed, 21 Nov 2012 22:00:02 GMT Resent-Message-Id: <201211212200.qALM02Pi037596@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 EBAA12C7 for ; Wed, 21 Nov 2012 21:55:51 +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 BAD818FC14 for ; Wed, 21 Nov 2012 21:55:51 +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 qALLtptC029870 for ; Wed, 21 Nov 2012 21:55:51 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qALLtpCH029869; Wed, 21 Nov 2012 21:55:51 GMT (envelope-from nobody) Message-Id: <201211212155.qALLtpCH029869@red.freebsd.org> Date: Wed, 21 Nov 2012 21:55:51 GMT From: Chris Petrik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173782: [PATCH] audio/clementine-player 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 22:00:25 -0000 >Number: 173782 >Category: ports >Synopsis: [PATCH] audio/clementine-player 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 22:00:02 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: clementine-player/Makefile =================================================================== --- clementine-player/Makefile (revision 305743) +++ clementine-player/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: clementine-player -# Date created: 2010-03-23 -# Whom: Gvozdikov Veniamin -# +# Created by: Gvozdikov Veniamin # $FreeBSD$ -# PORTNAME= clementine PORTVERSION= 1.0.0 @@ -17,10 +13,10 @@ LICENSE= GPLv3 -LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib \ - notify.4:${PORTSDIR}/devel/libnotify \ - xine.2:${PORTSDIR}/multimedia/libxine \ - qjson.0:${PORTSDIR}/devel/qjson +LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \ + notify:${PORTSDIR}/devel/libnotify \ + xine:${PORTSDIR}/multimedia/libxine \ + qjson:${PORTSDIR}/devel/qjson BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs PROJECTHOST= ${PORTNAME}${PKGNAMESUFFIX} @@ -37,36 +33,37 @@ CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" -OPTIONS= VISUALISATION "Visualisations from projectM" off \ - LASTFM "Support Last.fm service (requires ruby)" on \ - GPOD "iPod support" on \ - MTP "MTP device support" on +OPTIONS_DEFINE= VISUALISATION LASTFM GPOD MTP +OPTIONS_DEFAULTS= LASTFM GPOD MTP -.include +VISUALISATION_DESC= Visualisations from projectM +GPOD_DESC= iPod support -.if defined(WITH_VISUALISATION) +.include + +.if ${PORT_OPTIONS:MVISUALISATION} PLIST_SUB+= VSL="" .else CMAKE_ARGS+= -DENABLE_VISUALISATIONS=OFF PLIST_SUB+= VSL="@comment " .endif -.if defined(WITH_LASTFM) -LIB_DEPENDS+= lastfm.0:${PORTSDIR}/audio/liblastfm +.if ${PORT_OPTIONS:MLASTFM} +LIB_DEPENDS+= lastfm:${PORTSDIR}/audio/liblastfm .else CMAKE_ARGS+= -DENABLE_LIBLASTFM=Off .endif -.if defined(WITH_GPOD) -LIB_DEPENDS+= gpod.7:${PORTSDIR}/audio/libgpod +.if ${PORT_OPTIONS:MGPOD} +LIB_DEPENDS+= gpod:${PORTSDIR}/audio/libgpod .else CMAKE_ARGS+= -DENABLE_LIBGPOD=Off .endif -.if defined(WITH_MTP) -LIB_DEPENDS+= mtp.9:${PORTSDIR}/audio/libmtp +.if ${PORT_OPTIONS:MMTP} +LIB_DEPENDS+= mtp:${PORTSDIR}/audio/libmtp .else CMAKE_ARGS+= -DENABLE_LIBMTP=Off .endif -.include +.include >Release-Note: >Audit-Trail: >Unformatted: