2017-09-06 10:27:14 +00:00
|
|
|
pkgname=device-oneplus-bacon
|
|
|
|
pkgver=1
|
2018-01-06 14:08:10 +00:00
|
|
|
pkgrel=8
|
2017-09-06 10:27:14 +00:00
|
|
|
pkgdesc="OnePlus One"
|
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2018-01-06 14:08:10 +00:00
|
|
|
depends="linux-oneplus-bacon linux-firmware mkbootimg mesa-dri-swrast"
|
2017-09-06 10:27:14 +00:00
|
|
|
makedepends=""
|
|
|
|
install=""
|
2017-10-20 00:07:00 +00:00
|
|
|
subpackages="$pkgname-weston"
|
|
|
|
source="deviceinfo 90-android-touch-dev.rules weston.ini"
|
2017-09-06 10:27:14 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
2017-09-06 10:27:14 +00:00
|
|
|
"$pkgdir"/etc/deviceinfo
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
2017-09-15 15:31:17 +00:00
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
2017-09-06 10:27:14 +00:00
|
|
|
}
|
|
|
|
|
2017-10-20 00:07:00 +00:00
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
2017-12-21 22:12:52 +00:00
|
|
|
sha512sums="bd471eb7ac9a92deb7c6de63e4b12abb7ae86271c4c39c2e769a8ef576ab5dbcadb165a8a43e6044c50c0fbadbc62938a1c86fc17eba37c1b56fbf0088fa4e04 deviceinfo
|
2017-10-20 00:07:00 +00:00
|
|
|
65e9ee7352b1dc39d99ea411eb0ed9c56f9975230907db5add3a1b4146cdf6f227c934052dab38a1937ed67d67585f28fb7410f10a1bec9dd5e4eb69d7253515 90-android-touch-dev.rules
|
|
|
|
4f321242005b4da012322a8e9bce14a3734281d6ab410f60e7c9c28a6df905876ccce65c3b914233f351118718ccd81b9be41724ee2099ca36d40b4cfff46b93 weston.ini"
|