diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-03 17:23:54 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-03 17:23:54 -0200 |
commit | be3da0e70ddba9c92e7c1583114b4129e0dac6f6 (patch) | |
tree | 65fd97226dd1f49a0ebcba3f05c05d5ac88bfbe5 /libre/lirc-libre/PKGBUILD | |
parent | 851b71e3dae0850e8cfe8dc50f7c3f9b5deb277e (diff) | |
download | abslibre-be3da0e70ddba9c92e7c1583114b4129e0dac6f6.tar.gz abslibre-be3da0e70ddba9c92e7c1583114b4129e0dac6f6.tar.bz2 abslibre-be3da0e70ddba9c92e7c1583114b4129e0dac6f6.zip |
lirc-libre-1:0.9.0-66: Change libftdi depends to libftdi-compat, Add prepare function
Diffstat (limited to 'libre/lirc-libre/PKGBUILD')
-rw-r--r-- | libre/lirc-libre/PKGBUILD | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD index dfb71cc51..dd48284fb 100644 --- a/libre/lirc-libre/PKGBUILD +++ b/libre/lirc-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 199003 2013-11-06 07:24:27Z tpowa $ +# $Id: PKGBUILD 200352 2013-11-26 23:19:29Z eric $ # Maintainer: Paul Mattal <paul@archlinux.org> # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> @@ -6,14 +6,14 @@ _pkgbase=lirc pkgbase=lirc-libre pkgname=('lirc-libre' 'lirc-utils-libre') pkgver=0.9.0 -pkgrel=65 +pkgrel=66 epoch=1 _extramodules=extramodules-3.12-LIBRE arch=('i686' 'x86_64' 'mips64el') url="http://www.lirc.org/" license=('GPL') ### NOTICE don't forget to bump version in depends in package_lirc -makedepends=('help2man' 'linux-libre>=3.12' 'linux-libre<3.13' 'linux-libre-headers>=3.12' 'linux-libre-headers<3.13' 'alsa-lib' 'libx11' 'libftdi' 'libirman' 'python2') +makedepends=('help2man' 'linux-libre>=3.12' 'linux-libre<3.13' 'linux-libre-headers>=3.12' 'linux-libre-headers<3.13' 'alsa-lib' 'libx11' 'libftdi-compat' 'libirman' 'python2') options=('!makeflags' '!strip') source=(http://prdownloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2 lirc_wpc8769l.patch @@ -26,9 +26,19 @@ source=(http://prdownloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tar lircm.service irexec.service lirc.tmpfiles) +md5sums=('b232aef26f23fe33ea8305d276637086' + '1cce37e18e3f6f46044abab29016d18f' + 'b70cc9640505205446ec47b7d4779f38' + '1f8b104a2365d9f93404b143f499059b' + '087a7d102e1c96bf1179f38db2b0b237' + '9ee196bd03ea44af5a752fb0cc6ca96a' + '3deb02604b37811d41816e9b4385fcc3' + 'a9ab637e7207472e61e55a2fa75dc555' + '1847b9997685bc3ad2cf11bea4590a92' + '07131d117fcfe9dcd50c453c3a5e9531' + 'febf25c154a7d36f01159e84f26c2d9a') -build() { - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +prepare() { cd "${srcdir}/lirc-${pkgver}" patch -Np1 -i "${srcdir}/lirc_wpc8769l.patch" patch -Np1 -i "${srcdir}/lircd-handle-large-config.patch" @@ -47,10 +57,16 @@ build() { -e 's/@X_LIBS@//g' \ -e 's/@X_PRE_LIBS@//g' \ -e 's/@X_EXTRA_LIBS@//g' -i Makefile.am tools/Makefile.am + # fix for new automake #33497 sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac libtoolize autoreconf +} + +build() { + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + cd "${srcdir}/lirc-${pkgver}" PYTHON=python2 ./configure --enable-sandboxed --prefix=/usr \ --with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \ @@ -62,7 +78,7 @@ build() { -e "s:lirc_imon::" -e "s:lirc_parallel::" -e "s:lirc_sasem::" \ -e "s:lirc_serial::" -e "s:lirc_sir::" -e "s:lirc_ttusbir::" \ -e "s:lirc_atiusb::" -e "s:lirc_i2c::" \ - -i Makefile drivers/Makefile drivers/*/Makefile tools/Makefile + -i Makefile drivers/Makefile drivers/*/Makefile tools/Makefile make } @@ -85,7 +101,7 @@ package_lirc-libre() { package_lirc-utils-libre() { pkgdesc="Linux Infrared Remote Control utils" - depends=('alsa-lib' 'libx11' 'libftdi' 'libirman') + depends=('alsa-lib' 'libx11' 'libftdi-compat' 'libirman') optdepends=('python2: pronto2lirc utility') options=('strip') replaces=('lirc-utils') @@ -110,14 +126,3 @@ package_lirc-utils-libre() { # remove built modules rm -r "${pkgdir}/usr/lib/modules" } -md5sums=('b232aef26f23fe33ea8305d276637086' - '1cce37e18e3f6f46044abab29016d18f' - 'b70cc9640505205446ec47b7d4779f38' - '1f8b104a2365d9f93404b143f499059b' - '087a7d102e1c96bf1179f38db2b0b237' - '9ee196bd03ea44af5a752fb0cc6ca96a' - '3deb02604b37811d41816e9b4385fcc3' - 'a9ab637e7207472e61e55a2fa75dc555' - '1847b9997685bc3ad2cf11bea4590a92' - '07131d117fcfe9dcd50c453c3a5e9531' - 'febf25c154a7d36f01159e84f26c2d9a') |