From owner-svn-ports-all@freebsd.org Tue Sep 6 16:28:47 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D240BC746A; Tue, 6 Sep 2016 16:28:47 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 36294F5F; Tue, 6 Sep 2016 16:28:47 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u86GSkNt017912; Tue, 6 Sep 2016 16:28:46 GMT (envelope-from novel@FreeBSD.org) Received: (from novel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u86GSkni017910; Tue, 6 Sep 2016 16:28:46 GMT (envelope-from novel@FreeBSD.org) Message-Id: <201609061628.u86GSkni017910@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: novel set sender to novel@FreeBSD.org using -f From: Roman Bogorodskiy Date: Tue, 6 Sep 2016 16:28:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421440 - head/audio/mpg123 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.23 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: Tue, 06 Sep 2016 16:28:47 -0000 Author: novel Date: Tue Sep 6 16:28:46 2016 New Revision: 421440 URL: https://svnweb.freebsd.org/changeset/ports/421440 Log: audio/mpg123: add SNDIO option and cleanups - add a SNDIO option that enables building of the audio/sndio output module - replace CPPFLAGS/LDFLAGS with USES=localbase - use INSTALL_TARGET=install-strip to strip libraries - bump PORTREVISION due to packaging change PR: 212406 Submitted by: Tobias Kortkamp Modified: head/audio/mpg123/Makefile head/audio/mpg123/pkg-plist Modified: head/audio/mpg123/Makefile ============================================================================== --- head/audio/mpg123/Makefile Tue Sep 6 15:48:27 2016 (r421439) +++ head/audio/mpg123/Makefile Tue Sep 6 16:28:46 2016 (r421440) @@ -3,6 +3,7 @@ PORTNAME= mpg123 PORTVERSION= 1.23.6 +PORTREVISION= 1 CATEGORIES= audio ipv6 MASTER_SITES= SF \ http://www.mpg123.de/download/ @@ -14,16 +15,23 @@ LICENSE= LGPL21 LIB_DEPENDS= libltdl.so:devel/libltdl -USES= tar:bzip2 gmake libtool pathfix +USES= tar:bzip2 gmake libtool localbase pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-optimization=0 \ - --with-audio=oss \ - --with-default-audio=oss \ --with-module-suffix=.so -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib + +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= SNDIO +OPTIONS_SUB= yes + +SNDIO_CONFIGURE_ON= --with-audio=sndio,oss \ + --with-default-audio=sndio +SNDIO_CONFIGURE_OFF= --with-audio=oss \ + --with-default-audio=oss +SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio .include Modified: head/audio/mpg123/pkg-plist ============================================================================== --- head/audio/mpg123/pkg-plist Tue Sep 6 15:48:27 2016 (r421439) +++ head/audio/mpg123/pkg-plist Tue Sep 6 16:28:46 2016 (r421440) @@ -13,6 +13,7 @@ lib/libout123.so.0 lib/libout123.so.0.1.4 lib/mpg123/output_dummy.so lib/mpg123/output_oss.so +%%SNDIO%%lib/mpg123/output_sndio.so libdata/pkgconfig/libmpg123.pc libdata/pkgconfig/libout123.pc man/man1/out123.1.gz