diff options
Diffstat (limited to 'libre-multilib')
-rw-r--r-- | libre-multilib/lib32-mesa-demos-libre/PKGBUILD | 14 | ||||
-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 |