-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
LICENSE="GPL-2"
SLOT="0"
-IUSE="curl debug +exif +ffmpeg ffmpegthumbnailer +javascript lastfm libav +magic mysql protocol-extensions systemd +taglib"
+IUSE="curl debug +exif exiv2 +ffmpeg ffmpegthumbnailer +javascript lastfm libav +magic mysql protocol-extensions systemd +taglib"
DEPEND="
!!net-misc/mediatomb
taglib? ( >=media-libs/taglib-1.11 )
lastfm? ( >=media-libs/lastfmlib-0.4 )
exif? ( media-libs/libexif )
+ exiv2? ( media-gfx/exiv2 )
ffmpeg? (
libav? ( >=media-video/libav-10:0= )
!libav? ( >=media-video/ffmpeg-2.2:0= )
src_configure() {
local mycmakeargs=(
-DWITH_CURL="$(usex curl)" \
- -DWITH_LOGGING=1 \
- -DWITH_DEBUG_LOGGING="$(usex debug)" \
+ -DWITH_DEBUG="$(usex debug)" \
-DWITH_EXIF="$(usex exif)" \
+ -DWITH_EXIV2="$(usex exiv2)" \
-DWITH_AVCODEC="$(usex ffmpeg)" \
-DWITH_FFMPEGTHUMBNAILER="$(usex ffmpegthumbnailer)" \
-DWITH_JS="$(usex javascript)" \
</maintainer>
<longdescription>Gerbera is a UPnP media server which allows you to stream your digital media through your home network and consume it on a variety of UPnP compatible devices.</longdescription>
<use>
- <flag name="curl">Support YouTube and external media sources (e.g. internet radio)</flag>
+ <flag name="curl">Support HTTP media sources (e.g. internet radio)</flag>
+ <flag name="exiv2">Use <pkg>media-gfx/exiv2</pkg> to extract EXIF information</flag>
<flag name="ffmpegthumbnailer">Enable video thumbnail support with <pkg>media-video/ffmpegthumbnailer</pkg></flag>
<flag name="lastfm">Enable last.fm support</flag>
<flag name="magic">Use libmagic to determine file types</flag>
<flag name="mysql">Use <pkg>dev-db/mysql</pkg> as backend rather than SQLite3</flag>
<flag name="protocol-extensions">Enable partial DLNA support</flag>
- <flag name="taglib">Use <pkg>media-libs/taglib</pkg> for reading files' metadata rather than id3lib</flag>
+ <flag name="taglib">Use <pkg>media-libs/taglib</pkg> for reading files' metadata</flag>
</use>
<upstream>
- <remote-id type="github">v00d00/gerbera</remote-id>
+ <remote-id type="github">gerbera/gerbera</remote-id>
</upstream>
</pkgmetadata>