mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 15:37:14 +08:00
update mesa 10.3.5
This commit is contained in:
parent
6ac0ca9c71
commit
f89a10565a
@ -1,5 +1,7 @@
|
||||
# Platform Packages for Chakra, part of chakraos.org
|
||||
#
|
||||
# freetype2 and harfbuzz update
|
||||
# build freetype2 with old harfbuzz -> harfbuzz with new freetype -> build freetype2 with new harfbuzz.
|
||||
pkgname=freetype2
|
||||
pkgver=2.5.4
|
||||
_ubuntu_ver=2.5.2
|
||||
@ -9,6 +11,7 @@ pkgdesc="TrueType font rendering library"
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
url="http://freetype.sourceforge.net"
|
||||
# DO NOT remove harfbuzz from dependency
|
||||
depends=('zlib' 'sh' 'bzip2' 'libpng' 'harfbuzz')
|
||||
checkdepends=('valgrind')
|
||||
source=("http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2"
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
pkgbase=mesa
|
||||
pkgname=('opencl-mesa' 'mesa-dri' 'mesa-vdpau' 'mesa' 'mesa-libgl')
|
||||
pkgver=10.3.4
|
||||
pkgver=10.3.5
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
conflics=('mesa-libtool')
|
||||
@ -17,7 +17,7 @@ source=(${source[@]}
|
||||
"ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.gz"
|
||||
'LICENSE'
|
||||
)
|
||||
md5sums=('8c11cf951b46315d056328773e59763c'
|
||||
md5sums=('ed488f3e7c2f0250ba42ed4778f5c36d'
|
||||
'5c65a0fe315dd347e09b1f2826a1df5a')
|
||||
|
||||
build() {
|
||||
|
@ -19,7 +19,7 @@ _ARCH='x86_64'
|
||||
_pkg="NVIDIA-Linux-${_ARCH}-${pkgver}-no-compat32"
|
||||
source+=("ftp://download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run")
|
||||
md5sums=('62d0cdb856cfae64753c0f3acf729d47'
|
||||
'3d98eaa01a94e86abb04723ae2a702b1')
|
||||
'dfdf53ee8787455fe92a760ffa6badcb')
|
||||
|
||||
prepare() {
|
||||
sh "${_pkg}.run" --extract-only
|
||||
|
@ -1,11 +1,11 @@
|
||||
post_install() {
|
||||
EXTRAMODULES='extramodules-3.17-CHAKRA'
|
||||
EXTRAMODULES='extramodules-3.18-CHAKRA'
|
||||
depmod $(cat /lib/modules/$EXTRAMODULES/version)
|
||||
echo 'In order to use nvidia module, reboot the system.'
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
EXTRAMODULES='extramodules-3.17-CHAKRA'
|
||||
EXTRAMODULES='extramodules-3.18-CHAKRA'
|
||||
depmod $(cat /lib/modules/$EXTRAMODULES/version)
|
||||
echo -e '\e[31;46m WARNING'
|
||||
echo -e '\e[31;46m If your card is from the 7xxx series or earlier, switch to nvidia-304xx'
|
||||
@ -14,7 +14,7 @@ post_upgrade() {
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
EXTRAMODULES='extramodules-3.17-CHAKRA'
|
||||
EXTRAMODULES='extramodules-3.18-CHAKRA'
|
||||
depmod $(cat /lib/modules/$EXTRAMODULES/version)
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user