diff options
author | root <root@rshg054.dnsready.net> | 2012-01-08 23:14:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-08 23:14:45 +0000 |
commit | 46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (patch) | |
tree | eb2bd0aa427b4ad1659249fa8b86467dcd68e0dc /community-testing/me-tv | |
parent | 6aeb515f4afd10afb53b21df18d03b0d5f3a200f (diff) |
Sun Jan 8 23:14:45 UTC 2012
Diffstat (limited to 'community-testing/me-tv')
-rw-r--r-- | community-testing/me-tv/PKGBUILD | 42 | ||||
-rw-r--r-- | community-testing/me-tv/me-tv.install | 17 |
2 files changed, 59 insertions, 0 deletions
diff --git a/community-testing/me-tv/PKGBUILD b/community-testing/me-tv/PKGBUILD new file mode 100644 index 000000000..4a97fb410 --- /dev/null +++ b/community-testing/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.1 +pkgrel=3 +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=('7cda820b795f2fea522ba3de5e312483') + +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-testing/me-tv/me-tv.install b/community-testing/me-tv/me-tv.install new file mode 100644 index 000000000..f701b4754 --- /dev/null +++ b/community-testing/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} +} |