From f959d8120b9ae842b6a4a161848f876521d9c589 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 24 Aug 2014 21:49:58 -0300 Subject: luxrender-parabola: fix PKGBUILD --- libre/luxrender-parabola/PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'libre') diff --git a/libre/luxrender-parabola/PKGBUILD b/libre/luxrender-parabola/PKGBUILD index a59a58c35..e9f32284c 100644 --- a/libre/luxrender-parabola/PKGBUILD +++ b/libre/luxrender-parabola/PKGBUILD @@ -11,12 +11,13 @@ pkgdesc='Rendering system for physically correct, unbiased image synthesis, with arch=('i686' 'x86_64' 'mips64el') url="http://www.$_pkgname.net/" license=('GPL') -depends=('boost-libs' 'freeimage' 'openexr' 'libpng' 'libcl' 'libgl' 'fftw') +#depends=('boost-libs' 'freeimage' 'openexr' 'libpng' 'libcl' 'libgl' 'fftw') +depends=('boost-libs' 'freeimage' 'openexr' 'libpng' 'libgl' 'fftw') optdepends=('blender-addon-luxrender: Blender exporter' 'qt4: Qt GUI' 'python: pylux Python interface') # luxrender is constantly broken to various GCC bugs, the latest one being FS#40596 -#makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'opencl-headers') -makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python') +#makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'opencl-headers' 'clang') +makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'clang') provides=("$_pkgname=$pkgver") conflicts=("$_pkgname" "$_pkgname-libre") replaces=("$_pkgname" "$_pkgname-libre") @@ -28,6 +29,9 @@ md5sums=('cbe749f56a1e1976745f5458100efa8a' prepare() { cd $srcdir/$_pkgname-lux-$_pkgver + # fix library path on 64bit + sed -i '\|SET[(]LIB_SUFFIX 64[)]|d' CMakeLists.txt + patch -Np1 < $srcdir/force_python3.diff || true # workaround QTBUG-22829 find . -type f -exec sed -i 's|^#include .*boost/.*|#ifndef Q_MOC_RUN\n&\n#endif|' '{}' ';' @@ -40,7 +44,7 @@ build() { export CXX=clang++ cmake . -DCMAKE_INSTALL_PREFIX=/usr \ - -DLUXRAYS_DISABLE_OPENCL=OFF \ + -DLUXRAYS_DISABLE_OPENCL=ON \ -DPYTHON_CUSTOM=ON \ -DPYTHON_LIBRARIES=/usr/lib/libpython3.4m.so \ -DPYTHON_INCLUDE_PATH=/usr/include/python3.4m/ \ @@ -52,9 +56,6 @@ package() { cd $srcdir/$_pkgname-lux-$_pkgver make DESTDIR=$pkgdir install - # fix library path on 64bit - [[ $CARCH == x86_64 ]] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib - #install pylux install -D -m644 pylux.so $pkgdir/usr/lib/python3.4/pylux.so } -- cgit v1.2.3-54-g00ecf From e67d19606c436b5b356913894a464b6256fce9da Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 24 Aug 2014 21:59:21 -0300 Subject: lirc-parabola: fix sed bug --- libre/lirc-parabola/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre') diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD index 044393d2c..091ba5aa8 100644 --- a/libre/lirc-parabola/PKGBUILD +++ b/libre/lirc-parabola/PKGBUILD @@ -99,7 +99,7 @@ _package_lirc() { # Set the correct extramodules directory for install cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" true && install=${install}.pkg - sed -r "s/(_extramodules=).*/\1${_extramodules}/" -i "${startdir}/${install}" + sed -r "s/_extramodules=.*/\1${_extramodules}/" -i "${startdir}/${install}" make DESTDIR="${pkgdir}" moduledir="/usr/lib/modules/${_extramodules}" install gzip -9 "${pkgdir}/usr/lib/modules/${_extramodules}"/*.ko -- cgit v1.2.3-54-g00ecf From 0106932d929720fa0648b3d6e321a58fb607471e Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 24 Aug 2014 22:14:22 -0300 Subject: rebuild lirc-parabola --- libre/lirc-parabola/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre') diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD index 091ba5aa8..3a2c507bd 100644 --- a/libre/lirc-parabola/PKGBUILD +++ b/libre/lirc-parabola/PKGBUILD @@ -37,7 +37,7 @@ md5sums=('1f1fac162ed309dd50f307e96a292957' 'febf25c154a7d36f01159e84f26c2d9a') # Package info -pkgrel=3 +pkgrel=3.2 epoch=1 arch=('i686' 'x86_64' 'mips64el') options=('!makeflags' '!strip') -- cgit v1.2.3-54-g00ecf From de0bdddfd6891cbea374fa26675618f7247a22c5 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 24 Aug 2014 22:31:02 -0300 Subject: lirc-parabola: fix extramodules install --- libre/lirc-parabola/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre') diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD index 3a2c507bd..68ba148d6 100644 --- a/libre/lirc-parabola/PKGBUILD +++ b/libre/lirc-parabola/PKGBUILD @@ -99,7 +99,7 @@ _package_lirc() { # Set the correct extramodules directory for install cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" true && install=${install}.pkg - sed -r "s/_extramodules=.*/\1${_extramodules}/" -i "${startdir}/${install}" + sed -i "s/_extramodules=.*/_extramodules=${_extramodules}/" "${startdir}/${install}" make DESTDIR="${pkgdir}" moduledir="/usr/lib/modules/${_extramodules}" install gzip -9 "${pkgdir}/usr/lib/modules/${_extramodules}"/*.ko -- cgit v1.2.3-54-g00ecf