From owner-svn-ports-all@FreeBSD.ORG Sun Apr 6 18:05:49 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E2429F4; Sun, 6 Apr 2014 18:05:49 +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 D5EB4B61; Sun, 6 Apr 2014 18:05:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s36I5mim014442; Sun, 6 Apr 2014 18:05:48 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s36I5mrB014440; Sun, 6 Apr 2014 18:05:48 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404061805.s36I5mrB014440@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 6 Apr 2014 18:05:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350393 - head/audio/gqmpeg X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2014 18:05:49 -0000 Author: bapt Date: Sun Apr 6 18:05:48 2014 New Revision: 350393 URL: http://svnweb.freebsd.org/changeset/ports/350393 QAT: https://qat.redports.org/buildarchive/r350393/ Log: Support stage Modified: head/audio/gqmpeg/Makefile head/audio/gqmpeg/pkg-plist Modified: head/audio/gqmpeg/Makefile ============================================================================== --- head/audio/gqmpeg/Makefile Sun Apr 6 18:00:10 2014 (r350392) +++ head/audio/gqmpeg/Makefile Sun Apr 6 18:05:48 2014 (r350393) @@ -11,18 +11,17 @@ MASTER_SITES= SF MAINTAINER?= lyngbol@wheel.dk COMMENT?= Another gtk-based MP3 frontend +OPTIONS_DEFINE= MPG321 +MPG321_DESC= use mpg321 instead of mpg123 + LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools \ xmp:${PORTSDIR}/audio/xmp -.if defined(WITH_MPG321) -RUN_DEPENDS+= mpg321:${PORTSDIR}/audio/mpg321 -.else -RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 -.endif +MPG321_RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321 +MPG321_RUN_DEPENDS_OFF= mpg123:${PORTSDIR}/audio/mpg123 USE_GNOME= gdkpixbuf -NO_STAGE= yes USES= gettext USE_AUTOTOOLS= autoconf213 libtool CONFIGURE_ENV+= USE_GNOME="" @@ -30,23 +29,11 @@ CONFIGURE_ENV+= USE_GNOME="" CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 LDFLAGS+= -L${LOCALBASE}/lib -lintl -MAN1= gqmpeg.1 - -.include - -.if !defined(WITH_MPG321) -pre-everything:: - @${ECHO_MSG} - @${ECHO_MSG} "If you want to use mpg321 instead of mpg123," - @${ECHO_MSG} "hit Ctrl-C right now and execute \"make WITH_MPG321=yes\"" - @${ECHO_MSG} -.endif +.include -.if defined(WITH_MPG321) post-patch: @${REINPLACE_CMD} -E -e \ 's/^(#define MPG123_BINARY "mpg)123"/\1321"/' \ ${WRKSRC}/src/io_mpg123.c -.endif -.include +.include Modified: head/audio/gqmpeg/pkg-plist ============================================================================== --- head/audio/gqmpeg/pkg-plist Sun Apr 6 18:00:10 2014 (r350392) +++ head/audio/gqmpeg/pkg-plist Sun Apr 6 18:05:48 2014 (r350393) @@ -1,7 +1,6 @@ bin/gqmpeg bin/gqmpeg-shoutcast-plugin.sh -%%GNOME:%%share/gnome/apps/Multimedia/gqmpeg.desktop -%%GNOME:%%share/pixmaps/gqmpeg.png +man/man1/gqmpeg.1.gz share/gqmpeg/skins/README share/gqmpeg/skins/SKIN-SPECS share/gqmpeg/skins/mrclean/blue-handle-24.png