mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 06:34:37 +08:00
46 lines
1.4 KiB
Bash
46 lines
1.4 KiB
Bash
# Part of the X.org group
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
|
# contributor: abveritas@chakra-project.org
|
|
|
|
pkgname=xf86-video-sis
|
|
pkgver=0.10.7
|
|
pkgrel=3
|
|
pkgdesc="X.org SiS video driver"
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('glibc')
|
|
makedepends=('xorg-server' 'X-ABI-VIDEODRV_VERSION=15' 'xf86dgaproto')
|
|
conflicts=('xorg-server<1.15.0' 'X-ABI-VIDEODRV_VERSION<15' 'X-ABI-VIDEODRV_VERSION>=16')
|
|
groups=('xorg-video-drivers')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
|
|
0001-Disable-UploadToScreen-and-DownloadFromScreen.patch
|
|
git-fixes.patch
|
|
Xi.patch)
|
|
sha1sums=('8f8cd88fe7d3a85f6bf2b12a34fd55db35f186d7'
|
|
'a99b417dd81f7dae7a013723872332402afc7fa2'
|
|
'f370033a699eaf5d0b13e6e27146450218d7069a'
|
|
'7a2cf4cdb24667f7703c6894dccd6e0e10a91cae')
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/0001-Disable-UploadToScreen-and-DownloadFromScreen.patch"
|
|
patch -Np1 -i ${srcdir}/git-fixes.patch
|
|
patch -Np1 -i ${srcdir}/Xi.patch
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|