[i9070] Install mesa-dri-swrast when mesa package is present (#989)

This commit is contained in:
drebrez 2017-12-08 22:40:49 +01:00 committed by Oliver Smith
parent 0d97d66326
commit ae4e10441d

View file

@ -1,6 +1,6 @@
pkgname=device-samsung-i9070
pkgver=1
pkgrel=14
pkgrel=15
pkgdesc="Samsung Galaxy S Advance"
url="https://github.com/postmarketOS"
arch="noarch"
@ -8,7 +8,7 @@ license="MIT"
depends="linux-samsung-i9070 firmware-samsung-i9070"
makedepends=""
install=""
subpackages=""
subpackages="$pkgname-mesa"
source="
deviceinfo
initfs-hook.sh
@ -28,6 +28,12 @@ package() {
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
}
mesa() {
install_if="$pkgname mesa"
depends="mesa-dri-swrast"
mkdir "$subpkgdir"
}
sha512sums="4aaa8192110e8480b2f674b81f5e850cf419bfb20675443dce63d7f631dc3a0084dd7354b2cf1352349dc5127548fb6940f1c4b2bc80c44595c53b55e80242e0 deviceinfo
098187f6ab56d2542f98f1b5fbcf493431f665a4300db05e859357366e39b02a3d508bfd94c1d1bd7c669261e7ef0d4e1aef1fdbb15541fe34f3f48a6caa247f initfs-hook.sh
f913184639f9f367730a7c0476657133c673a07dbcbde1fc643595a1a6b99774c2e2f63955bf52cf6d6de343a60b52af8085da3aebbdf6a95b52812a3e3181ec 90-android-touch-dev.rules