diff --git a/alarm/libcec-cubox/PKGBUILD b/alarm/libcec-cubox/PKGBUILD index 208e4c9cc..32c3192df 100644 --- a/alarm/libcec-cubox/PKGBUILD +++ b/alarm/libcec-cubox/PKGBUILD @@ -3,7 +3,7 @@ buildarch=4 pkgname="libcec-cubox" -pkgver=2.0.4 +pkgver=2.1.1 pkgrel=1 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter with support for cubox" arch=('armv7h') @@ -14,8 +14,8 @@ makedepends=('linux-headers-cubox') conflicts=('libcec') provides=('libcec') source=("libcec-${pkgver}.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/libcec-${pkgver}") -sha256sums=('652f8bddf8629eb4d14c93bc97efbeb7406482f69626302c8489df8e1fd8431f') -_srcfolder=Pulse-Eight-libcec-178d498 +sha256sums=('085cabf38bbe82c0a1c78fc4a0cc318b3c4f5fadae325b3d648821d2a4bf694d') +_srcfolder=Pulse-Eight-libcec-605d913 options=(!libtool) build() { @@ -24,8 +24,11 @@ build() { _kernel_release="$(pacman -Q linux-headers-cubox | grep -Eo "[^\ ]+$")-ARCH+" cd "$pkgname-$pkgver" + export CFLAGS="$CFLAGS -fPIC" + export CXXFLAGS="$CXXFLAGS -fPIC" + export LDFLAGS="$LDFLAGS -fPIC" autoreconf -vif - ./configure --prefix=/usr --enable-cubox --enable-shared=lockdev \ + ./configure --prefix=/usr --enable-cubox \ --with-tda995x-toolkit-path="/usr/src/linux-${_kernel_release}/include/nxp_hdmi" make }