------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
+MD5 d1bb5c295eb347f6d44fd764b2cb9069 krec-3.4.2.ebuild 1152
MD5 b093438eb69dfc6bba92a7859be91be2 ChangeLog 2551
+MD5 1438eb372982b814d2db7731f2ac246a krec-3.5_beta1.ebuild 1120
MD5 3c4bdf7d457e879c9d19df3be0d0d0c3 krec-3.4.1.ebuild 1137
-MD5 d1bb5c295eb347f6d44fd764b2cb9069 krec-3.4.2.ebuild 1152
-MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
-MD5 51320fef7d87bbfe1dc8d5da75b2ec2c krec-3.5_beta1.ebuild 1126
-MD5 453075362e3201c7f44fea430afec5d5 files/digest-krec-3.4.2 308
MD5 ddf8dc1d73d9fea63d15f91300cf12ba files/digest-krec-3.5_beta1 74
+MD5 453075362e3201c7f44fea430afec5d5 files/digest-krec-3.4.2 308
MD5 5503be4dfa64fd0d3bf2165747a97fb0 files/digest-krec-3.4.1 227
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDNW5qj5H05b2HAEkRAljMAKCH9T6L+HIiBzDmCfWcxSUgnBa0/gCePV2J
-pm9gJ4eOswCJRfad2Tnlt+E=
-=7SUf
------END PGP SIGNATURE-----
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/krec/krec-3.5_beta1.ebuild,v 1.1 2005/09/22 20:15:35 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krec/krec-3.5_beta1.ebuild,v 1.2 2005/09/25 10:21:02 greg_g Exp $
KMNAME=kdemultimedia
MAXKDEVER=$PV
DESCRIPTION="KDE sound recorder"
KEYWORDS="~amd64"
-IUSE="vorbis encode"
+IUSE="encode mp3 vorbis"
OLDDEPEND="
~kde-base/kdemultimedia-arts-$PV
- vorbis? ( media-libs/libvorbis )
- encode? ( media-sound/lame )"
+ encode? ( mp3? ( media-sound/lame )
+ vorbis? ( media-libs/libvorbis ) )"
+
DEPEND="$(deprange $PV $MAXKDEVER kde-base/kdemultimedia-arts)
- vorbis? ( media-libs/libvorbis )
- encode? ( media-sound/lame )"
+ encode? ( mp3? ( media-sound/lame )
+ vorbis? ( media-libs/libvorbis ) )"
KMCOPYLIB="libartsgui_kde arts/gui/kde/
libartscontrolsupport arts/tools/"
}
src_compile() {
- use vorbis && myconf="$myconf --with-vorbis=/usr" || myconf="$myconf --without-vorbis"
- use encode && myconf="$myconf --with-lame=/usr" || myconf="$myconf --without-lame"
+ if use encode; then
+ myconf="$(use_with mp3 lame) $(use_with vorbis)"
+ else
+ myconf="--without-lame --without-vorbis"
+ fi
+
kde-meta_src_compile
}