# Template file for 'mex'
pkgname=mex
version=0.2.2
revision=4
distfiles="http://media-explorer.github.com/releases/mex-$version.tar.bz2"
build_style=gnu-configure
configure_args="--disable-lirc --enable-networks --disable-displayconf
--enable-webremote --enable-rebinder --with-online=networkmanager
--enable-library --enable-recommended --enable-search --enable-queue
--enable-applications --enable-upnp --enable-tracker --disable-telepathy
--enable-opticaldisc"
makedepends="pkg-config intltool grilo-devel mx-devel>=1.3.2 gst-plugins-base-devel telepathy-glib-devel clutter-gst-devel avahi-glib-libs-devel tracker-devel libXtst-devel rest-devel NetworkManager-devel libsoup-gnome-devel dbus-glib-devel"
fulldepends="hicolor-icon-theme desktop-file-utils"
short_desc="Media centre application for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
checksum=ea53091ec8d6b6cb4c0b5ae63ac5af4e682ec0a07aa2311046585925d3713d1d
long_desc="
 It leverages existing libraries (GUPnP, Grilo, Tracker, GStreamer) to find,
 index and play local and remote media. The application (interface coded in
 Mx and Clutter) enables browsing, searching, and viewing of found media.

  * Smooth, intuitive animated interface for media browse, search and playback.
  * Support for media discovery and streaming on local filesystem and
    connected USB drives.
  * Support for media discovery and streaming from UPnP sources.
  * Configurable key binding, enabling use with standard remote control units."

gtk_iconcache_dirs="/usr/share/icons/hicolor"




pre_configure() {
	sed -i -e "s|tracker-sparql-0.12|tracker-sparql-0.14|g" \
		-e "s|tracker-miner-0.12|tracker-miner-0.14|g" configure
}
