Date: Thursday, March 20, 2014 @ 10:14:00 Author: kkeen Revision: 107836
upgpkg: libftdi 1.1-5 py3.4 rebuild Modified: libftdi/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-03-20 08:00:53 UTC (rev 107835) +++ PKGBUILD 2014-03-20 09:14:00 UTC (rev 107836) @@ -1,14 +1,17 @@ # $Id$ # Maintainer: Kyle Keen <[email protected]> +# bug, python binding vanished with 3.4 +# Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) + pkgname=libftdi pkgver=1.1 -pkgrel=4 +pkgrel=5 pkgdesc="A library to talk to FTDI chips, optional python bindings." arch=('i686' 'x86_64') url="http://www.intra2net.com/en/developer/libftdi/download.php" license=('GPL2' 'LGPL2.1') -depends=('libusbx') +depends=('libusb') optdepends=('python: library bindings') makedepends=('boost' 'cmake' 'python' 'swig') # doxygen for docs, confuse for eeprom @@ -19,6 +22,9 @@ prepare() { cd "${pkgname}1-$pkgver" sed -i 's|LIB_SUFFIX 64|LIB_SUFFIX ""|' CMakeLists.txt + # remove when cmake can detect 3.4 + cp /usr/share/cmake-2.8/Modules/*.cmake cmake/ + sed -i 's|3.3 3.2|3.4 &|' cmake/FindPythonLibs.cmake } build() {
