2012-08-02 21:07:13 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2011-11-28 02:19:22 +00:00
|
|
|
|
|
|
|
# i.MX driver for Xorg
|
2012-08-02 21:07:13 +00:00
|
|
|
buildarch=4
|
2011-11-28 02:19:22 +00:00
|
|
|
|
|
|
|
pkgname="xf86-video-imx"
|
2014-01-14 01:27:33 +00:00
|
|
|
srcname="xserver-xorg-video-imx"
|
|
|
|
pkgver=11.09.01
|
2014-07-30 02:31:46 +00:00
|
|
|
pkgrel=2
|
2011-11-28 02:19:22 +00:00
|
|
|
arch=('armv7h')
|
|
|
|
url="http://www.freescale.com"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('libz160')
|
2014-08-22 02:52:53 +00:00
|
|
|
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto' 'linux-headers-imx6-fsl')
|
2011-11-28 02:19:22 +00:00
|
|
|
options=('!libtool')
|
2014-01-14 01:27:33 +00:00
|
|
|
source=("http://archlinuxarm.org/builder/src/xserver-xorg-video-imx-${pkgver}.tar.gz"
|
|
|
|
'xserver-1.14-compat.patch'
|
|
|
|
'Fix-error-unknown-type-name-uint.patch'
|
|
|
|
'Make-video-API-forward-and-backward-compatible.patch'
|
|
|
|
'ext-Update-to-newer-swap-macros.patch'
|
|
|
|
'xf86-video-imxfb-fix-m4-hardcodded-paths.patch')
|
|
|
|
md5sums=('d19148399b5d1c4dab90d0cc6f2c4789'
|
|
|
|
'2599833ffb69482ed2fae1c6bbfe0b3e'
|
|
|
|
'02db4718380ed7073ea573725256b5d2'
|
|
|
|
'c4ddcff1f2d465eaccb64a14288510e2'
|
|
|
|
'f3ee43174a3a90e7a25dd5b9422caf34'
|
|
|
|
'aa92032c374f77845ad35f35db6dd231')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}/${srcname}-${pkgver}"
|
|
|
|
|
|
|
|
patch -p1 -i ../xserver-1.14-compat.patch
|
|
|
|
patch -p1 -i ../Fix-error-unknown-type-name-uint.patch
|
|
|
|
patch -p1 -i ../Make-video-API-forward-and-backward-compatible.patch
|
|
|
|
patch -p1 -i ../ext-Update-to-newer-swap-macros.patch
|
|
|
|
patch -p1 -i ../xf86-video-imxfb-fix-m4-hardcodded-paths.patch
|
|
|
|
}
|
2011-11-28 02:19:22 +00:00
|
|
|
|
|
|
|
build() {
|
2014-01-14 01:27:33 +00:00
|
|
|
cd "${srcdir}/${srcname}-${pkgver}"
|
|
|
|
|
2014-08-22 02:55:09 +00:00
|
|
|
_kernel_release="$(pacman -Q linux-headers-imx6-fsl | grep -Eo "[^\ ]+$")-ARCH+"
|
2014-01-14 01:27:33 +00:00
|
|
|
CPPFLAGS+=" -I/usr/src/linux-${_kernel_release}/include"
|
|
|
|
|
2011-11-28 02:19:22 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
pkgdesc="i.MX driver for Xorg"
|
|
|
|
|
2014-01-14 01:27:33 +00:00
|
|
|
cd "${srcdir}/${srcname}-${pkgver}"
|
2011-11-28 02:19:22 +00:00
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|