summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-11-04 22:45:42 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-11-04 22:45:42 +0000
commit5178a9976684cd73b6aea745bfea9fc333c19fcc (patch)
treed6bca7a21e9bb499e29ed942a1d73344fb76c856 /media-libs/zvbi
parentEdit 0.1.12-r2 to test for nls and act accordingly (diff)
downloadgentoo-2-5178a9976684cd73b6aea745bfea9fc333c19fcc.tar.gz
gentoo-2-5178a9976684cd73b6aea745bfea9fc333c19fcc.tar.bz2
gentoo-2-5178a9976684cd73b6aea745bfea9fc333c19fcc.zip
USE dependent nls support
Diffstat (limited to 'media-libs/zvbi')
-rw-r--r--media-libs/zvbi/ChangeLog7
-rw-r--r--media-libs/zvbi/zvbi-0.2.1-r1.ebuild15
2 files changed, 18 insertions, 4 deletions
diff --git a/media-libs/zvbi/ChangeLog b/media-libs/zvbi/ChangeLog
index d6895023f844..6588d27f547e 100644
--- a/media-libs/zvbi/ChangeLog
+++ b/media-libs/zvbi/ChangeLog
@@ -1,8 +1,13 @@
# ChangeLog for media-libs/zvbi
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/zvbi/ChangeLog,v 1.2 2002/09/15 10:50:12 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/zvbi/ChangeLog,v 1.3 2002/11/04 22:45:42 seemant Exp $
*zvbi-0.2.1-r1 (15 Sep 2002)
+
+ 04 Nov 2002; Seemant Kulleen <seemant@gentoo.org> zvbi-0.2.1-r1.ebuild :
+
+ USE dependent nls compilation
+
15 Sep 2002; Spider <spider@gentoo.org> zvbi-0.2.1-r1.ebuild :
fix for zdoc and gtk-doc location
diff --git a/media-libs/zvbi/zvbi-0.2.1-r1.ebuild b/media-libs/zvbi/zvbi-0.2.1-r1.ebuild
index 7da0d1b8a135..61a5cf333fd4 100644
--- a/media-libs/zvbi/zvbi-0.2.1-r1.ebuild
+++ b/media-libs/zvbi/zvbi-0.2.1-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/zvbi/zvbi-0.2.1-r1.ebuild,v 1.2 2002/10/04 05:51:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/zvbi/zvbi-0.2.1-r1.ebuild,v 1.3 2002/11/04 22:45:42 seemant Exp $
+
+IUSE="nls"
S=${WORKDIR}/${P}
DESCRIPTION="VBI Decoding Library for Zapping"
@@ -11,13 +13,20 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"
-DEPEND="virtual/x11 sys-devel/gettext"
+DEPEND="virtual/x11
+ nls? ( sys-devel/gettext )"
src_compile() {
+ local myconf
+
+ use nls || myconf="${myconf} --disable-nls"
+
econf ${myconf} || die
+
cp doc/zdoc-scan doc/zdoc-scan.orig
- sed -e 's:usr\/local\/share\/gtk-doc:usr\/share\/gtk-doc:' doc/zdoc-scan.orig > doc/zdoc-scan
+ sed -e 's:usr/local/share/gtk-doc:usr/share/gtk-doc:' \
+ doc/zdoc-scan.orig > doc/zdoc-scan
emake || die
}