anchor.diff:  DEPENDS = "flac taglib mythtv libvorbis libexif libvisual libsdl-x11 libcdaudio cdparanoia"
   RDEPENDS_${PN} = "mytharchive mythbrowser mythflix mythgallery mythgame \
  -                  mythmusic mythmovies mythnews mythvideo mythweather mythweb mythzoneminder"
  +                  mythmusic mythmovies mythnews mythvideo mythweather mythzoneminder"
  +RRECOMMENDS_${PN} = "mythweb_lighttpd"
  +
  +# the apache variant does not work yet, too many issues with apache+php+mysql"
  +DEPENDS_mythweb_apache = "mythweb"
  +RDEPENDS_mythweb_apache = "apache2"
  +
  +DEPENDS_mythweb_lighttpd = "mythweb"
  +RDEPENDS_mythweb_lighttpd = "lighttpd lighttpd-module-cgi lighttpd-module-fastcgi \
  +        lighttpd-module-rewrite php-cgi lighttpd-module-auth"
  +
   PV = "0.22"
  -PR = "r0"
  +PR = "r1"
   
   QMAKE_PROFILES = "mythplugins.pro"
   
  
positive.code: 	sed -i -e s:/var/www/html:/usr/share/apache2/htdocs:g ${D}/etc/apache2/extra/mythweb.conf
  }
  
  pkg_postinst_${PN}() {
          chgrp -R apache /usr/share/apache2/htdocs/data
          chmod g+rw /usr/share/apache2/htdocs/data
          grep mythweb.conf /etc/apache2/httpd.conf || \
                echo "Include /etc/apache2/extra/mythweb.conf" >>/etc/apache2/httpd.conf
  
  }
  
  
  PACKAGES =+ "mytharchive mytharchive-dbg \
          mythbrowser mythbrowser-dbg \
          mythflix mythflix-dbg \
          mythgallery mythgallery-dbg \
  
negative.code:         ${datadir}/mythtv/themes/default-wide/gallery-ui.xml \
          "
  FILES_mythgallery-dbg = "${libdir}/mythtv/plugins/.debug/libmythgallery.so"
  
  FILES_mythgame = "${libdir}/mythtv/plugins/libmythgame.so \
          ${datadir}/mythtv/i18n/mythgame* \
          ${datadir}/mythtv/game_settings.xml \
  