[arch-commits] Commit in mesa-demos/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Sep 29 06:13:39 UTC 2015
Date: Tuesday, September 29, 2015 @ 08:13:39
Author: foutrelis
Revision: 247876
Fetch source from git and apply fix for Mesa 10.6.4
Modified:
mesa-demos/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-29 05:08:17 UTC (rev 247875)
+++ PKGBUILD 2015-09-29 06:13:39 UTC (rev 247876)
@@ -10,20 +10,28 @@
url="http://mesa3d.sourceforge.net"
license=('custom')
depends=('libgl' 'glew' 'freeglut')
-source=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2"
+makedepends=('git')
+source=("$pkgname::git://anongit.freedesktop.org/mesa/demos#tag=$pkgname-$pkgver"
'LICENSE')
-sha256sums=('e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92'
+sha256sums=('SKIP'
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2')
+prepare() {
+ cd mesa-demos
+
+ # https://bugs.freedesktop.org/show_bug.cgi?id=91643
+ git cherry-pick -n 6f7ad3f24294 74443c6ee79f
+}
+
build() {
- cd mesa-demos-${pkgver}
- ./configure --prefix=/usr \
+ cd mesa-demos
+ ./autogen.sh --prefix=/usr \
--with-system-data-files=/usr/share/mesa-demos
make
}
package() {
- cd mesa-demos-${pkgver}
+ cd mesa-demos
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/"
More information about the arch-commits
mailing list