From 452dcf988d23dd3fc13d31c6c3c884c85478034b Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Wed, 1 Dec 2010 23:04:37 +0000 Subject: libhdhomerun: upgrade & change pkg 'hdhomerun' to 'libhdhomerun' also includes the hdhomerun_config_gui for those fearful of the commandline --- abs/core/hdhomerun/PKGBUILD | 26 -------------------------- abs/core/libhdhomerun/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 26 deletions(-) delete mode 100755 abs/core/hdhomerun/PKGBUILD create mode 100755 abs/core/libhdhomerun/PKGBUILD diff --git a/abs/core/hdhomerun/PKGBUILD b/abs/core/hdhomerun/PKGBUILD deleted file mode 100755 index 51186e0..0000000 --- a/abs/core/hdhomerun/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -pkgname=hdhomerun -pkgver=20100213 -pkgrel=1 -pkgdesc="utils and firmware needed for the hdhomerun" -arch=(i686 x86_64) -url="http://www.silicondust.com" -firmware=hdhomerun_atsc_firmware_$pkgver.bin -firmware2=hdhomerun_dvbt_firmware_$pkgver.bin -firmware3=hdhomerun_tech_atsc_firmware_$pkgver.bin -url=http://download.silicondust.com/hdhomerun -source=("$url/libhdhomerun_$pkgver.tgz" "$url/$firmware" "$url/$firmware2" "$url/$firmware3" ) - - -build() { - cd $startdir/src || return 1 - cd libhdhomerun - make || return 1 - install -D -m755 hdhomerun_config $startdir/pkg/usr/bin/hdhomerun_config - cd .. - mkdir -p $startdir/pkg/lib/firmware - cp $startdir/src/*.bin $startdir/pkg/lib/firmware/ -} -md5sums=('c69f46d0a671e3d7aaacc82ad393644a' - '8b23724c2afb04cd909d3c1ff392d287' - '369be2b2c95c2c93e0f2b09fcc01edfb' - '9e83fbf8a74d6b8f746cc9f1414e9167') diff --git a/abs/core/libhdhomerun/PKGBUILD b/abs/core/libhdhomerun/PKGBUILD new file mode 100755 index 0000000..69986df --- /dev/null +++ b/abs/core/libhdhomerun/PKGBUILD @@ -0,0 +1,42 @@ +pkgname=libhdhomerun +pkgver=20100828 +pkgrel=1 +pkgdesc="utils and firmware needed for the hdhomerun" +arch=('i686' 'x86_64') +url="http://www.silicondust.com" +license=('GPL3') +makedepends=('gtk2') +optdepends=('gtk2: for using hdhomerun_config_gui') +replaces=('hdhomerun') +firmware=hdhomerun_atsc_firmware_${pkgver}.bin +firmware2=hdhomerun_dvbt_firmware_${pkgver}.bin +firmware3=hdhomerun_tech_atsc_firmware_${pkgver}.bin +url2=http://download.silicondust.com/hdhomerun +source=("${url2}/libhdhomerun_${pkgver}.tgz" + "${url2}/${firmware}" + "${url2}/${firmware2}" + "${url2}/${firmware3}" + "${url2}/hdhomerun_config_gui_${pkgver}.tgz") + +build() { + cd ${srcdir}/libhdhomerun + make || return 1 + cd ${srcdir}/hdhomerun_config_gui + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/libhdhomerun + install -D -m755 hdhomerun_config ${pkgdir}/usr/bin/hdhomerun_config + cd ${srcdir}/hdhomerun_config_gui + make DESTDIR=${pkgdir} install || return 1 + cd ${srcdir} + mkdir -p ${pkgdir}/lib/firmware + cp ${srcdir}/*.bin ${pkgdir}/lib/firmware/ +} +md5sums=('3923ea7f88504271f76117aa608062e2' + 'bfc6b2fc80680795dac0c642807963ad' + '99f422cf78a6f0ee79647c75c4ea9b5b' + '4e2e693057f9251873558fcec2522b46' + '6c602c5d11eff26c70a707f6559d3f3f') -- cgit v0.12