blob: f256cc6e7b74112c6715b465a45c7040a08cc71a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-modesetting
pkgver=0.9.0
pkgrel=5
pkgdesc="X.org generic modesetting video drive"
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-modesetting/"
arch="all"
license="MIT"
depends=""
depends_dev="xorg-server-dev udev-dev libdrm-dev"
makedepends="$depends_dev autoconf automake libtool util-macros"
install=""
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-modesetting-$pkgver.tar.bz2
drmmode_shadow.patch
0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch
"
_builddir="$srcdir"/xf86-video-modesetting-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
libtoolize --force && aclocal -I m4 && autoconf \
&& automake --add-missing || return 1
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1
}
md5sums="da588d4f54111c2deae035998058ce10 xf86-video-modesetting-0.9.0.tar.bz2
9b1ea59cf9cb3987b3703fdf48f824bd drmmode_shadow.patch
f72b7661394a515728f822990a971ddc 0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch"
sha256sums="90cf085573203dfadd48ea69bd694c4d04ccbe088b6855e9c85c34bb8a95d75c xf86-video-modesetting-0.9.0.tar.bz2
91c22639428c871ea52ef8eee2b286f47ceaafe5c979303014dbe54c5ba9365e drmmode_shadow.patch
372d3c5bca33809ba4615ab0a9fe68794eeaad53dd816598ec59378df339d8f2 0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch"
sha512sums="0e581deb3f09e932475c1ebf1e5a69239f6e0ac4d37bcc25ee9bc30083c1285c4a5645df960c7bd7103584512eff4149463195a985f469bd24f52059fd487cec xf86-video-modesetting-0.9.0.tar.bz2
98c6bd20ce0a71b307e3d8f7d9e75892dbd586f029fb2385ff36de1d9e2bf09171bec5c2bf497f149488d48b0738a93db20fc7b04e43840e540bf1ed6a6dc534 drmmode_shadow.patch
2357ee86c139762d0c1a85bbbb84d81a617a4cf338ddf0b4e07c2be828615a94a2a140cb1e0222438ca1df7d5609acd7d6af7c0b31588f92cd405cd9f2b041e3 0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch"
|