mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 15:14:36 +08:00
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Part of the X.org group
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
|
# contributor: abveritas@chakra-project.org
|
|
|
|
pkgname=xf86-video-siliconmotion
|
|
pkgver=1.7.7
|
|
pkgrel=4
|
|
pkgdesc="X.org siliconmotion video driver"
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('glibc')
|
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=18')
|
|
conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<18' 'X-ABI-VIDEODRV_VERSION>=19')
|
|
groups=('xorg-drivers' 'xorg')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
|
|
0001-Remove-miInitializeBackingStore.patch)
|
|
sha256sums=('87b8b59d43945d4fc8012860c0bd9aed42c4684a943355c607b8eb8d6710c3aa'
|
|
'257cc6ccf2ed565daaacaf87cb2f1195b4c2f6bb95fefe5e89766f88393e6647')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
patch -Np1 -i ${srcdir}/0001-Remove-miInitializeBackingStore.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|