blob: aa02239658cf2695837acd020c7cf4685f63cff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#Maintainer: jakob gruber <jakob.gruber@gmail.com>
#Contributor: gborzi
#Previous Contributor: Vinzenz Vietzke <vinz@archlinux.us>
#Previous Contributor: Heiko Baums <heiko@baums-on-web.de>
#Previous Contributor: Jeff Bailes <thepizzaking@gmail.com>
pkgname=me-tv
pkgver=1.4.0.12
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 <unistd.h>' $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=('28c7fd5523fd6ea8f5de89b297eb1391')
|