2022-01-01 09:00:00 +00:00
|
|
|
# Maintainer: Danila Tikhonov (JIaxyga) <JIaxyga@protonmail.com>
|
|
|
|
|
2019-02-04 21:45:54 +00:00
|
|
|
pkgname=firmware-xiaomi-tissot
|
|
|
|
pkgver=1
|
2023-02-18 23:11:11 +00:00
|
|
|
pkgrel=3
|
2019-02-04 21:45:54 +00:00
|
|
|
pkgdesc="Firmware files for Xiaomi Mi A1"
|
2022-01-01 09:00:00 +00:00
|
|
|
url="https://gitlab.com/jiaxyga/firmware-xiaomi-tissot"
|
2019-02-04 21:45:54 +00:00
|
|
|
arch="aarch64"
|
2022-01-01 09:00:00 +00:00
|
|
|
depends="linux-firmware-qcom firmware-xiaomi-tissot-initramfs"
|
2019-02-04 21:45:54 +00:00
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
2019-02-04 21:45:54 +00:00
|
|
|
|
2022-01-01 09:00:00 +00:00
|
|
|
_commit="bf686895224cae33c2130932b4a5914fea415287"
|
|
|
|
|
|
|
|
source="$pkgname.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz
|
|
|
|
firmware.files
|
|
|
|
30-gpu-firmware.files"
|
|
|
|
subpackages="$pkgname-initramfs:firmware_initramfs"
|
2019-02-04 21:45:54 +00:00
|
|
|
|
|
|
|
package() {
|
2022-01-01 09:00:00 +00:00
|
|
|
cd "$srcdir/$pkgname-$_commit/"
|
|
|
|
while IFS="" read -r _i || [ -n "$_i" ]; do
|
|
|
|
[ ! -d $(dirname $_i) ] && mkdir -p $(dirname $_i)
|
|
|
|
install -Dm644 $_i "$pkgdir/$_i"
|
|
|
|
done < "$srcdir/firmware.files"
|
|
|
|
}
|
2019-02-04 21:45:54 +00:00
|
|
|
|
2022-01-01 09:00:00 +00:00
|
|
|
firmware_initramfs() {
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
install -Dm644 "$srcdir"/30-gpu-firmware.files -t \
|
2023-02-18 23:11:11 +00:00
|
|
|
"$subpkgdir"/usr/share/mkinitfs/files
|
2019-02-04 21:45:54 +00:00
|
|
|
}
|
|
|
|
|
2022-01-01 09:00:00 +00:00
|
|
|
sha512sums="
|
|
|
|
e82c953fd1a1a665bcfcfc4eaab95fe8a017f1804e4bc66f6449cfeb21137f2ebcc0f8abab9ef9975c438d9836d68974b417bbe58c128b06cec605abecfad008 firmware-xiaomi-tissot.tar.gz
|
|
|
|
d43fae933bb12e3879588e96f604be0534be5455bb9edbea3c9cf96bcffbce44abae27de3f40a118536254ca85faeb0fecf390f8f6ae60ca9d06887ac32a7462 firmware.files
|
|
|
|
302c0bec754bb79ef561c1a8d4ff34ba52b904c853bce6a15a79ba7b5b7a3d02c1c75bbe86d59be7b608a6dc744dd3e3c638eaa4539c53d20fa55fa5ea397d74 30-gpu-firmware.files
|
|
|
|
"
|