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-samsung-i747m"
|
|
pkgdesc="Samsung Galaxy SIII (USA/Canada)"
|
|
pkgver=0.1
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="noarch"
|
|
options="!check"
|
|
depends="postmarketos-base linux-samsung-i747m mkbootimg mesa-dri-swrast"
|
|
source="deviceinfo 90-android-touch-dev.rules fb.modes"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
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
|
|
install -Dm644 "$srcdir"/fb.modes \
|
|
"$pkgdir"/etc/fb.modes
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-samsung-i747m"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="049a694e9f88be4a1862e402620abb64210f81860204ff25748bebe6f27090a96430fe5743cca37effd0b86aee2d2278da58031a0bdb9dd8f249d70ad3e67749 deviceinfo
|
|
1ef4aa9206e6aa61cef80dd4fd4dc2d834e3582e40978d2da8a768964bbaa854a4068fb263e4dcc3cb1a745d42ebf5d457084801dd28fa2de50706ed5a5a9c7c 90-android-touch-dev.rules
|
|
bd5aba648930678aea38d2a67e584c94f5ab53d235c8f6ce785bc7e31db00e1cdf08fb84fd3fe78bd7b409a4120b2c7beadf77e028ec8580d4df48248a2c414f fb.modes"
|