diff options
Diffstat (limited to 'community/me-tv')
-rw-r--r-- | community/me-tv/PKGBUILD | 42 | ||||
-rw-r--r-- | community/me-tv/me-tv.install | 17 |
2 files changed, 59 insertions, 0 deletions
diff --git a/community/me-tv/PKGBUILD b/community/me-tv/PKGBUILD new file mode 100644 index 000000000..8d85f49c2 --- /dev/null +++ b/community/me-tv/PKGBUILD @@ -0,0 +1,42 @@ +#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=2.0.0 +pkgrel=1 +pkgdesc="A GTK desktop application for watching digital television services that use the DVB standard" +arch=('i686' 'x86_64') +url="https://launchpad.net/me-tv" +license=('GPL') +depends=('glibmm' 'gtkmm' 'gconfmm' 'glib2' 'xine-lib' 'sqlite3' 'linuxtv-dvb-apps' 'libunique' 'libxml++' 'vlc' 'gstreamer0.10-base') +makedepends=('intltool') +install=me-tv.install +source=(http://launchpad.net/${pkgname}/${pkgver:0:3}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz) +options=('!emptydirs') +md5sums=('d4c614f113a34342ff29c1f5605cd14a') + +build() { + + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure CXXFLAGS="$CXXFLAGS -D__KERNEL_STRICT_NAMES" --prefix=/usr + 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/" + +} diff --git a/community/me-tv/me-tv.install b/community/me-tv/me-tv.install new file mode 100644 index 000000000..f701b4754 --- /dev/null +++ b/community/me-tv/me-tv.install @@ -0,0 +1,17 @@ +pkgname=me-tv + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} |