[arch-commits] Commit in mythtv/repos (12 files)
Felix Yan
fyan at archlinux.org
Thu Oct 16 06:09:35 UTC 2014
Date: Thursday, October 16, 2014 @ 08:09:35
Author: fyan
Revision: 120761
archrelease: copy trunk to community-i686, community-x86_64
Added:
mythtv/repos/community-i686/PKGBUILD
(from rev 120760, mythtv/trunk/PKGBUILD)
mythtv/repos/community-i686/mythbackend.service
(from rev 120760, mythtv/trunk/mythbackend.service)
mythtv/repos/community-i686/mythtv.install
(from rev 120760, mythtv/trunk/mythtv.install)
mythtv/repos/community-x86_64/PKGBUILD
(from rev 120760, mythtv/trunk/PKGBUILD)
mythtv/repos/community-x86_64/mythbackend.service
(from rev 120760, mythtv/trunk/mythbackend.service)
mythtv/repos/community-x86_64/mythtv.install
(from rev 120760, mythtv/trunk/mythtv.install)
Deleted:
mythtv/repos/community-i686/PKGBUILD
mythtv/repos/community-i686/mythbackend.service
mythtv/repos/community-i686/mythtv.install
mythtv/repos/community-x86_64/PKGBUILD
mythtv/repos/community-x86_64/mythbackend.service
mythtv/repos/community-x86_64/mythtv.install
--------------------------------------+
/PKGBUILD | 148 +++++++++++++++++++++++++++++++++
/mythbackend.service | 30 ++++++
/mythtv.install | 44 +++++++++
community-i686/PKGBUILD | 74 ----------------
community-i686/mythbackend.service | 15 ---
community-i686/mythtv.install | 22 ----
community-x86_64/PKGBUILD | 74 ----------------
community-x86_64/mythbackend.service | 15 ---
community-x86_64/mythtv.install | 22 ----
9 files changed, 222 insertions(+), 222 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-10-16 06:08:41 UTC (rev 120760)
+++ community-i686/PKGBUILD 2014-10-16 06:09:35 UTC (rev 120761)
@@ -1,74 +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.27.3
-pkgrel=3
-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-utils' 'mariadb-clients'
- 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
- 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 'libx264')
-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'
- 'udisks: detect changes to removable media'
- 'xmltv: to download tv listings')
-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"
- 'mythbackend.service'
- 'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
-sha256sums=('8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4'
- 'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
- '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver/$pkgname"
-
- find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
- patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
-}
-
-build() {
- cd "$srcdir/$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 "$srcdir/$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"
-}
Copied: mythtv/repos/community-i686/PKGBUILD (from rev 120760, mythtv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-10-16 06:09:35 UTC (rev 120761)
@@ -0,0 +1,74 @@
+# $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.27.4
+pkgrel=1
+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-utils' 'mariadb-clients'
+ 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
+ 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 'libx264')
+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'
+ 'udisks: detect changes to removable media'
+ 'xmltv: to download tv listings')
+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"
+ 'mythbackend.service'
+ 'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
+sha256sums=('0e9ee768e7e6da8f964742b5bfa3393d84d99d2558d062815b0b212d7930d69c'
+ 'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
+ '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver/$pkgname"
+
+ find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
+}
+
+build() {
+ cd "$srcdir/$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 "$srcdir/$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"
+}
Deleted: community-i686/mythbackend.service
===================================================================
--- community-i686/mythbackend.service 2014-10-16 06:08:41 UTC (rev 120760)
+++ community-i686/mythbackend.service 2014-10-16 06:09:35 UTC (rev 120761)
@@ -1,15 +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
-
-[Install]
-WantedBy=multi-user.target
Copied: mythtv/repos/community-i686/mythbackend.service (from rev 120760, mythtv/trunk/mythbackend.service)
===================================================================
--- community-i686/mythbackend.service (rev 0)
+++ community-i686/mythbackend.service 2014-10-16 06:09:35 UTC (rev 120761)
@@ -0,0 +1,15 @@
+[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
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/mythtv.install
===================================================================
--- community-i686/mythtv.install 2014-10-16 06:08:41 UTC (rev 120760)
+++ community-i686/mythtv.install 2014-10-16 06:09:35 UTC (rev 120761)
@@ -1,22 +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."
-
- getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
- getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
-}
Copied: mythtv/repos/community-i686/mythtv.install (from rev 120760, mythtv/trunk/mythtv.install)
===================================================================
--- community-i686/mythtv.install (rev 0)
+++ community-i686/mythtv.install 2014-10-16 06:09:35 UTC (rev 120761)
@@ -0,0 +1,22 @@
+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."
+
+ getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
+ getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-10-16 06:08:41 UTC (rev 120760)
+++ community-x86_64/PKGBUILD 2014-10-16 06:09:35 UTC (rev 120761)
@@ -1,74 +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.27.3
-pkgrel=3
-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-utils' 'mariadb-clients'
- 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
- 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 'libx264')
-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'
- 'udisks: detect changes to removable media'
- 'xmltv: to download tv listings')
-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"
- 'mythbackend.service'
- 'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
-sha256sums=('8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4'
- 'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
- '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver/$pkgname"
-
- find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
- patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
-}
-
-build() {
- cd "$srcdir/$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 "$srcdir/$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"
-}
Copied: mythtv/repos/community-x86_64/PKGBUILD (from rev 120760, mythtv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-10-16 06:09:35 UTC (rev 120761)
@@ -0,0 +1,74 @@
+# $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.27.4
+pkgrel=1
+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-utils' 'mariadb-clients'
+ 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
+ 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 'libx264')
+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'
+ 'udisks: detect changes to removable media'
+ 'xmltv: to download tv listings')
+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"
+ 'mythbackend.service'
+ 'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
+sha256sums=('0e9ee768e7e6da8f964742b5bfa3393d84d99d2558d062815b0b212d7930d69c'
+ 'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
+ '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver/$pkgname"
+
+ find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
+}
+
+build() {
+ cd "$srcdir/$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 "$srcdir/$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"
+}
Deleted: community-x86_64/mythbackend.service
===================================================================
--- community-x86_64/mythbackend.service 2014-10-16 06:08:41 UTC (rev 120760)
+++ community-x86_64/mythbackend.service 2014-10-16 06:09:35 UTC (rev 120761)
@@ -1,15 +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
-
-[Install]
-WantedBy=multi-user.target
Copied: mythtv/repos/community-x86_64/mythbackend.service (from rev 120760, mythtv/trunk/mythbackend.service)
===================================================================
--- community-x86_64/mythbackend.service (rev 0)
+++ community-x86_64/mythbackend.service 2014-10-16 06:09:35 UTC (rev 120761)
@@ -0,0 +1,15 @@
+[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
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/mythtv.install
===================================================================
--- community-x86_64/mythtv.install 2014-10-16 06:08:41 UTC (rev 120760)
+++ community-x86_64/mythtv.install 2014-10-16 06:09:35 UTC (rev 120761)
@@ -1,22 +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."
-
- getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
- getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
-}
Copied: mythtv/repos/community-x86_64/mythtv.install (from rev 120760, mythtv/trunk/mythtv.install)
===================================================================
--- community-x86_64/mythtv.install (rev 0)
+++ community-x86_64/mythtv.install 2014-10-16 06:09:35 UTC (rev 120761)
@@ -0,0 +1,22 @@
+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."
+
+ getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
+ getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
+}
More information about the arch-commits
mailing list