#Maintainer: jakob gruber #Contributor: gborzi #Previous Contributor: Vinzenz Vietzke #Previous Contributor: Heiko Baums #Previous Contributor: Jeff Bailes pkgname=me-tv pkgver=1.4.0.10 pkgrel=1 epoch=1 pkgdesc="A GTK desktop application for watching digital television services that use the DVB standard" arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/me-tv" license=('GPL') depends=('glibmm' 'gtkmm' 'gconfmm' 'glib2' 'xine-lib' 'sqlite' 'linuxtv-dvb-apps' 'libunique' 'libxml++' 'vlc' 'gstreamer0.10-base') makedepends=('intltool' 'gnome-common') install='me-tv.install' source=("http://launchpad.net/${pkgname}/${pkgver:0:3}/${pkgver:0:5}/+download/${pkgname}-${pkgver}.tar.gz") options=('!emptydirs') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./autogen.sh ./configure CXXFLAGS="$CXXFLAGS -D__KERNEL_STRICT_NAMES" --prefix=/usr # Missing unistd.h includes :| https://bugs.launchpad.net/me-tv/+bug/1020690 for file in common/common.cc server/thread.cc; do sed -i '1 i\ #include ' $file done make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/gconf/schemas" gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" \ --domain me-tv "${pkgdir}/usr/etc/gconf/schemas/${pkgname}.schemas" rm -rf "${pkgdir}/usr/etc/" } md5sums=('842953c4e9eb37f79704ebd8bb23608a')