Skip to content

Commit

Permalink
net-misc/gerbera: Update live ebuild, tidy metadata
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.28, Repoman-2.3.9
  • Loading branch information
whyman committed Apr 5, 2018
1 parent 8faf1ed commit 10f606f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions net-misc/gerbera/gerbera-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -21,7 +21,7 @@ HOMEPAGE="https://github.com/gerbera/gerbera"

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
Expand All @@ -33,6 +33,7 @@ DEPEND="
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= )
Expand All @@ -58,9 +59,9 @@ pkg_setup() {
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)" \
Expand Down
7 changes: 4 additions & 3 deletions net-misc/gerbera/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
</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>

0 comments on commit 10f606f

Please sign in to comment.