diff -urpN 0.12.0-orig/mediatomb-0.12.0-r1.ebuild 0.12.0/mediatomb-0.12.0-r1.ebuild --- 0.12.0-orig/mediatomb-0.12.0-r1.ebuild 2010-04-03 10:07:59.000000000 +1100 +++ 0.12.0/mediatomb-0.12.0-r1.ebuild 2010-04-03 10:15:12.000000000 +1100 @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/mediatomb/ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="debug +exif +ffmpeg inotify +javascript lastfm +mp4 mysql +taglib thumbnail" +IUSE="debug +exif +ffmpeg inotify +javascript lastfm libextractor +mp4 mysql +taglib thumbnail" DEPEND=" mysql? ( virtual/mysql ) @@ -24,6 +24,7 @@ DEPEND=" !taglib? ( media-libs/id3lib ) lastfm? ( >=media-libs/lastfmlib-0.4 ) exif? ( media-libs/libexif ) + libextractor? ( media-libs/libextractor ) mp4? ( media-libs/libmp4v2 ) ffmpeg? ( media-video/ffmpeg ) thumbnail? ( media-video/ffmpegthumbnailer[jpeg] ) @@ -52,9 +53,11 @@ pkg_setup() { src_configure() { if use thumbnail; then - myconf="${myconf} --enable-ffmpegthumbnailer --enable-ffmpeg" + myconf="${myconf} --enable-ffmpegthumbnailer --enable-ffmpeg --disable-libextractor" + elif use !thumbnail && use ffmpeg && use libextractor; then + myconf="${myconf} --disable-ffmpegthumbnailer --enable-ffmpeg --disable-libextractor" else - myconf="${myconf} $(use_enable thumbnail ffmpegthumbnailer) $(use_enable ffmpeg)" + myconf="${myconf} $(use_enable thumbnail ffmpegthumbnailer) $(use_enable ffmpeg) $(use_enable libextractor)" fi econf \