2023-04-01 05:22:23 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: exkc <exxxxkc@getgoogleoff.me>
|
|
|
|
pkgname=device-amediatech-x96-mini
|
|
|
|
pkgver=1
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=4
|
2023-04-01 05:22:23 +00:00
|
|
|
pkgdesc="Amediatech X96 mini"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base u-boot-amediatech-x96-mini soc-amlogic-s905 linux-postmarketos-amlogic"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="asound.state deviceinfo modules-initfs"
|
2023-04-01 05:22:23 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/asound.state \
|
|
|
|
"$pkgdir"/var/lib/alsa/asound.state
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Amediatech X96 mini firmware"
|
|
|
|
depends="linux-firmware-meson"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
981ef458837524b2b1922e7bc5abd4936d629e3f83e92062b46597cef985b65fdb90900de1ef93a7d741b9b0ac4b41cef9c3c2625181ff0e10effc22cb2fa3a3 asound.state
|
2024-06-18 19:53:59 +00:00
|
|
|
2944571d84d2c3b622ce1e12913e341a6c323f23d7bda5470000717e297e5d04f3486f515aaaf11dae8c85848a8b5a30056110d61e97a0cd0e4eb9e6d4a81aeb deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
b9f3e1902c17909de928c99868265a257ba5873f6ea6aa1097ad10721f59d68342d50ee51992472ecd23722f7664a13dd15f4e26071a40595c7c3e5161e533d7 modules-initfs
|
2023-04-01 05:22:23 +00:00
|
|
|
"
|