mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/mesa: fixes for v7 build, removed swrast-dri package now that swrast is packaged into libgl
This commit is contained in:
parent
69e80bd827
commit
a7bcaf7720
1 changed files with 4 additions and 12 deletions
|
@ -3,13 +3,13 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@plugapps.com>
|
||||
# - Removed DRI and Gallium3D drivers/packages for chipsets that don't exist in plugs (intel, radeon, etc).
|
||||
# - Added package for the swrast driver.
|
||||
# - Removed DRI and Gallium3D drivers/packages for chipsets that don't exist in our ARM devices (intel, radeon, etc).
|
||||
# - Build v7h with -O1 instead of -O2
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgbase=mesa
|
||||
pkgname=('mesa' 'libgl' 'libglapi' 'libgles' 'libegl' 'swrast-dri') # 'llvm-dri')
|
||||
pkgname=('mesa' 'libgl' 'libglapi' 'libgles' 'libegl') # 'llvm-dri')
|
||||
|
||||
#_git=true
|
||||
_git=false
|
||||
|
@ -40,6 +40,7 @@ md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
|
|||
|
||||
build() {
|
||||
cd ${srcdir}/?esa-*
|
||||
[ $CARCH == "armv7h" ] && CFLAGS="-march=armv7-a -O1 -pipe -mfloat-abi=hard -mfpu=vfpv3-d16" && CXXFLAGS="$CFLAGS"
|
||||
|
||||
if [ "${_git}" = "true" ]; then
|
||||
autoreconf -vfi
|
||||
|
@ -193,15 +194,6 @@ package_mesa() {
|
|||
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/"
|
||||
}
|
||||
|
||||
package_swrast-dri() {
|
||||
depends=("libgl=${pkgver}")
|
||||
pkgdesc="Mesa DRI + Gallium3D swrast drivers"
|
||||
|
||||
make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/swrast DESTDIR="${pkgdir}" install
|
||||
# gallium3D driver for swrast
|
||||
make -C ${srcdir}/?esa-*/src/gallium/targets/dri-swrast DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
#package_llvm-dri() {
|
||||
# depends=("libgl=${pkgver}")
|
||||
# pkgdesc="Mesa common LLVM support"
|
||||
|
|
Loading…
Reference in a new issue