From owner-svn-ports-head@FreeBSD.ORG Sat Aug 16 16:01:52 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E28EA66; Sat, 16 Aug 2014 16:01:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FCFD2A6F; Sat, 16 Aug 2014 16:01:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7GG1qTH020836; Sat, 16 Aug 2014 16:01:52 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7GG1qAU020835; Sat, 16 Aug 2014 16:01:52 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201408161601.s7GG1qAU020835@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Sat, 16 Aug 2014 16:01:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365096 - head/audio/picard X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2014 16:01:52 -0000 Author: jhale Date: Sat Aug 16 16:01:51 2014 New Revision: 365096 URL: http://svnweb.freebsd.org/changeset/ports/365096 QAT: https://qat.redports.org/buildarchive/r365096/ Log: - USE_PYTHON -> USES=python - Add LICENSE_FILE - Strip binaries - Use options helpers - Add USES=desktop-file-utils per stage-qa - Bump PORTREVISION since d-f-u changes RUN_DEPENDS and plist Modified: head/audio/picard/Makefile Modified: head/audio/picard/Makefile ============================================================================== --- head/audio/picard/Makefile Sat Aug 16 15:49:06 2014 (r365095) +++ head/audio/picard/Makefile Sat Aug 16 16:01:51 2014 (r365096) @@ -3,6 +3,7 @@ PORTNAME= picard PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/picard/ \ ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/ \ @@ -12,6 +13,7 @@ MAINTAINER= jhale@FreeBSD.org COMMENT= Next generation MusicBrainz Tagger LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING.txt LIB_DEPENDS= libdiscid.so:${PORTSDIR}/audio/libdiscid RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=0:${PORTSDIR}/audio/py-mutagen \ @@ -20,28 +22,20 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}muta ${PYTHON_PKGNAMEPREFIX}qt4-network>=0:${PORTSDIR}/net/py-qt4-network \ ${PYTHON_PKGNAMEPREFIX}qt4-xml>=0:${PORTSDIR}/textproc/py-qt4-xml -USES= gettext -USE_PYTHON= 2 -USE_PYDISTUTILS=yes +USES= gettext python:2 desktop-file-utils +PYTHON_FEATURES=distutils INSTALLS_ICONS= yes OPTIONS_DEFINE= ACOUSTID REPLAYGAIN -ACOUSTID_DESC= AcoustID audio fingerprinting support -REPLAYGAIN_DESC=ReplayGain audio normalization support +ACOUSTID_DESC= AcoustID audio fingerprinting support +ACOUSTID_RUN_DEPENDS= fpcalc:${PORTSDIR}/audio/chromaprint -.include - -.if ${PORT_OPTIONS:MACOUSTID} -RUN_DEPENDS+= fpcalc:${PORTSDIR}/audio/chromaprint -.endif - -.if ${PORT_OPTIONS:MREPLAYGAIN} -RUN_DEPENDS+= metaflac:${PORTSDIR}/audio/flac \ - mp3gain:${PORTSDIR}/audio/mp3gain \ - vorbisgain:${PORTSDIR}/audio/vorbisgain \ - wvgain:${PORTSDIR}/audio/wavpack -.endif +REPLAYGAIN_DESC= ReplayGain audio normalization support +REPLAYGAIN_RUN_DEPENDS= metaflac:${PORTSDIR}/audio/flac \ + mp3gain:${PORTSDIR}/audio/mp3gain \ + vorbisgain:${PORTSDIR}/audio/vorbisgain \ + wvgain:${PORTSDIR}/audio/wavpack post-patch: @${REINPLACE_CMD} -e "s|'picard.plugins',|'picard.plugins', 'picard.plugins.lastfm', 'picard.plugins.lastfmplus', 'picard.plugins.replaygain',|" \ @@ -49,4 +43,7 @@ post-patch: ${WRKSRC}/setup.py @${CP} -R ${WRKSRC}/contrib/plugins/ ${WRKSRC}/picard/plugins +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/picard/util/astrcmp.so + .include