Date: Monday, March 13, 2017 @ 22:00:46 Author: svenstaro Revision: 216143
archrelease: copy trunk to multilib-x86_64 Added: lib32-virtualgl/repos/multilib-x86_64/PKGBUILD (from rev 216142, lib32-virtualgl/trunk/PKGBUILD) Deleted: lib32-virtualgl/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-13 22:00:38 UTC (rev 216142) +++ PKGBUILD 2017-03-13 22:00:46 UTC (rev 216143) @@ -1,55 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: FigoDaPaura <ffigoDaPaura> - -pkgname=lib32-virtualgl -pkgver=2.5.1 -pkgrel=1 -pkgdesc="32-bit serverside components for 64-bit VirtualGL servers" -arch=('x86_64') -url="http://virtualgl.org" -license=('LGPL') -makedepends=('lib32-libxv' 'lib32-glu' 'virtualgl' 'lib32-libjpeg-turbo' 'cmake' 'gcc-multilib' 'lib32-mesa' 'lib32-mesa-libgl') -depends=('virtualgl' 'lib32-libxv' 'lib32-glu' 'lib32-turbojpeg') -source=("http://downloads.sourceforge.net/project/virtualgl/${pkgver}/VirtualGL-${pkgver}.tar.gz") -sha1sums=('20ec8daa09d2bd5bb2437628a2416f9a4ca0fa63') - -prepare() { - # FS#48403 - export LDFLAGS="${LDFLAGS/--as-needed,}" -} - -build() { - cd "$srcdir/VirtualGL-$pkgver" - - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - mkdir -p build && cd build - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr/share \ - -DTJPEG_INCLUDE_DIR=/usr/include \ - -DTJPEG_LIBRARY=/usr/lib32/libturbojpeg.so \ - -DVGL_LIBDIR=/usr/lib32 \ - -DVGL_BINDIR=/usr/bin \ - -DX11_X11_LIB=/usr/lib32/libX11.so \ - -DX11_Xext_LIB=/usr/lib32/libXext.so \ - -DOPENGL_gl_LIBRARY=/usr/lib32/libGL.so - make -} - -package() { - cd "$srcdir/VirtualGL-$pkgver/build" - make install DESTDIR="$pkgdir" - - cd "$pkgdir/usr" - mv bin/glxspheres glxspheres32 - rm -rf bin - mkdir -p bin - mv glxspheres32 bin/ - - cd "$pkgdir/usr/share" - rm -rf doc - rm -rf include -} Copied: lib32-virtualgl/repos/multilib-x86_64/PKGBUILD (from rev 216142, lib32-virtualgl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-13 22:00:46 UTC (rev 216143) @@ -0,0 +1,55 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: FigoDaPaura <ffigoDaPaura> + +pkgname=lib32-virtualgl +pkgver=2.5.2 +pkgrel=1 +pkgdesc="32-bit serverside components for 64-bit VirtualGL servers" +arch=('x86_64') +url="http://virtualgl.org" +license=('LGPL') +makedepends=('lib32-libxv' 'lib32-glu' 'virtualgl' 'lib32-libjpeg-turbo' 'cmake' 'gcc-multilib' 'lib32-mesa' 'lib32-mesa-libgl') +depends=('virtualgl' 'lib32-libxv' 'lib32-glu' 'lib32-turbojpeg') +source=("https://downloads.sourceforge.net/project/virtualgl/${pkgver}/VirtualGL-${pkgver}.tar.gz") +sha512sums=('a3156f663c03e611a98a083bb12bea47820cdadc9f064e20431fddec55aae560f09b133f5254a24d7da01b64be2672d27713d7f6605eaca2d9d83090a070fafd') + +prepare() { + # FS#48403 + export LDFLAGS="${LDFLAGS/--as-needed,}" +} + +build() { + cd "$srcdir/VirtualGL-$pkgver" + + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + mkdir -p build && cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DTJPEG_INCLUDE_DIR=/usr/include \ + -DTJPEG_LIBRARY=/usr/lib32/libturbojpeg.so \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib32 \ + -DCMAKE_INSTALL_BINDIR=/usr/bin \ + -DX11_X11_LIB=/usr/lib32/libX11.so \ + -DX11_Xext_LIB=/usr/lib32/libXext.so \ + -DOPENGL_gl_LIBRARY=/usr/lib32/libGL.so + make +} + +package() { + cd "$srcdir/VirtualGL-$pkgver/build" + make install DESTDIR="$pkgdir" + + cd "$pkgdir/usr" + mv bin/glxspheres glxspheres32 + rm -rf bin + mkdir -p bin + mv glxspheres32 bin/ + + cd "$pkgdir/usr/share" + rm -rf doc + rm -rf include +}