[arch-commits] Commit in mythplugins/repos (10 files)

Maxime Gauduin alucryd at archlinux.org
Sun Mar 26 17:09:33 UTC 2017


    Date: Sunday, March 26, 2017 @ 17:09:32
  Author: alucryd
Revision: 219146

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

Added:
  mythplugins/repos/community-staging-i686/
  mythplugins/repos/community-staging-i686/PKGBUILD
    (from rev 219145, mythplugins/trunk/PKGBUILD)
  mythplugins/repos/community-staging-i686/cdparanoia.patch
    (from rev 219145, mythplugins/trunk/cdparanoia.patch)
  mythplugins/repos/community-staging-i686/mythplugins-mythweb.install
    (from rev 219145, mythplugins/trunk/mythplugins-mythweb.install)
  mythplugins/repos/community-staging-i686/mythplugins-mythzoneminder.install
    (from rev 219145, mythplugins/trunk/mythplugins-mythzoneminder.install)
  mythplugins/repos/community-staging-x86_64/
  mythplugins/repos/community-staging-x86_64/PKGBUILD
    (from rev 219145, mythplugins/trunk/PKGBUILD)
  mythplugins/repos/community-staging-x86_64/cdparanoia.patch
    (from rev 219145, mythplugins/trunk/cdparanoia.patch)
  mythplugins/repos/community-staging-x86_64/mythplugins-mythweb.install
    (from rev 219145, mythplugins/trunk/mythplugins-mythweb.install)
  mythplugins/repos/community-staging-x86_64/mythplugins-mythzoneminder.install
    (from rev 219145, mythplugins/trunk/mythplugins-mythzoneminder.install)

-------------------------------------------------------------+
 community-staging-i686/PKGBUILD                             |  144 ++++++++++
 community-staging-i686/cdparanoia.patch                     |   52 +++
 community-staging-i686/mythplugins-mythweb.install          |    4 
 community-staging-i686/mythplugins-mythzoneminder.install   |    3 
 community-staging-x86_64/PKGBUILD                           |  144 ++++++++++
 community-staging-x86_64/cdparanoia.patch                   |   52 +++
 community-staging-x86_64/mythplugins-mythweb.install        |    4 
 community-staging-x86_64/mythplugins-mythzoneminder.install |    3 
 8 files changed, 406 insertions(+)

Copied: mythplugins/repos/community-staging-i686/PKGBUILD (from rev 219145, mythplugins/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,144 @@
+# $Id$
+# Maintainer:
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgbase=mythplugins
+pkgname=('mythplugins-mytharchive'
+         'mythplugins-mythbrowser'
+         'mythplugins-mythgallery'
+         'mythplugins-mythgame'
+         'mythplugins-mythmusic'
+         'mythplugins-mythnetvision'
+         'mythplugins-mythnews'
+         'mythplugins-mythweather'
+         'mythplugins-mythweb'
+         'mythplugins-mythzoneminder')
+pkgver=0.28.1
+pkgrel=3
+epoch=1
+arch=('i686' 'x86_64')
+url="http://www.mythtv.org"
+license=('GPL')
+makedepends=('cdrtools' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'flac' 'libexif'
+             'libvorbis' 'mesa' 'mesa-libgl' 'mplayer' 'mythtv'
+             'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size'
+             'perl-json' 'perl-libwww' 'perl-soap-lite' 'perl-xml-sax'
+             'perl-xml-simple' 'perl-xml-xpath' 'python2-oauth' 'python2-pillow'
+             'python2-pycurl' 'zlib' 'gdb')
+source=("mythtv-$pkgver.tar.gz::https://github.com/MythTV/mythtv/archive/v$pkgver.tar.gz"
+        "mythweb-$pkgver.tar.gz::https://github.com/MythTV/mythweb/archive/v$pkgver.tar.gz"
+        'cdparanoia.patch')
+sha256sums=('3d12039343e589ae9d03ed4bd8cce9db36b1f1e98c1885fdd783bd80729c0164'
+            'bbd82992230d3571eba55a26a91cc3f2dcddfa631d1822ce58e1bf99f2537244'
+            '004f1e4734830709d2ab5ebb804560514f2bf525abc2f11142501a81eba0754c')
+
+prepare() {
+  cd "$srcdir/mythtv-$pkgver/$pkgbase"
+
+  find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+  patch -Np1 -i "$srcdir/cdparanoia.patch"
+
+  cd "$srcdir/mythweb-$pkgver"
+
+  sed -re 's@/usr/local.*/usr/share@/usr/share@' -i 'mythweb.php'
+}
+
+build() {
+  cd "$srcdir/mythtv-$pkgver/$pkgbase"
+
+  ./configure --prefix=/usr \
+              --enable-all \
+              --python=python2
+  qmake-qt5 mythplugins.pro
+  make -s
+}
+
+package_mythplugins-mytharchive() {
+  pkgdesc="Create DVDs or archive recorded shows in MythTV"
+  depends=('cdrtools' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'mythtv'
+           'python2-pillow')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mytharchive"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythbrowser() {
+  pkgdesc="Mini web browser for MythTV"
+  depends=('mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythbrowser"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythgallery() {
+  pkgdesc="Image gallery plugin for MythTV"
+  depends=('libexif' 'mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythgallery"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythgame() {
+  pkgdesc="Game emulator plugin for MythTV"
+  depends=('mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythgame"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythmusic() {
+  pkgdesc="Music playing plugin for MythTV"
+  depends=('mythtv' 'libcdio-paranoia')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythmusic"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythnetvision() {
+  pkgdesc="MythNetvision plugin for MythTV"
+  depends=('mythtv' 'python2-oauth')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythnetvision"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythnews() {
+  pkgdesc="News checking plugin for MythTV"
+  depends=('mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythnews"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythweather() {
+  pkgdesc="Weather checking plugin for MythTV"
+  depends=('mythtv' 'perl-date-manip' 'perl-json' 'perl-soap-lite'
+           'perl-xml-sax' 'perl-xml-simple' 'perl-xml-xpath' 'perl-image-size'
+           'perl-datetime-format-iso8601')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythweather"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythweb() {
+  pkgdesc="Web interface for the MythTV scheduler"
+  depends=('mythtv')
+  optdepends=('lighttpd'
+              'php-apache')
+  install='mythplugins-mythweb.install'
+
+  mkdir -p "$pkgdir/var/lib/mythtv/mythweb"/{image_cache,php_sessions}
+  cp -R "$srcdir/mythweb-$pkgver"/* "$pkgdir/var/lib/mythtv/mythweb"
+  chown -R http:http "$pkgdir/var/lib/mythtv/mythweb"
+  chmod g+rw "$pkgdir/var/lib/mythtv/mythweb"/{image_cache,php_sessions}
+}
+
+package_mythplugins-mythzoneminder() {
+  pkgdesc="View CCTV footage from zoneminder in MythTV"
+  depends=('mythtv')
+  install='mythplugins-mythzoneminder.install'
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythzoneminder"
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: mythplugins/repos/community-staging-i686/cdparanoia.patch (from rev 219145, mythplugins/trunk/cdparanoia.patch)
===================================================================
--- community-staging-i686/cdparanoia.patch	                        (rev 0)
+++ community-staging-i686/cdparanoia.patch	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,52 @@
+diff -Nru a/configure b/configure
+--- a/configure	2012-10-02 23:30:24.000000000 +1300
++++ b/configure	2013-01-09 14:54:40.448916370 +1300
+@@ -649,7 +649,7 @@
+         echo "MythMusic requires FLAC."
+     fi
+ 
+-    if ! check_lib cdio/cdio.h cdio_open -lcdio || ! check_lib cdio/cdda.h cdio_cddap_open -lcdio_cdda || ! check_lib cdio/paranoia.h cdio_paranoia_init -lcdio_paranoia ; then
++    if ! check_lib cdio/cdio.h cdio_open -lcdio || ! check_lib cdio/paranoia/cdda.h cdio_cddap_open -lcdio_cdda || ! check_lib cdio/paranoia/paranoia.h cdio_paranoia_init -lcdio_paranoia ; then
+         disable cdio
+     fi
+ 
+diff -Nru a/mythmusic/mythmusic/cddecoder.cpp b/mythmusic/mythmusic/cddecoder.cpp
+--- a/mythmusic/mythmusic/cddecoder.cpp	2012-10-02 23:30:24.000000000 +1300
++++ b/mythmusic/mythmusic/cddecoder.cpp	2013-01-09 14:53:37.031690618 +1300
+@@ -14,7 +14,7 @@
+ #include <QString>
+ 
+ // libcdio
+-#include <cdio/cdda.h>
++#include <cdio/paranoia/cdda.h>
+ #include <cdio/logging.h>
+ 
+ // MythTV
+diff -Nru a/mythmusic/mythmusic/cddecoder.h b/mythmusic/mythmusic/cddecoder.h
+--- a/mythmusic/mythmusic/cddecoder.h	2012-10-02 23:30:24.000000000 +1300
++++ b/mythmusic/mythmusic/cddecoder.h	2013-01-09 14:53:12.328140979 +1300
+@@ -11,8 +11,8 @@
+ #endif
+ 
+ #ifdef HAVE_CDIO
+-# include <cdio/cdda.h>
+-# include <cdio/paranoia.h>
++# include <cdio/paranoia/cdda.h>
++# include <cdio/paranoia/paranoia.h>
+ #endif
+ 
+ class Metadata;
+diff -Nru a/mythmusic/mythmusic/cdrip.cpp b/mythmusic/mythmusic/cdrip.cpp
+--- a/mythmusic/mythmusic/cdrip.cpp	2012-10-02 23:30:24.000000000 +1300
++++ b/mythmusic/mythmusic/cdrip.cpp	2013-01-09 14:54:11.815330268 +1300
+@@ -8,8 +8,8 @@
+ 
+ #include "config.h"
+ #ifdef HAVE_CDIO
+-# include <cdio/cdda.h>
+-# include <cdio/paranoia.h>
++# include <cdio/paranoia/cdda.h>
++# include <cdio/paranoia/paranoia.h>
+ #endif //def HAVE_CDIO
+ 
+ // C++ includes

Copied: mythplugins/repos/community-staging-i686/mythplugins-mythweb.install (from rev 219145, mythplugins/trunk/mythplugins-mythweb.install)
===================================================================
--- community-staging-i686/mythplugins-mythweb.install	                        (rev 0)
+++ community-staging-i686/mythplugins-mythweb.install	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,4 @@
+post_upgrade() {
+  echo "MythWeb files are now in /var/lib/mythtv/mythweb"
+  echo "Please update your server configuration accordingly"
+}

Copied: mythplugins/repos/community-staging-i686/mythplugins-mythzoneminder.install (from rev 219145, mythplugins/trunk/mythplugins-mythzoneminder.install)
===================================================================
--- community-staging-i686/mythplugins-mythzoneminder.install	                        (rev 0)
+++ community-staging-i686/mythplugins-mythzoneminder.install	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,3 @@
+post_install() {
+  echo "If you want to use this plugin, install zoneminder from AUR."
+}

Copied: mythplugins/repos/community-staging-x86_64/PKGBUILD (from rev 219145, mythplugins/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,144 @@
+# $Id$
+# Maintainer:
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgbase=mythplugins
+pkgname=('mythplugins-mytharchive'
+         'mythplugins-mythbrowser'
+         'mythplugins-mythgallery'
+         'mythplugins-mythgame'
+         'mythplugins-mythmusic'
+         'mythplugins-mythnetvision'
+         'mythplugins-mythnews'
+         'mythplugins-mythweather'
+         'mythplugins-mythweb'
+         'mythplugins-mythzoneminder')
+pkgver=0.28.1
+pkgrel=3
+epoch=1
+arch=('i686' 'x86_64')
+url="http://www.mythtv.org"
+license=('GPL')
+makedepends=('cdrtools' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'flac' 'libexif'
+             'libvorbis' 'mesa' 'mesa-libgl' 'mplayer' 'mythtv'
+             'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size'
+             'perl-json' 'perl-libwww' 'perl-soap-lite' 'perl-xml-sax'
+             'perl-xml-simple' 'perl-xml-xpath' 'python2-oauth' 'python2-pillow'
+             'python2-pycurl' 'zlib' 'gdb')
+source=("mythtv-$pkgver.tar.gz::https://github.com/MythTV/mythtv/archive/v$pkgver.tar.gz"
+        "mythweb-$pkgver.tar.gz::https://github.com/MythTV/mythweb/archive/v$pkgver.tar.gz"
+        'cdparanoia.patch')
+sha256sums=('3d12039343e589ae9d03ed4bd8cce9db36b1f1e98c1885fdd783bd80729c0164'
+            'bbd82992230d3571eba55a26a91cc3f2dcddfa631d1822ce58e1bf99f2537244'
+            '004f1e4734830709d2ab5ebb804560514f2bf525abc2f11142501a81eba0754c')
+
+prepare() {
+  cd "$srcdir/mythtv-$pkgver/$pkgbase"
+
+  find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+  patch -Np1 -i "$srcdir/cdparanoia.patch"
+
+  cd "$srcdir/mythweb-$pkgver"
+
+  sed -re 's@/usr/local.*/usr/share@/usr/share@' -i 'mythweb.php'
+}
+
+build() {
+  cd "$srcdir/mythtv-$pkgver/$pkgbase"
+
+  ./configure --prefix=/usr \
+              --enable-all \
+              --python=python2
+  qmake-qt5 mythplugins.pro
+  make -s
+}
+
+package_mythplugins-mytharchive() {
+  pkgdesc="Create DVDs or archive recorded shows in MythTV"
+  depends=('cdrtools' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'mythtv'
+           'python2-pillow')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mytharchive"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythbrowser() {
+  pkgdesc="Mini web browser for MythTV"
+  depends=('mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythbrowser"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythgallery() {
+  pkgdesc="Image gallery plugin for MythTV"
+  depends=('libexif' 'mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythgallery"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythgame() {
+  pkgdesc="Game emulator plugin for MythTV"
+  depends=('mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythgame"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythmusic() {
+  pkgdesc="Music playing plugin for MythTV"
+  depends=('mythtv' 'libcdio-paranoia')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythmusic"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythnetvision() {
+  pkgdesc="MythNetvision plugin for MythTV"
+  depends=('mythtv' 'python2-oauth')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythnetvision"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythnews() {
+  pkgdesc="News checking plugin for MythTV"
+  depends=('mythtv')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythnews"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythweather() {
+  pkgdesc="Weather checking plugin for MythTV"
+  depends=('mythtv' 'perl-date-manip' 'perl-json' 'perl-soap-lite'
+           'perl-xml-sax' 'perl-xml-simple' 'perl-xml-xpath' 'perl-image-size'
+           'perl-datetime-format-iso8601')
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythweather"
+  make INSTALL_ROOT="$pkgdir" install
+}
+
+package_mythplugins-mythweb() {
+  pkgdesc="Web interface for the MythTV scheduler"
+  depends=('mythtv')
+  optdepends=('lighttpd'
+              'php-apache')
+  install='mythplugins-mythweb.install'
+
+  mkdir -p "$pkgdir/var/lib/mythtv/mythweb"/{image_cache,php_sessions}
+  cp -R "$srcdir/mythweb-$pkgver"/* "$pkgdir/var/lib/mythtv/mythweb"
+  chown -R http:http "$pkgdir/var/lib/mythtv/mythweb"
+  chmod g+rw "$pkgdir/var/lib/mythtv/mythweb"/{image_cache,php_sessions}
+}
+
+package_mythplugins-mythzoneminder() {
+  pkgdesc="View CCTV footage from zoneminder in MythTV"
+  depends=('mythtv')
+  install='mythplugins-mythzoneminder.install'
+
+  cd "$srcdir/mythtv-$pkgver/$pkgbase/mythzoneminder"
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: mythplugins/repos/community-staging-x86_64/cdparanoia.patch (from rev 219145, mythplugins/trunk/cdparanoia.patch)
===================================================================
--- community-staging-x86_64/cdparanoia.patch	                        (rev 0)
+++ community-staging-x86_64/cdparanoia.patch	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,52 @@
+diff -Nru a/configure b/configure
+--- a/configure	2012-10-02 23:30:24.000000000 +1300
++++ b/configure	2013-01-09 14:54:40.448916370 +1300
+@@ -649,7 +649,7 @@
+         echo "MythMusic requires FLAC."
+     fi
+ 
+-    if ! check_lib cdio/cdio.h cdio_open -lcdio || ! check_lib cdio/cdda.h cdio_cddap_open -lcdio_cdda || ! check_lib cdio/paranoia.h cdio_paranoia_init -lcdio_paranoia ; then
++    if ! check_lib cdio/cdio.h cdio_open -lcdio || ! check_lib cdio/paranoia/cdda.h cdio_cddap_open -lcdio_cdda || ! check_lib cdio/paranoia/paranoia.h cdio_paranoia_init -lcdio_paranoia ; then
+         disable cdio
+     fi
+ 
+diff -Nru a/mythmusic/mythmusic/cddecoder.cpp b/mythmusic/mythmusic/cddecoder.cpp
+--- a/mythmusic/mythmusic/cddecoder.cpp	2012-10-02 23:30:24.000000000 +1300
++++ b/mythmusic/mythmusic/cddecoder.cpp	2013-01-09 14:53:37.031690618 +1300
+@@ -14,7 +14,7 @@
+ #include <QString>
+ 
+ // libcdio
+-#include <cdio/cdda.h>
++#include <cdio/paranoia/cdda.h>
+ #include <cdio/logging.h>
+ 
+ // MythTV
+diff -Nru a/mythmusic/mythmusic/cddecoder.h b/mythmusic/mythmusic/cddecoder.h
+--- a/mythmusic/mythmusic/cddecoder.h	2012-10-02 23:30:24.000000000 +1300
++++ b/mythmusic/mythmusic/cddecoder.h	2013-01-09 14:53:12.328140979 +1300
+@@ -11,8 +11,8 @@
+ #endif
+ 
+ #ifdef HAVE_CDIO
+-# include <cdio/cdda.h>
+-# include <cdio/paranoia.h>
++# include <cdio/paranoia/cdda.h>
++# include <cdio/paranoia/paranoia.h>
+ #endif
+ 
+ class Metadata;
+diff -Nru a/mythmusic/mythmusic/cdrip.cpp b/mythmusic/mythmusic/cdrip.cpp
+--- a/mythmusic/mythmusic/cdrip.cpp	2012-10-02 23:30:24.000000000 +1300
++++ b/mythmusic/mythmusic/cdrip.cpp	2013-01-09 14:54:11.815330268 +1300
+@@ -8,8 +8,8 @@
+ 
+ #include "config.h"
+ #ifdef HAVE_CDIO
+-# include <cdio/cdda.h>
+-# include <cdio/paranoia.h>
++# include <cdio/paranoia/cdda.h>
++# include <cdio/paranoia/paranoia.h>
+ #endif //def HAVE_CDIO
+ 
+ // C++ includes

Copied: mythplugins/repos/community-staging-x86_64/mythplugins-mythweb.install (from rev 219145, mythplugins/trunk/mythplugins-mythweb.install)
===================================================================
--- community-staging-x86_64/mythplugins-mythweb.install	                        (rev 0)
+++ community-staging-x86_64/mythplugins-mythweb.install	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,4 @@
+post_upgrade() {
+  echo "MythWeb files are now in /var/lib/mythtv/mythweb"
+  echo "Please update your server configuration accordingly"
+}

Copied: mythplugins/repos/community-staging-x86_64/mythplugins-mythzoneminder.install (from rev 219145, mythplugins/trunk/mythplugins-mythzoneminder.install)
===================================================================
--- community-staging-x86_64/mythplugins-mythzoneminder.install	                        (rev 0)
+++ community-staging-x86_64/mythplugins-mythzoneminder.install	2017-03-26 17:09:32 UTC (rev 219146)
@@ -0,0 +1,3 @@
+post_install() {
+  echo "If you want to use this plugin, install zoneminder from AUR."
+}



More information about the arch-commits mailing list