updated libcec-git PKGBUILD with fPIC correction

This commit is contained in:
Cedric Girard 2013-01-04 11:20:05 +01:00
parent 71b249cbfe
commit 85a1a01a3f
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
pkgbase = libcec-git pkgbase = libcec-git
pkgdesc = Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter pkgdesc = Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter
pkgver = 20120515 pkgver = 20130104
pkgrel = 1 pkgrel = 1
url = https://github.com/Pulse-Eight/libcec url = https://github.com/Pulse-Eight/libcec
arch = i686 arch = i686
@ -8,7 +8,7 @@ pkgbase = libcec-git
license = GPL license = GPL
makedepends = git makedepends = git
depends = udev>=151 depends = udev>=151
depends = lockdev depends = lockdev-fpic
provides = libcec provides = libcec
conflicts = libcec conflicts = libcec
options = !libtool options = !libtool

View file

@ -1,14 +1,14 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com> # Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=libcec-git pkgname=libcec-git
pkgver=20120515 pkgver=20130104
pkgrel=1 pkgrel=1
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter" pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://github.com/Pulse-Eight/libcec" url="https://github.com/Pulse-Eight/libcec"
license=('GPL') license=('GPL')
makedepends=('git') makedepends=('git')
depends=('udev>=151' 'lockdev') depends=('udev>=151' 'lockdev-fpic')
provides=('libcec') provides=('libcec')
conflicts=('libcec') conflicts=('libcec')
options=('!libtool') options=('!libtool')
@ -34,6 +34,7 @@ build() {
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build" cd "$srcdir/$_gitname-build"
sed 's/^LIBS_LIBCEC="$LIBS".*/LIBS_LIBCEC="$LIBS -fPIC"/' -i configure.ac
autoreconf -vif autoreconf -vif
./configure --prefix=/usr ./configure --prefix=/usr
make make