summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorente2015-09-10 13:04:05 +0200
committerente2015-09-10 13:04:05 +0200
commit7570155ee263e53f97e1db7cd243795da1217434 (patch)
treeb86757884920d09da730657f8113bd92597aff79
downloadaur-7570155ee263e53f97e1db7cd243795da1217434.tar.gz
1.4.0-58
-rw-r--r--.SRCINFO26
-rwxr-xr-xPKGBUILD49
-rwxr-xr-xme-tv.install23
3 files changed, 98 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1dbdbcb6e98
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = me-tv
+ pkgdesc = A digital television (DVB) viewer for GNOME.
+ pkgver = 1.4.0
+ pkgrel = 58
+ url = https://code.launchpad.net/me-tv
+ install = me-tv.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = intltool
+ makedepends = gnome-common
+ makedepends = bzr
+ depends = gtkmm
+ depends = gconfmm
+ depends = libxml++
+ depends = libunique
+ depends = vlc
+ depends = gstreamer0.10-base
+ optdepends = linuxtv-dvb-apps: dvb tools
+ optdepends = w_scan: generation of channels.conf
+ provides = me-tv
+ conflicts = me-tv
+ options = !emptydirs
+
+pkgname = me-tv
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..e866c5cda69
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+#Maintainer: ente <mail@ck76.de>
+#Previous Maintainer: Christoph Seitz <seitz.christop@gmail.com>
+#Previous Maintainer: Gianluca Boiano (aka M0Rf30)
+
+pkgname=me-tv-bzr
+pkgver=1.4.0
+pkgrel=58
+pkgdesc="A digital television (DVB) viewer for GNOME."
+arch=('i686' 'x86_64')
+url="https://code.launchpad.net/me-tv"
+license=('GPL')
+depends=('gtkmm' 'gconfmm' 'libxml++' 'libunique' 'vlc' 'gstreamer0.10-base')
+optdepends=('linuxtv-dvb-apps: dvb tools'
+'w_scan: generation of channels.conf')
+makedepends=('intltool' 'gnome-common' 'bzr')
+provides=('me-tv')
+conflicts=('me-tv')
+install='me-tv.install'
+options=('!emptydirs')
+
+build() {
+ msg "Connecting to the server..."
+ bzr co lp:me-tv
+
+ msg "Applying PACKAGE_DATA_DIR fix..."
+ cd "${srcdir}/me-tv/client"
+ sed -i -- 's/PACKAGE_DATA_DIR"/"\/usr\/share/g' me-tv-client.cc
+
+
+ msg "Starting make..."
+
+ cd ..
+ NOCONFIGURE=1 ./autogen.sh
+ ./configure CXXFLAGS="$CXXFLAGS -D__KERNEL_STRICT_NAMES" --prefix=/usr
+ make
+}
+
+package() {
+ msg "building package..."
+ cd "${srcdir}/me-tv"
+
+ 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 gtv "${pkgdir}/usr/etc/gconf/schemas/${pkgname}.schemas"
+
+}
+
diff --git a/me-tv.install b/me-tv.install
new file mode 100755
index 00000000000..f1740e49988
--- /dev/null
+++ b/me-tv.install
@@ -0,0 +1,23 @@
+pkgname=me-tv
+
+post_install() {
+ update-desktop-database -q
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+ echo "If you run into errors after upgrading, try deleting ~/.local/share/me-tv/"
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ update-desktop-database -q
+}