summaryrefslogtreecommitdiff
path: root/libre/lib32-mesa-demos-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-10 00:45:39 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-10 00:45:39 -0200
commit1f95c62217f38e060a982123a52265550010bc6b (patch)
treef1590685d3fd9250ca28da74a5abd252869560fe /libre/lib32-mesa-demos-libre/PKGBUILD
parentccf171c3a32839419e7e3df3c1309652ccd1b974 (diff)
downloadabslibre-1f95c62217f38e060a982123a52265550010bc6b.tar.gz
abslibre-1f95c62217f38e060a982123a52265550010bc6b.tar.bz2
abslibre-1f95c62217f38e060a982123a52265550010bc6b.zip
lib32-mesa-demos-libre-8.1.0-3: updating revision
* fix conflicting files with mesa-demos * lib32-glew rebuild * add mksource
Diffstat (limited to 'libre/lib32-mesa-demos-libre/PKGBUILD')
-rw-r--r--libre/lib32-mesa-demos-libre/PKGBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/libre/lib32-mesa-demos-libre/PKGBUILD b/libre/lib32-mesa-demos-libre/PKGBUILD
index d5efffe26..a85fb1ba6 100644
--- a/libre/lib32-mesa-demos-libre/PKGBUILD
+++ b/libre/lib32-mesa-demos-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 178740 2013-02-26 16:15:13Z andyrtr $
+# $Id: PKGBUILD 94584 2013-07-27 15:01:38Z lcarlier $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
@@ -6,7 +6,7 @@
_pkgbasename=mesa-demos-libre
pkgname=lib32-$_pkgbasename
pkgver=8.1.0
-pkgrel=1
+pkgrel=3
arch=(x86_64)
pkgdesc="Mesa demos and tools (32-bit), without nonfree demos"
url="http://mesa3d.sourceforge.net"
@@ -14,11 +14,9 @@ license=('custom')
provides=("lib32-mesa-demos=$pkgver")
replaces=('lib32-mesa-demos')
conflicts=('lib32-mesa-demos')
-makedepends=(gcc-multilib 'lib32-mesa-libgl>=9.1' 'lib32-glew' 'libgl>=9.1')
-source=(ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2
- mesa-demos-libre.patch)
-md5sums=('9df33ba69a26bbfbc7c8148602e59542'
- '5ce0660b46beb1230194fbd852d33ab0')
+makedepends=(gcc-multilib 'lib32-mesa')
+source=(https://repo.parabolagnulinux.org/sources/mesa-demos-libre-${pkgver}.tar.bz2)
+md5sums=('18225619a97e6900afd2b48a89dcbd4e')
build() {
export CC="gcc -m32"
@@ -26,14 +24,7 @@ build() {
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/mesa-demos-${pkgver}"
-
- # Remove nonfree demos (pointblast and spriteblast)
- rm -v src/demos/{pointblast,spriteblast}.c
- patch -Np1 -i "${srcdir}/mesa-demos-libre.patch"
-
- ./configure --prefix=/usr \
- --enable-gles1 \
- --enable-gles2
+ ./configure --prefix=/usr
make
}
@@ -48,6 +39,8 @@ package() {
mv "$i" "$i"32
done
+ rm -r "$pkgdir/usr/share/mesa-demos"
+
mkdir -p "$pkgdir/usr/share/licenses"
ln -s mesa-demos "$pkgdir/usr/share/licenses/lib32-mesa-demos"
}