diff options
author | Grey Christoforo | 2015-06-20 19:53:47 +0200 |
---|---|---|
committer | Grey Christoforo | 2015-06-20 19:53:47 +0200 |
commit | 6fa80ecf42e945f20030d1a06f9fe4b1505e7631 (patch) | |
tree | 90a7950e8939b369d6da437d3e63913590819b36 | |
download | aur-6fa80ecf42e945f20030d1a06f9fe4b1505e7631.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5f8a858af832 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = hdhomerun_config_gui + pkgdesc = GTK2 GUI for configuring the HDHomeRun device + pkgver = 20150406 + pkgrel = 1 + url = http://www.silicondust.com/downloads + arch = any + license = GPL3 + depends = gtk2 + depends = libhdhomerun=20150406 + optdepends = vlc: stream live channels directly from HDHomeRun + optdepends = mythtv: use HDHomeRun as PVR source + source = http://download.silicondust.com/hdhomerun/hdhomerun_config_gui_20150406.tgz + sha1sums = 3f97021379bc32455ea7b357371d6eafaec0209a + +pkgname = hdhomerun_config_gui + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..41853a3f88f7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=hdhomerun_config_gui +pkgver=20150406 +pkgrel=1 +pkgdesc="GTK2 GUI for configuring the HDHomeRun device" +arch=('any') +url="http://www.silicondust.com/downloads" +license=('GPL3') +depends=('gtk2' "libhdhomerun=${pkgver}") +optdepends=('vlc: stream live channels directly from HDHomeRun' + 'mythtv: use HDHomeRun as PVR source') +source=("http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz") +sha1sums=('3f97021379bc32455ea7b357371d6eafaec0209a') + +build() { + cd $srcdir/$pkgname + + # Thanks to James Edir <jimportal at gmail dot com> for contributing this fix + # Updated for builds 20141210 and newer (mrc) + sed -i "s|SUBDIRS = ../libhdhomerun src|SUBDIRS = src|g" Makefile.am + sed -i "s|-I../../libhdhomerun|-I/usr/include/libhdhomerun|g" src/Makefile.am + sed -i "s|-L../../libhdhomerun -lhdhomerun|-lhdhomerun|g" src/Makefile.am + + ./autogen.sh + + make +} + +package() { + install -D -m 755 $srcdir/$pkgname/src/hdhomerun_config_gui $pkgdir/usr/bin/hdhomerun_config_gui +} |