[arch-commits] Commit in lib32-virtualgl/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Thu Jan 2 13:51:22 UTC 2014
Date: Thursday, January 2, 2014 @ 14:51:22
Author: svenstaro
Revision: 103288
archrelease: copy trunk to multilib-x86_64
Added:
lib32-virtualgl/repos/multilib-x86_64/PKGBUILD
(from rev 103287, lib32-virtualgl/trunk/PKGBUILD)
Deleted:
lib32-virtualgl/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-02 13:51:16 UTC (rev 103287)
+++ PKGBUILD 2014-01-02 13:51:22 UTC (rev 103288)
@@ -1,50 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: FigoDaPaura <ffigoDaPaura>
-
-pkgname=lib32-virtualgl
-pkgver=2.3.3
-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')
-md5sums=('c0bc355a17d88b4b7109525188cfb0e6')
-source=("http://downloads.sourceforge.net/project/virtualgl/VirtualGL/$pkgver/VirtualGL-$pkgver.tar.gz")
-
-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() {
- depends=('virtualgl' 'lib32-libxv' 'lib32-glu' 'lib32-turbojpeg')
- cd "$srcdir/VirtualGL-$pkgver/build"
- make install DESTDIR="$pkgdir"
-
- cd "$pkgdir/usr"
- mv bin/glxspheres glxspheres-32
- rm -rf bin
- mkdir -p bin
- mv glxspheres-32 bin/
-
- cd "$pkgdir/usr/share"
- rm -rf doc
- rm -rf include
-}
Copied: lib32-virtualgl/repos/multilib-x86_64/PKGBUILD (from rev 103287, lib32-virtualgl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-01-02 13:51:22 UTC (rev 103288)
@@ -0,0 +1,51 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: FigoDaPaura <ffigoDaPaura>
+
+pkgname=lib32-virtualgl
+pkgver=2.3.3
+pkgrel=2
+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')
+md5sums=('c0bc355a17d88b4b7109525188cfb0e6')
+source=("http://downloads.sourceforge.net/project/virtualgl/VirtualGL/$pkgver/VirtualGL-$pkgver.tar.gz")
+
+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 \
+ -DVGL_FAKELIBDIR=/usr/share/fakelib32
+ 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
+}
More information about the arch-commits
mailing list