diff options
author | Gilles Hamel | 2020-04-15 18:40:40 +0200 |
---|---|---|
committer | Gilles Hamel | 2020-04-15 18:40:40 +0200 |
commit | b668a7982d7eefc3f6f34df32754ef360bb90fbe (patch) | |
tree | 4f09d3a6bdd2fe8f1b0f2b84812a7f3c65cdf9b0 | |
download | aur-b668a7982d7eefc3f6f34df32754ef360bb90fbe.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 89 | ||||
-rw-r--r-- | PKGBUILD | 129 |
2 files changed, 218 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d243a39f4512 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,89 @@ +pkgbase = mythplugins-git + pkgver = 31+fixes.20200413.4d092420 + pkgrel = 1 + url = http://www.mythtv.org + arch = x86_64 + license = GPL + makedepends = dvdauthor + makedepends = dvd+rw-tools + makedepends = mesa-libgl + makedepends = mythtv-git>=31+fixes + makedepends = perl-datetime-format-iso8601 + makedepends = perl-date-manip + makedepends = perl-image-size + makedepends = perl-cgi + makedepends = perl-json + makedepends = perl-libwww + makedepends = perl-soap-lite + makedepends = perl-xml-simple + makedepends = perl-xml-xpath + makedepends = libhdhomerun + makedepends = python-pillow + makedepends = python-pycurl + makedepends = python-oauthlib + makedepends = gdb + makedepends = mariadb-libs + makedepends = minizip + makedepends = python-lxml + makedepends = perl-xml-xpath + makedepends = python-urllib3 + makedepends = libcdio-paranoia + source = git+https://github.com/MythTV/mythtv#branch=fixes/31 + sha256sums = SKIP + +pkgname = mythplugins-mytharchive-git + pkgdesc = Create DVDs or archive recorded shows in MythTV + depends = dvdauthor + depends = dvd+rw-tools + depends = mythtv-git>=31+fixes + depends = python-pillow + conflicts = mythplugins-mytharchive + replaces = mythplugins-mytharchive + +pkgname = mythplugins-mythbrowser-git + pkgdesc = Mini web browser for MythTV + depends = mythtv-git>=31+fixes + conflicts = mythplugins-mythbrowser + replaces = mythplugins-mythbrowser + +pkgname = mythplugins-mythgame-git + pkgdesc = Game emulator plugin for MythTV + depends = mythtv-git>=31+fixes + depends = minizip + conflicts = mythplugins-mythgame + replaces = mythplugins-mythgame + +pkgname = mythplugins-mythmusic-git + pkgdesc = Music playing plugin for MythTV + depends = mythtv-git>=31+fixes + depends = libcdio-paranoia + conflicts = mythplugins-mythmusic + replaces = mythplugins-mythmusic + +pkgname = mythplugins-mythnews-git + pkgdesc = News checking plugin for MythTV + depends = mythtv-git>=31+fixes + conflicts = mythplugins-mythnews + replaces = mythplugins-mythnews + +pkgname = mythplugins-mythweather-git + pkgdesc = Weather checking plugin for MythTV + depends = mythtv-git>=31+fixes + depends = perl-date-manip + depends = perl-json + depends = perl-soap-lite + depends = perl-xml-simple + depends = perl-xml-xpath + depends = perl-image-size + depends = perl-datetime-format-iso8601 + conflicts = mythplugins-mythweather + replaces = mythplugins-mythweather + +pkgname = mythplugins-mythzoneminder-git + pkgdesc = View CCTV footage from zoneminder in MythTV + depends = mythtv-git>=31+fixes + depends = mariadb-libs + depends = zoneminder + conflicts = mythplugins-mythzoneminder + replaces = mythplugins-mythzoneminder + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1d852e880e11 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,129 @@ +# Maintainer: Gilles Hamel <hamelg@laposte.net> +# Contributor: Taijian <taijian@posteo.de> +# Contributor: Jonathan Conder <jonno.conder@gmail.com> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgbase=mythplugins-git +pkgname=('mythplugins-mytharchive-git' + 'mythplugins-mythbrowser-git' + 'mythplugins-mythgame-git' + 'mythplugins-mythmusic-git' + 'mythplugins-mythnews-git' + 'mythplugins-mythweather-git' + 'mythplugins-mythzoneminder-git') +br=fixes/31 +t="${br#*/}+${br%/[0-9][0-9]}" +pkgver=31+fixes.20200413.4d092420 +pkgrel=1 +arch=('x86_64') +url="http://www.mythtv.org" +license=('GPL') + +makedepends=('dvdauthor' 'dvd+rw-tools' 'mesa-libgl' "mythtv-git>=$t" + 'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size' 'perl-cgi' + 'perl-json' 'perl-libwww' 'perl-soap-lite' 'perl-xml-simple' 'perl-xml-xpath' 'libhdhomerun' + 'python-pillow' 'python-pycurl' 'python-oauthlib' 'gdb' 'mariadb-libs' 'minizip' + 'python-lxml' 'perl-xml-xpath' 'python-urllib3' 'libcdio-paranoia') +source=("git+https://github.com/MythTV/mythtv#branch=$br") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/mythtv/mythtv" + echo -n "$t.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)" +} + +prepare() { + cd "$srcdir/mythtv/mythtv" + + git clean -xfd + + local src + for src in "${source[@]}"; do + src="${src%%::*}" + src="${src##*/}" + [[ $src = *.patch ]] || continue + msg2 "Applying patch $src..." + patch -Np1 < "../../$src" + done +} + +build() { + cd "$srcdir/mythtv/mythplugins" + + ./configure --prefix=/usr \ + --enable-all + qmake-qt5 mythplugins.pro + make -s +} + +package_mythplugins-mytharchive-git() { + pkgdesc="Create DVDs or archive recorded shows in MythTV" + depends=('dvdauthor' 'dvd+rw-tools' "mythtv-git>=$t" 'python-pillow') + conflicts=('mythplugins-mytharchive') + replaces=('mythplugins-mytharchive') + + cd "$srcdir/mythtv/mythplugins/mytharchive" + make INSTALL_ROOT="$pkgdir" install +} + +package_mythplugins-mythbrowser-git() { + pkgdesc="Mini web browser for MythTV" + depends=("mythtv-git>=$t") + conflicts=('mythplugins-mythbrowser') + replaces=('mythplugins-mythbrowser') + + cd "$srcdir/mythtv/mythplugins/mythbrowser" + make INSTALL_ROOT="$pkgdir" install +} + +package_mythplugins-mythgame-git() { + pkgdesc="Game emulator plugin for MythTV" + depends=("mythtv-git>=$t" 'minizip') + conflicts=('mythplugins-mythgame') + replaces=('mythplugins-mythgame') + + cd "$srcdir/mythtv/mythplugins/mythgame" + make INSTALL_ROOT="$pkgdir" install +} + +package_mythplugins-mythmusic-git() { + pkgdesc="Music playing plugin for MythTV" + depends=("mythtv-git>=$t" 'libcdio-paranoia') + conflicts=('mythplugins-mythmusic') + replaces=('mythplugins-mythmusic') + + cd "$srcdir/mythtv/mythplugins/mythmusic" + make INSTALL_ROOT="$pkgdir" install +} + +package_mythplugins-mythnews-git() { + pkgdesc="News checking plugin for MythTV" + depends=("mythtv-git>=$t") + conflicts=('mythplugins-mythnews') + replaces=('mythplugins-mythnews') + + cd "$srcdir/mythtv/mythplugins/mythnews" + make INSTALL_ROOT="$pkgdir" install +} + +package_mythplugins-mythweather-git() { + pkgdesc="Weather checking plugin for MythTV" + depends=("mythtv-git>=$t" 'perl-date-manip' 'perl-json' 'perl-soap-lite' + 'perl-xml-simple' 'perl-xml-xpath' 'perl-image-size' + 'perl-datetime-format-iso8601') + conflicts=('mythplugins-mythweather') + replaces=('mythplugins-mythweather') + + cd "$srcdir/mythtv/mythplugins/mythweather" + make INSTALL_ROOT="$pkgdir" install +} + +package_mythplugins-mythzoneminder-git() { + pkgdesc="View CCTV footage from zoneminder in MythTV" + depends=("mythtv-git>=$t" 'mariadb-libs' 'zoneminder') + conflicts=('mythplugins-mythzoneminder') + replaces=('mythplugins-mythzoneminder') + + cd "$srcdir/mythtv/mythplugins/mythzoneminder" + make INSTALL_ROOT="$pkgdir" install +} |