summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorshattered <shattered>2010-11-07 15:27:26 +0000
committershattered <shattered>2010-11-07 15:27:26 +0000
commit9aa45489ddd962a5a85492706c28285b793cfbe4 (patch)
tree94443196912ba935b5bbdabac859c0c7e847b653 /audio
parentf25761dc0a5f9368cbba5f3f07f9d4e51610bd1d (diff)
downloadpkgsrc-9aa45489ddd962a5a85492706c28285b793cfbe4.tar.gz
Add 'unicode' option (support for non-Latin-1 characters in ID3v2 tags).
Revision++.
Diffstat (limited to 'audio')
-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