[arch-commits] Commit in mythtv/repos (16 files)

Antonio Rojas arojas at archlinux.org
Wed Oct 12 08:52:00 UTC 2016


    Date: Wednesday, October 12, 2016 @ 08:52:00
  Author: arojas
Revision: 191995

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mythtv/repos/community-i686/99-mythbackend.rules
    (from rev 191994, mythtv/trunk/99-mythbackend.rules)
  mythtv/repos/community-i686/PKGBUILD
    (from rev 191994, mythtv/trunk/PKGBUILD)
  mythtv/repos/community-i686/mythbackend.service
    (from rev 191994, mythtv/trunk/mythbackend.service)
  mythtv/repos/community-i686/mythtv.install
    (from rev 191994, mythtv/trunk/mythtv.install)
  mythtv/repos/community-x86_64/99-mythbackend.rules
    (from rev 191994, mythtv/trunk/99-mythbackend.rules)
  mythtv/repos/community-x86_64/PKGBUILD
    (from rev 191994, mythtv/trunk/PKGBUILD)
  mythtv/repos/community-x86_64/mythbackend.service
    (from rev 191994, mythtv/trunk/mythbackend.service)
  mythtv/repos/community-x86_64/mythtv.install
    (from rev 191994, mythtv/trunk/mythtv.install)
Deleted:
  mythtv/repos/community-i686/99-mythbackend.rules
  mythtv/repos/community-i686/PKGBUILD
  mythtv/repos/community-i686/mythbackend.service
  mythtv/repos/community-i686/mythtv.install
  mythtv/repos/community-x86_64/99-mythbackend.rules
  mythtv/repos/community-x86_64/PKGBUILD
  mythtv/repos/community-x86_64/mythbackend.service
  mythtv/repos/community-x86_64/mythtv.install

---------------------------------------+
 /99-mythbackend.rules                 |   12 ++
 /PKGBUILD                             |  168 ++++++++++++++++++++++++++++++++
 /mythbackend.service                  |   32 ++++++
 /mythtv.install                       |   40 +++++++
 community-i686/99-mythbackend.rules   |    6 -
 community-i686/PKGBUILD               |   84 ----------------
 community-i686/mythbackend.service    |   16 ---
 community-i686/mythtv.install         |   20 ---
 community-x86_64/99-mythbackend.rules |    6 -
 community-x86_64/PKGBUILD             |   84 ----------------
 community-x86_64/mythbackend.service  |   16 ---
 community-x86_64/mythtv.install       |   20 ---
 12 files changed, 252 insertions(+), 252 deletions(-)

Deleted: community-i686/99-mythbackend.rules
===================================================================
--- community-i686/99-mythbackend.rules	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-i686/99-mythbackend.rules	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,6 +0,0 @@
-#
-# Create systemd device units for capture devices
-#
-SUBSYSTEM=="video4linux", TAG+="systemd"
-SUBSYSTEM=="dvb", TAG+="systemd"
-SUBSYSTEM=="firewire", TAG+="systemd"

Copied: mythtv/repos/community-i686/99-mythbackend.rules (from rev 191994, mythtv/trunk/99-mythbackend.rules)
===================================================================
--- community-i686/99-mythbackend.rules	                        (rev 0)
+++ community-i686/99-mythbackend.rules	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,6 @@
+#
+# Create systemd device units for capture devices
+#
+SUBSYSTEM=="video4linux", TAG+="systemd"
+SUBSYSTEM=="dvb", TAG+="systemd"
+SUBSYSTEM=="firewire", TAG+="systemd"

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-i686/PKGBUILD	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,84 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Conder <jonno.conder at gmail.com>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Juergen Hoetzel <juergen at archlinux.org>
-# Contributor: <kleptophobiac at gmail.com>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=mythtv
-pkgver=0.28
-pkgrel=7
-epoch=1
-pkgdesc="A Homebrew PVR project"
-arch=('i686' 'x86_64')
-url="http://www.mythtv.org/"
-license=('GPL')
-depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
-         'libgl' 'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc' 'mariadb-clients'
-         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
-         'perl-net-upnp' 'python2-lxml' 'qt5-webkit' 'qt5-script' 'taglib' 'urlgrabber'
-         'libx264' 'libvdpau' 'exiv2' 'libxrandr')
-makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm' 'x264' 'gdb')
-optdepends=('glew: for GPU commercial flagging'
-            'libcec: for consumer electronics control capabilities'
-            'libxml2: to read blu-ray metadata'
-            'openssl: for AirTunes (RAOP) support')
-conflicts=('myththemes' 'mythplugins-mythvideo')
-replaces=('myththemes' 'mythplugins-mythvideo')
-install='mythtv.install'
-source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
-        mythtv-fix-segfault.patch::"https://github.com/MythTV/mythtv/commit/c3a79298.patch"
-        mythtv-gcc6.patch::"https://github.com/MythTV/mythtv/commit/e4f6e011.patch"
-        'mythbackend.service' '99-mythbackend.rules')
-sha256sums=('7b3476c0ec0fc17d6b734f0440383815e81850a70b78c12ee40d61a408eba340'
-            '60696991fcaa24fb61392401bd27cfa35a15b54f4bcc01aee54dc84440c6df99'
-            'd35c4738f331ffff7d26d4cb98965689bdc72bd5b9776c1b31e5d97d06be724e'
-            'ed5ca54de26b7cd8a64e09626eed6e09f35d677daf88c530bb24cc4252bcce6d'
-            'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333')
-
-prepare() {
-  cd $pkgname-$pkgver/$pkgname
-
-  find 'bindings/python' 'contrib' 'programs/scripts' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-
-# Fix segfault with GCC 6 https://github.com/MythTV/mythtv/pull/122
-  cd ..
-  patch -p1 -i "$srcdir"/mythtv-fix-segfault.patch
-# Fix build with GCC 6
-  patch -p1 -i "$srcdir"/mythtv-gcc6.patch
-}
-
-build() {
-  cd $pkgname-$pkgver/$pkgname
-
-  ARCH="${CARCH/_/-}"
-  ./configure --prefix=/usr \
-              --cpu="$ARCH" \
-              --disable-altivec \
-              --disable-audio-jack \
-              --disable-ccache \
-              --disable-distcc \
-              --enable-libfftw3 \
-              --enable-libmp3lame \
-              --enable-libvpx \
-              --enable-libx264 \
-              --enable-vaapi \
-              --python=python2 \
-              --perl-config-opts=INSTALLDIRS=vendor
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver/$pkgname
-  make INSTALL_ROOT="$pkgdir" install
-
-  install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
-  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
-
-  mkdir -p "$pkgdir/usr/share/mythtv"
-  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
-  mkdir -p "$pkgdir/var/log/mythtv"
-
-# Install udev rules https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration#Delay_starting_the_backend_until_tuners_have_initialized
-  install -Dm644 "$srcdir"/99-mythbackend.rules "$pkgdir"/usr/lib/udev/rules.d/99-mythbackend.rules
-}

Copied: mythtv/repos/community-i686/PKGBUILD (from rev 191994, mythtv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Jonathan Conder <jonno.conder at gmail.com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: <kleptophobiac at gmail.com>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=mythtv
+pkgver=0.28
+pkgrel=8
+epoch=1
+pkgdesc="A Homebrew PVR project"
+arch=('i686' 'x86_64')
+url="http://www.mythtv.org/"
+license=('GPL')
+depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
+         'libgl' 'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc' 'mariadb-clients'
+         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
+         'perl-net-upnp' 'python2-lxml' 'qt5-webkit' 'qt5-script' 'taglib' 'urlgrabber'
+         'libx264' 'libvdpau' 'exiv2' 'libxrandr' 'jack')
+makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm' 'x264' 'gdb')
+optdepends=('glew: for GPU commercial flagging'
+            'libcec: for consumer electronics control capabilities'
+            'libxml2: to read blu-ray metadata'
+            'openssl: for AirTunes (RAOP) support')
+conflicts=('myththemes' 'mythplugins-mythvideo')
+replaces=('myththemes' 'mythplugins-mythvideo')
+install='mythtv.install'
+source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
+        mythtv-fix-segfault.patch::"https://github.com/MythTV/mythtv/commit/c3a79298.patch"
+        mythtv-gcc6.patch::"https://github.com/MythTV/mythtv/commit/e4f6e011.patch"
+        'mythbackend.service' '99-mythbackend.rules')
+sha256sums=('7b3476c0ec0fc17d6b734f0440383815e81850a70b78c12ee40d61a408eba340'
+            '60696991fcaa24fb61392401bd27cfa35a15b54f4bcc01aee54dc84440c6df99'
+            'd35c4738f331ffff7d26d4cb98965689bdc72bd5b9776c1b31e5d97d06be724e'
+            'ed5ca54de26b7cd8a64e09626eed6e09f35d677daf88c530bb24cc4252bcce6d'
+            'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333')
+
+prepare() {
+  cd $pkgname-$pkgver/$pkgname
+
+  find 'bindings/python' 'contrib' 'programs/scripts' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+# Fix segfault with GCC 6 https://github.com/MythTV/mythtv/pull/122
+  cd ..
+  patch -p1 -i "$srcdir"/mythtv-fix-segfault.patch
+# Fix build with GCC 6
+  patch -p1 -i "$srcdir"/mythtv-gcc6.patch
+}
+
+build() {
+  cd $pkgname-$pkgver/$pkgname
+
+  ARCH="${CARCH/_/-}"
+  ./configure --prefix=/usr \
+              --cpu="$ARCH" \
+              --disable-altivec \
+              --disable-audio-jack \
+              --disable-ccache \
+              --disable-distcc \
+              --enable-libfftw3 \
+              --enable-libmp3lame \
+              --enable-libvpx \
+              --enable-libx264 \
+              --enable-vaapi \
+              --python=python2 \
+              --perl-config-opts=INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/$pkgname
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
+  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
+
+  mkdir -p "$pkgdir/usr/share/mythtv"
+  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
+  mkdir -p "$pkgdir/var/log/mythtv"
+
+# Install udev rules https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration#Delay_starting_the_backend_until_tuners_have_initialized
+  install -Dm644 "$srcdir"/99-mythbackend.rules "$pkgdir"/usr/lib/udev/rules.d/99-mythbackend.rules
+}

Deleted: community-i686/mythbackend.service
===================================================================
--- community-i686/mythbackend.service	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-i686/mythbackend.service	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,16 +0,0 @@
-[Unit]
-Description=MythTV Backend
-Wants=network-online.target
-After=network.target mysqld.service
-
-[Service]
-Type=simple
-Environment=HOME=/var/lib/mythtv
-User=mythtv
-ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
-ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
-#ExecStop=/usr/bin/mythshutdown --shutdown
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target

Copied: mythtv/repos/community-i686/mythbackend.service (from rev 191994, mythtv/trunk/mythbackend.service)
===================================================================
--- community-i686/mythbackend.service	                        (rev 0)
+++ community-i686/mythbackend.service	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,16 @@
+[Unit]
+Description=MythTV Backend
+Wants=network-online.target
+After=network.target mysqld.service
+
+[Service]
+Type=simple
+Environment=HOME=/var/lib/mythtv
+User=mythtv
+ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
+ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
+#ExecStop=/usr/bin/mythshutdown --shutdown
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/mythtv.install
===================================================================
--- community-i686/mythtv.install	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-i686/mythtv.install	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,20 +0,0 @@
-post_upgrade() {
-	if ! getent passwd mythtv &>/dev/null; then
-		getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
-		useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical -s /bin/bash mythtv >/dev/null
-	fi
-
-	echo -e "You may need to load time zone tables in MySQL.\nSee http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables"
-}
-
-post_install() {
-	echo -e "For installation information, visit:\nhttps://wiki.archlinux.org/index.php/MythTV"
-
-	post_upgrade
-}
-
-post_remove() {
-	echo -e "The MythTV database was not removed. To remove it, run:\n  mysql -u root -e 'drop database mythconverg;'"
-	[ -d var/lib/mythtv ] && echo "The MythTV home directory /var/lib/mythtv can also be removed."
-	echo -e "The 'mythtv' user and group can also be removed."
-}

Copied: mythtv/repos/community-i686/mythtv.install (from rev 191994, mythtv/trunk/mythtv.install)
===================================================================
--- community-i686/mythtv.install	                        (rev 0)
+++ community-i686/mythtv.install	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,20 @@
+post_upgrade() {
+	if ! getent passwd mythtv &>/dev/null; then
+		getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
+		useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical -s /bin/bash mythtv >/dev/null
+	fi
+
+	echo -e "You may need to load time zone tables in MySQL.\nSee http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables"
+}
+
+post_install() {
+	echo -e "For installation information, visit:\nhttps://wiki.archlinux.org/index.php/MythTV"
+
+	post_upgrade
+}
+
+post_remove() {
+	echo -e "The MythTV database was not removed. To remove it, run:\n  mysql -u root -e 'drop database mythconverg;'"
+	[ -d var/lib/mythtv ] && echo "The MythTV home directory /var/lib/mythtv can also be removed."
+	echo -e "The 'mythtv' user and group can also be removed."
+}

Deleted: community-x86_64/99-mythbackend.rules
===================================================================
--- community-x86_64/99-mythbackend.rules	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-x86_64/99-mythbackend.rules	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,6 +0,0 @@
-#
-# Create systemd device units for capture devices
-#
-SUBSYSTEM=="video4linux", TAG+="systemd"
-SUBSYSTEM=="dvb", TAG+="systemd"
-SUBSYSTEM=="firewire", TAG+="systemd"

Copied: mythtv/repos/community-x86_64/99-mythbackend.rules (from rev 191994, mythtv/trunk/99-mythbackend.rules)
===================================================================
--- community-x86_64/99-mythbackend.rules	                        (rev 0)
+++ community-x86_64/99-mythbackend.rules	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,6 @@
+#
+# Create systemd device units for capture devices
+#
+SUBSYSTEM=="video4linux", TAG+="systemd"
+SUBSYSTEM=="dvb", TAG+="systemd"
+SUBSYSTEM=="firewire", TAG+="systemd"

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-x86_64/PKGBUILD	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,84 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Conder <jonno.conder at gmail.com>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Juergen Hoetzel <juergen at archlinux.org>
-# Contributor: <kleptophobiac at gmail.com>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=mythtv
-pkgver=0.28
-pkgrel=7
-epoch=1
-pkgdesc="A Homebrew PVR project"
-arch=('i686' 'x86_64')
-url="http://www.mythtv.org/"
-license=('GPL')
-depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
-         'libgl' 'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc' 'mariadb-clients'
-         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
-         'perl-net-upnp' 'python2-lxml' 'qt5-webkit' 'qt5-script' 'taglib' 'urlgrabber'
-         'libx264' 'libvdpau' 'exiv2' 'libxrandr')
-makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm' 'x264' 'gdb')
-optdepends=('glew: for GPU commercial flagging'
-            'libcec: for consumer electronics control capabilities'
-            'libxml2: to read blu-ray metadata'
-            'openssl: for AirTunes (RAOP) support')
-conflicts=('myththemes' 'mythplugins-mythvideo')
-replaces=('myththemes' 'mythplugins-mythvideo')
-install='mythtv.install'
-source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
-        mythtv-fix-segfault.patch::"https://github.com/MythTV/mythtv/commit/c3a79298.patch"
-        mythtv-gcc6.patch::"https://github.com/MythTV/mythtv/commit/e4f6e011.patch"
-        'mythbackend.service' '99-mythbackend.rules')
-sha256sums=('7b3476c0ec0fc17d6b734f0440383815e81850a70b78c12ee40d61a408eba340'
-            '60696991fcaa24fb61392401bd27cfa35a15b54f4bcc01aee54dc84440c6df99'
-            'd35c4738f331ffff7d26d4cb98965689bdc72bd5b9776c1b31e5d97d06be724e'
-            'ed5ca54de26b7cd8a64e09626eed6e09f35d677daf88c530bb24cc4252bcce6d'
-            'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333')
-
-prepare() {
-  cd $pkgname-$pkgver/$pkgname
-
-  find 'bindings/python' 'contrib' 'programs/scripts' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-
-# Fix segfault with GCC 6 https://github.com/MythTV/mythtv/pull/122
-  cd ..
-  patch -p1 -i "$srcdir"/mythtv-fix-segfault.patch
-# Fix build with GCC 6
-  patch -p1 -i "$srcdir"/mythtv-gcc6.patch
-}
-
-build() {
-  cd $pkgname-$pkgver/$pkgname
-
-  ARCH="${CARCH/_/-}"
-  ./configure --prefix=/usr \
-              --cpu="$ARCH" \
-              --disable-altivec \
-              --disable-audio-jack \
-              --disable-ccache \
-              --disable-distcc \
-              --enable-libfftw3 \
-              --enable-libmp3lame \
-              --enable-libvpx \
-              --enable-libx264 \
-              --enable-vaapi \
-              --python=python2 \
-              --perl-config-opts=INSTALLDIRS=vendor
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver/$pkgname
-  make INSTALL_ROOT="$pkgdir" install
-
-  install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
-  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
-
-  mkdir -p "$pkgdir/usr/share/mythtv"
-  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
-  mkdir -p "$pkgdir/var/log/mythtv"
-
-# Install udev rules https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration#Delay_starting_the_backend_until_tuners_have_initialized
-  install -Dm644 "$srcdir"/99-mythbackend.rules "$pkgdir"/usr/lib/udev/rules.d/99-mythbackend.rules
-}

Copied: mythtv/repos/community-x86_64/PKGBUILD (from rev 191994, mythtv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Jonathan Conder <jonno.conder at gmail.com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: <kleptophobiac at gmail.com>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=mythtv
+pkgver=0.28
+pkgrel=8
+epoch=1
+pkgdesc="A Homebrew PVR project"
+arch=('i686' 'x86_64')
+url="http://www.mythtv.org/"
+license=('GPL')
+depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
+         'libgl' 'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc' 'mariadb-clients'
+         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
+         'perl-net-upnp' 'python2-lxml' 'qt5-webkit' 'qt5-script' 'taglib' 'urlgrabber'
+         'libx264' 'libvdpau' 'exiv2' 'libxrandr' 'jack')
+makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm' 'x264' 'gdb')
+optdepends=('glew: for GPU commercial flagging'
+            'libcec: for consumer electronics control capabilities'
+            'libxml2: to read blu-ray metadata'
+            'openssl: for AirTunes (RAOP) support')
+conflicts=('myththemes' 'mythplugins-mythvideo')
+replaces=('myththemes' 'mythplugins-mythvideo')
+install='mythtv.install'
+source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
+        mythtv-fix-segfault.patch::"https://github.com/MythTV/mythtv/commit/c3a79298.patch"
+        mythtv-gcc6.patch::"https://github.com/MythTV/mythtv/commit/e4f6e011.patch"
+        'mythbackend.service' '99-mythbackend.rules')
+sha256sums=('7b3476c0ec0fc17d6b734f0440383815e81850a70b78c12ee40d61a408eba340'
+            '60696991fcaa24fb61392401bd27cfa35a15b54f4bcc01aee54dc84440c6df99'
+            'd35c4738f331ffff7d26d4cb98965689bdc72bd5b9776c1b31e5d97d06be724e'
+            'ed5ca54de26b7cd8a64e09626eed6e09f35d677daf88c530bb24cc4252bcce6d'
+            'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333')
+
+prepare() {
+  cd $pkgname-$pkgver/$pkgname
+
+  find 'bindings/python' 'contrib' 'programs/scripts' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+# Fix segfault with GCC 6 https://github.com/MythTV/mythtv/pull/122
+  cd ..
+  patch -p1 -i "$srcdir"/mythtv-fix-segfault.patch
+# Fix build with GCC 6
+  patch -p1 -i "$srcdir"/mythtv-gcc6.patch
+}
+
+build() {
+  cd $pkgname-$pkgver/$pkgname
+
+  ARCH="${CARCH/_/-}"
+  ./configure --prefix=/usr \
+              --cpu="$ARCH" \
+              --disable-altivec \
+              --disable-audio-jack \
+              --disable-ccache \
+              --disable-distcc \
+              --enable-libfftw3 \
+              --enable-libmp3lame \
+              --enable-libvpx \
+              --enable-libx264 \
+              --enable-vaapi \
+              --python=python2 \
+              --perl-config-opts=INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/$pkgname
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
+  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
+
+  mkdir -p "$pkgdir/usr/share/mythtv"
+  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
+  mkdir -p "$pkgdir/var/log/mythtv"
+
+# Install udev rules https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration#Delay_starting_the_backend_until_tuners_have_initialized
+  install -Dm644 "$srcdir"/99-mythbackend.rules "$pkgdir"/usr/lib/udev/rules.d/99-mythbackend.rules
+}

Deleted: community-x86_64/mythbackend.service
===================================================================
--- community-x86_64/mythbackend.service	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-x86_64/mythbackend.service	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,16 +0,0 @@
-[Unit]
-Description=MythTV Backend
-Wants=network-online.target
-After=network.target mysqld.service
-
-[Service]
-Type=simple
-Environment=HOME=/var/lib/mythtv
-User=mythtv
-ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
-ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
-#ExecStop=/usr/bin/mythshutdown --shutdown
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target

Copied: mythtv/repos/community-x86_64/mythbackend.service (from rev 191994, mythtv/trunk/mythbackend.service)
===================================================================
--- community-x86_64/mythbackend.service	                        (rev 0)
+++ community-x86_64/mythbackend.service	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,16 @@
+[Unit]
+Description=MythTV Backend
+Wants=network-online.target
+After=network.target mysqld.service
+
+[Service]
+Type=simple
+Environment=HOME=/var/lib/mythtv
+User=mythtv
+ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
+ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
+#ExecStop=/usr/bin/mythshutdown --shutdown
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/mythtv.install
===================================================================
--- community-x86_64/mythtv.install	2016-10-12 08:51:25 UTC (rev 191994)
+++ community-x86_64/mythtv.install	2016-10-12 08:52:00 UTC (rev 191995)
@@ -1,20 +0,0 @@
-post_upgrade() {
-	if ! getent passwd mythtv &>/dev/null; then
-		getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
-		useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical -s /bin/bash mythtv >/dev/null
-	fi
-
-	echo -e "You may need to load time zone tables in MySQL.\nSee http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables"
-}
-
-post_install() {
-	echo -e "For installation information, visit:\nhttps://wiki.archlinux.org/index.php/MythTV"
-
-	post_upgrade
-}
-
-post_remove() {
-	echo -e "The MythTV database was not removed. To remove it, run:\n  mysql -u root -e 'drop database mythconverg;'"
-	[ -d var/lib/mythtv ] && echo "The MythTV home directory /var/lib/mythtv can also be removed."
-	echo -e "The 'mythtv' user and group can also be removed."
-}

Copied: mythtv/repos/community-x86_64/mythtv.install (from rev 191994, mythtv/trunk/mythtv.install)
===================================================================
--- community-x86_64/mythtv.install	                        (rev 0)
+++ community-x86_64/mythtv.install	2016-10-12 08:52:00 UTC (rev 191995)
@@ -0,0 +1,20 @@
+post_upgrade() {
+	if ! getent passwd mythtv &>/dev/null; then
+		getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
+		useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical -s /bin/bash mythtv >/dev/null
+	fi
+
+	echo -e "You may need to load time zone tables in MySQL.\nSee http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables"
+}
+
+post_install() {
+	echo -e "For installation information, visit:\nhttps://wiki.archlinux.org/index.php/MythTV"
+
+	post_upgrade
+}
+
+post_remove() {
+	echo -e "The MythTV database was not removed. To remove it, run:\n  mysql -u root -e 'drop database mythconverg;'"
+	[ -d var/lib/mythtv ] && echo "The MythTV home directory /var/lib/mythtv can also be removed."
+	echo -e "The 'mythtv' user and group can also be removed."
+}



More information about the arch-commits mailing list