summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2010-11-07 15:27:26 +0000
committershattered <shattered@pkgsrc.org>2010-11-07 15:27:26 +0000
commitc2201d9be08e6acea66b093aec162dec50a2dc74 (patch)
tree94443196912ba935b5bbdabac859c0c7e847b653
parentd287561e7edbae2b6d6959c321d8588fd5c18d98 (diff)
downloadpkgsrc-c2201d9be08e6acea66b093aec162dec50a2dc74.tar.gz
Add 'unicode' option (support for non-Latin-1 characters in ID3v2 tags).
Revision++.
-rw-r--r--audio/lame/Makefile3
-rw-r--r--audio/lame/options.mk9
2 files changed, 9 insertions, 3 deletions
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