mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
alarm/xf86-video-odroid-c1 to 0.5-2
This commit is contained in:
parent
e18cb0f848
commit
832e20a44d
1 changed files with 9 additions and 10 deletions
|
@ -5,28 +5,27 @@ buildarch=4
|
||||||
|
|
||||||
pkgname=xf86-video-odroid-c1
|
pkgname=xf86-video-odroid-c1
|
||||||
pkgver=0.5
|
pkgver=0.5
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="X.org Mali video driver for ODROID-C1"
|
pkgdesc="X.org Mali video driver for ODROID-C1"
|
||||||
arch=(armv7h)
|
arch=(armv7h)
|
||||||
license=('custom')
|
license=('custom')
|
||||||
url="http://www.hardkernel.com/"
|
url="http://www.hardkernel.com/"
|
||||||
depends=('odroid-c1-libgl')
|
depends=('odroid-c1-libgl-x11')
|
||||||
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=18')
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=18' 'git' 'odroid-c1-libgl-headers')
|
||||||
conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<18' 'X-ABI-VIDEODRV_VERSION>=19')
|
conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<18' 'X-ABI-VIDEODRV_VERSION>=19')
|
||||||
groups=('xorg-drivers' 'xorg')
|
groups=('xorg-drivers' 'xorg')
|
||||||
source=("http://archlinuxarm.org/builder/src/maliddx-c1-${pkgver}.tar.gz")
|
source=("git+https://github.com/mdrjr/c1_mali_ddx.git")
|
||||||
sha256sums=('fc5db48a3cb83e52175e4f2f672af921a07148e6e41f52eef0a63a4b742fef74')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd maliddx
|
cd c1_mali_ddx
|
||||||
LDFLAGS+=" -L/usr/lib/mali-egl"
|
LDFLAGS+=" -L/usr/lib/mali-egl"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd maliddx
|
cd c1_mali_ddx
|
||||||
make DESTDIR="${pkgdir}" install
|
install -Dm755 src/.libs/mali_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers/mali_drv.so"
|
||||||
install -dm755 "${pkgdir}/etc/X11/xorg.conf.d"
|
install -Dm755 src/xorg.conf "${pkgdir}/etc/X11/xorg.conf.d/99-mali-c1.conf"
|
||||||
cp xorg.conf "${pkgdir}/etc/X11/xorg.conf.d/99-mali-c1.conf"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue