commit:     87a09e423bce4d715ab990c61967f5232e85caf4
Author:     Richard Freeman <rich0 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 21:41:53 2016 +0000
Commit:     Richard Freeman <rich0 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 21:42:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a09e42

media-tv/mythtv: enable mythlogserver for non-systemd

Package-Manager: portage-2.2.26

 media-tv/mythtv/metadata.xml       | 2 ++
 media-tv/mythtv/mythtv-0.28.ebuild | 8 ++------
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/media-tv/mythtv/metadata.xml b/media-tv/mythtv/metadata.xml
index 254db0c..e957519 100644
--- a/media-tv/mythtv/metadata.xml
+++ b/media-tv/mythtv/metadata.xml
@@ -45,6 +45,8 @@
                that LCD.</flag>
                <flag name="lirc">Adds LIRC support directly to MythTV allowing 
for built in
                control via a LIRC device.</flag>
+               <flag name="mythlogserver">Enable support for syslog and file 
logging. Not
+               used with systemd.</flag>
                <flag name="perl">Builds the perl bindings for MythTV. Allows 
you to write
                scripts in Perl to control your MythTV setup or communicate with
                it.</flag>

diff --git a/media-tv/mythtv/mythtv-0.28.ebuild 
b/media-tv/mythtv/mythtv-0.28.ebuild
index 7535185..467d7d4 100644
--- a/media-tv/mythtv/mythtv-0.28.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.ebuild
@@ -25,7 +25,7 @@ KEYWORDS="~amd64 ~x86"
 
 IUSE_INPUT_DEVICES="input_devices_joystick"
 IUSE="alsa altivec avahi libass autostart bluray cec crystalhd debug dvb dvd \
-egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python systemd +theora \
+egl fftw +hls ieee1394 jack lcd lirc +mythlogserver perl pulseaudio python 
systemd +theora \
 vaapi vdpau +vorbis +wrapper +xml xmltv +xvid ${IUSE_INPUT_DEVICES}"
 
 REQUIRED_USE="
@@ -34,7 +34,6 @@ REQUIRED_USE="
        theora? ( vorbis )"
 
 COMMON="
-       media-gfx/exiv2:=
        >=media-libs/freetype-2.0:=
        >=media-sound/lame-3.93.1
        sys-libs/zlib:=
@@ -47,13 +46,10 @@ COMMON="
        dev-qt/qtcore:5=
        dev-qt/qtdbus:5=
        dev-qt/qtgui:5=
-       dev-qt/qtnetwork:5=
        dev-qt/qtscript:5=
        dev-qt/qtsql:5=[mysql]
        dev-qt/qtopengl:5=
        dev-qt/qtwebkit:5=
-       dev-qt/qtwidgets:5=
-       dev-qt/qtxml:5=
        x11-misc/wmctrl:=
        virtual/mysql
        virtual/opengl:=
@@ -257,6 +253,7 @@ src_configure() {
        has ccache ${FEATURES} || myconf="${myconf} --disable-ccache"
 
        myconf="${myconf} $(use_enable systemd systemd_notify)"
+       use systemd || myconf="${myconf} $(use_enable mythlogserver)"
 
        chmod +x ./external/FFmpeg/version.sh
 
@@ -268,7 +265,6 @@ src_configure() {
                --extra-cflags="${CFLAGS}" \
                --extra-cxxflags="${CXXFLAGS}" \
                --extra-ldflags="${LDFLAGS}" \
-               --qmake=/usr/lib/qt5/bin/qmake \
                ${myconf} || die "configure died"
 }
 

Reply via email to