b8129fe127
* Add nonfree_firmware subpackage to all devices, that depend on nonfree firmware. * Some packages were depending on `linux-firmware`, but without having Wifi working. Removed that dependency as it was probably added by accident. If it was really necessary, chosing the appropriate split linux-firmware package (e.g. linux-firmware-brcm) is better anyway (that has been changed recently in Alpine and is possible now). * Add a test case that makes sure we don't have firmware depends without subpackages in device aports anymore.
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
pkgname=device-oneplus-bacon
|
|
pkgver=1
|
|
pkgrel=10
|
|
pkgdesc="OnePlus One"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="postmarketos-base linux-oneplus-bacon mkbootimg mesa-dri-swrast"
|
|
makedepends=""
|
|
install=""
|
|
subpackages="$pkgname-weston"
|
|
source="deviceinfo 90-android-touch-dev.rules weston.ini"
|
|
options="!check"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
weston() {
|
|
install_if="$pkgname weston"
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
}
|
|
|
|
sha512sums="bd471eb7ac9a92deb7c6de63e4b12abb7ae86271c4c39c2e769a8ef576ab5dbcadb165a8a43e6044c50c0fbadbc62938a1c86fc17eba37c1b56fbf0088fa4e04 deviceinfo
|
|
65e9ee7352b1dc39d99ea411eb0ed9c56f9975230907db5add3a1b4146cdf6f227c934052dab38a1937ed67d67585f28fb7410f10a1bec9dd5e4eb69d7253515 90-android-touch-dev.rules
|
|
4f321242005b4da012322a8e9bce14a3734281d6ab410f60e7c9c28a6df905876ccce65c3b914233f351118718ccd81b9be41724ee2099ca36d40b4cfff46b93 weston.ini"
|