2017-09-21 17:21:21 +00:00
|
|
|
pkgname=device-fairphone-fp2
|
|
|
|
pkgver=1
|
2018-02-26 20:53:22 +00:00
|
|
|
pkgrel=8
|
2017-09-21 17:21:21 +00:00
|
|
|
pkgdesc="Fairphone 2"
|
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2018-02-26 20:53:22 +00:00
|
|
|
depends="postmarketos-base linux-fairphone-fp2 mkbootimg mesa-dri-swrast"
|
2017-09-21 17:21:21 +00:00
|
|
|
makedepends=""
|
|
|
|
install=""
|
2018-02-26 20:53:22 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-09-21 17:21:21 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
90-android-touch-dev.rules
|
|
|
|
bcmdhd.cal
|
|
|
|
"
|
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
|
|
"$pkgdir"/etc/deviceinfo
|
|
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
|
|
install -D -m644 "$srcdir"/bcmdhd.cal \
|
|
|
|
"$pkgdir"/etc/wifi/bcmdhd.cal
|
|
|
|
}
|
|
|
|
|
2018-02-26 20:53:22 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
depends="firmware-fairphone-fp2"
|
|
|
|
pkgdesc="WCNSS firmware (WiFi, Bluetooth, FM)"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2017-12-21 22:12:52 +00:00
|
|
|
sha512sums="44fd0b53e82db37d111a04641ca2ebd132d154a40fd5a3e8591e7679688932b12ebbb1e758563eaa850871ced3b6454ba66af92ef822c1e02ba117b765808f3d deviceinfo
|
2017-09-21 17:21:21 +00:00
|
|
|
4e6c0b87872f278de5603d821a1e9dab8363db285d1d7fd56e900b33e8533eecb79b1fb6359e58e112e69e714a4f2aee06157b1d6f8d3e26274cd29c93cd659b 90-android-touch-dev.rules
|
|
|
|
32652ef366694f34dec31f316a38aca96700e3a5a3eac1f8d192e3c5de7b91e480b1c0fcd8e7c80a51692dc3737020ebbb2e5d3779436e82fb18822089c63055 bcmdhd.cal"
|