From c2201d9be08e6acea66b093aec162dec50a2dc74 Mon Sep 17 00:00:00 2001 From: shattered Date: Sun, 7 Nov 2010 15:27:26 +0000 Subject: Add 'unicode' option (support for non-Latin-1 characters in ID3v2 tags). Revision++. --- audio/lame/Makefile | 3 ++- audio/lame/options.mk | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'audio/lame') diff --git a/audio/lame/Makefile b/audio/lame/Makefile index 97dfd8b8a18..06354f84058 100644 --- a/audio/lame/Makefile +++ b/audio/lame/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.66 2010/07/04 10:24:33 schwarz Exp $ +# $NetBSD: Makefile,v 1.67 2010/11/07 15:27:26 shattered Exp $ DISTNAME= lame-3.98.4 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/} diff --git a/audio/lame/options.mk b/audio/lame/options.mk index 4619cc6e3e6..5b17062c68b 100644 --- a/audio/lame/options.mk +++ b/audio/lame/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.4 2008/10/09 14:47:56 wiz Exp $ +# $NetBSD: options.mk,v 1.5 2010/11/07 15:27:26 shattered Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.lame -PKG_SUPPORTED_OPTIONS= gtk sndfile +PKG_SUPPORTED_OPTIONS= gtk sndfile unicode .include "../../mk/bsd.options.mk" @@ -21,6 +21,11 @@ USE_TOOLS+= pkg-config . include "../../audio/libsndfile/buildlink3.mk" .endif +.if !empty(PKG_OPTIONS:Municode) +CFLAGS+= -DHAVE_ICONV +. include "../../converters/libiconv/buildlink3.mk" +.endif + # doesn't work #.if !empty(PKG_OPTIONS:Mvorbis) #CONFIGURE_ARGS+= --with-vorbis -- cgit v1.2.3