2018-04-21 14:55:39 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-samsung-i8190"
|
|
|
|
pkgdesc="Samsung Galaxy SIII mini"
|
2018-05-05 19:44:34 +00:00
|
|
|
pkgver=0.4
|
2018-12-25 19:25:32 +00:00
|
|
|
pkgrel=1
|
2018-04-21 14:55:39 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
|
|
|
options="!check !archcheck"
|
2018-04-21 14:55:39 +00:00
|
|
|
depends="postmarketos-base linux-samsung-i8190 mkbootimg mesa-dri-swrast"
|
|
|
|
makedepends="devicepkg-dev"
|
2018-05-05 19:44:34 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-04-21 14:55:39 +00:00
|
|
|
source="
|
2018-05-05 19:44:34 +00:00
|
|
|
deviceinfo
|
|
|
|
init-usb-hook.sh
|
|
|
|
modules-load.conf
|
|
|
|
module-config.conf
|
2018-04-21 14:55:39 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/init-usb-hook.sh \
|
|
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-init_usb.sh
|
|
|
|
}
|
|
|
|
|
2018-05-05 19:44:34 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-samsung-i8190"
|
|
|
|
|
|
|
|
# Add wifi config
|
|
|
|
install -Dm644 "$srcdir"/modules-load.conf \
|
|
|
|
"$subpkgdir"/etc/modules-load.d/00-load-wifi.conf
|
|
|
|
install -Dm644 "$srcdir"/module-config.conf \
|
|
|
|
"$subpkgdir"/etc/modprobe.d/00-module-config.conf
|
|
|
|
}
|
|
|
|
|
2018-12-25 19:25:32 +00:00
|
|
|
sha512sums="410bc95017dbae557cac58064d5a12867ef49f46598e54771df2c96423c395250e8c4df3ee2407e0201645a4d1bccff408e324259ed92c2a2506a61a864eef2f deviceinfo
|
2018-05-05 19:44:34 +00:00
|
|
|
769f76b2b0dc5279c514181f6cc915c045562df0c1fe08c54b6588d11ff2c75441a3a4f78d6dde669c82e1c572a66bdde475da3e289d334e3255fcf15430c044 init-usb-hook.sh
|
|
|
|
61e8becbf6fa7c1c6c42e481083f5981ae7af33a48cbc53e817d8ac2c6a8e4f67a54b32ae3b8f5f25f7b412165a849dc93a629110dc47b0d16927bf2a12eb7e1 modules-load.conf
|
|
|
|
436900f627e4ec7e8359bfa6b5d0ac98c69cdd3f3b5e68d23354fa87d79beef866afd6c4cf27b97e9b608cce44fe8d116594f3b08520c9c05624bcf58b61c7f1 module-config.conf"
|