de2bba9e58
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv cd device for device in device-*; do year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv) [[ -n "$year" ]] || continue sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo" done devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo) pmbootstrap checksum $devices
30 lines
843 B
Text
30 lines
843 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Ion Agorria <ion@agorria.com>
|
|
pkgname="device-xiaomi-tissot"
|
|
pkgdesc="Xiaomi A1"
|
|
pkgver=0.1
|
|
pkgrel=3
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-xiaomi-tissot mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Firmware for xiaomi-tissot"
|
|
depends="linux-firmware-qcom firmware-xiaomi-tissot"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="cf52d61d85448148e025fd9996d5b17e360449bdb20ba1ea3e323acfcb2e35265b88a3f153c2df2700b0ff2dda2d01815c286e8faa5571874dd9fe21ff3eb5e1 deviceinfo"
|