summaryrefslogtreecommitdiff
path: root/libre-multilib
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-21 08:02:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-21 08:02:44 -0300
commit8df7889443d52ca86be6d01dbbe8a2577df47c70 (patch)
treef6bbfca8746816ec35c0c76c177150c5bf217def /libre-multilib
parent3d989e7ce40c6396d89ff81f043f7a8058c07930 (diff)
downloadabslibre-8df7889443d52ca86be6d01dbbe8a2577df47c70.tar.gz
abslibre-8df7889443d52ca86be6d01dbbe8a2577df47c70.tar.bz2
abslibre-8df7889443d52ca86be6d01dbbe8a2577df47c70.zip
lib32-mesa-demos-libre-8.1.0-3.1: add libre patching on prepare function because it was removed from the source
Diffstat (limited to 'libre-multilib')
-rw-r--r--libre-multilib/lib32-mesa-demos-libre/PKGBUILD14
-rw-r--r--libre-multilib/lib32-mesa-demos-libre/libre.patch (renamed from libre-multilib/lib32-mesa-demos-libre/mesa-demos-libre.patch)0
2 files changed, 11 insertions, 3 deletions
diff --git a/libre-multilib/lib32-mesa-demos-libre/PKGBUILD b/libre-multilib/lib32-mesa-demos-libre/PKGBUILD
index feb5406dc..8f5363404 100644
--- a/libre-multilib/lib32-mesa-demos-libre/PKGBUILD
+++ b/libre-multilib/lib32-mesa-demos-libre/PKGBUILD
@@ -6,7 +6,7 @@
_pkgbasename=mesa-demos-libre
pkgname=lib32-$_pkgbasename
pkgver=8.1.0
-pkgrel=3
+pkgrel=3.1
arch=(x86_64)
pkgdesc="Mesa demos and tools (32-bit), without nonfree demos"
url="http://mesa3d.sourceforge.net"
@@ -15,8 +15,16 @@ provides=("lib32-mesa-demos=$pkgver")
replaces=('lib32-mesa-demos')
conflicts=('lib32-mesa-demos')
makedepends=(gcc-multilib 'lib32-mesa' 'lib32-glew')
-source=(https://repo.parabolagnulinux.org/other/mesa-demos-libre/mesa-demos-libre-${pkgver}.tar.bz2)
-md5sums=('18225619a97e6900afd2b48a89dcbd4e')
+source=(https://repo.parabolagnulinux.org/other/mesa-demos-libre/mesa-demos-libre-${pkgver}.tar.bz2
+ libre.patch)
+md5sums=('ef5af0042b34b3d464a5c60248443cd7'
+ '5ce0660b46beb1230194fbd852d33ab0')
+
+prepare() {
+ cd "${srcdir}/mesa-demos-${pkgver}"
+ # remove nonfree demos references (pointblast and spriteblast)
+ patch -Np1 -i ../libre.patch
+}
build() {
export CC="gcc -m32"
diff --git a/libre-multilib/lib32-mesa-demos-libre/mesa-demos-libre.patch b/libre-multilib/lib32-mesa-demos-libre/libre.patch
index d630f373c..d630f373c 100644
--- a/libre-multilib/lib32-mesa-demos-libre/mesa-demos-libre.patch
+++ b/libre-multilib/lib32-mesa-demos-libre/libre.patch